[BZ #17078] ARM: R_ARM_TLS_DESC prelinker support
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2
3         [BZ #17078]
4         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7
8 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
9
10         [BZ #17088]
11         * math/fesetenv.c (__fesetenv)
12         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13         * math/feupdateenv.c (__feupdateenv)
14         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15
16         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18         (__ASSUME_SOCKETCALL): Do not define.
19
20         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22         (__ASSUME_SOCKETCALL): Do not define.
23         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31
32         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34         (__ASSUME_SOCKETCALL): Do not define.
35         (__ASSUME_IPC64): Define unconditionally.
36         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43         Likewise.
44
45         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47         (__ASSUME_SOCKETCALL): Do not define.
48         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
49         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
51         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
52         (__ASSUME_REQUEUE_PI): Define unconditionally.
53         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
54         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
55         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
57         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
58         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
59
60         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
61         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
62         (__ASSUME_SOCKETCALL): Do not define.
63         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
64         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
65         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
66         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
67         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
68         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
69
70         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
71         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
72         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
73         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
74         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
75         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
76         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
77         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
78         (__ASSUME_GETCPU_SYSCALL): Likewise.
79
80         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
81         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
82         cases for individual architectures.
83         * sysdeps/gnu/configure: Regenerated.
84         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
85         LIBC_SLIBDIR_RTLDDIR.
86         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
87         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
88         LIBC_SLIBDIR_RTLDDIR.
89         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
90         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
91         LIBC_SLIBDIR_RTLDDIR.
92         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
93         Regenerated.
94         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
95         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
96         file.
97         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
98         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
99         file.
100         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
101         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
102         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
103         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
104
105         * sysdeps/aarch64/shlib-versions: Move to ...
106         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
107         * sysdeps/alpha/shlib-versions: Move to ...
108         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
109         * sysdeps/arm/shlib-versions: Move to ...
110         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
111         * sysdeps/hppa/shlib-versions: Move all contents except for
112         libgcc_s entry to ...
113         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
114         entry from ...
115         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
116         * sysdeps/ia64/shlib-versions: Move to ...
117         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
118         entry from ...
119         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
120         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
121         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
122         * sysdeps/microblaze/shlib-versions: Move to ...
123         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
124         * sysdeps/mips/shlib-versions: Move to ...
125         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
126         entry from ...
127         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
128         * sysdeps/tile/shlib-versions: Move to ...
129         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
130         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
131         from ...
132         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
133         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
134         entry from ...
135         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
136
137 2014-07-17  Will Newton  <will.newton@linaro.org>
138
139         * sysdeps/arm/bits/atomic.h
140         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
141         (__arch_compare_and_exchange_bool_16_int): Likewise.
142         (__arch_compare_and_exchange_bool_64_int): Likewise.
143
144         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
145         into an #else block.
146
147 2014-07-16  Roland McGrath  <roland@hack.frob.com>
148
149         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
150         just Linux configurations.  Test empirically that the compiler sets
151         __ARM_EABI__, rather than using the tuple to decide.
152         * sysdeps/arm/preconfigure: Regenerated.
153         * sysdeps/unix/sysv/linux/arm/configure: File removed.
154         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
155         contents appended ...
156         * sysdeps/arm/configure.ac: ... here.
157         * sysdeps/arm/configure: Regenerated.
158
159 2014-07-15  Roland McGrath  <roland@hack.frob.com>
160
161         * nptl/pthread_kill.c: New file.
162         * nptl/pthread_sigmask.c: New file.
163         * nptl/pthread_sigqueue.c: New file.
164
165         * sysdeps/nptl/lowlevellock.h: New file.
166         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
167         * sysdeps/nptl/lowlevellock-futex.h: New file.
168
169         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
170         Remove dead declarations.
171
172 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
173
174         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
175         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
176         config-cflags-avx2.
177         * sysdeps/x86_64/configure.ac: Likewise.
178         * sysdeps/i386/configure: Regenerated.
179         * sysdeps/x86_64/configure: Likewise.
180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
181         memset-avx2 only if config-cflags-avx2 is yes.
182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
183         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
184         defined.
185         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
186         only if HAVE_AVX2_SUPPORT is defined.
187         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
188
189 2014-07-14  Alan Modra  <amodra@gmail.com>
190
191         [BZ #17153]
192         * elf/elf.h (DT_PPC64_NUM): Correct value.
193         * NEWS: Add to fixed bug list.
194
195 2014-07-13  Jim Meyering  <meyering@fb.com>
196
197         [BZ 17150]
198         regex: don't deref NULL upon heap allocation failure
199         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
200         failure in one more place.
201         To trigger the segfault, configure grep -with-included-regex,
202         build it, and run these commands:
203         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
204
205 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
206
207         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
208
209 2014-07-11  Richard Henderson  <rth@redhat.com>
210
211         * sysdeps/aarch64/libm-test-ulps: Update.
212
213 2014-07-10  Florian Weimer  <fweimer@redhat.com>
214
215         [BZ #17135]
216         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
217         * nptl/allocatestack.c (__nptl_setxid_error): New function.
218         (__nptl_setxid): Initialize error member.  Call
219         __nptl_setxid_error.
220         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
221         * nptl/descr.h (struct xid_command): Add error member.
222         * nptl/tst-setuid3.c: New file.
223         * nptl/Makefile (tests): Add it.
224
225 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
226
227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
228         New define.
229         (__lll_trylock): Use __lll_base_trylock.
230         (__lll_cond_trylock): Likewise.
231
232 2014-07-10  Roland McGrath  <roland@hack.frob.com>
233
234         * nptl/pthread_create.c (start_thread): Use atomic_or and
235         lll_futex_wake directly rather than lll_robust_dead.
236         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
237         (lll_robust_dead): Macro removed.
238         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
239         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
240         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
241         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
242         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
243         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
244         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
245         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
246         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
247         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
248         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
249         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
250         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
251         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
252         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
253
254         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
255         Use atomic_compare_and_exchange_val_acq directly rather than
256         lll_robust_trylock.
257         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
258         (__lll_robust_trylock, lll_robust_trylock): Removed.
259         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
260         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
261         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
262         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
263         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
264         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
265         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
266         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
267         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
268         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
269         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
270         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
271         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
272         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
273
274 2014-07-02  Florian Weimer  <fweimer@redhat.com>
275
276         * manual/locale.texi (Locale Names): New section documenting
277         locale name syntax.  Adjust menu and node chaining accordingly.
278         (Choosing Locale): Reference Locale Names, Locale Categories.
279         Mention setting LC_ALL=C.  Reflect that name syntax is now
280         documented.
281         (Locale Categories): New section title.  Reference Locale Names.
282         LC_ALL is an environment variable, but not a category.
283         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
284         description, now in Locale Name.  Reference that section.  Locale
285         name syntax is now documented.
286
287 2014-07-02  Florian Weimer  <fweimer@redhat.com>
288
289         [BZ #17137]
290         * locale/findlocale.c (name_present, valid_locale_name): New
291         functions.
292         (_nl_find_locale): Use the loc_name variable to store name
293         candidates.  Call name_present and valid_locale_name to check and
294         validate locale names.  Return an error if the locale is invalid.
295
296 2014-07-02  Florian Weimer  <fweimer@redhat.com>
297
298         * locale/setlocale.c (setlocale): Use strdup for allocating
299         composite name copy.
300
301 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
302
303         Sync up with gnulib.
304         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
305         [!_LIBC && ENABLE_NLS]: Include gettext.h.
306         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
307         and _GL_ARG_NONNULL.
308         [USE_UNLOCKED_IO]: Include unlocked-io.h.
309         [!_LIBC]: Include code for Windows and Cygwin.
310         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
311         Include prototype for int strerror_r.
312         [!_LIBC] (is_open): New function.
313         (flush_stdout): New function.
314         (print_errno_message): Use it.
315         (error): Likewise.
316         (error_at_line): Likewise.
317         (error_tail) Add function attribute macros.  Use
318         __builtin_expect.
319
320         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
321
322         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
323
324         * io/ftw.c: Include sys/param.h unconditionally.
325
326         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
327
328         [BZ #17125]
329         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
330         libc_freeres_ptr.
331         (freecache): New function to free CACHE on exit.
332
333         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
334         initialization.
335
336 2014-07-09  David S. Miller  <davem@davemloft.net>
337
338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
339
340         * sysdeps/sparc/nptl/internaltypes.h: Delete.
341         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
342         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
343         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
344         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
345         * sysdeps/sparc/nptl/sem_init.c: Likewise.
346         * sysdeps/sparc/nptl/sem_post.c: Likewise.
347         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
348         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
349         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
350         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
351         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
352         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
353
354 2014-07-09  Andreas Schwab  <schwab@suse.de>
355
356         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
357         output.
358         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
359         (do_test): Likewise.
360
361         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
362
363 2014-07-09  Will Newton  <will.newton@linaro.org>
364
365         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
366         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
367         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
368         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
369         * sysdeps/hppa/start.S (_start): Likewise.
370
371 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
372
373         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
374
375         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
376         defined.
377
378 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
379
380         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
381         after checking that it is non-NULL.
382
383         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
384
385 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
386
387         * sysdeps/powerpc/memmove.c: Remove file.
388         * sysdeps/powerpc/powerpc32/power4/memcopy.h
389         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
390         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
391         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
392         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
393         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
394         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
395         string memmove instead of removed powerpc one.
396
397         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
398         [weak_alias]: Fix compiler warning due trailing data.
399         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
400         [weak_alias]: Likewise.
401         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
402         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
403
404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
405         (__libc_ifunc_impl_list): Add memmove functions.
406
407 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
408
409         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
410         Remove code.
411         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
412         Likewise
413         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
414         Likewise
415         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
416         Likewise
417         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
418         Likewise
419         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
420         Likewise
421         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
422         Likewise
423         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
424         Likewise
425         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
426         Likewise
427         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
428         Likewise
429         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
430         Likewise
431         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
432         Likewise
433         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
434         Likewise
435         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
436         Likewise
437         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
438         Likewise
439         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
440         Likewise
441         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
442         Likewise
443
444 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
445
446         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
447         to avoid alignment traps in non-cacheable memory.
448         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
449
450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
451         multiarch objects.
452         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
453         file: multiarch power7 memmove.
454         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
455         multiarch default memmove.
456         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
457         multiarch memove for powerpc32/power4.
458
459         * string/bcopy.c: Use full path to include memmove.c.
460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
461         multiarch objects.
462         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
463         bcopy for powerpc64.
464         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
465         bcopy for powerpc64.
466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
467         and memmove implementations.
468         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
469         optimized multiarch memmove for POWER7/powerpc64.
470         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
471         default multiarch memmove for powerpc64.
472         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
473         multiarch for powerpc64.
474         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
475         for POWER7/powerpc64.
476         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
477         memmove for POWER7/powerpc64.
478
479         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
480         glibc default one.
481
482         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
483         __ELF_NATIVE_CLASS equal to 64.
484
485 2014-07-07  Roland McGrath  <roland@hack.frob.com>
486
487         * sysdeps/nptl/lowlevellock.h: File removed.
488
489         * NEWS: NPTL is no longer an add-on!
490         * nptl/internaltypes.h: Moved ...
491         * sysdeps/nptl/internaltypes.h: ... here.
492         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
493         * sysdeps/nptl/fork.c: Likewise.
494         * sysdeps/nptl/gai_misc.h: Likewise.
495         * sysdeps/nptl/librt-cancellation.c: Likewise.
496         * sysdeps/nptl/jmp-unwind.c: Likewise.
497         * sysdeps/nptl/setxid.h: Likewise.
498         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
499         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
500         * sysdeps/unix/sysv/linux/arm/Implies: New file.
501         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
502         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
503         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
504         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
505         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
506         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
507         * sysdeps/unix/sysv/linux/mips/Implies: New file.
508         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
509         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
510         * sysdeps/unix/sysv/linux/sh/Implies: New file.
511         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
512         * sysdeps/unix/sysv/linux/tile/Implies: New file.
513         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
514         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
515         * nptl/Makeconfig: Moved ...
516         * sysdeps/nptl/Makeconfig: ... here.
517         * nptl/configure: File removed.
518         * nptl/ANNOUNCE: File removed.
519         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
520         * sysdeps/unix/sysv/linux/configure: Regenerated.
521
522         * nptl/Makefile (routines): Add libc_pthread_init,
523         libc_multiple_threads, register-atfork and unregister-atfork.
524         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
525         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
526         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
527         pthread-pi-defines.sym, structsem.sym.
528         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
529         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
530         [$(subdir) = nptl] (tests): Add tst-setgetname.
531         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
532         * sysdeps/unix/sysv/linux/sigaction.c: Just include
533         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
534         [!LIBC_SIGACTION]: Remove aliases.
535         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
536         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
537         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
538         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
539         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
540         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
541         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
542         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
543         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
544         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
545         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
546         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
547         __libc_allocate_rtsig_private.
548         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
549         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
550         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
551         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
552         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
553         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
554         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
555         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
556         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
557         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
558         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
559         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
560         * nptl/internaltypes.h: ... here.
561         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
562         * sysdeps/nptl/jmp-unwind.c: ... here.
563         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
564         * nptl/libc-lowlevellock.c: ... here.
565         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
566         * nptl/libc_multiple_threads.c: ... here.
567         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
568         * nptl/libc_pthread_init.c: ... here.
569         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
570         * nptl/lowlevelbarrier.sym: ... here.
571         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
572         * nptl/lowlevelcond.sym: ... here.
573         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
574         * nptl/lowlevellock.c: ... here.
575         * nptl/lowlevellock.h: Moved ...
576         * sysdeps/nptl/lowlevellock.h: ... here.
577         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
578         * nptl/lowlevelrobustlock.c: ... here.
579         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
580         * nptl/lowlevelrobustlock.sym: ... here.
581         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
582         * nptl/lowlevelrwlock.sym: ... here.
583         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
584         * nptl/pt-fork.c: ... here.
585         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
586         * nptl/pthread-pi-defines.sym: ... here.
587         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
588         * nptl/pthread_attr_getaffinity.c: ... here.
589         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
590         * nptl/pthread_attr_setaffinity.c: ... here.
591         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
592         * nptl/pthread_mutex_cond_lock.c: ... here.
593         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
594         Update #include.
595         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
596         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
597         * nptl/pthread_once.c: ... here, replacing old file.
598         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
599         * nptl/pthread_yield.c: ... here.
600         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
601         * nptl/register-atfork.c: ... here.
602         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
603         * nptl/sem_post.c: ... here.
604         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
605         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
606         * nptl/sem_timedwait.c: ... here.
607         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
608         * nptl/sem_trywait.c: ... here.
609         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
610         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
611         * nptl/sem_wait.c: ... here.
612         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
613         * nptl/structsem.sym: ... here.
614         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
615         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
616         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
617         * nptl/unregister-atfork.c: ... here.
618         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
619         * nptl/unwindbuf.sym: ... here.
620         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
621         * sysdeps/nptl/fork.c: ... here.
622         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
623         * sysdeps/nptl/fork.h: ... here.
624         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
625         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
626         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
627         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
628         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
629         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
630         * sysdeps/unix/sysv/linux/getpid.c: ... here.
631         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
632         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
633         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
634         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
635         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
636         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
637         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
638         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
639         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
640         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
641         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
642         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
643         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
644         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
645         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
646         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
647         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
648         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
649         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
650         * sysdeps/unix/sysv/linux/raise.c: ... here.
651         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
652         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
653         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
654         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
655         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
656         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
657         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
658         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
659         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
660         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
661         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
662         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
663         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
664         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
665         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
666
667 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
668
669         * sysdeps/generic/memcopy.h: Add comment for
670         MEMCPY_OK_FOR_FWD_MEMMOVE.
671
672 2014-07-04  Will Newton  <will.newton@linaro.org>
673
674         * string/memchr.c: Merge from gnulib.
675         [_LIBC]: Remove conditionals.
676         (__ptr_t): Remove define.
677         (LONG_MAX_32_BITS): Likewise.
678         (LONG_MAX): Likewise.
679         (MEMCHR): Use ANSI prototype and optimize algorithm.
680
681         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
682
683 2014-07-03  Roland McGrath  <roland@hack.frob.com>
684
685         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
686         (lll_futex_timed_wait_bitset): Fix syscall argument count.
687
688         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
689         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
690         in a bare environment with no <stdlib.h> installed.
691         * sysdeps/nptl/configure: Regenerated.
692
693         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
694
695         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
696         AC_EGREP_CPP for kernel header checks, so they only succeed if
697         including <linux/version.h> actually works right.
698         * sysdeps/unix/sysv/linux/configure: Regenerated.
699
700         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
701         value so it's not diagnosed as unused.
702
703         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
704         thing) with "ifeq ($(subdir),rt)".
705
706 2014-07-03  Richard Henderson  <rth@redhat.com>
707
708         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
709         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
710         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
711
712         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
713         (math_force_eval): New.
714
715         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
716         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
717
718         * sysdeps/alpha/fpu/s_round.c: Remove file.
719         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
720
721         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
722         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
723         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
724         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
725         (_dl_start, print_statistics): Likewise.
726         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
727         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
728
729         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
730         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
731         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
732         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
733         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
734         (HP_SMALL_TIMING_AVAIL): Define.
735         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
736         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
737         (HP_SMALL_TIMING_AVAIL): Define.
738         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
739         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
740
741         * sysdeps/aarch64/hp-timing.h: New file.
742
743         * sysdeps/generic/hp-timing.h: Remove dead comment.
744         * sysdeps/generic/hp-timing-common.h: New file.
745         * sysdeps/alpha/hp-timing.h: Include it.
746         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
747         * sysdeps/i386/i686/hp-timing.h: Likewise.
748         * sysdeps/ia64/hp-timing.h: Likewise.
749         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
750         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
751         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
752         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
753         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
754         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
755         (hp_timing_t): New.
756
757         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
758         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
759         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
760         * elf/rtld.c (_dl_start_final): Likewise.
761         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
762         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
763         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
764         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
765         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
766         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
767         (HP_TIMING_DIFF_INIT): Remove.
768         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
769         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
770         (HP_TIMING_DIFF_INIT): Remove.
771         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
772         * sysdeps/i386/i686/hp-timing.c: Remove file.
773         * sysdeps/x86_64/hp-timing.c: Remove file.
774         * sysdeps/ia64/hp-timing.c: Remove file.
775         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
776         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
777         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
778         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
779
780         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
781         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
782         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
783         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
784         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
785         (HP_TIMING_ACCUM): Remove.
786         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
787         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
788         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
789
790         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
791         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
792         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
793         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
794         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
795         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
796         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
797         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
798
799         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
800
801 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
802
803         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
804
805 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
806
807         Sync up with gettext.
808         * intl/loadmsgcat.c: Define O_BINARY if not defined.
809         [_MSC_VER]: Include malloc.h
810         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
811         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
812         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
813         TEMP_FAILURE_RETRY.  Cast return of alloca.
814         [!_LIBC] Call gl_rwlock_init.
815         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
816
817 2014-07-02  Roland McGrath  <roland@hack.frob.com>
818
819         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
820         before checking its value.
821
822 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
823
824         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
825
826         * debug/memcpy_chk.c: Don't include pagecopy.h.
827         * debug/mempcpy_chk.c: Likewise.
828         * string/memcpy.c: Likewise.
829         * string/memmove.c: Likewise.
830         * sysdeps/powerpc/memmove.c: Likewise.
831         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
832         definition of PAGE_COPY_FWD_MAYBE here...
833         * sysdeps/generic/pagecopy.h: ... from here.
834         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
835
836 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
837             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
838
839         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
841         optimizations.
842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
843         (__libc_ifunc_impl_list): Likewise.
844         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
845         multiarch strcat for PPC64.
846         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
847         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
848
849 2014-07-02  Roland McGrath  <roland@hack.frob.com>
850
851         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
852
853 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
854
855         * intl/loadmsgcat.c: Remove declaration of
856         get_sysdep_segment_value.
857         (get_sysdep_segment_value): Use ISO C style.
858         (_nl_load_domain): Use ISO C style.  Get rid of redundant
859         semicolon.  Fix typo and formatting in comment.
860         (_nl_unload_domain): Use ISO C style.
861
862         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
863
864 2014-07-02  Will Newton  <will.newton@linaro.org>
865
866         * malloc/obstack.c: Merge from gnulib master.
867         [HAVE_CONFIG_H]: Remove conditional code.
868         [!_LIBC]: Include config.h.
869         [!ELIDE_CODE]: Don't include inttypes.h, include
870         stdint.h unconditionally.
871         (print_and_abort): Mark as _Noreturn.
872         (_obstack_allocated_p): Mark as __attribute_pure__.
873         (obstack_free): Rename to __obstack_free.
874         [!__attribute__]: Remove conditional code.
875         * malloc/obstack.h: Merge from gnulib master.
876         [__cplusplus]: Move conditional down.
877         [!__attribute_pure__]: Define __attribute_pure__ here
878         if it is not already defined.
879         (_obstack_memory_used): Mark as __attribute_pure__.
880         [!__obstack_free]: Define as obstack_free.
881         [__GNUC__]: Remove check for ancient NeXT gcc.
882
883 2014-07-02  Will Newton  <will.newton@linaro.org>
884             Paul Eggert  <eggert@cs.ucla.edu>
885
886         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
887
888 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
889
890         * resolv/gethnamaddr.c: Add comment warning that the file is
891         not maintained.
892
893 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
894
895         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
896         entries.
897
898         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
899         entry for aio_cancel and aio_cancel64.
900         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
901         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
902         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
903         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
904         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
905         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
906         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
907         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
908         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
909         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
910         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
911         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
912         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
913
914 2014-07-01  Roland McGrath  <roland@hack.frob.com>
915
916         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
917         * nptl/pthread_mutex_lock.c: Likewise.
918         * nptl/pthread_mutex_timedlock.c: Likewise.
919         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
920
921 2014-07-01  Richard henderson  <rth@redhat.com>
922
923         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
924         (__isnan, __isnanl): Remove.
925         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
926
927         * sysdeps/alpha/fpu/libm-test-ulps: Update.
928
929 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
930
931         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
932
933 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
934
935         * resolv/nss_dns/dns-host.c (getanswer_r)
936         [MULTI_PTRS_ARE_ALIASES]: Remove code.
937
938 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
939
940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
941         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
942         undefine.
943         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
944         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
945
946 2014-07-01  Roland McGrath <roland@hack.frob.com>
947
948         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
949         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
950
951         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
952         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
953
954         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
955         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
956         ... here.
957         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
958         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
959
960         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
961         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
962         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
963         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
964
965         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
966         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
967         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
968         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
969         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
970         Moved ...
971         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
972         ... here.
973         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
974         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
975         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
976         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
977         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
978         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
979         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
980         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
981         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
982         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
983         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
984         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
985         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
986         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
987         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
988         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
989         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
990         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
991         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
992         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
993         ... here.
994         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
995         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
996         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
997         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
998         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
999         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1000         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1001         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1002
1003 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1004
1005         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1006         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1007         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1008         Add sysdep.
1009
1010 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1011
1012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1013
1014 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1015
1016         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1017         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1018
1019         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1020
1021         * sysdeps/arm/libm-test-ulps: Regenerated.
1022
1023 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1024             Roland McGrath <roland@hack.frob.com>
1025
1026         * test-skeleton.c (signal_handler): Kill the whole process group
1027         before killing the child individually.
1028         (main): Report any failure on `setpgid'.
1029
1030 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1031
1032         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1033         from _TLS_H to _ARM_NPTL_TLS_H.
1034         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1035         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1036
1037 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1038
1039         [BZ #16539]
1040         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1041         (__expm1l): Return argument unchanged when small but not
1042         subnormal.
1043
1044         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1045         include macro name.
1046         (_FP_UNPACK_RAW_1_P): Likewise.
1047         (_FP_PACK_RAW_1): Likewise.
1048         (_FP_PACK_RAW_1_P): Likewise.
1049         (_FP_MUL_MEAT_1_wide): Likewise.
1050         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1051         (_FP_MUL_MEAT_1_hard): Likewise.
1052         (_FP_DIV_MEAT_1_imm): Likewise.
1053         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1054         (_FP_DIV_MEAT_1_udiv): Likewise.
1055         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1056         (_FP_UNPACK_RAW_2): Likewise.
1057         (_FP_UNPACK_RAW_2_P): Likewise.
1058         (_FP_PACK_RAW_2): Likewise.
1059         (_FP_PACK_RAW_2_P): Likewise.
1060         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1061         (_FP_MUL_MEAT_2_wide): Likewise.
1062         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1063         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1064         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1065         (_FP_MUL_MEAT_2_gmp): Likewise.
1066         (_FP_DIV_MEAT_2_udiv): Likewise.
1067         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1068         (_FP_FRAC_SRL_4): Likewise.
1069         (_FP_FRAC_SRST_4): Likewise.
1070         (_FP_FRAC_SRS_4): Likewise.
1071         (_FP_UNPACK_RAW_4): Likewise.
1072         (_FP_UNPACK_RAW_4_P): Likewise.
1073         (_FP_PACK_RAW_4): Likewise.
1074         (_FP_PACK_RAW_4_P): Likewise.
1075         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1076         (_FP_MUL_MEAT_4_wide): Likewise.
1077         (_FP_MUL_MEAT_4_gmp): Likewise.
1078         (umul_ppppmnnn): Likewise.
1079         (_FP_DIV_MEAT_4_udiv): Likewise.
1080         (__FP_FRAC_ADD_4): Likewise.
1081         (__FP_FRAC_SUB_3): Likewise.
1082         (__FP_FRAC_SUB_4): Likewise.
1083         (__FP_FRAC_DEC_3): Likewise.
1084         (__FP_FRAC_DEC_4): Likewise.
1085         (__FP_FRAC_ADDI_4): Likewise.
1086         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1087         (_FP_FRAC_SRL_8): Likewise.
1088         (_FP_FRAC_SRS_8): Likewise.
1089
1090         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1091         include macro name.
1092         (FP_UNPACK_RAW_EP): Likewise.
1093         (FP_PACK_RAW_E): Likewise.
1094         (FP_PACK_RAW_EP): Likewise.
1095         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1096         (_FP_ISSIGNAN): Likewise.
1097         (_FP_ADD_INTERNAL): Likewise.
1098         (_FP_FMA): Likewise.
1099         (_FP_CMP): Likewise.
1100         (_FP_SQRT): Likewise.
1101         (_FP_TO_INT): Likewise.
1102         (_FP_FROM_INT): Likewise.
1103         (FP_EXTEND): Likewise.
1104         (_FP_DIV_MEAT_N_loop): Likewise.
1105
1106 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1107
1108         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1109         throughout.
1110
1111 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1112
1113         [BZ #17097]
1114         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1115         result with correct sign in case of exponents that produce
1116         overflow except for X very close to 1.
1117
1118 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1119
1120         mktime: merge #if/#ifdef usage from glibc
1121         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1122         as that works with both Glibc's and Gnulib's style.
1123         See thread starting at Siddhesh Poyarekar's bug report at:
1124         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1125
1126 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1127
1128         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1129         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1130         * sysdeps/tile/tilegx/memmove.c: Remove file.
1131
1132 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1133
1134         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1135         abi-name definition.
1136         * scripts/soversions.awk: Do not handle or generate ABI lines.
1137         * shlib-versions: Remove ABI entries.
1138         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1139         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1140
1141 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1142
1143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1144         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1145         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1146         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1147         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1148         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1150         Moved ...
1151         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1152         ... here.
1153         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1154         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1155         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1156         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1157         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1158         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1160         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1161         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1162         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1164         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1165         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1166         Moved ...
1167         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1169         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1171         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1173         Moved ...
1174         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1176         Moved ...
1177         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1179         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1181         Moved ...
1182         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1184         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1186         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1188         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1190         Moved ...
1191         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1193         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1194         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1195         Moved ...
1196         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1198         Moved ...
1199         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1200         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1201         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1202         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1203         Moved ...
1204         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1205         ... here.
1206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1207         Identical file removed.
1208         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1209         Moved ...
1210         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1211         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1212         Identical file removed.
1213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1214         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1216         Moved ...
1217         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1219         Identical file removed.
1220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1221         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1222         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1223         Identical file removed.
1224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1225         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1227         Identical file removed.
1228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1229         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1231         Identical file removed.
1232         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1233         Moved ...
1234         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1236         Identical file removed.
1237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1238         Moved ...
1239         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1240         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1241         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1242         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1243         Identical file removed.
1244         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1245         Moved ...
1246         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1247         ... here.
1248         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1249         Identical file removed.
1250         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1251         Moved ...
1252         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1254         Identical file removed.
1255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1256         Moved ...
1257         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1259         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1260         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1261         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1262         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1263         Moved ...
1264         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1265         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1266         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1267
1268         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1269         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1270         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1271         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1272         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1273
1274 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1275
1276         [BZ #17092]
1277         * nscd/nscd.c (monitor_child): Return exit status of child
1278         instead of return value from wait syscall.
1279
1280 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1281
1282         * configure.ac (libc_commonpagesize): Remove variable.
1283         (libc_relro_required): Likewise.
1284         (libc_cv_z_relro): Remove configure test.
1285         * configure: Regenerated.
1286         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1287         variable.
1288         (libc_relro_required): Likewise.
1289         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1290         (libc_relro_required): Likewise.
1291         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1292         (libc_relro_required): Likewise.
1293         * sysdeps/arm/preconfigure: Regenerated.
1294         * sysdeps/ia64/preconfigure: Remove file.
1295         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1296         variable.
1297         (libc_relro_required): Likewise.
1298
1299         [BZ #16561]
1300         [BZ #16562]
1301         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1302         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1303         recompute overflowing results in original rounding mode.
1304         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1305         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1306         recompute overflowing results in original rounding mode.
1307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1308         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1309         recompute overflowing results in original rounding mode.
1310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1311         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1312         recompute overflowing results in original rounding mode.
1313         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1314         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1315         recompute overflowing results in original rounding mode.
1316         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1317         (libc_feholdsetround_ctx): New macro.
1318         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1319         * sysdeps/i386/fpu/libm-test-ulps: Update.
1320         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1321
1322 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1323
1324         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1325         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1326         corresponding .cpsetup call.
1327
1328 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1329
1330         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1331         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1332         * sysdeps/arm/Makefile [$(subdir) = csu]
1333         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1334         (static-only-routines): Add aeabi_read_tp here.
1335         (shared-only-routines): Add libc-aeabi_read_tp here.
1336         (CFLAGS-libc-start.c): Add -fexceptions here.
1337         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1338         (sysdep_routines, static-only-routines, shared-only-routines):
1339         Don't add to these here.
1340         (CFLAGS-libc-start.c): Likewise.
1341
1342         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1343         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1344         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1345         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1346         * sysdeps/arm/Makefile [$(subdir) = rt]
1347         (librt-sysdep_routines, librt-shared-only-routines):
1348         Append rt-aeabi_unwind_cpp_pr1 here.
1349         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1350         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1351         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1352         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1353         Append nptl-aeabi_unwind_cpp_pr1 here.
1354         (tests): Filter out tst-cleanupx4 here.
1355         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1356         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1357         Don't do those here.
1358
1359 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1360
1361         * scripts/list-sources.sh: Do not handle ports specially.
1362
1363 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1364
1365         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1366         * sysdeps/arm/feupdateenv.c: Likewise.
1367
1368         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1369
1370 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1371
1372         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1373         trailing whitespace removed.
1374         * scripts/config.guess: Update to version 2014-03-23.
1375         * scripts/config.sub: Update to version 2014-05-01
1376         * scripts/install-sh: Update to version 2013-12-25.23.
1377         * scripts/move-if-change: Update from gnulib.
1378
1379 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1380
1381         * debug/memmove_chk.c: Remove pagecopy.h include.
1382
1383 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1384
1385         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1386         identical to gnulib mktime.
1387
1388 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1389
1390         * configure.ac: Do not test for machine being rs6000.  Do not test
1391         for powerpc*-*soft.
1392         * configure: Regenerated.
1393
1394         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1395         test.
1396         * configure: Regenerated.
1397         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1398         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1399         Remove configure test.
1400         * sysdeps/arm/configure: Regenerated.
1401         * sysdeps/nptl/configure.ac: Do not check
1402         libc_cv_asm_cfi_directives.
1403         * sysdeps/nptl/configure: Regenerated.
1404         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1405         * sysdeps/x86_64/nptl/configure: Remove generated file.
1406         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1407         unconditional.
1408         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1409
1410 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1411
1412         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1413         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1414         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1415         it is defined.
1416
1417         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1418         instead of whether it is defined.
1419         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1420         * sysdeps/hppa/dl-machine.h: Likewise.
1421         * sysdeps/ia64/dl-machine.h: Likewise.
1422         * sysdeps/m68k/dl-machine.h: Likewise.
1423         * sysdeps/microblaze/dl-machine.h: Likewise.
1424         * sysdeps/mips/dl-machine.: Likewise.
1425         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1426         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1427         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1428         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1429         * sysdeps/sh/dl-machine.h: Likewise.
1430         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1431         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1432         * sysdeps/tile/dl-machine.h: Likewise.
1433         * sysdeps/x86_64/dl-machine.h: Likewise.
1434
1435         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1436         code.
1437         (verify_persistent_db): Likewise.
1438
1439 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1440
1441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1442         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1444         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1446         Moved ...
1447         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1448         ... here.
1449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1450         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1452         Identical file removed.
1453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1454         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1456         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1458         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1460         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1462         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1464         Moved ...
1465         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1467         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1469         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1471         Moved ...
1472         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1474         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1476         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1478         Identical file removed.
1479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1480         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1482         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1484         Moved ...
1485         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1486         ... here.
1487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1488         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1490         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1492         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1494         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1496         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1498         Moved ...
1499         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1501         Moved ...
1502         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1504         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1506         Moved ...
1507         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1509         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1510
1511         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1512         folded into ...
1513         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1514         * sysdeps/unix/sysv/linux/s390/Versions
1515         (libpthread: GLIBC_2.19): New version set.
1516         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1517         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1518         (librt: GLIBC_2.3.3): New version set.
1519         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1520         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1521         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1522         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1523         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1524         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1525         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1526         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1527         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1528         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1529         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1530         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1531         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1532         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1533         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1534         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1535         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1536         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1537         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1538         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1539         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1540         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1541         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1542         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1543         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1544         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1545         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1546         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1547         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1548         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1549         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1550         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1551         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1553         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1555         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1557         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1559         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1561         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1563         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1564
1565         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1566         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1567         (__libc_vfork): Define the function under this name.
1568         [!NOT_IN_libc] (__vfork): Make this an alias.
1569         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1571         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1572         (__libc_vfork): Define the function under this name.
1573         [!NOT_IN_libc] (__vfork): Make this an alias.
1574         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1575         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1576         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1577         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1578         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1579         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1580
1581         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1582         code that was previously under [RESET_PID].
1583         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1584         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1585         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1586
1587         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1588         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1589         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1590         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1591         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1592         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1593         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1594         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1595         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1596         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1598         Moved ...
1599         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1600         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1601         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1602         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1603         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1604         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1605         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1606         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1607         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1608         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1609         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1610         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1611         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1612         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1613         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1614         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1615         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1616         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1617         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1618         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1619         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1620         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1621         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1622         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1623         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1624         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1625         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1626         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1627         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1628
1629 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1630
1631         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1632         that was previously under [RESET_PID].
1633         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1634
1635 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1636
1637         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1638         not undefine and redefine.
1639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1640         [O_CLOEXEC]: Make code unconditional.
1641         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1642         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1643         <kernel-features.h>.
1644         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1645         conditional variable definition.
1646         (shm_open) [O_CLOEXEC]: Make code unconditional.
1647         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1648         code.
1649
1650         * configure.ac (USE_REGPARMS): Don't define here.
1651         * configure: Regenerated.
1652         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1653         * sysdeps/i386/configure: Regenerated.
1654
1655         * nptl/createthread.c: Don't include kernel-features.h.
1656         * nptl/pthread_cancel.c: Likewise.
1657         * nptl/pthread_condattr_setclock.c: Likewise.
1658         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1659         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1660         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1661         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1662         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1663         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1664         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1666         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1667         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1668         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1669         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1670         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1671         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1672         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1673         * nscd/gai.c: Likewise.
1674         * nss/nss_db/db-open.c: Likewise.
1675         * sysdeps/generic/ldsodefs.h: Likewise.
1676         * sysdeps/sh/nptl/tls.h: Likewise.
1677         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1678         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1679         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1680         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1681         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1682         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1683         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1684         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1685         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1686         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1687         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1688         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1689         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1690         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1691         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1692         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1693         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1694         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1695         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1696         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1698         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1699         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1700         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1701         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1702         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1703         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1704         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1705         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1706         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1707         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1708         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1709         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1710         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1711         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1712         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1713         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1714         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1715         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1716         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1717         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1718         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1719         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1720         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1721         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1722         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1723         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1724         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1725         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1726         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1727         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1728         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1729         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1730         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1731         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1732         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1733         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1734         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1757         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1758         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1759         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1760         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1761         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1762         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1763         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1764         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1765         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1766         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1767         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1768         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1769         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1770         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1771         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1772         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1773         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1774         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1775         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1776         * sysdeps/unix/sysv/linux/system.c: Likewise.
1777         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1778         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1779         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1780         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1781         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1782         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1783         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1784
1785         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1786         * configure: Regenerated.
1787         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1788
1789         * configure.ac (base_machine): Do not set specially for particular
1790         machines here.
1791         * configure: Regenerated.
1792         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1793         settings from configure.ac.
1794         * sysdeps/i386/preconfigure: New file.
1795         * sysdeps/s390/preconfigure: Likewise.
1796         * sysdeps/sh/preconfigure: Likewise.
1797         * sysdeps/sparc/preconfigure: Likewise.
1798
1799 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1800
1801         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1802         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1803         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1804         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1805         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1806         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1807         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1808         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1809         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1810         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1811         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1812         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1813         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1814         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1815         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1816         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1817         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1818         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1819         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1820
1821         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1822         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1823         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1824         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1825         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1826         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1827         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1828         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1829         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1830         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1831         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1832         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1833         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1834         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1835         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1836         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1837         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1838         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1839         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1840         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1841         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1842         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1843         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1844         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1845         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1846         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1847         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1848         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1849         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1851         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1852         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1853         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1854         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1855         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1856         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1857         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1858         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1859
1860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1861         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1863         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1865         Moved ...
1866         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1867         ... here.
1868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1869         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1871         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1873         Moved ...
1874         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1876         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1878         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1880         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1882         Moved ...
1883         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1885         Moved ...
1886         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1888         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1890         Moved ...
1891         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1893         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1895         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1897         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1899         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1901         Moved ...
1902         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1903         ... here.
1904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1905         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1907         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1909         Moved ...
1910         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1912         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1914         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1918         Moved ...
1919         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1921         Moved ...
1922         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1924         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1926         Moved ...
1927         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1929         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1931         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1932
1933 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1934
1935         * timezone/checktab.awk: Update from tzcode 2014e.
1936         * timezone/private.h: Likewise.
1937         * timezone/tzfile.h: Likewise.
1938         * timezone/zdump.c: Likewise.
1939         * timezone/zic.c: Likewise.
1940
1941         * sysdeps/unix/sysv/linux/kernel-features.h
1942         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1943         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1944         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1945         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1946         Remove conditional code.
1947
1948 2014-06-25  Will Newton  <will.newton@linaro.org>
1949
1950         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1951         (_dl_arm_cap_flags): Add HWCAP2 values.
1952         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1953         (_DL_HWCAP_COUNT): Increase to 37.
1954         (_DL_HWCAP_LAST): New define.
1955         (_DL_HWCAP2_LAST): New define.
1956         (_dl_procinfo): Add support for printing
1957         AT_HWCAP2 entries.
1958         (_dl_string_hwcap): Use _dl_hwcap_string.
1959
1960 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1961
1962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1963
1964 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1965
1966         * README: Do not mention ports directory.
1967
1968         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1969         Remove macro.
1970         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1971         <kernel-features.h>.
1972         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1973         conditional variable definition.
1974         (__futimes): Update comment.
1975         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1976         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1977
1978         [BZ #16560]
1979         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1980         arguments close to 0.
1981         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1982         Likewise.
1983         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1984         Likewise.
1985         * math/auto-libm-test-in: Add more tests of exp10.
1986         * math/auto-libm-test-out: Regenerated.
1987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1988
1989         * sysdeps/unix/sysv/linux/kernel-features.h
1990         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1991         * sysdeps/unix/sysv/linux/readv.c: Do not include
1992         <kernel-features.h>.
1993         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1994         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1995         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1996         unconditional.
1997         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1998         conditional code.
1999         * sysdeps/unix/sysv/linux/writev.c: Do not include
2000         <kernel-features.h>.
2001         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2002         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2003         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2004         unconditional.
2005         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2006         conditional code.
2007
2008 2014-06-25  Will Newton  <will.newton@linaro.org>
2009
2010         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2011         comment changes throughout the file.  Remove checks
2012         for HAVE_*_H definitions that are not required.
2013         (__gen_tempname): Call abort if an unknown kind value is
2014         passed.
2015
2016 2014-06-25  Andreas Schwab  <schwab@suse.de>
2017
2018         [BZ #17086]
2019         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2020         scalbln, scalblnf, scalblnl in libc.
2021
2022 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2023
2024         [BZ #17086]
2025         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2026         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2027         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2028
2029 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2030
2031         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2032         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2033         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2034         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2035         Update #include.
2036         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2037         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2038         Update #include.
2039         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2040         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2041         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2042         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2043         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2044         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2045         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2046         * sysdeps/x86/bits/semaphore.h: ... here.
2047         * sysdeps/x86/nptl/elide.h: Moved ...
2048         * sysdeps/x86/elide.h: ... here.
2049         * sysdeps/x86_64/nptl/Implies: File removed.
2050         * sysdeps/i386/nptl/Implies: File removed.
2051
2052 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2053
2054         [BZ #16539]
2055         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2056         return the argument for normal arguments with exponent below -64.
2057         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2058         Likewise.
2059         * math/auto-libm-test-in: Add another test of expm1.
2060         * math/auto-libm-test-out: Regenerated.
2061
2062         [BZ #16287]
2063         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2064         calling __erfcl for arguments at least 16.
2065         * math/auto-libm-test-in: Add more tests of erf.
2066         * math/auto-libm-test-out: Regenerated.
2067
2068         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2069         individual architectures.
2070         * sysdeps/unix/sysv/linux/configure: Regenerated.
2071         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2072         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2073         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2074         (ldd_rewrite_script): Define variable.
2075         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2077         file.
2078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2079         generated file.
2080         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2081         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2082         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2083         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2084         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2085         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2086         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2087         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2088
2089 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2090
2091         [BZ #17084]
2092         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2093         Rename member __data.d to __data.__elision_data.
2094
2095 2014-06-24  Wilco  <wdijkstr@arm.com>
2096
2097         * NEWS: Add 16918 to fixed bug list.
2098
2099 2014-06-24  Wilco  <wdijkstr@arm.com>
2100
2101         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2102
2103 2014-06-24  Wilco  <wdijkstr@arm.com>
2104
2105         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2106         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2107         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2108         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2109         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2110         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2111         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2112         Use _FPU_MASK_RM.
2113
2114 2014-06-24  Wilco  <wdijkstr@arm.com>
2115
2116         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2117
2118 2014-06-24  Wilco  <wdijkstr@arm.com>
2119
2120         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2121         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2122         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2123         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2124
2125 2014-06-24  Wilco  <wdijkstr@arm.com>
2126
2127         [BZ #16918]
2128         * sysdeps/arm/feupdateenv.c (feupdateenv):
2129         Rewrite to reduce FPSCR accesses and fix return value.
2130
2131 2014-06-24  Wilco  <wdijkstr@arm.com>
2132
2133         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2134         Optimize to avoid unnecessary FPSCR writes.
2135         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2136         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2137         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2138         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2139
2140 2014-06-24  Wilco  <wdijkstr@arm.com>
2141
2142         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2143         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2144         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2145         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2146         Call libc_fetestexcept_vfp.
2147         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2148         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2149         __SOFTFP__ ifdef so that they can be built for softfp.
2150
2151 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2152
2153         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2154         argument type signed char.
2155
2156         * Makerules (check-abi): Dump diff of symlist if the test
2157         fails.
2158
2159 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2160
2161         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2162         using abort.
2163
2164         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2165         Remove unused variable ST.
2166
2167 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2168
2169         [BZ #16354]
2170         [BZ #17061]
2171         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2172         small arguments before calling __expm1.
2173         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2174         small arguments before calling __expm1f.
2175         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2176         small arguments before calling __expm1l.
2177         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2178         Likewise.
2179         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2180         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2181         spurious underflow for some cosh tests.
2182         * math/auto-libm-test-out: Regenerated.
2183         * sysdeps/i386/fpu/libm-test-ulps: Update.
2184
2185         [BZ #17050]
2186         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2187         (__ieee754_y1): Set errno if return value overflows.
2188         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2189         (__ieee754_y1f): Set errno if return value overflows.
2190         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2191         (__ieee754_y1l): Set errno if return value overflows.
2192         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2193         (__ieee754_y1l): Set errno if return value overflows.
2194         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2195         * math/auto-libm-test-out: Regenerated.
2196
2197         * math/gen-auto-libm-tests.c: Document use of
2198         ignore-zero-inf-sign.
2199         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2200         (input_flags): Add ignore-zero-inf-sign.
2201         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2202         * math/gen-libm-test.pl (generate_testfile): Handle
2203         ignore-zero-inf-sign.
2204         * math/auto-libm-test-in: Mark some cpow tests with
2205         ignore-zero-inf-sign and some with xfail-rounding.
2206         * math/auto-libm-test-out: Regenerated.
2207         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2208         * sysdeps/i386/fpu/libm-test-ulps: Update.
2209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2210
2211         [BZ #16315]
2212         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2213         overflowing or underflowing operations take place with sign of
2214         result.
2215         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2216         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2217         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2218         (__ieee754_pow): Recompute overflowing and underflowing results in
2219         original rounding mode.
2220         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2221         (__powl_helper): Allow negative argument X and scale negated value
2222         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2223         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2224         overflowing or underflowing operations take place with sign of
2225         result.
2226         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2227         Include <math.h>.
2228         * math/auto-libm-test-in: Add more tests of pow.
2229         * math/auto-libm-test-out: Regenerated.
2230         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2231         (pow_tonearest_test_data): Remove.
2232         (pow_test_tonearest): Likewise.
2233         (pow_towardzero_test_data): Likewise.
2234         (pow_test_towardzero): Likewise.
2235         (pow_downward_test_data): Likewise.
2236         (pow_test_downward): Likewise.
2237         (pow_upward_test_data): Likewise.
2238         (pow_test_upward): Likewise.
2239         (main): Don't call removed functions.
2240         * sysdeps/i386/fpu/libm-test-ulps: Update.
2241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2242
2243 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2244
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2246         Moved ...
2247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2249         Moved ...
2250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2252         Moved ...
2253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2255         Moved ...
2256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2258         File removed.
2259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2260         File removed.
2261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2262         File removed.
2263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2264         File removed.
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2266         File removed.
2267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2268         File removed.
2269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2270         File removed.
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2272         File removed.
2273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2274         File removed.
2275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2276         File removed.
2277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2278         File removed.
2279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2280         File removed.
2281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2282         Moved ...
2283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2285         Moved ...
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2287         ... here.
2288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2289         Moved ...
2290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2292         Moved ...
2293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2295         Moved ...
2296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2298         Moved ...
2299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2301         Moved ...
2302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2304         Moved ...
2305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2307         Moved ...
2308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2311         ... here.
2312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2313         Moved ...
2314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2316         Moved ...
2317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2318         ... here.
2319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2320         Moved ...
2321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2322         ... here.
2323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2324         Moved ...
2325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2326         ... here.
2327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2328         Moved ...
2329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2331         Moved ...
2332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2336         Moved ...
2337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2338         ... here.
2339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2340         Moved ...
2341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2342         ... here.
2343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2344         Moved ...
2345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2347         Moved ...
2348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2350         Moved ...
2351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2353         Moved ...
2354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2356         Moved ...
2357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2358         ... here.
2359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2360         Moved ...
2361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2363         Moved ...
2364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2366         Moved ...
2367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2369         Moved ...
2370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2374         Moved ...
2375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2377         Moved ...
2378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2380         Moved ...
2381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2382         ... here.
2383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2384         Moved ...
2385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2386         ... here.
2387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2388         Moved ...
2389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2390         ... here.
2391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2392         Moved ...
2393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2395         Moved ...
2396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2398         Moved ...
2399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2401         Moved ...
2402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2403         ... here.
2404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2405         Moved ...
2406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2407         ... here.
2408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2409         Moved ...
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2411         ... here.
2412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2413         Moved ...
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2416         Moved ...
2417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2418
2419 2014-06-23  Will Newton  <will.newton@linaro.org>
2420             Wilco  <wdijkstr@arm.com>
2421
2422         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2423         implementation.  Include get-rounding-mode.h.
2424         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2425         [!libc_feholdsetround_noex_ctx]: Define
2426         libc_feholdsetround_noex_ctx.
2427         [!libc_feholdsetround_noexf_ctx]: Define
2428         libc_feholdsetround_noexf_ctx.
2429         [!libc_feholdsetround_noexl_ctx]: Define
2430         libc_feholdsetround_noexl_ctx.
2431         (libc_feholdsetround_ctx): New function.
2432         (libc_feresetround_ctx): New function.
2433         (libc_feholdsetround_noex_ctx): New function.
2434         (libc_feresetround_noex_ctx): New function.
2435
2436 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2437
2438         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2439         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2440         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2441         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2442         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2443         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2444
2445         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2446         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2447         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2448         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2449         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2450         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2451         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2452         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2453         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2454         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2456         Moved ...
2457         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2458         ... here.
2459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2460         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2462         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2463         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2464         Moved ...
2465         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2466         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2467         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2468         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2469         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2470         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2471         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2473         Moved ...
2474         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2475         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2476         Moved ...
2477         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2479         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2481         Moved ...
2482         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2483         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2484         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2485         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2486         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2487         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2488         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2489         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2490         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2491         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2492         Moved ...
2493         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2494         ... here.
2495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2496         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2498         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2500         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2502         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2504         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2506         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2508         Moved ...
2509         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2510         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2511         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2512         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2513         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2514         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2515         Moved ...
2516         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2517         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2518         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2519         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2520         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2521
2522         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2523         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2524         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2525         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2526         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2527         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2528         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2529         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2531         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2532         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2533         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2538         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2539         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2540         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2541         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2542         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2543         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2544         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2545         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2546         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2547         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2548         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2549         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2550
2551 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2552
2553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2554         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2555         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2556         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2557         (IPV6_PMTUDISC_INTERFACE): Likewise.
2558         (IPV6_PMTUDISC_OMIT): Likewise.
2559
2560 2014-06-23  Andreas Schwab  <schwab@suse.de>
2561
2562         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2563         Remove unused errout label.
2564
2565 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2566
2567         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2568         macro: hardware supports Vector Crypto instructions.
2569
2570 2014-06-23  Will Newton  <will.newton@linaro.org>
2571
2572         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2573         rather than __builtin_expect.
2574
2575         * elf/dl-lookup.c (undefined_msg): Remove variable.
2576         (_dl_lookup_symbol_x): Replace undefined_msg with string
2577         literal.
2578
2579         * elf/dl-lookup.c (do_lookup_unique): New function.
2580         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2581         to a separate function.
2582
2583 2014-06-23  Andreas Schwab  <schwab@suse.de>
2584
2585         [BZ #17079]
2586         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2587         before reading the next line.
2588
2589 2014-06-23  Will Newton  <will.newton@linaro.org>
2590
2591         * test-skeleton.c (signal_handler): Use printf and %m
2592         rather than perror.  Use printf rather than fprintf to
2593         stderr.  Use puts rather than fputs to stderr.
2594         (main): Likewise.
2595
2596 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2597
2598         * nscd/nscd.c (thread_info_t): Remove typedef.
2599         (thread_info): Remove variable.
2600
2601 2014-06-21  Allan McRae  <allan@archlinux.org>
2602
2603         * NEWS: Mention CVE-2014-4043.
2604
2605 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2606
2607         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2608         * nptl/smp.h: ... here.
2609
2610         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2611
2612         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2613         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2614         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2615         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2616
2617         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2618         * nptl/stack-aliasing.h: New file.
2619         * sysdeps/i386/i686/stack-aliasing.h: New file.
2620         * sysdeps/i386/i686/nptl/Makefile: File removed.
2621         * sysdeps/x86_64/stack-aliasing.h: New file.
2622         * sysdeps/x86_64/nptl/Makefile
2623         (CFLAGS-pthread_create.c): Variable removed.
2624
2625         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2626         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2627         old file.
2628         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2629         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2630         old file.
2631
2632 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2633
2634         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2635         (__ASSUME_SIGFRAME_V2): Remove macro.
2636         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2637         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2638         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2639         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2640         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2641         Declare as function.  Remove conditional macro definitions.
2642         (__default_rt_sa_restorer): Likewise.
2643         (__default_sa_restorer_v1): Remove declaration.
2644         (__default_sa_restorer_v2): Likewise.
2645         (__default_rt_sa_restorer_v1): Likewise.
2646         (__default_rt_sa_restorer_v2): Likewise.
2647         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2648         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2649         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2650
2651 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2652
2653         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2654         (libpthread-routines): Add sysdep.
2655         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2656         * sysdeps/unix/sysv/linux/sparc/Versions
2657         (libpthread: GLIBC_2.3.3): New version set.
2658         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2659         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2660         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2661         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2662         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2663         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2664         Moved ...
2665         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2666         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2667         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2668         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2669         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2670         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2671         * sysdeps/sparc/nptl/sem_init.c: ... here.
2672         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2673         * sysdeps/sparc/nptl/sem_post.c: ... here.
2674         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2675         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2676         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2677         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2678         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2679         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2680         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2681         (libpthread-routines): Add cpu_relax.
2682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2683         File removed.
2684         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2685         (librt: GLIBC_2.3.3): New version set.
2686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2687         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2688         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2689         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2692         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2694         Moved ...
2695         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2697         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2699         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2701         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2703         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2705         Moved ...
2706         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2707         Update #include.
2708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2709         Moved ...
2710         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2711         Update #include.
2712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2713         Moved ...
2714         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2715         Update #include.
2716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2717         Moved ...
2718         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2719         Update #include.
2720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2721         Moved ...
2722         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2723         Update #include.
2724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2725         Moved ...
2726         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2727         Update #include.
2728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2729         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2733         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2735         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2737         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2739         Moved ...
2740         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2742         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2744         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2745
2746 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2747
2748         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2749         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2750         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2751         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2752         * nscd/nscd.c: Likewise.
2753         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2754         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2755         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2756         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2757
2758         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2759         <kernel-features.h>.
2760         (init_mq_netlink): Remove conditional have_sock_cloexec
2761         definitions.  Remove code conditional on have_sock_cloexec < 0.
2762         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2763         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2764         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2765         <kernel-features.h>.
2766         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2767         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2768
2769 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2770
2771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2772         Add tests for memset_chk and memset.
2773
2774         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2775         with AVX2_Usable.
2776
2777 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2778
2779         [BZ #16046]
2780         * elf/tst-dl-iter-static.c: New file.
2781         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2782
2783         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2784         error.
2785
2786 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2787
2788         * sysdeps/unix/sysv/linux/kernel-features.h
2789         (__ASSUME_F_GETOWN_EX): Remove macro.
2790         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2791         <kernel-features.h>.
2792         (miss_F_GETOWN_EX): Remove variable or macro.
2793         (do_fcntl): Do not check miss_F_GETOWN_EX.
2794         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2795
2796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2797         Remove macro.
2798         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2799         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2800         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2801
2802         * sysdeps/unix/sysv/linux/kernel-features.h
2803         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2804         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2805         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2806         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2807
2808 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2809
2810         [BZ #17075]
2811         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2812         Fix calculation of the symbol's value.
2813         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2814         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2815         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2816         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2817         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2818         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2819         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2820         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2821         (modules-names): Add `tst-armtlsdescmod',
2822         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2823         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2824         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2825         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2826         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2827         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2828         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2829         ($(objpfx)tst-armtlsdescloc): New dependency.
2830         ($(objpfx)tst-armtlsdescextnow): Likewise.
2831         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2832         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2833         TLS scheme support.
2834         * sysdeps/arm/configure: Regenerate.
2835
2836 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2837
2838         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2839         (__atfct_seterrno_2): Likewise.
2840         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2841         <kernel-features.h>.
2842         (__ASSUME_ATFCTS): Do not undefine and redefine.
2843         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2844         (__have_atfcts): Remove conditional definition.
2845         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2846         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2847         unreachable if [__ASSUME_ATFCTS].
2848         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2849         not undefine and redefine.
2850         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2851         <kernel-features.h>.
2852         (faccessat) [__NR_faccessat]: Make code unconditional.
2853         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2854         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2855         <kernel-features.h>.
2856         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2857         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2858         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2859         <kernel-features.h>.
2860         (fchownat) [__NR_fchownat]: Make code unconditional.
2861         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2862         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2863         <kernel-features.h>.
2864         (futimesat) [__NR_futimesat]: Make code unconditional.
2865         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2866         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2867         <kernel-features.h>.
2868         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2869         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2870         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2871         <kernel-features.h>.
2872         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2873         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2874         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2875         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2876         <kernel-features.h>.
2877         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2878         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2879         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2880         <kernel-features.h>.
2881         (linkat) [__NR_linkat]: Make code unconditional.
2882         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2883         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2884         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2885         <kernel-features.h>.
2886         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2887         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2888         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2889         <kernel-features.h>.
2890         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2891         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2892         * sysdeps/unix/sysv/linux/openat.c: Do not include
2893         <kernel-features.h>.
2894         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2895         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2896         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2897         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2898         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2899         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2900         <kernel-features.h>.
2901         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2902         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2903         result of INLINE_SYSCALL directly, not via int variable.
2904         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2905         <kernel-features.h>.
2906         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2907         (renameat) [__NR_renameat]: Make code unconditional.
2908         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2909         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2910         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2911         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2912         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2913         (__ASSUME_ATFCTS): Do not undefine and redefine.
2914         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2915         <kernel-features.h>.
2916         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2917         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2918         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2919         <kernel-features.h>.
2920         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2921         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2922         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2923         (__ASSUME_ATFCTS): Do not undefine and redefine.
2924         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2925         <kernel-features.h>.
2926         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2927         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2928         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2929         <kernel-features.h>.
2930         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2931         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2932
2933 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2934
2935         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2936
2937 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2938
2939         [BZ #17069]
2940         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2941         constructed tree before returning error.
2942         * posix/bug-regexp36.c: Expand test case.
2943
2944 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2945
2946         [BZ #6803]
2947         * math/libm-test.inc (scalbln_test_date):
2948         Add errno expectations.
2949         * math/w_scalblnf.c: New File.
2950         Add wrapper which checks for setting errno to ERANGE.
2951         Add weak_alias for corresponding scalbln function.
2952         * math/w_scalbln.c: Likewise.
2953         * math/w_scalblnl.c: Likewise.
2954         * math/Makefile (libm-calls): Add w_scalbln.
2955         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2956         Remove weak_alias for corresponding scalbln function.
2957         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2958         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2959         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2960         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2961         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2962         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2963         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2964         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2965         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2966         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2967         Remove long_double_symbol for scalblnl function in libm, libc.
2968         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2969         Add wrapper which checks for setting errno to ERANGE.
2970         Add long_double_symbol for scalblnl function in libm, libc.
2971         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2972         Remove long_double_symbol for scalblnl in libm.
2973         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2974         Add wrapper which checks for setting errno to ERANGE.
2975         Add long_double_symbol for scalblnl function in libm.
2976         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2977         Do not use wrapper because of own implementation.
2978
2979 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2980
2981         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2982         3 bytes for __pad1 for x32.
2983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2984
2985 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2986             H.J. Lu  <hongjiu.lu@intel.com>
2987
2988         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2989         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2990         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2991         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2992         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2993
2994 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2995
2996         [BZ #17069]
2997         * posix/regcomp.c (parse_expression): Deallocate partially
2998         constructed tree before returning error.
2999         * posix/Makefile.c (tests): Add bug-regex36.
3000         (generated): Add bug-regex36.mtrace.
3001         (tests-special): Add $(objpfx)bug-regex36-mem.out
3002         (bug-regex36-ENV): New variable.
3003         ($(objpfx)bug-regex36-mem.out): New rule.
3004         * posix/bug-regex36.c: New file.
3005
3006 2014-06-19  Will Newton  <will.newton@linaro.org>
3007
3008         * malloc/malloc.c (systrim): If extra is zero then return
3009         early.
3010
3011 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3012
3013         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3014
3015 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3016
3017         * sysdeps/aarch64/strchr.S: New file.
3018
3019 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3020
3021         [BZ #17022]
3022         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3023         from arguments -2 or below.
3024         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3025         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3026
3027 2014-06-18  Andreas Schwab  <schwab@suse.de>
3028
3029         [BZ #17062]
3030         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3031         of a bracket expr not to run off the end of the string.
3032         * posix/Makefile (tests): Add tst-fnmatch3.
3033         * posix/tst-fnmatch3.c: New file.
3034
3035 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3036
3037         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3038         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3039         [$(cross-compiling) = no]: Likewise.
3040         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3041         [$(cross-compiling) = no]: Likewise.
3042
3043 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3044
3045         [BZ #17031]
3046         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3047         double, adjusted for any remainder from the high double.
3048         * math/libm-test.inc (nearbyint): Add tests.
3049         (rint): Likewise.
3050
3051 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3052
3053         * nptl/sysdeps/powerpc/Makefile: Moved ...
3054         * sysdeps/powerpc/nptl/Makefile: ... here.
3055         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3056         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3057         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3058         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3059         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3060         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3061         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3062         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3063         * nptl/sysdeps/powerpc/tls.h: Moved ...
3064         * sysdeps/powerpc/nptl/tls.h: ... here.
3065
3066 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3067
3068         [BZ #16681]
3069         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3070         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3071         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3072         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3073         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3074         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3075         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3076         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3077         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3078
3079 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3080
3081         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3082
3083 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3084
3085         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3086         defined operator.
3087
3088         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3089         $TIMEOUTFACTOR.
3090
3091 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3092
3093         [BZ #17058]
3094         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3095         non-executed part of the test.
3096
3097 2014-06-16  Andreas Schwab  <schwab@suse.de>
3098
3099         * string/bits/string2.h (strdup, strndup): Update feature guard.
3100
3101 2014-06-14  David S. Miller  <davem@davemloft.net>
3102
3103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3104
3105 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3106
3107         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3108         that was previously under [RESET_PID].
3109         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3110
3111         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3112         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3113         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3114         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3115         (__libc_vfork): New strong alias.
3116         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3117
3118 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3119
3120         * sysdeps/generic/elide.h: New file.
3121
3122 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3123
3124         * Makefile (installed-headers): Adjust path of pthread.h header.
3125
3126 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3127
3128         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3129         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3130         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3131         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3132
3133         * nptl/sysdeps/s390/Makefile: Moved ...
3134         * sysdeps/s390/nptl/Makefile: ... here.
3135         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3136         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3137         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3138         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3139         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3140         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3141         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3142         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3143         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3144         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3145         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3146         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3147         * nptl/sysdeps/s390/tls.h: Moved ...
3148         * sysdeps/s390/nptl/tls.h: ... here.
3149
3150         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3151         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3152
3153 2014-06-13  David S. Miller  <davem@davemloft.net>
3154
3155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3158         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3162         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3163         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3164         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3165         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3166         Remove RESET_PID cpp guards.
3167         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3168         Remove RESET_PID cpp guards.
3169         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3170
3171 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3172
3173         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3174         __sp to uintptr_t.
3175
3176 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3177
3178         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3179         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3180         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3181         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3182         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3184         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3185         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3186         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3187         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3188         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3189         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3190         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3193         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3194         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3195         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3196         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3197         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3198
3199         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3200         (pthread_rwlock_rdlock): Add elision.
3201         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3202         (pthread_rwlock_wrlock): Add elision.
3203         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3204         (pthread_rwlock_trywrlock): Add elision.
3205         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3206         (pthread_rwlock_tryrdlock): Add elision.
3207         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3208         (pthread_rwlock_tryrdlock): Add elision unlock.
3209         * nptl/sysdeps/pthread/pthread.h:
3210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3211         (PTHREAD_RWLOCK_INITIALIZER,
3212         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3213         Handle new elision field.
3214         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3215         * sysdeps/arm/nptl/bits/pthreadtypes.h
3216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3217         * sysdeps/sh/nptl/bits/pthreadtypes.h
3218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3219         * sysdeps/tile/nptl/bits/pthreadtypes.h
3220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3221         * sysdeps/a/nptl/bits/pthreadtypes.h
3222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3223         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3225         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3227         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3229         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3231         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3233         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3235         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3237         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3239         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3240         (elision_init): Set try_xbegin to zero when no RTM.
3241         * sysdeps/x86/nptl/bits/pthreadtypes.h
3242         (pthread_rwlock_t): Change __pad1 to __rwelision.
3243         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3244
3245 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3246
3247         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3248         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3249         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3250         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3251
3252 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3253
3254         [BZ #16996]
3255         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3256         that the cached result has been set before returning it.
3257
3258 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3259
3260         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3261         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3262         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3263         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3264         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3265         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3266
3267         * nptl/sysdeps/sparc/Makefile: Moved ...
3268         * sysdeps/sparc/nptl/Makefile: ... here.
3269         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3270         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3271         * nptl/sysdeps/sparc/tls.h: Moved ...
3272         * sysdeps/sparc/nptl/tls.h: ... here.
3273         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3274         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3275         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3276         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3277         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3278         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3279         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3280         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3281         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3282         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3283         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3284         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3285         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3286         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3287         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3288         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3289         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3290         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3291         Update #include.
3292         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3293         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3294         Update #include.
3295         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3296         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3297         Update #include.
3298         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3300         Update #include.
3301
3302         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3303
3304         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3305         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3306
3307         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3308         (struct list_links): Type removed.
3309         (struct thread_node, struct timer_node): Replace struct list_links
3310         with struct list_head.
3311         (list_unlink_ip): Likewise.
3312         * sysdeps/pthread/timer_routines.c
3313         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3314         (list_append, list_insbefore): Likewise.
3315         (list_init): Function removed.
3316         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3317         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3318         * sysdeps/pthread/Makefile: ... here, new file.
3319
3320         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3321         * sysdeps/nptl/Implies: ... here.
3322         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3323         * nptl/sysdeps/pthread/list.h: Moved ...
3324         * include/list.h: ... here.
3325         * nptl/sysdeps/pthread/createthread.c: Moved ...
3326         * nptl/createthread.c: ... here.
3327         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3328         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3329         * nptl/pt-longjmp.c: ... here.
3330         * nptl/sysdeps/pthread/Makefile: Moved ...
3331         * sysdeps/nptl/Makefile: ... here.
3332         * nptl/sysdeps/pthread/Subdirs: Moved ...
3333         * sysdeps/nptl/Subdirs: ... here.
3334         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3335         * sysdeps/nptl/aio_misc.h: ... here.
3336         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3337         * sysdeps/nptl/bits/libc-lock.h: ... here.
3338         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3339         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3340         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3341         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3342         * nptl/sysdeps/pthread/configure: Moved ...
3343         * sysdeps/nptl/configure: ... here.
3344         * nptl/sysdeps/pthread/configure.ac: Moved ...
3345         * sysdeps/nptl/configure.ac: ... here.
3346         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3347         * sysdeps/nptl/gai_misc.h: ... here.
3348         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3349         * sysdeps/nptl/librt-cancellation.c: ... here.
3350         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3351         * sysdeps/nptl/malloc-machine.h: ... here.
3352         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3353         * sysdeps/nptl/pthread-functions.h: ... here.
3354         * nptl/sysdeps/pthread/pthread.h: Moved ...
3355         * sysdeps/nptl/pthread.h: ... here.
3356         * nptl/sysdeps/pthread/setxid.h: Moved ...
3357         * sysdeps/nptl/setxid.h: ... here.
3358         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3359         * sysdeps/nptl/sigfillset.c: ... here.
3360         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3361         * sysdeps/nptl/tcb-offsets.h: ... here.
3362         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3363         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3364         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3365         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3366         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3367         * sysdeps/pthread/allocalim.h: ... here.
3368         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3369         * sysdeps/pthread/bits/sigthread.h: ... here.
3370         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3371         * sysdeps/pthread/flockfile.c: ... here.
3372         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3373         * sysdeps/pthread/ftrylockfile.c: ... here.
3374         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3375         * sysdeps/pthread/funlockfile.c: ... here.
3376         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3377         * sysdeps/pthread/posix-timer.h: ... here.
3378         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3379         * sysdeps/pthread/timer_create.c: ... here.
3380         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3381         * sysdeps/pthread/timer_delete.c: ... here.
3382         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3383         * sysdeps/pthread/timer_getoverr.c: ... here.
3384         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3385         * sysdeps/pthread/timer_gettime.c: ... here.
3386         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3387         * sysdeps/pthread/timer_routines.c: ... here.
3388         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3389         * sysdeps/pthread/timer_settime.c: ... here.
3390         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3391         * sysdeps/pthread/tst-timer.c: ... here.
3392         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3393         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3394
3395         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3396         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3397
3398         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3399         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3400         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3401         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3402         Update #include target.
3403         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3404         * sysdeps/i386/i686/nptl/Makefile: ... here.
3405         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3406         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3407         Update #include target.
3408         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3409         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3410         * nptl/sysdeps/i386/Makefile: Moved ...
3411         * sysdeps/i386/nptl/Makefile: ... here.
3412         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3413         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3414         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3415         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3416         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3417         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3418         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3419         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3420         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3421         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3422         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3423         * nptl/sysdeps/i386/tls.h: Moved ...
3424         * sysdeps/i386/nptl/tls.h: ... here.
3425
3426         * sysdeps/sh/Makefile [$(subdir) = csu]
3427         (gen-as-const-headers): Add tcb-offsets.sym.
3428         * nptl/sysdeps/sh/Makefile: File removed.
3429         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3430         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3431         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3432         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3433         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3434         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3435         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3436         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3437         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3438         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3439         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3440         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3441         * nptl/sysdeps/sh/tls.h: Moved ...
3442         * sysdeps/sh/nptl/tls.h: ... here.
3443         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3444         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3445         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3446         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3447         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3448         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3449         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3450         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3451         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3452         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3453         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3454         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3456         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3457         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3458         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3460         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3461         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3462         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3464         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3466         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3468         Moved ...
3469         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3470         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3471         Moved ...
3472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3474         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3476         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3477         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3478         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3479         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3480         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3481         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3482         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3483         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3484         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3485         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3486         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3487         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3488         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3489         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3490         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3491
3492 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3493
3494         * posix/spawn_faction_addopen.c: Include string.h.
3495
3496 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3497
3498         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3499         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3500         * nptl/sysdeps/x86_64/Makefile: Moved ...
3501         * sysdeps/x86_64/nptl/Makefile: ... here.
3502         * nptl/sysdeps/x86_64/configure: Moved ...
3503         * sysdeps/x86_64/nptl/configure: ... here.
3504         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3505         * sysdeps/x86_64/nptl/configure.ac: ... here.
3506         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3507         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3508         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3509         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3510         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3511         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3512         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3513         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3514         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3515         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3516         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3517         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3518         * nptl/sysdeps/x86_64/tls.h: Moved ...
3519         * sysdeps/x86_64/nptl/tls.h: ... here.
3520         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3521         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3522         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3523         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3524
3525         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3526
3527 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3528
3529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3530
3531 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3532
3533         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3534         type.
3535         [POSIX] (off_t): Likewise.
3536         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3537         [POSIX] (S_ISBLK): Require macro.
3538         [POSIX] (S_ISCHR): Likewise.
3539         [POSIX] (S_ISDIR): Likewise.
3540         [POSIX] (S_ISFIFO): Likewise.
3541         [POSIX] (S_ISREG): Likewise.
3542         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3543         optional-macro.
3544         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3545         type.
3546         [POSIX] (time_t): Likewise.
3547         [POSIX] (timer_t): Likewise.
3548
3549 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3550
3551         [BZ #17048]
3552         * posix/spawn_int.h (struct __spawn_action): Make the path string
3553         non-const to support deallocation.
3554         * posix/spawn_faction_addopen.c
3555         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3556         * posix/spawn_faction_destroy.c
3557         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3558         path in all spawn_do_open actions.
3559         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3560         posix_spawn_file_actions_addopen.
3561
3562 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3563
3564         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3565         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3566         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3567         conditional code always true.
3568         (__libc_vfork): New alias.
3569
3570 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3571
3572         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3573         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3574
3575         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3576
3577         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3578         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3579
3580         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3581         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3582
3583         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3584         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3585
3586 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3587
3588         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3589         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3590         multiarch strcmp for PPC64.
3591         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3592         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3594         multiarch optimizations.
3595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3596         (__libc_ifunc_impl_list): Likewise.
3597
3598 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3599
3600         * benchtests/scripts/validate_benchout.py: New script.
3601         * benchtests/Makefile (bench-func): Call it.
3602         * benchtests/scripts/benchout.schema.json: New file.
3603
3604 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3605
3606         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3607         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3608         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3609         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3610         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3611         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3612         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3613         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3614         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3615         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3616         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3617         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3618         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3619         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3620         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3621         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3623         Moved ...
3624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3625         ... here.
3626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3627         Moved ...
3628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3630         Moved ...
3631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3632         ... here.
3633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3634         Moved ...
3635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3636         ... here.
3637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3638         Moved ...
3639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3641         Moved ...
3642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3643         ... here.
3644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3645         Moved ...
3646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3647         ... here.
3648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3649         Moved ...
3650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3652         Moved ...
3653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3654         ... here.
3655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3656         Moved ...
3657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3658         ... here.
3659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3660         Moved ...
3661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3662         ... here.
3663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3664         Moved ...
3665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3667         Moved ...
3668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3669         ... here.
3670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3671         Moved ...
3672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3673         ... here.
3674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3675         Moved ...
3676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3677         ... here.
3678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3679         Moved ...
3680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3682         Moved ...
3683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3684         ... here.
3685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3686         Moved ...
3687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3688         ... here.
3689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3693         Moved ...
3694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3695         ... here.
3696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3697         Moved ...
3698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3700         Moved ...
3701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3703         Moved ...
3704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3705         ... here.
3706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3707         Moved ...
3708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3709         ... here.
3710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3711         Moved ...
3712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3713         ... here.
3714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3715         Moved ...
3716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3718         Moved ...
3719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3720         ... here.
3721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3722         Moved ...
3723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3724         ... here.
3725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3726         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3728         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3729         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3730         Moved ...
3731         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3732         ... here.
3733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3734         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3736         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3738         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3740         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3742         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3744         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3746         Moved ...
3747         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3748         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3749         Moved ...
3750         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3752         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3754         Moved ...
3755         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3756         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3757         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3758         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3759         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3760         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3761         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3762
3763 2014-06-10  Wilco  <wdijkstr@arm.com>
3764
3765         * math/test-fenv-return.c: New file.
3766         * math/Makefile: Add new test test-fenv-return.
3767
3768 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3769
3770         [BZ #17042]
3771         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3772         when x - 1 is zero.
3773         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3774         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3775         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3776         0.0L for an argument of 1.0L.
3777         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3778         Likewise.
3779         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3780         value when x - 1 is zero.
3781         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3782         * sysdeps/i386/fpu/libm-test-ulps: Update.
3783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3784
3785 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3786
3787         [BZ #15119]
3788         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3789
3790 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3791
3792         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3793         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3794
3795 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3796
3797         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3798         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3799
3800         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3801         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3802
3803         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3804         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3805
3806         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3807         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3808
3809         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3810         if not already defined.
3811         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3812         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3813         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3814         (TLS_INIT_TP): Use it.
3815         (TLS_DEFINE_INIT_TP): New macro.
3816         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3817
3818 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3819
3820         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3821         constant.
3822         [POSIX] (IXANY): Likewise.
3823         [POSIX] (OLCUC): Likewise.
3824         [POSIX || POSIX2008] (CBAUD): Do not allow.
3825         [POSIX || POSIX2008] (DEFECHO): Likewise.
3826         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3827         [POSIX || POSIX2008] (ECHOKE): Likewise.
3828         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3829         [POSIX || POSIX2008] (EXTA): Likewise.
3830         [POSIX || POSIX2008] (EXTB): Likewise.
3831         [POSIX || POSIX2008] (FLUSHO): Likewise.
3832         [POSIX || POSIX2008] (LOBLK): Likewise.
3833         [POSIX || POSIX2008] (PENDIN): Likewise.
3834         [POSIX || POSIX2008] (SWTCH): Likewise.
3835         [POSIX || POSIX2008] (VDISCARD): Likewise.
3836         [POSIX || POSIX2008] (VDSUSP): Likewise.
3837         [POSIX || POSIX2008] (VLNEXT): Likewise.
3838         [POSIX || POSIX2008] (VREPRINT): Likewise.
3839         [POSIX || POSIX2008] (VSTATUS): Likewise.
3840         [POSIX || POSIX2008] (VWERASE): Likewise.
3841         (B*): Change to B[0123456789]*.
3842         * conform/data/time.h-data [POSIX || UNIX98]
3843         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3844         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3845         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3846         [POSIX] (tm_*): Do not allow.
3847
3848 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3849
3850         * Makefile (install): Don't set LANGUAGE.
3851         * Makefile.in (install): Likewise.
3852         * assert/Makefile (test-assert-ENV): Remove variable.
3853         (test-assert-perr-ENV): Likewise.
3854         * elf/Makefile (neededtest4-ENV): Likewise.
3855         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3856         [$(cross-compiling) = no]: Don't set LANGUAGE.
3857         * io/ftwtest-sh (LANG): Remove variable.
3858         * libio/Makefile (tst-widetext-ENV): Likewise.
3859         * manual/install.texi (Running make install): Don't refer to
3860         environment settings for make install.
3861         * INSTALL: Regenerated.
3862         * nptl/tst-tls6.sh: Don't set LANG.
3863         * posix/globtest.sh (LANG): Remove variable.
3864         * string/Makefile (tester-ENV): Likewise.
3865         (inl-tester-ENV): Likewise.
3866         (noinl-tester-ENV): Likewise.
3867         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3868         [$(cross-compiling) = no]: Don't set LANGUAGE.
3869         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3870         without explicit environment settings.
3871
3872 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3873
3874         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3875         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3876         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3877         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3878
3879 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3880
3881         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3882         other files in the crypt directory.
3883         * crypt/crypt.c: Remove duplicate includes.
3884         * crypt/crypt-entry.c: Likewise.
3885         * crypt/crypt_util.c: Likewise.
3886
3887 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3888
3889         * Makeconfig (run-program-env): New variable.
3890         (run-program-prefix-before-env): Likewise.
3891         (run-program-prefix-after-env): Likewise.
3892         (run-program-prefix): Define in terms of new variables.
3893         (built-program-cmd-before-env): New variable.
3894         (built-program-cmd-after-env): Likewise.
3895         (built-program-cmd): Define in terms of new variables.
3896         (test-program-prefix-before-env): New variable.
3897         (test-program-prefix-after-env): Likewise.
3898         (test-program-prefix): Define in terms of new variables.
3899         (test-program-cmd-before-env): New variable.
3900         (test-program-cmd-after-env): Likewise.
3901         (test-program-cmd): Define in terms of new variables.
3902         * Rules (make-test-out): Use $(run-program-env).
3903         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3904         (help): Do not mention environment variables.  Mention
3905         --timeoutfactor option.
3906         (timeoutfactor): New variable.
3907         (blacklist_exports): Remove function.
3908         (exports): Remove variable.
3909         (command): Do not include ${exports}.
3910         * manual/install.texi (Configuring and compiling): Do not mention
3911         test wrappers preserving environment variables.  Mention that last
3912         assignment to a variable must take precedence.
3913         * INSTALL: Regenerated.
3914         * benchtests/Makefile (run-bench): Use $(run-program-env).
3915         * catgets/Makefile ($(objpfx)test1.cat): Use
3916         $(built-program-cmd-before-env), $(run-program-env) and
3917         $(built-program-cmd-after-env).
3918         ($(objpfx)test2.cat): Do not specify environment variables
3919         explicitly.
3920         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3921         $(run-program-env) and $(built-program-cmd-after-env).
3922         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3923         $(run-program-env) and $(test-program-cmd-after-env).
3924         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3925         explicitly.
3926         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3927         run_program_env and test_program_cmd_after_env arguments.
3928         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3929         * elf/tst-pathopt.sh: Use run_program_env argument.
3930         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3931         $(test-wrapper-env) and $(run-program-env).
3932         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3933         run_program_env arguments.
3934         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3935         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3936         $(test-program-prefix-before-env), $(run-program-env) and
3937         $(test-program-prefix-after-env).
3938         ($(objpfx)tst-gettext2.out): Likewise.
3939         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3940         run_program_env and test_program_prefix_after_env arguments.
3941         * intl/tst-gettext2.sh: Likewise.
3942         * intl/tst-gettext4.sh: Do not set environment variables
3943         explicitly.
3944         * intl/tst-gettext6.sh: Likewise.
3945         * intl/tst-translit.sh: Likewise.
3946         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3947         $(test-program-prefix-before-env), $(run-program-env) and
3948         $(test-program-prefix-after-env).
3949         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3950         run_program_env and test_program_prefix_after_env arguments.
3951         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3952         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3953         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3954         explicitly with each use of ${test_wrapper_env}.
3955         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3956         $(test-program-prefix-before-env), $(run-program-env) and
3957         $(test-program-prefix-after-env).
3958         * posix/tst-getconf.sh: Do not set environment variables
3959         explicitly.
3960         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3961         run_program_env and test_program_prefix_after_env arguments.
3962         * stdio-common/tst-printf.sh: Do not set environment variables
3963         explicitly.
3964         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3965         $(test-program-prefix-before-env), $(run-program-env) and
3966         $(test-program-prefix-after-env).
3967         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3968         run_program_env and test_program_prefix_after_env arguments.
3969         Split $test calls into $test_pre and $test.
3970         * timezone/Makefile (build-testdata): Use
3971         $(built-program-cmd-before-env), $(run-program-env) and
3972         $(built-program-cmd-after-env).
3973
3974 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3975
3976         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3977         strlen for non SHARED builds.
3978
3979 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3980
3981         * nptl/allocatestack.c (check_list): Inlined function...
3982         (__reclaim_stacks): ... here.
3983
3984 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3985
3986         [BZ #15698]
3987         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3988         memory overrun.
3989
3990 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3991
3992         * Rules (make-test-out): Include
3993         LOCPATH=$(common-objpfx)localedata in default environment.
3994         * debug/Makefile (tst-chk1-ENV): Remove variable.
3995         (tst-chk2-ENV): Likewise.
3996         (tst-chk3-ENV): Likewise.
3997         (tst-chk4-ENV): Likewise.
3998         (tst-chk5-ENV): Likewise.
3999         (tst-chk6-ENV): Likewise.
4000         (tst-lfschk1-ENV): Likewise.
4001         (tst-lfschk2-ENV): Likewise.
4002         (tst-lfschk3-ENV): Likewise.
4003         (tst-lfschk4-ENV): Likewise.
4004         (tst-lfschk5-ENV): Likewise.
4005         (tst-lfschk6-ENV): Likewise.
4006         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4007         (tst-iconv7-ENV): Likewise.
4008         * intl/Makefile (LOCPATH-ENV): Likewise.
4009         (tst-codeset-ENV): Likewise.
4010         (tst-gettext3-ENV): Likewise.
4011         (tst-gettext5-ENV): Likewise.
4012         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4013         (tst-fopenloc-ENV): Likewise.
4014         (tst-fgetws-ENV): Remove variable.
4015         (tst-ungetwc1-ENV): Likewise.
4016         (tst-ungetwc2-ENV): Likewise.
4017         (bug-ungetwc2-ENV): Likewise.
4018         (tst-swscanf-ENV): Likewise.
4019         (bug-ftell-ENV): Likewise.
4020         (tst-fgetwc-ENV): Likewise.
4021         (tst-fseek-ENV): Likewise.
4022         (tst-ftell-partial-wide-ENV): Likewise.
4023         (tst-ftell-active-handler-ENV): Likewise.
4024         (tst-ftell-append-ENV): Likewise.
4025         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4026         (tst-regexloc-ENV): Likewise.
4027         (bug-regex1-ENV): Likewise.
4028         (tst-regex-ENV): Likewise.
4029         (tst-regex2-ENV): Likewise.
4030         (bug-regex5-ENV): Likewise.
4031         (bug-regex6-ENV): Likewise.
4032         (bug-regex17-ENV): Likewise.
4033         (bug-regex18-ENV): Likewise.
4034         (bug-regex19-ENV): Likewise.
4035         (bug-regex20-ENV): Likewise.
4036         (bug-regex22-ENV): Likewise.
4037         (bug-regex23-ENV): Likewise.
4038         (bug-regex25-ENV): Likewise.
4039         (bug-regex26-ENV): Likewise.
4040         (bug-regex30-ENV): Likewise.
4041         (bug-regex32-ENV): Likewise.
4042         (bug-regex33-ENV): Likewise.
4043         (bug-regex34-ENV): Likewise.
4044         (bug-regex35-ENV): Likewise.
4045         (tst-rxspencer-ENV): Likewise.
4046         (tst-rxspencer-no-utf8-ENV): Likewise.
4047         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4048         (tst-sscanf-ENV): Likewise.
4049         (tst-swprintf-ENV): Likewise.
4050         (tst-swscanf-ENV): Likewise.
4051         (test-vfprintf-ENV): Likewise.
4052         (scanf13-ENV): Likewise.
4053         (bug14-ENV): Likewise.
4054         (tst-grouping-ENV): Likewise.
4055         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4056         (tst-strtod3-ENV): Likewise.
4057         (tst-strtod4-ENV): Likewise.
4058         (tst-strtod5-ENV): Likewise.
4059         (testmb2-ENV): Likewise./
4060         * string/Makefile (tst-strxfrm-ENV): Likewise.
4061         (tst-strxfrm2-ENV): Likewise.
4062         (bug-strcoll1-ENV): Likewise.
4063         (test-strcasecmp-ENV): Likewise.
4064         (test-strncasecmp-ENV): Likewise.
4065         * time/Makefile (tst-strptime-ENV): Likewise.
4066         (tst-ftime_l-ENV): Likewise.
4067         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4068         (tst-mbrtowc-ENV): Likewise.
4069         (tst-wcrtomb-ENV): Likewise.
4070         (tst-mbrtowc2-ENV): Likewise.
4071         (tst-c16c32-1-ENV): Likewise.
4072         (tst-mbsnrtowcs-ENV): Likewise.
4073
4074 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4075
4076         * manual/resource.texi (How to get information about the memory
4077         subsystem?): Fix typo.
4078         Reported by Peon de la Parra Ivan <peon@keba.com>
4079
4080 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4081
4082         [BZ #16882]
4083         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4084         (pthread_spin_lock): Branch out of spin loop to proper location.
4085         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4086         (pthread_spin_lock): Likewise.
4087
4088         * nptl/tst-spin4.c: New test.
4089         * nptl/Makefile (tests): Add tst-spin4.
4090
4091 2014-06-03  Andreas Schwab  <schwab@suse.de>
4092
4093         [BZ #15946]
4094         * resolv/res_send.c (send_dg): Reload file descriptor after
4095         calling reopen.
4096
4097 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4098
4099         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4100
4101 2014-06-03  Richard Henderson  <rth@redhat.com>
4102
4103         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4104         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4105         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4106         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4107         in the SAVE_PID block.
4108         (__libc_vfork): New alias.
4109         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4110
4111         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4112         child in registers, not on the stack.  Remove RESET_PID conditionals.
4113         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4114
4115 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4116
4117         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4118
4119 2014-06-03  Wilco  <wdijkstr@arm.com>
4120
4121         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4122         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4123         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4124         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4125         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4126         Likewise.
4127
4128 2014-06-03  Wilco  <wdijkstr@arm.com>
4129
4130         * sysdeps/aarch64/fpu/math_private.h
4131         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4132         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4133         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4134         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4135         Fix declarations.
4136
4137 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4138
4139         * crypt/crypt-private.h: Include ufc-crypt.h.
4140         (__b64_from_24bit): Declare extern.
4141         * crypt/crypt_util.c(__b64_from_24bit): New function.
4142         (b64t): New static const variable.
4143         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4144         (b64t): Remove variable.
4145         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4146         * crypt/sha256-crypt.c: Include crypt-private.h.
4147         (b64t): Remove variable.
4148         (__sha256_crypt_r): Remove b64_from_24bit and replace
4149         with __b64_from_24bit.
4150         * crypt/sha512-crypt.c: Likewise.
4151
4152 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4153
4154         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4155         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4156         Label the code __libc_vfork rather than __vfork.
4157         [!NOT_IN_libc] (vfork): Define as weak alias.
4158         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4159         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4160         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4161
4162 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4163
4164         * malloc/malloc.c (malloc_info): Fix format specifier for
4165         n_mmaps.
4166
4167 2014-06-02  Wilco  <wdijkstr@arm.com>
4168
4169         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4170         FPCR write.
4171
4172 2014-06-02  Wilco  <wdijkstr@arm.com>
4173
4174         [BZ #17009]
4175         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4176         Rewrite to reduce FPCR/FPSR accesses.
4177
4178 2014-06-01  David S. Miller  <davem@davemloft.net>
4179
4180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4181
4182 2014-05-31  David S. Miller  <davem@davemloft.net>
4183
4184         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4185         to occur in round to nearest mode when |x| >= 2.0
4186
4187 2014-05-30  Richard Henderson  <rth@twiddle.net>
4188
4189         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4190         (PSEUDO_RET_NOERRNO): Remove.
4191         (ret): Don't redefine.
4192         (ret_NOERRNO): Define in terms of ret.
4193         (ret_ERRVAL): Likewise.
4194
4195         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4196         use of PSEUDO_RET; perform the error check directly.
4197
4198 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4199
4200         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4201         with __int128_t.
4202
4203 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4204
4205         * malloc/malloc (malloc_info): Fix formatting.
4206
4207 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4208             Roland McGrath  <roland@hack.frob.com>
4209
4210         * malloc/malloc (malloc_info): Also print mmapped statistics.
4211
4212 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4213
4214         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4215         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4216
4217 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4218
4219         * malloc/malloc.c (malloc_info): Inline mi_arena.
4220
4221 2014-05-29  Richard Henderson  <rth@twiddle.net>
4222
4223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4224         Remove comma before expanding ASM_ARGS_##nr.
4225         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4226         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4227         of ASM_ARGS_##nr.
4228         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4229         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4230         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4231         (ASM_ARGS_1): Add leading comma.
4232
4233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4234         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4235         to __errno_location.
4236         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4237         Remove the expected plt for __errno_location.
4238
4239         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4240         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4241         call to __read_tp.
4242
4243         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4244         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4245         it and break it down.
4246         (DOCARGS_0, DOCARGS_1): Do nothing.
4247         (DOCARGS_2): Update to store into the new stack frame.
4248         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4249         (UNDOCARGS_1): Update to restore from the new stack frame.
4250         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4251         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4252
4253         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4254         (SINGLE_THREAD_P): New parameter for result regno.
4255         (PSEUDO): Update to match; use cbz instead of beq.
4256
4257         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4258         Use ENTRY to define the _nocancel entry point.  Share the syscall
4259         and syscall error check paths with the cancel path.
4260         (PSEUDO_END): New.
4261
4262         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4263         whitespace; tabs before and after asm mnemonics.
4264
4265 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4266
4267         [BZ #15132]
4268         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4269         Call fstat64 or stat64 internally, depending on arguments passed.
4270         Replace stat buffer argument with file descriptor argument.
4271         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4272         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4273         Pass fd to __internal_statvfs instead of calling fstat64.
4274         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4275         Pass fd to __internal_statvfs64 instead of calling fstat64.
4276         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4277         Pass -1 to __internal_statvfs instead of calling stat64.
4278         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4279         Pass -1 to __internal_statvfs64 instead of calling stat64.
4280
4281 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4282
4283         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4284         that was previously under [RESET_PID].
4285         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4286
4287         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4288         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4289
4290 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4291
4292         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4293
4294         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4295         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4296
4297 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4298
4299         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4300
4301 2014-05-27  Andreas Schwab  <schwab@suse.de>
4302
4303         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4304         TLS_INIT_TP macro.
4305         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4306         * elf/rtld.c (init_tls, dl_main): Likewise.
4307         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4308         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4309         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4310         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4311         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4312         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4313         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4314         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4315         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4316         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4317         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4318         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4319         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4320         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4321         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4322         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4323         * sysdeps/generic/tls.h: Update description.
4324
4325 2014-05-27  Will Newton  <will.newton@linaro.org>
4326
4327         [BZ #16990]
4328         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4329         and restore r2 rather than just restoring.
4330
4331 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4332
4333         [BZ #16724]
4334         * libio/tst-ftell-append.c: New test case.
4335         * libio/Makefile (tests): Add test case.
4336         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4337         append mode.
4338         * libio/wfileops.c (do_ftell_wide): Likewise.
4339
4340 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4341
4342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4343
4344         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4345         ...
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4348         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4349         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4350         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4351         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4352         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4353         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4355         Moved ...
4356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4358         Moved ...
4359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4360         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4361         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4362         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4363         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4364         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4365         ...
4366         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4367         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4368         Moved ...
4369         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4370         here.
4371         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4372         ...
4373         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4374         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4375         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4376
4377         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4378         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4379         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4380         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4381
4382         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4383         merge into ...
4384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4386         ...
4387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4389         ...
4390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4392         Moved ...
4393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4394         here.
4395         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4396         Moved ...
4397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4398         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4399         Moved ...
4400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4401
4402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4403         conditional [RESET_PID].
4404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4406         removed.
4407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4408         removed.
4409
4410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4411         <tcb-offsets.h>.
4412         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4413         (__libc_vfork): New strong alias.
4414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4415         removed.
4416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4417         Removed.
4418
4419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4420         <tcb-offsets.h>.
4421         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4422         (__libc_vfork): New strong alias.
4423         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4424         removed.
4425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4426         removed.
4427
4428 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4429
4430         * malloc/malloc.c (mi_arena): New function.
4431         (malloc_info): Remove nested function mi_arena. Call non-nosted
4432         function mi_arena.
4433
4434 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4435
4436         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4437         by insrwi.
4438         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4439         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4440         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4441         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4442         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4443         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4444         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4445
4446 2014-05-26  Andreas Schwab  <schwab@suse.de>
4447
4448         [BZ #16984]
4449         * locale/programs/repertoire.c (repertoire_read): Add slash
4450         between I18NPATH element and file name.
4451         * locale/programs/locfile.c (locfile_read): Likewise.
4452
4453 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4454
4455         * nptl/pthread_mutexattr_settype.c
4456         (__pthread_mutexattr_settype):
4457         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4458
4459 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4460
4461         * nptl/tst-mutex5 (do_test):
4462         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4463
4464 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4465
4466         * benchtests/README: Document 'init' directive.
4467         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4468         BENCH_INIT.
4469         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4470         (parse_file): Recognize 'init' directive.
4471
4472 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4473
4474         [BZ #16796]
4475         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4476         alignment of struct pthread.
4477
4478 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4479
4480         [BZ #16878]
4481         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4482         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4483         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4484         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4485
4486 2014-05-25  Richard Henderson  <rth@twiddle.net>
4487
4488         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4489         (SINGLE_THREAD_P_PIC): Remove.
4490         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4491         (SINGLE_THREAD_P_PIC): Remove.
4492
4493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4494         branch to syscall error ...
4495         (PSEUDO): ... here.
4496         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4497         from __local_syscall_error to .Lsyscall_error.
4498         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4499         (SYSCALL_ERROR): Update label name.
4500
4501         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4502         Do not use DOARGS/UNDOARGS.
4503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4504         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4505         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4506         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4507         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4508
4509         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4510         block comment.
4511
4512         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4513         define if !NOT_IN_libc.
4514         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4515         define with non-default symbol versions.
4516
4517 2014-05-23  Richard Henderson  <rth@twiddle.net>
4518
4519         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4520         (vfork, __vfork): Define via compat_symbol.
4521
4522         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4523         [!HAVE_IFUNC] (vfork_compat): Remove.
4524         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4525
4526 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4527
4528         [BZ #16978]
4529         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4530         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4531         variable.
4532
4533 2014-05-23  Richard Henderson  <rth@twiddle.net>
4534
4535         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4536         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4537         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4538         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4539
4540         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4541         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4542         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4543         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4544         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4545         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4546         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4547         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4548         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4549         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4550         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4551         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4552         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4553         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4554         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4555         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4556         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4557         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4558         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4559         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4560         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4561         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4562         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4563         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4564         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4565         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4566         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4567         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4568         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4569         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4570         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4571         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4572         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4573         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4574         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4575         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4576         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4577         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4578         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4579         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4580         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4581         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4582         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4583         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4584         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4585         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4586         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4587         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4588         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4589         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4590         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4591         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4592         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4593         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4594         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4595         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4596
4597         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4598         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4599         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4600         before exiting on error.
4601         (__libc_vfork): New strong alias.
4602         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4603         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4604
4605         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4606         that was previously under [RESET_PID].
4607         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4608
4609         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4610
4611 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4612
4613         [BZ #16977]
4614         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4615         value when x - 1 is zero.
4616         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4617         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4618         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4619         0.0L for an argument of 1.0L.
4620         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4621         Likewise.
4622         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4623         value when x - 1 is zero.
4624         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4625         * sysdeps/i386/fpu/libm-test-ulps: Update.
4626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4627
4628 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4629
4630         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4631         alphasort and versionsort.
4632
4633 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4634
4635         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4636         macro.
4637         [copysignf]: Likewise.
4638
4639 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4640
4641         * crypt/md5-crypt.c: Fix formatting.
4642
4643 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4644
4645         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4646         (b64_from_24bit): New function.
4647
4648 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4649
4650         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4651         libc_hidden_builtin_def to ifunc.
4652         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4653         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4654
4655 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4656
4657         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4658         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4659
4660 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4661
4662         * nscd/Depend (linuxthreads): Remove.
4663         (nptl): Add.
4664         * resolv/Depend (linuxthreads): Remove.
4665         * rt/Depend (linuxthreads): Remove.
4666
4667         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4668         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4669         $(common-objpfx)elf/.
4670         (link-libc-before-gnulib): Likewise.
4671         (elfobjdir): Remove variable.
4672         * Makefile (install): Use $(elf-objpfx) instead of
4673         $(common-objpfx)elf/.
4674         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4675         $(elfobjdir)/.
4676         (link-libc-deps): Likewise.
4677         ($(common-objpfx)libc.so): Likewise.
4678         ($(common-objpfx)linkobj/libc.so): Likewise.
4679         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4680         instead of $(common-objpfx)elf/.
4681         (symbolic-link-list): Likewise.
4682         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4683         [$(cross-compiling) = no]: Likewise.
4684         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4685         $(elfobjdir)/.
4686         (static-gnulib-arch): Likewise.
4687         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4688         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4689         $(common-objpfx)elf/.
4690
4691 2014-05-21  Richard Henderson  <rth@redhat.com>
4692
4693         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4694         (SINGLE_THREAD_P): Use the correct width load.  Fold
4695         into the ldr offset.
4696
4697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4698         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4699
4700 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4701
4702         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4703         (libgcc_s_resume): Use __attribute_used__.
4704         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4705         Likewise.
4706
4707 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4708
4709         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4710         optimization when used with float constants.
4711
4712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4713
4714 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4715
4716         [BZ #16915]
4717         * locale/nl_langinfo_l.c: Make direct reference to every
4718         _nl_current_CATEGORY symbol.
4719         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4720         (tests-static): Add tst-langinfo-static.
4721         (tests-special): Add tst-langinfo-static.out.
4722         ($(objpfx)tst-langinfo.out): Redirect output.
4723         ($(objpfx)tst-langinfo-static.out): New.
4724         * localedata/tst-langinfo.sh: Send output to stdout.
4725         * localedata/tst-langinfo-static.c: New file.
4726
4727         [BZ #16965]
4728         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4729         when the shift amount is modulo the limb size.
4730
4731 2014-05-20  Richard Henderson  <rth@redhat.com>
4732
4733         [BZ #16967]
4734         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4735         Change type of sa_flags from unsigned int to int.
4736
4737         [BZ #16966]
4738         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4739
4740         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4741
4742 2014-05-20  Will Newton  <will.newton@linaro.org>
4743
4744         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4745         Test the return value of the system call in the nocancel case.
4746
4747 2014-05-20  Will Newton  <will.newton@linaro.org>
4748             Yvan Roux  <yvan.roux@linaro.org>
4749
4750         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4751         #include of asm/ptrace.h.
4752         (PTRACE_GET_THREAD_AREA): Remove #undef.
4753         (PTRACE_GETHBPREGS): Likewise.
4754         (PTRACE_SETHBPREGS): Likewise.
4755         (struct user_regs_struct): New structure.
4756         (struct user_fpsimd_struct): New structure.
4757         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4758         #include of asm/ptrace.h and second #include of sys/user.h.
4759         (PTRACE_GET_THREAD_AREA): Remove #undef.
4760         (PTRACE_GETHBPREGS): Likewise.
4761         (PTRACE_SETHBPREGS): Likewise.
4762         (ELF_NGREG): Use new struct user_regs_struct.
4763         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4764
4765 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4766
4767         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4768         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4769
4770 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4771
4772         [BZ #16958]
4773         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4774         membar to avoid block loads/stores to overlap previous stores.
4775
4776 2014-05-17  Richard Henderson  <rth@redhat.com>
4777
4778         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4779         Create the __##syscall_name##_nocancel entry point.
4780         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4781         Remove; let the sysdep-cancel.h code create it.
4782
4783 2014-05-17  David S. Miller  <davem@davemloft.net>
4784
4785         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4786         Protect with __USE_GNU.
4787         (TIOCSET_TEMPT): Likewise.
4788         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4789         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4790         these are already provided in bits/ioctl-types.h
4791
4792 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4793
4794         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4795         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4796
4797         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4798         Use wait4 regardless of [__NR_waitpid].
4799
4800 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4801
4802         PR libgcc/60166
4803         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4804         (_FP_NANSIGN_Q): Set the quiet bit.
4805
4806 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4807
4808         * benchtests/Makefile
4809         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4810         not $(common-objpfx)math/libm.so.
4811         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4812         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4813         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4814         $(common-objpfx)dlfcn/libdl.so.
4815         ($(objpfx)tst-audit8): Depend on $(libm), not
4816         $(common-objpfx)math/libm.so.
4817         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4818         not $(common-objpfx)dlfcn/libdl.so.
4819         * math/Makefile
4820         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4821         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4822         [$(build-shared) = yes].
4823         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4824         $(common-objpfx)nptl/libpthread.so.
4825         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4826         $(common-objpfx)math/libm.so$(libm.so-version) or
4827         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4828         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4829         $(common-objpfx)dlfcn/libdl.so.
4830         * setjmp/Makefile (link-libm): Remove variable.
4831         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4832         * stdio-common/Makefile (link-libm): Remove variable.
4833         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4834         * stdlib/Makefile (link-libm): Remove variable.
4835         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4836         ($(objpfx)tst-strtod-round): Likewise.
4837         ($(objpfx)tst-tininess): Likewise.
4838         ($(objpfx)tst-strtod-underflow): Likewise.
4839         ($(objpfx)tst-strtod6): Likewise.
4840         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4841         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4842         $(common-objpfx)dlfcn/libdl.so.
4843
4844 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4845
4846         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4847         BSD terminal modes definitions.
4848
4849 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4850
4851         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4852         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4853
4854         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4855         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4856         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4857         Don't do #include_next.
4858         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4859         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4860         Don't do #include_next.
4861         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4862         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4863         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4864         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4865
4866 2014-05-16  Allan McRae  <allan@archlinux.org>
4867
4868         * po/sv.po: Update Swedish translation from translation project.
4869
4870         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4871         in sed expression.
4872
4873 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4874
4875         [BZ #16917]
4876         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4877         errno if the TIOCGPTN ioctl fails with an error different than
4878         EINVAL.
4879         * login/tst-ptsname.c: New file.
4880         * login/Makefile (tests): Add tst-ptsname.
4881
4882         [BZ #16943]
4883         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4884         and prlimit64.
4885
4886 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4887
4888         [BZ #16849]
4889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4890         herrno to return EAI_AGAIN.
4891
4892 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4893
4894         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4895         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4896         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4897         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4898         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4899         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4900         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4901         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4902         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4903         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4904         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4905         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4906         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4907         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4908         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4909         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4910         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4911         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4912         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4913         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4914         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4915         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4916         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4917         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4918         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4919         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4920         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4921         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4922         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4923         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4925         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4927         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4929         Moved ...
4930         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4932         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4934         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4936         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4938         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4940         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4942         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4944         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4946         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4948         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4950         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4952         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4954         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4956         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4958         Moved ...
4959         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4961         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4963         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4965         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4967         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4969         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4971         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4973         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4975         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4977         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4979         Moved ...
4980         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4982         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4983
4984         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4985         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4986         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4987         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4988         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4989         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4990         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4991         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4992         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4993         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4994         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4995         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4996         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4997         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4998         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4999         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5000         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5001         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5002         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5003         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5004         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5005         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5006         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5007         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5008         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5009         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5010         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5011         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5012         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5013         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5014         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5015
5016         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5017         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5018
5019         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5020         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5021         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5022         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5023         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5024         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5025         Moved ...
5026         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5027         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5028         Moved ...
5029         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5030         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5031         Moved ...
5032         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5033         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5034         Moved ...
5035         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5036         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5037         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5038         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5039         Moved ...
5040         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5041         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5042         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5043         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5044         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5045         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5046         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5047         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5048         Moved ...
5049         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5050         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5051         Moved ...
5052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5053         ... here.
5054         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5055         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5056         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5057         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5058         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5059         Moved ...
5060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5061         ... here.
5062         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5063         Moved ...
5064         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5065         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5066         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5067         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5068         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5069         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5070         Moved ...
5071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5072         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5073         Moved ...
5074         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5075         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5076         Moved ...
5077         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5078         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5079         Moved ...
5080         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5081         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5082         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5083         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5084         Moved ...
5085         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5086         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5087         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5088         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5089         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5090         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5091         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5092         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5093         Moved ...
5094         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5095         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5096         Moved ...
5097         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5098         ... here.
5099         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5100         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5101         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5102         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5103         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5104         Moved ...
5105         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5106         ... here.
5107         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5108         Moved ...
5109         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5110         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5111         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5112         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5113         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5114         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5115         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5116         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5117         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5118         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5119         Moved ...
5120         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5121         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5122         Moved ...
5123         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5124         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5125         Moved ...
5126         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5127         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5128         Moved ...
5129         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5130         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5131         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5132         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5133         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5134         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5135         Moved ...
5136         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5137         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5138         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5139         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5140         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5141         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5142         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5143         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5144         Moved ...
5145         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5146         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5147         Moved ...
5148         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5149         ... here.
5150         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5151         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5152         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5153         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5154         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5155         Moved ...
5156         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5157         ... here.
5158         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5159         Moved ...
5160         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5161         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5162         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5163         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5164         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5165         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5166         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5167         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5168         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5169         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5170         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5171
5172         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5173         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5174
5175         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5176         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5177
5178         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5179         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5180         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5181         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5182         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5183         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5184         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5185         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5186         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5187         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5188         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5189         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5190         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5191         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5192         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5194         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5195         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5196         Moved ...
5197         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5198         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5199         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5200         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5201         Moved ...
5202         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5204         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5206         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5208         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5210         Moved ...
5211         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5213         Moved ...
5214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5216         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5218         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5220         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5221         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5222         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5223         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5224         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5225         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5226         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5227         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5228         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5229         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5230         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5231
5232         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5233         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5234         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5235         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5236         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5237
5238         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5239         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5240         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5241         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5242         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5243         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5244         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5245         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5246         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5247         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5248
5249         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5250         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5251
5252         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5253         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5254         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5255         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5256         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5257         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5258         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5259         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5260         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5261         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5262         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5263         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5264         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5265         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5267         Update #include.
5268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5269         Likewise.
5270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5271         Likewise.
5272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5273         Likewise.
5274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5275         Likewise.
5276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5277         Likewise.
5278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5279         Likewise.
5280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5281         Likewise.
5282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5283         Likewise.
5284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5285         Likewise.
5286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5291         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5292         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5293         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5294         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5296         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5297         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5298         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5299         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5300         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5301
5302         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5303         that was previously under [RESET_PID].
5304         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5305         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5306         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5307
5308         * sysdeps/i386/nptl/Implies: New file.
5309         * sysdeps/x86_64/nptl/Implies: New file.
5310         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5311         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5312         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5313         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5314
5315         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5316         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5317         (__libc_vfork): New strong alias.
5318         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5319         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5320
5321         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5322         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5323         (__libc_vfork): New strong alias.
5324         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5325         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5326
5327         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5328         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5329         (__libc_vfork): New strong alias.
5330         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5331         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5332         * nptl/pt-vfork.c: New file.
5333         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5334         (libpthread: GLIBC_2.20): New version set (empty).
5335
5336 2014-05-14  Will Newton  <will.newton@linaro.org>
5337
5338         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5339         rather than #if.
5340
5341 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5342
5343         [BZ #16564]
5344         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5345         arguments with exponent 65 or above.
5346         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5347         arguments 0x1p113L or above.
5348         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5349         to arguments 0x1p107L or above.
5350         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5351         positive arguments with exponent 65 or above.
5352         * math/auto-libm-test-in: Add more tests of log1p.
5353         * math/auto-libm-test-out: Regenerated.
5354
5355         [BZ #16928]
5356         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5357         non-finite arguments is +0.
5358         * math/s_cacosf.c (__cacosf): Likewise.
5359         * math/s_cacosl.c (__cacosl): Likewise.
5360         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5361         * sysdeps/i386/fpu/libm-test-ulps: Update.
5362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5363
5364         [BZ #16927]
5365         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5366         value.
5367         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5368         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5369         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5370         for explicit high bit of mantissa when testing for argument equal
5371         to 1.
5372         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5373         * sysdeps/i386/fpu/libm-test-ulps: Update.
5374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5375
5376         [BZ #16516]
5377         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5378         (__erf): Scale by 16 instead of 8 in potentially underflowing
5379         case.  Ensure exception if result actually underflows.
5380         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5381         (__erff): Scale by 16 instead of 8 in potentially underflowing
5382         case.  Ensure exception if result actually underflows.
5383         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5384         (efx8): Remove variable.
5385         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5386         case.  Ensure exception if result actually underflows.
5387         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5388         (efx8): Remove variable.
5389         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5390         case.  Ensure exception if result actually underflows.
5391         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5392         (efx8): Remove variable.
5393         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5394         case.  Ensure exception if result actually underflows.
5395         * math/auto-libm-test-in: Add more tests of erf.
5396         * math/auto-libm-test-out: Regenerated.
5397
5398 2014-05-14  Andreas Schwab  <schwab@suse.de>
5399
5400         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5401         Remove code conditionalized on USE___THREAD.
5402
5403         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5404         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5405         not definedness.
5406
5407 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5408
5409         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5410         Define unconditionally.
5411         (__ASSUME_O_CLOEXEC): Likewise.
5412         (__ASSUME_SOCK_CLOEXEC): Likewise.
5413         (__ASSUME_IN_NONBLOCK): Likewise.
5414         (__ASSUME_PIPE2): Likewise.
5415         (__ASSUME_EVENTFD2): Likewise.
5416         (__ASSUME_SIGNALFD4): Likewise.
5417         (__ASSUME_DUP3): Likewise.
5418         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5419         (__ASSUME_DUP3): Do not define.
5420         (__ASSUME_EVENTFD2): Likewise.
5421         (__ASSUME_IN_NONBLOCK): Likewise.
5422         (__ASSUME_O_CLOEXEC): Likewise.
5423         (__ASSUME_PIPE2): Likewise.
5424         (__ASSUME_SIGNALFD4): Likewise.
5425         (__ASSUME_SOCK_CLOEXEC): Likewise.
5426         (__ASSUME_UTIMES): Undefine.
5427         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5428         (__ASSUME_UTIMES): Do not define.
5429         (__ASSUME_O_CLOEXEC): Likewise.
5430         (__ASSUME_SOCK_CLOEXEC): Likewise.
5431         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5432         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5433         0x020621].
5434         (__ASSUME_PIPE2): Likewise.
5435         (__ASSUME_EVENTFD2): Likewise.
5436         (__ASSUME_SIGNALFD4): Likewise.
5437         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5438         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5439         Do not define.
5440         (__ASSUME_EVENTFD2): Likewise.
5441         (__ASSUME_SIGNALFD4): Likewise.
5442         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5443         (__ASSUME_32BITUIDS): Likewise.
5444         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5445         (__ASSUME_IPC64): Likewise.
5446         (__ASSUME_ST_INO_64_BIT): Likewise.
5447         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5448         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5449         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5450         (__ASSUME_UTIMES): Do not define.
5451         (__ASSUME_PSELECT): Likewise.
5452         (__ASSUME_PPOLL): Likewise.
5453         (__ASSUME_O_CLOEXEC): Likewise.
5454         (__ASSUME_SOCK_CLOEXEC): Likewise.
5455         (__ASSUME_IN_NONBLOCK): Likewise.
5456         (__ASSUME_PIPE2): Likewise.
5457         (__ASSUME_EVENTFD2): Likewise.
5458         (__ASSUME_SIGNALFD4): Likewise.
5459         (__ASSUME_DUP3): Likewise.
5460         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5461         (__ASSUME_UTIMES): Likewise.
5462         (__ASSUME_O_CLOEXEC): Likewise.
5463         (__ASSUME_SOCK_CLOEXEC): Likewise.
5464         (__ASSUME_IN_NONBLOCK): Likewise.
5465         (__ASSUME_PIPE2): Likewise.
5466         (__ASSUME_EVENTFD2): Likewise.
5467         (__ASSUME_SIGNALFD4): Likewise.
5468         (__ASSUME_DUP3): Likewise.
5469         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5470         (__ASSUME_UTIMES): Likewise.
5471         (__ASSUME_O_CLOEXEC): Likewise.
5472         (__ASSUME_SOCK_CLOEXEC): Likewise.
5473         (__ASSUME_IN_NONBLOCK): Likewise.
5474         (__ASSUME_PIPE2): Likewise.
5475         (__ASSUME_EVENTFD2): Likewise.
5476         (__ASSUME_SIGNALFD4): Likewise.
5477         (__ASSUME_DUP3): Likewise.
5478         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5479         Likewise.
5480         (__ASSUME_UTIMES): Likewise.
5481         (__ASSUME_EVENTFD2): Likewise.
5482         (__ASSUME_SIGNALFD4): Likewise.
5483         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5484         (__ASSUME_O_CLOEXEC): Likewise.
5485         (__ASSUME_SOCK_CLOEXEC): Likewise.
5486         (__ASSUME_IN_NONBLOCK): Likewise.
5487         (__ASSUME_PIPE2): Likewise.
5488         (__ASSUME_EVENTFD2): Likewise.
5489         (__ASSUME_SIGNALFD4): Likewise.
5490         (__ASSUME_DUP3): Likewise.
5491         (__ASSUME_UTIMES): Undefine.
5492
5493         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5494         feclearexcept.  Remove symbol versioning code.
5495         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5496         symbol versioning code.
5497         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5498         symbol versioning code.
5499         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5500         feupdateenv.  Remove symbol versioning code.
5501         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5502         fegetexceptflag.  Remove symbol versioning code.
5503         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5504         fesetexceptflag.  Remove symbol versioning code.
5505         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5506         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5507         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5508         (__posix_fadvise64_l32): Remove prototype.
5509         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5510         code.
5511
5512 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5513
5514         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5515         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5516         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5517         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5518
5519 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5520
5521         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5522         current working directory
5523
5524 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5525
5526         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5527         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5528         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5529         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5530         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5531         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5532         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5533         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5534         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5535         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5536         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5537         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5538         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5539         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5540         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5541         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5542         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5543         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5544         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5545         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5546         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5547         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5548         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5549         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5550         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5551         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5552         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5553         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5554         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5555         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5556         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5557         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5558         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5559         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5560         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5561         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5562         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5563         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5564         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5565         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5566         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5567         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5568
5569         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5570         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5571
5572         * sysdeps/unix/sysv/linux/arm/Makefile
5573         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5574         Add rt-aeabi_unwind_cpp_pr1.
5575         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5576         Add nptl-aeabi_unwind_cpp_pr1.
5577         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5578         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5579         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5580         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5581         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5582         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5583
5584         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5585         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5586         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5587         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5588
5589         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5590         Deconditionalize the code that was previously under [RESET_PID].
5591         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5592
5593         * sysdeps/generic/exit-thread.h: New file.
5594         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5595         * include/unistd.h (__exit_thread): Remove declaration.
5596         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5597         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5598         * csu/libc-start.c: Include <exit-thread.h>.
5599         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5600         * nptl/pthread_create.c: Include <exit-thread.h>.
5601         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5602         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5603         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5604         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5605         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5606         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5607         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5608         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5609         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5610         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5611         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5612         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5613         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5614         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5615         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5616         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5617         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5618
5619 2014-05-13  Andreas Schwab  <schwab@suse.de>
5620
5621         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5622
5623 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5624
5625         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5626         (__ASSUME_UTIMES): Do not condition on kernel version.
5627         (__ASSUME_PSELECT): Define unconditionally.
5628         (__ASSUME_PPOLL): Likewise.
5629         (__ASSUME_ATFCTS): Likewise.
5630         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5631         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5632         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5633         (__ASSUME_UTIMENSAT): Define unconditionally.
5634         (__ASSUME_PRIVATE_FUTEX): Likewise.
5635         (__ASSUME_FALLOCATE): Likewise.
5636         (__ASSUME_O_CLOEXEC): Likewise.
5637         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5638         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5639         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5640         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5641         (__ASSUME_IN_NONBLOCK): Likewise.
5642         (__ASSUME_PIPE2): Likewise.
5643         (__ASSUME_EVENTFD2): Likewise.
5644         (__ASSUME_SIGNALFD4): Likewise.
5645         (__ASSUME_DUP3): Likewise.
5646         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5647         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5648         (__ASSUME_AT_RANDOM): Likewise.
5649         (__ASSUME_PREADV): Likewise.
5650         (__ASSUME_PWRITEV): Likewise.
5651         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5652         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5653         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5654         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5655         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5656         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5657         (__ASSUME_O_CLOEXEC): Define unconditionally.
5658         (__ASSUME_PSELECT): Do not undefine conditionally.
5659         (__ASSUME_PPOLL): Likewise.
5660         (__ASSUME_ATFCTS): Likewise.
5661         (__ASSUME_SET_ROBUST_LIST): Likewise.
5662         (__ASSUME_UTIMENSAT): Likewise.
5663         (__ASSUME_FDATASYNC): Define unconditionally.
5664         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5665         (__ASSUME_SIGFRAME_V2): Likewise.
5666         )__ASSUME_EVENTFD2): Likewise.
5667         (__ASSUME_SIGNALFD4): Likewise.
5668         (__ASSUME_PSELECT): Do not undefine conditionally.
5669         (__ASSUME_PPOLL): Likewise.
5670         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5671         (__ASSUME_PSELECT): Define unconditionally.
5672         (__ASSUME_PPOLL): Likewise.
5673         (__ASSUME_O_CLOEXEC): Likewise.
5674         (__ASSUME_SOCK_CLOEXEC): Likewise.
5675         (__ASSUME_IN_NONBLOCK): Likewise.
5676         (__ASSUME_PIPE2): Likewise.
5677         (__ASSUME_EVENTFD2): Likewise.
5678         (__ASSUME_SIGNALFD4): Likewise.
5679         (__ASSUME_DUP3): Likewise.
5680         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5681         (__ASSUME_O_CLOEXEC): Likewise.
5682         (__ASSUME_SOCK_CLOEXEC): Likewise.
5683         (__ASSUME_IN_NONBLOCK): Likewise.
5684         (__ASSUME_PIPE2): Likewise.
5685         (__ASSUME_EVENTFD2): Likewise.
5686         (__ASSUME_SIGNALFD4): Likewise.
5687         (__ASSUME_DUP3): Likewise.
5688         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5689         (__ASSUME_EVENTFD2): Likewise.
5690         (__ASSUME_SIGNALFD4): Likewise.
5691         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5692
5693 2014-05-12  Andreas Schwab  <schwab@suse.de>
5694
5695         [BZ #16932]
5696         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5697         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5698         than maximum RPC packet size.
5699         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5700         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5701         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5702         (_nss_nis_getservbyport_r): Likewise.
5703
5704 2014-05-12  Will Newton  <will.newton@linaro.org>
5705
5706         * malloc/Makefile (tests): Add tst-mallopt.
5707         * malloc/tst-mallopt.c: New file.
5708
5709 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5710
5711         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5712         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5713
5714 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5715
5716         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5717         (tst-tlsmod6.so): Likewise.
5718
5719 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5720
5721         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5722
5723 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5724
5725         [BZ #16064]
5726         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5727         and <dl-procinfo.h>.
5728         (__fegetenv): Save SSE state in envp->__eip if supported.
5729         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5730         envp->__eip if supported.
5731         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5732         and <dl-procinfo.h>.
5733         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5734         __data_offset and __data_selector in environment to 0.  Set SSE
5735         state if supported.
5736         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5737         test-fenv-sse.
5738         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5739         -mfpmath=sse.
5740         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5741
5742 2014-05-09  Will Newton  <will.newton@linaro.org>
5743
5744         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5745         and libc_relro_required for ARM.
5746         * sysdeps/arm/preconfigure: Regenerate.
5747
5748 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5749             Stefan Liebler  <stli@linux.vnet.ibm.com>
5750
5751         * config.make.in (enable-lock-elision): New Makefile variable.
5752         * configure.ac: Likewise.
5753         * configure: Regenerate.
5754         * sysdeps/s390/configure.ac:
5755         Add check for gcc transactions support.
5756         * sysdeps/s390/configure: Regenerate.
5757         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5758         Build elision files if enabled.
5759         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5760         Add lock elision support for s390.
5761         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5762         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5763         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5764         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5765         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5766         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5767         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5768         Likewise.
5769         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5770         Likewise.
5771         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5772         Likewise.
5773         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5774         Likewise.
5775         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5776         (__lll_timedlock_elision, __lll_lock_elision)
5777         (__lll_unlock_elision, __lll_trylock_elision)
5778         (lll_timedlock_elision, lll_lock_elision)
5779         (lll_unlock_elision, lll_trylock_elision): Add.
5780         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5781         (pthread_mutex_t): Add lock elision support for s390.
5782
5783 2014-05-14  Wilco  <wdijkstr@arm.com>
5784
5785         * sysdeps/arm/fclrexcpt.c: Cleanup.
5786         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5787         * sysdeps/arm/feenablxcpt.c: Cleanup.
5788         * sysdeps/arm/fegetenv.c: Cleanup.
5789         * sysdeps/arm/fegetexcept.c: Cleanup.
5790         * sysdeps/arm/fegetround.c: Cleanup.
5791         * sysdeps/arm/feholdexcpt.c: Cleanup.
5792         * sysdeps/arm/fesetenv.c: Cleanup.
5793         * sysdeps/arm/fesetround.c: Cleanup.
5794         * sysdeps/arm/feupdateenv.c: Cleanup.
5795         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5796         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5797         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5798         * sysdeps/arm/ftestexcept.c: Cleanup.
5799         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5800         * sysdeps/arm/setfpucw.c: Cleanup.
5801
5802 2014-05-09  Will Newton  <will.newton@linaro.org>
5803
5804         * sysdeps/arm/armv7/strcmp.S: New file.
5805         * NEWS: Mention addition of ARMv7 optimized strcmp.
5806
5807 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5808
5809         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5810         look for %.ac rather than %.in.
5811
5812         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5813         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5814         * sysdeps/mach/hurd/configure: Regenerated.
5815         * sysdeps/unix/sysv/linux/configure: Regenerated.
5816
5817         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5818
5819 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5820
5821         [BZ# 16922]
5822         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5823         (LONG_SUB): Ditto.
5824         (PTR_SUB): Ditto.
5825
5826 2014-05-07  Andreas Schwab  <schwab@suse.de>
5827
5828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5829         when skipping over non-matching result from nscd.
5830
5831 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5832
5833         [BZ #16876]
5834         * nptl/sockperf.c (client): Check socket return value.
5835
5836         [BZ #16877]
5837         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5838         nscd security class.
5839
5840 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5841
5842         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5843         * sysdeps/arm/unwind.h: ... here.
5844
5845 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5846
5847         [BZ# 16916]
5848         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5849         Define.
5850
5851 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5852
5853         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5854         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5855         multiarch strncpy for PPC64.
5856         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5857         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5859         multiarch optimizations.
5860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5861         (__libc_ifunc_impl_list): Likewise.
5862         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5863         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5864         multiarch stpncpy for PPC64.
5865         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5866         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5867
5868 2014-05-06  Andreas Schwab  <schwab@suse.de>
5869
5870         [BZ #16912]
5871         * gmon/mcount.c (_MCOUNT_DECL): Use
5872         atomic_compare_and_exchange_bool_acq instead of
5873         catomic_compare_and_exchange_bool_acq.
5874
5875 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5876
5877         * elf/Makefile (others, install-bin): Remove pldd.
5878         (pldd-modules): Variable removed.
5879         ($(objpfx)pldd): Target removed.
5880         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5881         (others, install-bin): Append pldd here.
5882         ($(objpfx)pldd): New target.
5883
5884         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5885         to 0, so the first #if test emitted later doesn't see it undefined.
5886         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5887         * sysdeps/gnu/errlist.c: Regenerated.
5888
5889 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5890
5891         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5892         [libc_hidden_builtin_def]: Define to empty value.
5893         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5894         [libc_hidden_builtin_def]: Likewise.
5895         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5896         [libc_hidden_builtin_def]: Likewise.
5897         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5898         [libc_hidden_builtin_def]: Likewise.
5899         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5900         __redirect_memcpy and define ifunc as default hidden symbol.
5901         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5902         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5903
5904 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5905
5906         * locale/iso-4217.def: Reintroduce XDR currency.
5907
5908 2014-05-04  Allan McRae  <allan@archlinux.org>
5909
5910         * po/eo.po: Update Esperanto translation from translation project.
5911
5912 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5913
5914         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5915         and FEATURE_INDEX_MAX to 1.
5916         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5917
5918 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5919
5920         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5921         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5922         * iconvdata/big5.c (ONE_DIRECTION): Define.
5923         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5924         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5925         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5926         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5927         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5928         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5929         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5930         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5931         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5932         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5933         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5934         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5935         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5936         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5937         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5938         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5939         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5940         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5941         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5942         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5943         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5944         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5945         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5946         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5947         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5948         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5949         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5950         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5951         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5952         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5953         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5954         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5955         * iconvdata/johab.c (ONE_DIRECTION): Define.
5956         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5957         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5958         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5959         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5960         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5961         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5962         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5963         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5964         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5965         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5966
5967 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5968
5969         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5970         (_IO_JUMPS_OFFSET): Define to 0.
5971
5972         * nptl/sysdeps/pthread/bits/libc-lock.h
5973         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5974         (__libc_lock_define_initialized_recursive): Always define using
5975         initializer.  Modern compilers treat uninitialized (implicit zero) and
5976         explicit zero initializers the same (i.e. put the datum in bss).
5977
5978 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5979
5980         * nscd/nscd-client.h: Include <string.h>.
5981
5982 2014-05-01  David S. Miller  <davem@davemloft.net>
5983
5984         [BZ #16885]
5985         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5986         multiple zero bytes exist at the end of a string.
5987         Reported by Aurelien Jarno <aurelien@aurel32.net>
5988
5989         * string/test-strcmp.c (check): Add explicit test for situations where
5990         there are multiple zero bytes after the first.
5991
5992 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5993
5994         [BZ #16890]
5995         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5996         when compiling wprintf.
5997         * stdio-common/tstdiomisc.c (t3): New function.
5998         (main): Call it.
5999
6000 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6001
6002         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6003         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6004         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6005         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6006
6007 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6008
6009         * stdlib/longlong.h: Updated from GCC.
6010
6011 2014-05-01  Will Newton  <will.newton@linaro.org>
6012             Bernard Ogden  <bernie.ogden@linaro.org>
6013
6014         * NEWS: Update fixed bug list.
6015
6016         [BZ #15119]
6017         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6018
6019 2014-04-30  David S. Miller  <davem@davemloft.net>
6020
6021         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6022         (libc_feholdexcept_setround_sparc_ctx): New function.
6023         (libc_fesetenv_sparc_ctx): Likewise.
6024         (libc_feupdateenv_sparc_ctx): Likewise.
6025         (libc_feholdsetround_sparc_ctx): Likewise.
6026         (libc_feholdexcept_setround_ctx): Define.
6027         (libc_feholdexcept_setroundf_ctx): Likewise.
6028         (libc_feholdexcept_setroundl_ctx): Likewise.
6029         (libc_fesetenv_ctx): Likewise.
6030         (libc_fesetenvf_ctx): Likewise.
6031         (libc_fesetenvl_ctx): Likewise.
6032         (libc_feupdateenv_ctx): Likewise.
6033         (libc_feupdateenvf_ctx): Likewise.
6034         (libc_feupdateenvl_ctx): Likewise.
6035         (libc_feresetround_ctx): Likewise.
6036         (libc_feresetroundf_ctx): Likewise.
6037         (libc_feresetroundl_ctx): Likewise.
6038         (libc_feholdsetround_ctx): Likewise.
6039         (libc_feholdsetroundf_ctx): Likewise.
6040         (libc_feholdsetroundl_ctx): Likewise.
6041
6042         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6043         with __USE_GNU instead of XOPEN cpp guards.
6044
6045         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6046         0.
6047
6048         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6049         with XOPEN cpp guards.
6050
6051 2014-04-30  Julian Brown  <julian@codesourcery.com>
6052
6053         [BZ #16888]
6054         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6055         handling.
6056
6057 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6058
6059         [BZ #9894]
6060         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6061         Change to 2.6.32.
6062         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6063         * sysdeps/unix/sysv/linux/configure: Regenerated.
6064         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6065         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6066         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6067         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6068         * README: Update reference to required Linux kernel version.
6069         * manual/install.texi (Linux): Update reference to required Linux
6070         kernel headers version.
6071         * INSTALL: Regenerated.
6072
6073         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6074         header inclusion.
6075         [POSIX] (limits.h): Likewise.
6076         [POSIX] (math.h): Likewise.
6077         [POSIX] (sys/wait.h): Likewise.
6078         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6079         function.
6080         [POSIX] (stddef.h): Do not allow header inclusion.
6081
6082 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6083
6084         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6085
6086 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6087
6088         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6089         Return immediately after lll_futex_wake.
6090
6091 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6092
6093         [BZ #16791]
6094         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6095         structure.
6096         (datahead_init_pos): Call datahead_init_common early.
6097         (datahead_init_neg): Likewise.
6098
6099         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6100         datahead_init_neg): New functions.
6101         * nscd/aicache.c (addhstaiX): Use them.
6102         * nscd/grpcache.c (cache_addgr): Likewise.
6103         * nscd/hstcache.c (cache_addhst): Likewise.
6104         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6105         * nscd/netgroupcache.c (do_notfound): Likewise.
6106         (addgetnetgrentX): Likewise.
6107         (addinnetgrX): Likewise.
6108         * nscd/pwdcache.c (cache_addpw): Likewise.
6109         * nscd/servicescache.c (cache_addserv): Likewise.
6110
6111 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6112             Atsushi Onoe  <atsushi@onoe.org>
6113
6114         [BZ #14308]
6115         [BZ #12994]
6116         [BZ #13651]
6117         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6118         one response is valid.
6119         * resolv/res_send.c (send_dg): Check for validity of other
6120         response if the current response is a referral.
6121
6122 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6123
6124         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6125
6126 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6127
6128         [BZ #16823]
6129         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6130         Always divide by positive zero when computing -Inf result.
6131         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6132         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6133
6134 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6135
6136         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6137         FPSCR if value do not change.
6138         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6139         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6140         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6141         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6142         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6143         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6144         function.
6145
6146 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6147
6148         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6149         * sysdeps/unix/sysv/linux/hppa: Move directory from
6150         ports/systeps/unix/sysv/linux/hppa.
6151         * README: Update listing for hppa-*-linux-gnu.
6152
6153 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6154
6155         [BZ #16754]
6156         * manual/stdio.texi (Hook functions): Fix types of stream hook
6157         functions.
6158         [BZ #16854]
6159         * socket/sys/socket.h: Fix typo in comment.
6160
6161 2014-04-28  Wilco  <wdijkstr@arm.com>
6162
6163         * sysdeps/arm/fenv_private.h: New file.
6164         * sysdeps/arm/math_private.h: New file.
6165         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6166
6167 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6168
6169         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6170         with __int128_t.
6171         (La_x86_64_retval): Likewise.
6172
6173 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6174
6175         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6176         fpsr if value didn't change.
6177         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6178         to fpcr if value didn't change.
6179         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6180         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6181         fpsr or fpcr if value didn't change.
6182         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6183         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6184         fpcr if value didn't change.
6185         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6186         to fpsr if value didn't change.
6187
6188 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6189
6190         * nptl/tst-sem3.c: Use test-skeleton.c
6191         (main): Rename to do_test.  Use return instead of
6192         exit.
6193         * nptl/tst-sem4.c: Use test-skeleton.c
6194         (main): Rename to do_test.
6195
6196 2014-04-22  David S. Miller  <davem@davemloft.net>
6197
6198         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6199         (struct sigaction): New struct member __glibc_reserved0, change
6200         type of sa_flags to int.
6201
6202 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6203
6204         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6205         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6206
6207 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6208
6209         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6210         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6211
6212 2014-04-22  Will Newton  <will.newton@linaro.org>
6213             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6214
6215         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6216         (__longjmp): Add longjmp and longjmp_target SystemTap
6217         probes.
6218         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6219         (__sigsetjmp): Add setjmp SystemTap probe.
6220
6221 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6222
6223         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6224         match manual order.
6225
6226 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6227
6228         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6229
6230         * sysdeps/powerpc/fpu/fenv_private.h
6231         (libc_feholdexcept_setroundl_ctx): Define to
6232         libc_feholdexcept_setround_ppc_ctx.
6233         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6234         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6235         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6236         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6237
6238 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6239
6240         * sysdeps/aarch64/math-tests.h: New file.
6241
6242 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6243
6244         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6245         New.
6246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6247         Check and set bit_AVX2_Usable.
6248         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6249         macro.
6250         (bit_AVX2): Likewise.
6251         (index_AVX2_Usable): Likewise.
6252         (CPUID_AVX2): Likewise.
6253         (HAS_AVX2): Likewise.
6254
6255 2014-04-17  Will Newton  <will.newton@linaro.org>
6256
6257         * manual/setjmp.texi (System V contexts): Add note that
6258         calling setcontext on a context created by a call to a
6259         signal handler is undefined.  Update text to note that
6260         setcontext from a signal handler is possible but not
6261         recommended.
6262
6263         [BZ #16629]
6264         * stdlib/tst-setcontext.c: Include signal.h.
6265         (main): Check that the signal stack before and
6266         after swapcontext is the same.
6267
6268         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6269         Re-implement to restore registers in user code and avoid
6270         rt_sigreturn system call.
6271
6272 2014-04-17  Wilco  <wdijkstr@arm.com>
6273
6274         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6275         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6276         * math/test-fenv.c: Skip exception trap tests on targets which only
6277         support non-stop mode.
6278
6279 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6280             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6281
6282         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6283         (libc_feholdsetround_aarch64_ctx)
6284         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6285         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6286         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6287         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6288         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6289         (libc_feresetround_noexl_ctx): Define.
6290
6291 2014-04-16  Richard Henderson  <rth@redhat.com>
6292
6293         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6294
6295         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6296         unwind tables.
6297
6298         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6299         const from the non-libc, non-ldso copy.
6300
6301         * sysdeps/alpha/libm-test-ulps: Regenerate.
6302
6303 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6304             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6305
6306         * sysdeps/aarch64/fpu/math_private.h: New file.
6307
6308 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6309
6310         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6311
6312 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6313
6314         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6315         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6316         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6317         Intel MPX bound registers before _dl_profile_fixup.
6318         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6319         registers after _dl_profile_fixup.  Save and restore bound
6320         registers bnd0/bnd1 when calling _dl_call_pltexit.
6321         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6322         (LR_BND_OFFSET): Likewise.
6323         (LRV_BND0_OFFSET): Likewise.
6324         (LRV_BND1_OFFSET): Likewise.
6325
6326 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6327
6328         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6329         to...
6330         * sysdeps/mach/hurd/i386/tls.h: ... here.
6331         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6332         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6333         fields.
6334
6335 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6336
6337         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6338
6339 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6340
6341         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6342
6343 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6344
6345         [BZ #14770]
6346         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6347         * sysdeps/s390/configure: Regenerate.
6348
6349         [BZ #16824]
6350         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6351         Set round-to-nearest internally to reduce error accumulation.
6352
6353 2014-04-16  Alan Modra  <amodra@gmail.com>
6354
6355         [BZ #16740]
6356         [BZ #16619]
6357         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6358         * math/libm-test.inc (frexp_test_data): Add tests.
6359         * NEWS: Update fixed bug list.
6360
6361 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6362
6363         * benchtests/Makefile: Depend on libraries in build directory.
6364         (bench-math): Separate out math tests.
6365         (bench-pthread): Separate out pthread tests.
6366         (bench): Include math and pthread tests.
6367
6368 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6369
6370         [BZ #16831]
6371         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6372         _dl_debug_initialize.
6373
6374         * configure.ac: Remove SELinux header check.
6375         * configure: Regenerate.
6376         * nscd/selinux.c (perms): Array of const char* to permission names.
6377         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6378         default policy. Call string_to_security_class and string_to_av_perm to
6379         translate strings. Enforce default policy and call avs_has_perm with
6380         results of translated strings.
6381
6382 2014-04-13  David S. Miller  <davem@davemloft.net>
6383
6384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6385
6386 2014-04-12  Allan McRae  <allan@archlinux.org>
6387
6388         [BZ #16838]
6389         * manual/string.texi (Collation Functions): Fix qsort argument
6390         order in example.
6391         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6392
6393 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6394
6395         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6396         Make the test a no-op if there are no exceptions defined.
6397
6398 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6399
6400         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6401         enable-hardcoded-path-in-tests
6402
6403 2014-04-11  Will Newton  <will.newton@linaro.org>
6404
6405         * benchtests/Makefile (extra-objs): Add json-lib.o.
6406         (bench-func): Tidy up JSON output.
6407         * benchtests/bench-skeleton.c: Include json-lib.h.
6408         (main): Use JSON library functions to do output of
6409         benchmark results.
6410         * benchtests/bench-timing-type.c (main): Output the
6411         timing type simply, leaving formatting to the user.
6412         * benchtests/json-lib.c: New file.
6413         * benchtests/json-lib.h: Likewise.
6414
6415 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6416
6417         [BZ #15215]
6418         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6419         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6420         memory barriers.  Add comments.
6421         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6422         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6423         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6424         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6425         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6426         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6427
6428 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6429
6430         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6431         * sysdeps/s390/s390-64/configure.ac: ... this ...
6432         * sysdeps/s390/configure.ac: ... to here.
6433         * sysdeps/s390/s390-32/configure: Delete file.
6434         * sysdeps/s390/s390-64/configure: Delete file.
6435         * sysdeps/s390/configure: Regenerate.
6436
6437 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6438
6439         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6440
6441 2014-04-11  Will Newton  <will.newton@linaro.org>
6442
6443         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6444         to zero if it is not defined elsewhere.  (mtrim): Test
6445         the value of MALLOC_DEBUG with #if rather than #ifdef.
6446
6447 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6448
6449         * benchtests/pthread_once-inputs: New file.
6450         * benchtests/pthread_once-source.c: New file.
6451         * benchtests/README: Update documentation.
6452
6453 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6454             H.J. Lu  <hongjiu.lu@intel.com>
6455
6456         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6457         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6458         * sysdeps/x86_64/configure: Regenerated.
6459         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6460         macro.
6461         (REGISTER_SAVE_RAX): Likewise.
6462         (REGISTER_SAVE_RCX): Likewise.
6463         (REGISTER_SAVE_RDX): Likewise.
6464         (REGISTER_SAVE_RSI): Likewise.
6465         (REGISTER_SAVE_RDI): Likewise.
6466         (REGISTER_SAVE_R8): Likewise.
6467         (REGISTER_SAVE_R9): Likewise.
6468         (REGISTER_SAVE_BND0): Likewise.
6469         (REGISTER_SAVE_BND1): Likewise.
6470         (REGISTER_SAVE_BND2): Likewise.
6471         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6472         bound registers when calling _dl_fixup.
6473
6474 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6475
6476         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6477         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6478         of its definition.
6479         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6480         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6481         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6482         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6483         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6484         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6485         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6486
6487 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6488
6489         [BZ #15514]
6490         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6491         pathconf(_PC_NAME_MAX).
6492
6493 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6494
6495         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6496         Remove macro usage.
6497         (__PTHREAD_SPINS): Move definition to ...
6498         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6499         (__PTHREAD_SPINS): ... here.
6500         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6501         (__PTHREAD_SPIN): Likewise.
6502         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6503         (__PTHREAD_SPIN): Likewise.
6504         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6505         (__PTHREAD_SPIN): Likewise.
6506         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6507         (__PTHREAD_SPIN): Likewise.
6508         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6509         (__PTHREAD_SPIN): Likewise.
6510         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6511         (__PTHREAD_SPIN): Likewise.
6512         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6513         (__PTHREAD_SPIN): Likewise.
6514         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6515         (__PTHREAD_SPIN): Likewise.
6516         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6517         (__PTHREAD_SPIN): Likewise.
6518         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6519         (__PTHREAD_SPIN): Likewise.
6520         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6521         (__PTHREAD_SPIN): Likewise.
6522         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6523         (__PTHREAD_SPIN): Likewise.
6524
6525         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6526         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6527         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6528         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6529         imply folder.
6530         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6531         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6532         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6533         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6534         correct imply path.
6535         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6536         strlen symbol for non multi-arch builds.
6537         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6538         missing hidden_def and weak_alias.
6539
6540 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6541
6542         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6543
6544 2014-04-07  Will Newton  <will.newton@linaro.org>
6545
6546         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6547         and contents.  [!_LIBC] Remove #ifndef and contents.
6548         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6549         * string/memccpy.c (__memccpy): Use ANSI prototype.
6550         * string/memfrob.c (memfrob): Likewise.
6551         * string/strcoll.c (STRCOLL): Likewise.
6552         * string/strlen.c (strlen): Likewise.
6553         * string/strtok.c (STRTOK): Likewise.
6554         * string/strcat.c: Remove unused #include of memcopy.h.
6555         (strcat): Use ANSI prototype.
6556         * string/strchr.c: Remove unused #include of memcopy.h.
6557         (strchr): Use ANSI prototype.
6558         * string/strcmp.c: Remove unused #include of memcopy.h.
6559         (strcmp): Use ANSI prototype.
6560         * string/strcpy.c: Remove unused #include of memcopy.h.
6561         (strcpy): Use ANSI prototype.
6562
6563 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6564
6565         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6566         * config.make.in (config-extra-cppflags): Set it from
6567         libc_extra_cppflags.
6568         * configure.ac (libc_extra_cflags): Make it accumulate over
6569         configure fragments.
6570         (libc_extra_cppflags): New flag.
6571         * configure. Regenerate.
6572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6573         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6574         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6576
6577         [BZ #16815]
6578         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6579         result for FE_DOWNWARD rounding mode.
6580         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6581         Likewise.
6582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6583
6584 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6585
6586         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6587         in function argument name.
6588
6589 2014-04-03  David Svoboda  <svoboda@cert.org>
6590
6591         [BZ #5666]
6592         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6593         explicitly.
6594
6595 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6596
6597         * elf/dl-unmap-segments.h: New file.
6598         * sysdeps/generic/ldsodefs.h
6599         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6600         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6601         * elf/dl-fptr.c: Likewise.
6602         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6603         * sysdeps/aarch64/tlsdesc.c: Likewise.
6604         * sysdeps/arm/tlsdesc.c: Likewise.
6605         * sysdeps/i386/tlsdesc.c: Likewise.
6606         * sysdeps/tile/dl-runtime.c: Likewise.
6607         * sysdeps/x86_64/tlsdesc.c: Likewise.
6608         * elf/dl-load.h: New file.
6609         * elf/dl-load.c: Include it.
6610         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6611         Macros moved to dl-load.h.
6612         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6613         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6614         Use _dl_unmap_segments in place of __munmap.
6615         Break out segment-mapping loop into ...
6616         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6617
6618 2014-04-03  Will Newton  <will.newton@linaro.org>
6619
6620         * elf/dl-lookup.c (do_lookup_x): Remove comment
6621         referring to nested function and move variable
6622         declarations down to before first use.
6623
6624 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6625
6626         [BZ #16799]
6627         [BZ #16800]
6628         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6629         with 0 numerator.
6630         * math/s_catanf.c (__catanf): Likewise.
6631         * math/s_catanh.c (__catanh): Likewise.
6632         * math/s_catanhf.c (__catanhf): Likewise.
6633         * math/s_catanhl.c (__catanhl): Likewise.
6634         * math/s_catanl.c (__catanl): Likewise.
6635         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6636         by positive zero when computing -Inf result.
6637         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6638         (catanh_test): Likewise.
6639         * sysdeps/i386/fpu/libm-test-ulps: Update.
6640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6641
6642         [BZ #16789]
6643         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6644         instead of using underflowing value in computing result.
6645         * math/s_clog10.c (__clog10): Likewise.
6646         * math/s_clog10f.c (__clog10f): Likewise.
6647         * math/s_clog10l.c (__clog10l): Likewise.
6648         * math/s_clogf.c (__clogf): Likewise.
6649         * math/s_clogl.c (__clogl): Likewise.
6650         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6651         (clog10_test): Likewise.
6652         * sysdeps/i386/fpu/libm-test-ulps: Update.
6653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6654
6655 2014-04-02  Alan Modra  <amodra@gmail.com>
6656
6657         [BZ #16739]
6658         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6659         output when value is near a power of two.  Use int64_t for lx and
6660         remove casts.  Use decimal rather than hex exponent constants.
6661         Don't use long double multiplication when double will suffice.
6662         * math/libm-test.inc (nextafter_test_data): Add tests.
6663         * NEWS: Add 16739 and 16786 to bug list.
6664
6665         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6666
6667         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6668
6669 2014-04-01  Will Newton  <will.newton@linaro.org>
6670
6671         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6672         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6673
6674 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6675
6676         [BZ #13347]
6677         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6678         * nptl/tst-setuid2.c: New file.
6679         * nptl/Makefile (xtests): Add tst-setuid2.
6680
6681 2014-04-01  Alan Modra  <amodra@gmail.com>
6682
6683         [BZ #16786]
6684         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6685
6686 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6687
6688         [BZ #6803]
6689         [BZ #6804]
6690         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6691         set errno as appropriate.
6692         * math/w_scalbf.c (__scalbf): Likewise.
6693         * math/w_scalbl.c (__scalbl): Likewise.
6694         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6695         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6696         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6697         Add more NaN tests.
6698
6699         [BZ #16349]
6700         * math/w_atan2.c: Include <errno.h>.
6701         (__atan2): Set errno for result underflowing to zero.
6702         * math/w_atan2f.c: Include <errno.h>.
6703         (__atan2f): Set errno for result underflowing to zero.
6704         * math/w_atan2l.c: Include <errno.h>.
6705         (__atan2l): Set errno for result underflowing to zero.
6706         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6707         tests.
6708         * math/auto-libm-test-out: Regenerated.
6709
6710 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6711
6712         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6713         Encode instruction correctly in little endian.
6714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6715         Likewise.
6716         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6717         Likewise.
6718         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6719         Likewise.
6720         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6721         Likewise.
6722
6723 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6724
6725         [BZ #9894]
6726         * sysdeps/unix/sysv/linux/kernel-features.h
6727         [__sparc__ && !__arch64__ && !__sparc_v9__]
6728         (__ASSUME_SET_ROBUST_LIST): Do not define.
6729         [__sparc__ && !__arch64__ && !__sparc_v9__]
6730         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6731         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6732         Likewise.
6733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6734         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6735         (__ASSUME_REQUEUE_PI): Likewise.
6736         (__ASSUME_SET_ROBUST_LIST): Likewise.
6737         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6738         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6739         Undefine.
6740         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6741         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6742         Likewise.
6743         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6744         Likewise.
6745         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6746         Likewise.
6747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6748         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6749         Undefine.
6750         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6751         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6752         Likewise.
6753
6754         [BZ #16648]
6755         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6756         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6757         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6758
6759 2014-03-31  Will Newton  <will.newton@linaro.org>
6760
6761         * benchtests/Makefile (bench): Add ffs and ffsll to list
6762         of tests.
6763         * benchtests/ffs-inputs: New file.
6764         * benchtests/ffsll-inputs: Likewise.
6765
6766 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6767
6768         [BZ #16770]
6769         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6770         too large before casting to int.
6771         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6772         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6773         * math/libm-test.inc (scalb_test_data): Add more tests.
6774
6775 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6776
6777         * benchtests/Makefile (DETAILED_OPT): New make option.
6778         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6779         set.
6780         * benchtests/bench-skeleton.c: Include stdbool.h.
6781         (main): Store and print timings per input.
6782         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6783         member to each argument value.
6784         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6785         (_print_arg_data): Initialize per-input timing to 0.
6786
6787         * benchtests/Makefile (timing-type): New binary.
6788         (bench-clean): Also remove bench-timing-type.
6789         (bench): New target for timing-type.
6790         (bench-func): Print output in JSON format.
6791         * benchtests/bench-skeleton.c (main): Print output in JSON
6792         format.
6793         * benchtests/bench-timing-type.c: New file.
6794         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6795         (TIMING_PRINT_STATS): Remove.
6796         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6797         name separately.
6798
6799         * benchtests/bench-modf.c: Remove.
6800         * benchtests/modf-inputs: New inputs file.
6801
6802 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6803
6804         [BZ #16362]
6805         * math/s_clog10.c (M_PI_LOG10E): New macro.
6806         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6807         imaginary parts are 0.
6808         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6809         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6810         imaginary parts are 0.
6811         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6812         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6813         imaginary parts are 0.
6814         * math/libm-test.inc (clog10_test_data): Update expected results
6815         for when real and imaginary parts are 0.
6816
6817 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6818
6819         * elf/dl-load.c: Finish conversion of __builtin_expect into
6820         __glibc_{un}likely.
6821
6822 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6823
6824         [BZ #16348]
6825         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6826         1+x for argument with exponent below -67.
6827         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6828         Likewise.
6829         * math/auto-libm-test-in: Add more tests of exp.
6830         * math/auto-libm-test-out: Regenerated.
6831
6832 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6833
6834         [BZ #16759]
6835         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6836         (nscd_getnetgrent): Use it.
6837
6838         [BZ #16760]
6839         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6840         of stpcpy.
6841
6842 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6843
6844         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6845         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6846         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6847         (lll_robust_unlock): Remove out of line section. Use cfi
6848         intrinsics.
6849         (LLL_STUB_UNWIND_INFO*): Remove.
6850         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6851         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6852         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6853         (lll_robust_unlock): Remove out of line section. Use cfi
6854         intrinsics.
6855         (LLL_STUB_UNWIND_INFO*): Remove.
6856
6857 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6858
6859         [BZ #16758]
6860         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6861         blank values.
6862
6863 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6864
6865         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6866
6867 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6868
6869         [BZ #16198]
6870         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6871         fnstenv.
6872         * math/test-fenv-preserve.c: New file.
6873         * math/Makefile (tests): Add test-fenv-preserve.
6874
6875 2014-03-26  Will Newton <will.newton@linaro.org>
6876
6877         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6878
6879 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6880
6881         * scripts/versionlist.awk: Partition the version sets and emit all
6882         GLIBC_* (sorted) before all others (sorted).
6883
6884 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6885
6886         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6887         GLIBC_2.2.5 version.
6888
6889 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6890
6891         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6892         calls.
6893
6894         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6895         previous change.
6896
6897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6898
6899 2014-03-25  Andreas Schwab  <schwab@suse.de>
6900
6901         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6902         label to be used after in6ailist is initialized.
6903
6904 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6905
6906         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6907         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6908
6909 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6910
6911         [BZ #16357]
6912         [BZ #16599]
6913         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6914         min_plus_half.
6915         (fp_formats): Update initializers.
6916         (init_fp_formats): Initialize new field.
6917         (output_for_one_input_case): Allow underflow for results up to
6918         min_plus_half.
6919         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6920         * math/auto-libm-test-in: Don't mark some underflows from asin and
6921         atanh as spurious.
6922         * math/auto-libm-test-out: Regenerated.
6923         * sysdeps/i386/fpu/libm-test-ulps: Update.
6924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925
6926 2014-03-25  Andreas Schwab  <schwab@suse.de>
6927
6928         * libio/Makefile (tst-ftell-partial-wide-ENV)
6929         (tst-ftell-active-handler-ENV): Define.
6930
6931 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6932
6933         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6934
6935 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6936
6937         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6938
6939 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6940
6941         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6942         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6943         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6944
6945 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6946
6947         [BZ #16634]
6948         * elf/dl-load.c (open_verify): Add mode parameter.
6949         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6950         (open_path): Change from boolean 'secure' to complete flag 'mode'
6951         (_dl_map_object): Adjust.
6952         * elf/Makefile (tests): Add tst-dlopen-aout.
6953         * elf/tst-dlopen-aout.c: New test.
6954
6955 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6956
6957         [BZ #16714]
6958         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6959         (struct stat): Rename member pad0 to __glibc_reserved0.
6960
6961         [BZ #16712]
6962         * sysdeps/s390/s390-32/bits/wordsize.h
6963         (__WORDSIZE32_SIZE_ULONG): New define.
6964         * sysdeps/s390/s390-64/bits/wordsize.h
6965         (__WORDSIZE32_SIZE_ULONG): Likewise.
6966         * sysdeps/generic/stdint.h (SIZE_MAX):
6967         Define as UL if __WORDSIZE32_SIZE_ULONG.
6968
6969         [BZ #16713]
6970         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6971         (__glibc_reserved0): New variable.
6972         (sa_flags): Change type to int.
6973
6974         * posix/Makefile (before-compile): Use += before-compile instead
6975         of a :=.
6976
6977         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6978         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6979
6980 2014-03-20  Andreas Schwab  <schwab@suse.de>
6981
6982         [BZ #16743]
6983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6984         non-matching result from nscd.
6985
6986 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6987
6988         * scripts/bench.py: Moved to ...
6989         * benchtests/scripts/bench.py: ... here.
6990         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6991
6992 2014-03-24  Andreas Schwab  <schwab@suse.de>
6993
6994         [BZ #16002]
6995         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6996         alloca_account and account alloca use for struct in6ailist.
6997
6998 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6999
7000         [BZ #16284]
7001         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7002         rounding mode to recompute results that overflow to infinity or
7003         underflow to zero.
7004         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7005         bug 16284.
7006         * math/auto-libm-test-out: Regenerated.
7007         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7008         (ccosh_test): Likewise.
7009         (csin_test_data): Use plus_oflow.
7010         (csin_test): Use ALL_RM_TEST.
7011         (csinh_test_data): Use plus_oflow.
7012         (csinh_test): Use ALL_RM_TEST.
7013         * sysdeps/i386/fpu/libm-test-ulps: Update.
7014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7015
7016 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7017
7018         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7019         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7020         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7021
7022         [BZ #16731]
7023         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7024         when x - 1 is zero.
7025         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7026         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7027         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7028         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7029         argument is 1.
7030         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7031         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7032         zero.
7033         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7034         * sysdeps/i386/fpu/libm-test-ulps: Update.
7035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7036
7037 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7038
7039         * scripts/bench.pl: Remove file.
7040         * scripts/bench.py: New benchmark script.
7041         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7042         * benchtests/README: Mention python dependency.
7043         * scripts/pylintrc: New file.
7044         * scripts/pylint: New file.
7045
7046         * bits/mathdef.h: Use #ifdef instead of #if.
7047         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7048         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7049         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7050         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7051         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7052         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7053
7054 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7055             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7056
7057         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7059         and strpbrk-ppc64 objects.
7060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7061         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7062         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7063         multiarch strpbrk for POWER7.
7064         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7065         multiarch strpbrk for PPC64.
7066         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7067         ifunc selector.
7068         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7069         strpbrk for POWER7.
7070
7071 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7072
7073         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7074         (atan_test): Likewise.
7075         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7076         (atanh_test): Use ALL_RM_TEST.
7077         (atan2_test_data): Likewise.
7078         (cabs_test): Likewise.
7079         (cacosh_test): Likewise.
7080         (carg_test): Likewise.
7081         (casin_test): Likewise.
7082         (casinh_test): Likewise.
7083         (cbrt_test): Likewise.
7084         (csqrt_test): Likewise.
7085         (erf_test): Likewise.
7086         (erfc_test): Likewise.
7087         (pow10_test): Likewise.
7088         (exp2_test): Likewise.
7089         (hypot_test): Likewise.
7090         (j0_test): Likewise.
7091         (j1_test): Likewise.
7092         (lgamma_test): Likewise.
7093         (gamma_test): Likewise.
7094         (sincos_test): Likewise.
7095         (tanh_test): Likewise.
7096         (y0_test): Likewise.
7097         (y1_test): Likewise.
7098         * sysdeps/i386/fpu/libm-test-ulps: Update.
7099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7100
7101 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7102
7103         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7105         and strcspn-ppc64 objects.
7106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7107         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7108         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7109         multiarch strcspn for POWER7.
7110         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7111         multiarch strcspn for PPC64.
7112         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7113         ifunc selector.
7114         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7115         strcspn for POWER7.
7116
7117 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7118
7119         * math/gen-libm-test.pl (generate_testfile): Expect only function
7120         name as argument to AUTO_TESTS_* and pass results for all rounding
7121         modes to parse_args.
7122         (parse_auto_input): Separate inputs of automatic tests from
7123         outputs before storing in %auto_tests.
7124         * math/libm-test.inc (acos_test_data): Update call to
7125         AUTO_TESTS_f_f.
7126         (acos_test): Use ALL_RM_TEST.
7127         (acos_tonearest_test_data): Remove.
7128         (acos_test_tonearest): Likewise.
7129         (acos_towardzero_test_data): Likewise.
7130         (acos_test_towardzero): Likewise.
7131         (acos_downward_test_data): Likewise.
7132         (acos_test_downward): Likewise.
7133         (acos_upward_test_data): Likewise.
7134         (acos_test_upward): Likewise.
7135         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7136         (asin_test_data): Likewise.
7137         (asin_test): Use ALL_RM_TEST.
7138         (asin_tonearest_test_data): Remove.
7139         (asin_test_tonearest): Likewise.
7140         (asin_towardzero_test_data): Likewise.
7141         (asin_test_towardzero): Likewise.
7142         (asin_downward_test_data): Likewise.
7143         (asin_test_downward): Likewise.
7144         (asin_upward_test_data): Likewise.
7145         (asin_test_upward): Likewise.
7146         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7147         (atan_test_data): Likewise.
7148         (atanh_test_data): Likewise.
7149         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7150         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7151         (carg_test_data): Likewise.
7152         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7153         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7154         (ccosh_test_data): Likewise.
7155         (cexp_test_data): Likewise.
7156         (clog_test_data): Likewise.
7157         (clog10_test_data): Likewise.
7158         (cos_test_data): Update call to AUTO_TESTS_f_f.
7159         (cos_test): Use ALL_RM_TEST.
7160         (cos_tonearest_test_data): Remove.
7161         (cos_test_tonearest): Likewise.
7162         (cos_towardzero_test_data): Likewise.
7163         (cos_test_towardzero): Likewise.
7164         (cos_downward_test_data): Likewise.
7165         (cos_test_downward): Likewise.
7166         (cos_upward_test_data): Likewise.
7167         (cos_test_upward): Likewise.
7168         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7169         (cosh_test): Use ALL_RM_TEST.
7170         (cosh_tonearest_test_data): Remove.
7171         (cosh_test_tonearest): Likewise.
7172         (cosh_towardzero_test_data): Likewise.
7173         (cosh_test_towardzero): Likewise.
7174         (cosh_downward_test_data): Likewise.
7175         (cosh_test_downward): Likewise.
7176         (cosh_upward_test_data): Likewise.
7177         (cosh_test_upward): Likewise.
7178         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7179         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7180         (ctan_test_data): Likewise.
7181         (ctan_test): Use ALL_RM_TEST.
7182         (ctan_tonearest_test_data): Remove.
7183         (ctan_test_tonearest): Likewise.
7184         (ctan_towardzero_test_data): Likewise.
7185         (ctan_test_towardzero): Likewise.
7186         (ctan_downward_test_data): Likewise.
7187         (ctan_test_downward): Likewise.
7188         (ctan_upward_test_data): Likewise.
7189         (ctan_test_upward): Likewise.
7190         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7191         (ctanh_test): Use ALL_RM_TEST.
7192         (ctanh_tonearest_test_data): Remove.
7193         (ctanh_test_tonearest): Likewise.
7194         (ctanh_towardzero_test_data): Likewise.
7195         (ctanh_test_towardzero): Likewise.
7196         (ctanh_downward_test_data): Likewise.
7197         (ctanh_test_downward): Likewise.
7198         (ctanh_upward_test_data): Likewise.
7199         (ctanh_test_upward): Likewise.
7200         (erf_test_data): Update call to AUTO_TESTS_f_f.
7201         (erfc_test_data): Likewise.
7202         (exp_test_data): Likewise.
7203         (exp_test): Use ALL_RM_TEST.
7204         (exp_tonearest_test_data): Remove.
7205         (exp_test_tonearest): Likewise.
7206         (exp_towardzero_test_data): Likewise.
7207         (exp_test_towardzero): Likewise.
7208         (exp_downward_test_data): Likewise.
7209         (exp_test_downward): Likewise.
7210         (exp_upward_test_data): Likewise.
7211         (exp_test_upward): Likewise.
7212         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7213         (exp10_test): Use ALL_RM_TEST.
7214         (exp10_tonearest_test_data): Remove.
7215         (exp10_test_tonearest): Likewise.
7216         (exp10_towardzero_test_data): Likewise.
7217         (exp10_test_towardzero): Likewise.
7218         (exp10_downward_test_data): Likewise.
7219         (exp10_test_downward): Likewise.
7220         (exp10_upward_test_data): Likewise.
7221         (exp10_test_upward): Likewise.
7222         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7223         (expm1_test_data): Likewise.
7224         (expm1_test): Use ALL_RM_TEST.
7225         (expm1_tonearest_test_data): Remove.
7226         (expm1_test_tonearest): Likewise.
7227         (expm1_towardzero_test_data): Likewise.
7228         (expm1_test_towardzero): Likewise.
7229         (expm1_downward_test_data): Likewise.
7230         (expm1_test_downward): Likewise.
7231         (expm1_upward_test_data): Likewise.
7232         (expm1_test_upward): Likewise.
7233         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7234         (fma_test): Use ALL_RM_TEST.
7235         (fma_towardzero_test_data): Remove.
7236         (fma_test_towardzero): Likewise.
7237         (fma_downward_test_data): Likewise.
7238         (fma_test_downward): Likewise.
7239         (fma_upward_test_data): Likewise.
7240         (fma_test_upward): Likewise.
7241         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7242         (j0_test_data): Update call to AUTO_TESTS_f_f.
7243         (j1_test_data): Likewise.
7244         (jn_test_data): Update call to AUTO_TESTS_if_f.
7245         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7246         (log_test_data): Update call to AUTO_TESTS_f_f.
7247         (log10_test_data): Likewise.
7248         (log1p_test_data): Likewise.
7249         (log2_test_data): Likewise.
7250         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7251         (pow_tonearest_test_data): Likewise.
7252         (sin_test_data): Update call to AUTO_TESTS_f_f.
7253         (sin_test): Use ALL_RM_TEST.
7254         (sin_tonearest_test_data): Remove.
7255         (sin_test_tonearest): Likewise.
7256         (sin_towardzero_test_data): Likewise.
7257         (sin_test_towardzero): Likewise.
7258         (sin_downward_test_data): Likewise.
7259         (sin_test_downward): Likewise.
7260         (sin_upward_test_data): Likewise.
7261         (sin_test_upward): Likewise.
7262         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7263         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7264         (sinh_test): Use ALL_RM_TEST.
7265         (sinh_tonearest_test_data): Remove.
7266         (sinh_test_tonearest): Likewise.
7267         (sinh_towardzero_test_data): Likewise.
7268         (sinh_test_towardzero): Likewise.
7269         (sinh_downward_test_data): Likewise.
7270         (sinh_test_downward): Likewise.
7271         (sinh_upward_test_data): Likewise.
7272         (sinh_test_upward): Likewise.
7273         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7274         (sqrt_test): Use ALL_RM_TEST.
7275         (sqrt_tonearest_test_data): Remove.
7276         (sqrt_test_tonearest): Likewise.
7277         (sqrt_towardzero_test_data): Likewise.
7278         (sqrt_test_towardzero): Likewise.
7279         (sqrt_downward_test_data): Likewise.
7280         (sqrt_test_downward): Likewise.
7281         (sqrt_upward_test_data): Likewise.
7282         (sqrt_test_upward): Likewise.
7283         (tan_test_data): Update call to AUTO_TESTS_f_f.
7284         (tan_test): Use ALL_RM_TEST.
7285         (tan_tonearest_test_data): Remove.
7286         (tan_test_tonearest): Likewise.
7287         (tan_towardzero_test_data): Likewise.
7288         (tan_test_towardzero): Likewise.
7289         (tan_downward_test_data): Likewise.
7290         (tan_test_downward): Likewise.
7291         (tan_upward_test_data): Likewise.
7292         (tan_test_upward): Likewise.
7293         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7294         (tgamma_test_data): Likewise.
7295         (y0_test_data): Likewise.
7296         (y1_test_data): Likewise.
7297         (yn_test_data): Update call to AUTO_TESTS_if_f.
7298         (main): Do not call removed functions.
7299
7300 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7301
7302         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7303         (ldexp_test_data): Remove.
7304         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7305         scalbn_test_data.
7306         (scalb_test): Use ALL_RM_TEST.
7307
7308 2014-03-19  Andreas Schwab  <schwab@suse.de>
7309
7310         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7311
7312 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7313
7314         [BZ #16649]
7315         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7316         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7317         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7319         (__ASSUME_PREADV): Undefine.
7320         (__ASSUME_PWRITEV): Likewise.
7321
7322 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7323
7324         * bits/mman-linux.h: Add comment about non-Linux use.
7325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7326         bits/mman-linux.h resting place.
7327
7328         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7329         * bits/mman-linux.h: ... here.
7330
7331 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7332
7333         * conform/conformtest.pl: Add standard definition when calling C
7334         preprocessor on data files.
7335         (checknamespace): Remove unused variable.
7336
7337 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7338
7339         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7340         minus_oflow, plus_uflow and minus_uflow in expected results.
7341         * math/libm-test.inc (scalbn_test_data): Add more tests of
7342         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7343         minus_uflow.
7344         (scalbn_test): Use ALL_RM_TEST.
7345         (scalbln_test_data): Add more tests of negative arguments.  Use
7346         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7347         (scalbln_test): Use ALL_RM_TEST.
7348
7349 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7350
7351         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7352
7353 2014-03-18  Will Newton  <will.newton@linaro.org>
7354
7355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7356         inaccurate comment.
7357
7358 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7359
7360         * Makerules [!subdir] (check-abi): Exit with error status if a
7361         test failed.
7362
7363 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7364
7365         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7366         for rint.  Include results for all rounding modes.
7367         (nearbyint_test): Use ALL_RM_TEST.
7368         (rint_test_data): Include all tests used for nearbyint.
7369
7370 2014-03-17  Will Newton  <will.newton@linaro.org>
7371
7372         * nptl/sysdeps/pthread/pthread.h: Revert previous
7373         change.
7374
7375         * sysdeps/generic/ldsodefs.h: Revert previous
7376         change.
7377
7378         * libio/genops.c: Revert previous change.
7379         * libio/libioP.h: Likewise.
7380         * stdio-common/vfprintf.c: Likewise.
7381
7382         * sysdeps/generic/math_private.h: Revert previous
7383         change.
7384
7385         * sysdeps/generic/math_private.h: Check whether
7386         HAVE_RM_CTX is defined with #ifdef rather
7387         than #if.
7388
7389         * argp/argp-fmtstream.h: Check whether
7390         __STRICT_ANSI__ is defined with #ifdef rather
7391         than #if.
7392         * argp/argp.h: Likewise.
7393
7394         * libio/genops.c: Check whether
7395         _IO_JUMPS_OFFSET is defined with #ifdef rather
7396         than #if.
7397         * libio/libioP.h: Likewise.
7398         * stdio-common/vfprintf.c: Likewise.
7399
7400         * sysdeps/generic/ldsodefs.h: Check whether
7401         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7402         than #if.
7403
7404         * nptl/sysdeps/pthread/pthread.h: Check
7405         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7406         its value.
7407
7408 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7409
7410         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7411         setting O_APPEND.
7412         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7413         test case.
7414
7415         [BZ #16680]
7416         * libio/fileops.c (_IO_file_open): Seek to end of file but
7417         don't cache the offset.
7418         (get_file_offset): Remove function.
7419         (do_ftell): Use cached offset when available.
7420         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7421         don't cache the offset.
7422         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7423         case.
7424         (do_one_test): Call it.
7425         (do_ftell_test): Fix up expected old offset for a+ mode.
7426         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7427         available.
7428
7429         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7430         up test status with function return status.
7431         (do_write_test): Likewise.
7432         (do_append_test): Likewise.
7433
7434         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7435         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7436         Remove.
7437
7438 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7439
7440         * math/gen-libm-test.pl (parse_args): Handle results specified for
7441         each rounding mode separately.
7442         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7443         tests and results from lrint_tonearest_test_data,
7444         lrint_towardzero_test_data, lrint_downward_test_data and
7445         lrint_upward_test_data.
7446         (lrint_test): Use ALL_RM_TEST.
7447         (lrint_tonearest_test_data): Remove.
7448         (lrint_test_tonearest): Likewise.
7449         (lrint_towardzero_test_data): Likewise.
7450         (lrint_test_towardzero): Likewise.
7451         (lrint_downward_test_data): Likewise.
7452         (lrint_test_downward): Likewise.
7453         (lrint_upward_test_data): Likewise.
7454         (lrint_test_upward): Likewise.
7455         (llrint_test_data): Merge in per-rounding-mode tests and results
7456         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7457         llrint_downward_test_data and llrint_upward_test_data.
7458         (llrint_test): Use ALL_RM_TEST.
7459         (llrint_tonearest_test_data): Remove.
7460         (llrint_test_tonearest): Likewise.
7461         (llrint_towardzero_test_data): Likewise.
7462         (llrint_test_towardzero): Likewise.
7463         (llrint_downward_test_data): Likewise.
7464         (llrint_test_downward): Likewise.
7465         (llrint_upward_test_data): Likewise.
7466         (llrint_test_upward): Likewise.
7467         (rint_test_data): Merge in per-rounding-mode tests and results
7468         from rint_tonearest_test_data, rint_towardzero_test_data,
7469         rint_downward_test_data and rint_upward_test_data.  Add
7470         per-rounding-mode results for tests not in those arrays.
7471         (rint_test): Use ALL_RM_TEST.
7472         (rint_tonearest_test_data): Remove.
7473         (rint_test_tonearest): Likewise.
7474         (rint_towardzero_test_data): Likewise.
7475         (rint_test_towardzero): Likewise.
7476         (rint_downward_test_data): Likewise.
7477         (rint_test_downward): Likewise.
7478         (rint_upward_test_data): Likewise.
7479         (rint_test_upward): Likewise.
7480         (main): Don't call removed functions.
7481
7482 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7483
7484         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7485         "Compiled on ..." crapola.  It is anti-useful.
7486
7487 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7488
7489         * scripts/evaluate-test.sh: Handle fourth argument to determine
7490         whether test run should stop on failure.
7491         * Makeconfig (stop-on-test-failure): New variable.
7492         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7493         $(stop-on-test-failure).
7494         * Makefile (tests): Give a summary of results from testing and
7495         exit with failure status if they include an ERROR or FAIL.
7496         (xtests): Likewise.
7497         * manual/install.texi (Configuring and compiling): Mention
7498         stop-on-test-failure=y.
7499         * INSTALL: Regenerated.
7500
7501 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7502
7503         * scripts/versionlist.awk: New file.
7504         * Makerules [$(build-shared) = yes]
7505         (postclean-generated): Add Versions.def, not Versions.def.v and
7506         Versions.def.v.i.
7507         ($(common-objpfx)Versions.def.v.i): Target removed.
7508         ($(common-objpfx)Versions.def): New target.
7509         ($(common-objpfx)Versions.all): Depend on that rather that
7510         $(common-objpfx)Versions.def.v.
7511         * Versions.def: File removed.
7512
7513         * Makeconfig (+gccwarn): Add -Wundef.
7514         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7515         a dl-sysdep.h breaking its contract.
7516         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7517         * include/stackinfo.h: New file.
7518         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7519         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7520         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7521         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7522         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7523         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7524         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7525         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7526         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7527         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7528         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7529         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7530         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7531         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7532         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7533
7534 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7535
7536         [BZ #16707]
7537         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7538         implementation.
7539         * math/libm-test.inc (round_test_data): Add more tests.
7540
7541         [BZ #16706]
7542         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7543         implementation.
7544         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7545
7546         [BZ #16701]
7547         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7548         implementation.
7549         * math/libm-test.inc (ceil_test_data): Add more tests.
7550
7551         * math/libm-test.inc (trunc_test_data): Add more tests related to
7552         BZ#16414.
7553
7554 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7555
7556         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7557         with #if rather than #ifdef.
7558         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7559
7560 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7561
7562         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7563         first.  Disable AVX-512 GCC support if assembler doesn't support
7564         it.
7565         * sysdeps/x86_64/configure: Regenerated.
7566
7567 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7568
7569         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7570         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7571         (__old_pthread_attr_setstack): Likewise.
7572         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7573         [!_STACK_GROWS_DOWN]: Likewise.
7574
7575 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7576
7577         * config.make.in (have-bash2): Delete.
7578         * configure.ac (libc_cv_have_bash2): Delete.
7579         * configure: Regenerate.
7580         * elf/Makefile (common-ldd-rewrite): Rename to ...
7581         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7582         (sh-ldd-rewrite): Delete.
7583         (bash-ldd-rewrite): Delete.
7584         (have-bash2): Delete checks.
7585         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7586         ldd-rewrite.
7587
7588         * config.make.in (have-ksh): Delete.
7589         (KSH): Delete.
7590         * configure.ac (libc_cv_have_ksh): Delete.
7591         * configure: Regenerate.
7592
7593         * elf/Makefile: Delete $(have-ksh) check.
7594         ($(objpfx)sotruss): Change KSH to BASH.
7595         * elf/sotruss.ksh: Rename to ...
7596         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7597         function style to match POSIX.  Drop ksh vim mode setting.
7598
7599         * manual/time.texi (Specifying the Time Zone with TZ): Change
7600         Tuesday to Thursday.
7601
7602         * debug/tst-longjmp_chk2.c: Update header comment.
7603         (stackoverflow_handler): Add comment.  Call assert on pass value.
7604
7605 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7606
7607         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7608         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7609         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7610         (La_x86_64_vector): Add zmm.
7611         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7612         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7613         ($(objpfx)tst-audit10): New target.
7614         ($(objpfx)tst-audit10.out): Likewise.
7615         (tst-audit10-ENV): New.
7616         (AVX512-CFLAGS): Likewise.
7617         (CFLAGS-tst-audit10.c): Likewise.
7618         (CFLAGS-tst-auditmod10a.c): Likewise.
7619         (CFLAGS-tst-auditmod10b.c): Likewise.
7620         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7621         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7622         * sysdeps/x86_64/configure: Regenerated.
7623         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7624         AVX-512 zmm register support.
7625         (_dl_x86_64_save_sse): Likewise.
7626         (_dl_x86_64_restore_sse): Likewise.
7627         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7628         size vector registers.
7629         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7630         (ZMM_SIZE): Likewise.
7631         * sysdeps/x86_64/tst-audit10.c: New file.
7632         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7633         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7634
7635 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7636
7637         * configure.ac (HAVE_EHDR_START): New check.
7638         * configure: Regenerated.
7639         * config.h.in (HAVE_EHDR_START): New #undef.
7640         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7641         assuming the lowest-addressed segment maps the start of the file.
7642
7643 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7644
7645         * INSTALL: Regenerated.
7646
7647 2014-03-13  Will Newton  <will.newton@linaro.org>
7648
7649         * manual/setjmp.texi (System V contexts): Improve
7650         clarity and grammar of documentation.
7651
7652 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7653
7654         [BZ #16381]
7655         * elf/Makefile (tests): Add tst-pie2.
7656         (tests-pie): Add tst-pie2.
7657         * elf/tst-pie2.c: New file.
7658         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7659         for ET_EXEC.
7660         * elf/rtld.c (map_doit): Load executable as lt_executable.
7661         (dl_main): Likewise.
7662
7663 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7664
7665         [BZ #16642]
7666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7667         (__ASSUME_PSELECT): Undefine.
7668
7669 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7670
7671         [BZ #16689]
7672         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7673         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7674         static build.
7675         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7676         selector for static builds.
7677
7678 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7679
7680         [BZ #16695]
7681         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7682         key in the buffer.
7683
7684 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7685
7686         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7687         IFUNC selector for static builds.
7688
7689 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7690
7691         * sysdeps/mips/math_private.h [__mips_hard_float]
7692         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7693         libc_feresetround_mips_ctx.
7694         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7695         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7696         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7697
7698         [BZ #16677]
7699         * math/s_nextafter.c (__nextafter): Do not return value from
7700         overflowing computation.
7701         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7702         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7703         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7704         Likewise.
7705         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7706         Likewise.
7707         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7708         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7709
7710 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7711
7712         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7713         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7714         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7715         the new mov targetting sp.
7716
7717 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7718
7719         [BZ #16683]
7720         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7721         Define it for static builds as well.
7722         (NO_BZERO_IMPL): Likewise.
7723
7724 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7725
7726         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7727         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7728         multiarch strspn for PPC64.
7729         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7730         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7732         (__libc_ifunc_impl_list): Likewise.
7733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7734         multiarch optimizations
7735         * string/strspn.c (strspn): Using macro to redefine symbol name.
7736
7737 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7738             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7739
7740         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7741         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7742         multiarch strncat for PPC64.
7743         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7744         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7746         (__libc_ifunc_impl_list): Likewise.
7747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7748         multiarch optimizations
7749
7750 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7751
7752         [BZ #16639]
7753         * nscd/nscd.service: Make service type forking.
7754
7755 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7756
7757         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7758         sign in non default rounding modes.
7759         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7760
7761 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7762
7763         * math/libm-test.inc (ALL_RM_TEST): New macro.
7764         (ceil_test): Use ALL_RM_TEST.
7765         (cimag_test): Likewise.
7766         (conj_test): Likewise.
7767         (copysign_test): Likewise.
7768         (cproj_test): Likewise.
7769         (creal_test): Likewise.
7770         (fabs_test): Likewise.
7771         (floor_test): Likewise.
7772         (fmax_test): Likewise.
7773         (fmin_test): Likewise.
7774         (fmod_test): Likewise.
7775         (fpclassify_test): Likewise.
7776         (frexp_test): Likewise.
7777         (ilogb_test): Likewise.
7778         (isfinite_test): Likewise.
7779         (finite_test): Likewise.
7780         (isgreater_test): Likewise.
7781         (isgreaterequal_test): Likewise.
7782         (isinf_test): Likewise.
7783         (isless_test): Likewise.
7784         (islessequal_test): Likewise.
7785         (islessgreater_test): Likewise.
7786         (isnan_test): Likewise.
7787         (isnormal_test): Likewise.
7788         (issignaling_test): Likewise.
7789         (isunordered_test): Likewise.
7790         (logb_test): Likewise.
7791         (logb_downward_test_data): Remove.
7792         (logb_test_downward): Likewise.
7793         (lround_test): Use ALL_RM_TEST.
7794         (llround_test): Likewise.
7795         (modf_test): Likewise.
7796         (nexttoward_test): Likewise.
7797         (remainder_test): Likewise.
7798         (drem_test): Likewise.
7799         (remainder_tonearest_test_data): Likewise.
7800         (remainder_test_tonearest): Likewise.
7801         (drem_test_tonearest): Likewise.
7802         (remainder_towardzero_test_data): Likewise.
7803         (remainder_test_towardzero): Likewise.
7804         (drem_test_towardzero): Likewise.
7805         (remainder_downward_test_data): Likewise.
7806         (remainder_test_downward): Likewise.
7807         (drem_test_downward): Likewise.
7808         (remainder_upward_test_data): Likewise.
7809         (remainder_test_upward): Likewise.
7810         (drem_test_upward): Likewise.
7811         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7812         (round_test): Use ALL_RM_TEST.
7813         (signbit_test): Likewise.
7814         (trunc_test): Likewise.
7815         (significand_test): Likewise.
7816         (main): Don't call removed functions.
7817
7818 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7819
7820         [BZ #16674]
7821         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7822         || __USE_XOPEN2K8].
7823         (ILL_ILLOPN): Likewise.
7824         (ILL_ILLADR): Likewise.
7825         (ILL_ILLTRP): Likewise.
7826         (ILL_PRVOPC): Likewise.
7827         (ILL_PRVREG): Likewise.
7828         (ILL_COPROC): Likewise.
7829         (ILL_BADSTK): Likewise.
7830         (FPE_INTDIV): Likewise.
7831         (FPE_INTOVF): Likewise.
7832         (FPE_FLTDIV): Likewise.
7833         (FPE_FLTOVF): Likewise.
7834         (FPE_FLTUND): Likewise.
7835         (FPE_FLTRES): Likewise.
7836         (FPE_FLTINV): Likewise.
7837         (FPE_FLTSUB): Likewise.
7838         (SEGV_MAPERR): Likewise.
7839         (SEGV_ACCERR): Likewise.
7840         (BUS_ADRALN): Likewise.
7841         (BUS_ADRERR): Likewise.
7842         (BUS_OBJERR): Likewise.
7843         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7844         (TRAP_TRACE): Likewise.
7845         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7846         __USE_XOPEN2K8].
7847         (CLD_KILLED): Likewise.
7848         (CLD_DUMPED): Likewise.
7849         (CLD_TRAPPED): Likewise.
7850         (CLD_STOPPED): Likewise.
7851         (CLD_CONTINUED): Likewise.
7852         (POLL_IN): Likewise.
7853         (POLL_OUT): Likewise.
7854         (POLL_MSG): Likewise.
7855         (POLL_ERR): Likewise.
7856         (POLL_PRI): Likewise.
7857         (POLL_HUP): Likewise.
7858         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7859         Likewise.
7860         (ILL_ILLOPN): Likewise.
7861         (ILL_ILLADR): Likewise.
7862         (ILL_ILLTRP): Likewise.
7863         (ILL_PRVOPC): Likewise.
7864         (ILL_PRVREG): Likewise.
7865         (ILL_COPROC): Likewise.
7866         (ILL_BADSTK): Likewise.
7867         (FPE_INTDIV): Likewise.
7868         (FPE_INTOVF): Likewise.
7869         (FPE_FLTDIV): Likewise.
7870         (FPE_FLTOVF): Likewise.
7871         (FPE_FLTUND): Likewise.
7872         (FPE_FLTRES): Likewise.
7873         (FPE_FLTINV): Likewise.
7874         (FPE_FLTSUB): Likewise.
7875         (SEGV_MAPERR): Likewise.
7876         (SEGV_ACCERR): Likewise.
7877         (BUS_ADRALN): Likewise.
7878         (BUS_ADRERR): Likewise.
7879         (BUS_OBJERR): Likewise.
7880         (BUS_MCEERR_AR): Likewise.
7881         (BUS_MCEERR_AO): Likewise.
7882         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7883         (TRAP_TRACE): Likewise.
7884         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7885         __USE_XOPEN2K8].
7886         (CLD_KILLED): Likewise.
7887         (CLD_DUMPED): Likewise.
7888         (CLD_TRAPPED): Likewise.
7889         (CLD_STOPPED): Likewise.
7890         (CLD_CONTINUED): Likewise.
7891         (POLL_IN): Likewise.
7892         (POLL_OUT): Likewise.
7893         (POLL_MSG): Likewise.
7894         (POLL_ERR): Likewise.
7895         (POLL_PRI): Likewise.
7896         (POLL_HUP): Likewise.
7897         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7898         (ILL_ILLOPN): Likewise.
7899         (ILL_ILLADR): Likewise.
7900         (ILL_ILLTRP): Likewise.
7901         (ILL_PRVOPC): Likewise.
7902         (ILL_PRVREG): Likewise.
7903         (ILL_COPROC): Likewise.
7904         (ILL_BADSTK): Likewise.
7905         (FPE_INTDIV): Likewise.
7906         (FPE_INTOVF): Likewise.
7907         (FPE_FLTDIV): Likewise.
7908         (FPE_FLTOVF): Likewise.
7909         (FPE_FLTUND): Likewise.
7910         (FPE_FLTRES): Likewise.
7911         (FPE_FLTINV): Likewise.
7912         (FPE_FLTSUB): Likewise.
7913         (SEGV_MAPERR): Likewise.
7914         (SEGV_ACCERR): Likewise.
7915         (BUS_ADRALN): Likewise.
7916         (BUS_ADRERR): Likewise.
7917         (BUS_OBJERR): Likewise.
7918         (BUS_MCEERR_AR): Likewise.
7919         (BUS_MCEERR_AO): Likewise.
7920         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7921         (TRAP_TRACE): Likewise.
7922         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7923         __USE_XOPEN2K8].
7924         (CLD_KILLED): Likewise.
7925         (CLD_DUMPED): Likewise.
7926         (CLD_TRAPPED): Likewise.
7927         (CLD_STOPPED): Likewise.
7928         (CLD_CONTINUED): Likewise.
7929         (POLL_IN): Likewise.
7930         (POLL_OUT): Likewise.
7931         (POLL_MSG): Likewise.
7932         (POLL_ERR): Likewise.
7933         (POLL_PRI): Likewise.
7934         (POLL_HUP): Likewise.
7935         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7936         Likewise.
7937         (ILL_ILLOPN): Likewise.
7938         (ILL_ILLADR): Likewise.
7939         (ILL_ILLTRP): Likewise.
7940         (ILL_PRVOPC): Likewise.
7941         (ILL_PRVREG): Likewise.
7942         (ILL_COPROC): Likewise.
7943         (ILL_BADSTK): Likewise.
7944         (ILL_BADIADDR): Likewise.
7945         (ILL_BREAK): Likewise.
7946         (FPE_INTDIV): Likewise.
7947         (FPE_INTOVF): Likewise.
7948         (FPE_FLTDIV): Likewise.
7949         (FPE_FLTOVF): Likewise.
7950         (FPE_FLTUND): Likewise.
7951         (FPE_FLTRES): Likewise.
7952         (FPE_FLTINV): Likewise.
7953         (FPE_FLTSUB): Likewise.
7954         (FPE_DECOVF): Likewise.
7955         (FPE_DECDIV): Likewise.
7956         (FPE_DECERR): Likewise.
7957         (FPE_INVASC): Likewise.
7958         (FPE_INVDEC): Likewise.
7959         (SEGV_MAPERR): Likewise.
7960         (SEGV_ACCERR): Likewise.
7961         (SEGV_PSTKOVF): Likewise.
7962         (BUS_ADRALN): Likewise.
7963         (BUS_ADRERR): Likewise.
7964         (BUS_OBJERR): Likewise.
7965         (BUS_MCEERR_AR): Likewise.
7966         (BUS_MCEERR_AO): Likewise.
7967         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7968         (TRAP_TRACE): Likewise.
7969         (TRAP_BRANCH): Likewise.
7970         (TRAP_HWBKPT): Likewise.
7971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7972         __USE_XOPEN2K8].
7973         (CLD_KILLED): Likewise.
7974         (CLD_DUMPED): Likewise.
7975         (CLD_TRAPPED): Likewise.
7976         (CLD_STOPPED): Likewise.
7977         (CLD_CONTINUED): Likewise.
7978         (POLL_IN): Likewise.
7979         (POLL_OUT): Likewise.
7980         (POLL_MSG): Likewise.
7981         (POLL_ERR): Likewise.
7982         (POLL_PRI): Likewise.
7983         (POLL_HUP): Likewise.
7984         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7985         (ILL_ILLOPN): Likewise.
7986         (ILL_ILLADR): Likewise.
7987         (ILL_ILLTRP): Likewise.
7988         (ILL_PRVOPC): Likewise.
7989         (ILL_PRVREG): Likewise.
7990         (ILL_COPROC): Likewise.
7991         (ILL_BADSTK): Likewise.
7992         (FPE_INTDIV): Likewise.
7993         (FPE_INTOVF): Likewise.
7994         (FPE_FLTDIV): Likewise.
7995         (FPE_FLTOVF): Likewise.
7996         (FPE_FLTUND): Likewise.
7997         (FPE_FLTRES): Likewise.
7998         (FPE_FLTINV): Likewise.
7999         (FPE_FLTSUB): Likewise.
8000         (SEGV_MAPERR): Likewise.
8001         (SEGV_ACCERR): Likewise.
8002         (BUS_ADRALN): Likewise.
8003         (BUS_ADRERR): Likewise.
8004         (BUS_OBJERR): Likewise.
8005         (BUS_MCEERR_AR): Likewise.
8006         (BUS_MCEERR_AO): Likewise.
8007         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8008         (TRAP_TRACE): Likewise.
8009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8010         __USE_XOPEN2K8].
8011         (CLD_KILLED): Likewise.
8012         (CLD_DUMPED): Likewise.
8013         (CLD_TRAPPED): Likewise.
8014         (CLD_STOPPED): Likewise.
8015         (CLD_CONTINUED): Likewise.
8016         (POLL_IN): Likewise.
8017         (POLL_OUT): Likewise.
8018         (POLL_MSG): Likewise.
8019         (POLL_ERR): Likewise.
8020         (POLL_PRI): Likewise.
8021         (POLL_HUP): Likewise.
8022         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8023         (ILL_ILLOPN): Likewise.
8024         (ILL_ILLADR): Likewise.
8025         (ILL_ILLTRP): Likewise.
8026         (ILL_PRVOPC): Likewise.
8027         (ILL_PRVREG): Likewise.
8028         (ILL_COPROC): Likewise.
8029         (ILL_BADSTK): Likewise.
8030         (FPE_INTDIV): Likewise.
8031         (FPE_INTOVF): Likewise.
8032         (FPE_FLTDIV): Likewise.
8033         (FPE_FLTOVF): Likewise.
8034         (FPE_FLTUND): Likewise.
8035         (FPE_FLTRES): Likewise.
8036         (FPE_FLTINV): Likewise.
8037         (FPE_FLTSUB): Likewise.
8038         (SEGV_MAPERR): Likewise.
8039         (SEGV_ACCERR): Likewise.
8040         (BUS_ADRALN): Likewise.
8041         (BUS_ADRERR): Likewise.
8042         (BUS_OBJERR): Likewise.
8043         (BUS_MCEERR_AR): Likewise.
8044         (BUS_MCEERR_AO): Likewise.
8045         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8046         (TRAP_TRACE): Likewise.
8047         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8048         __USE_XOPEN2K8].
8049         (CLD_KILLED): Likewise.
8050         (CLD_DUMPED): Likewise.
8051         (CLD_TRAPPED): Likewise.
8052         (CLD_STOPPED): Likewise.
8053         (CLD_CONTINUED): Likewise.
8054         (POLL_IN): Likewise.
8055         (POLL_OUT): Likewise.
8056         (POLL_MSG): Likewise.
8057         (POLL_ERR): Likewise.
8058         (POLL_PRI): Likewise.
8059         (POLL_HUP): Likewise.
8060         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8061         (ILL_ILLOPN): Likewise.
8062         (ILL_ILLADR): Likewise.
8063         (ILL_ILLTRP): Likewise.
8064         (ILL_PRVOPC): Likewise.
8065         (ILL_PRVREG): Likewise.
8066         (ILL_COPROC): Likewise.
8067         (ILL_BADSTK): Likewise.
8068         (FPE_INTDIV): Likewise.
8069         (FPE_INTOVF): Likewise.
8070         (FPE_FLTDIV): Likewise.
8071         (FPE_FLTOVF): Likewise.
8072         (FPE_FLTUND): Likewise.
8073         (FPE_FLTRES): Likewise.
8074         (FPE_FLTINV): Likewise.
8075         (FPE_FLTSUB): Likewise.
8076         (SEGV_MAPERR): Likewise.
8077         (SEGV_ACCERR): Likewise.
8078         (BUS_ADRALN): Likewise.
8079         (BUS_ADRERR): Likewise.
8080         (BUS_OBJERR): Likewise.
8081         (BUS_MCEERR_AR): Likewise.
8082         (BUS_MCEERR_AO): Likewise.
8083         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8084         (TRAP_TRACE): Likewise.
8085         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8086         __USE_XOPEN2K8].
8087         (CLD_KILLED): Likewise.
8088         (CLD_DUMPED): Likewise.
8089         (CLD_TRAPPED): Likewise.
8090         (CLD_STOPPED): Likewise.
8091         (CLD_CONTINUED): Likewise.
8092         (POLL_IN): Likewise.
8093         (POLL_OUT): Likewise.
8094         (POLL_MSG): Likewise.
8095         (POLL_ERR): Likewise.
8096         (POLL_PRI): Likewise.
8097         (POLL_HUP): Likewise.
8098         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8099         (ILL_ILLOPN): Likewise.
8100         (ILL_ILLADR): Likewise.
8101         (ILL_ILLTRP): Likewise.
8102         (ILL_PRVOPC): Likewise.
8103         (ILL_PRVREG): Likewise.
8104         (ILL_COPROC): Likewise.
8105         (ILL_BADSTK): Likewise.
8106         (ILL_DBLFLT): Likewise.
8107         (ILL_HARDWALL): Likewise.
8108         (FPE_INTDIV): Likewise.
8109         (FPE_INTOVF): Likewise.
8110         (FPE_FLTDIV): Likewise.
8111         (FPE_FLTOVF): Likewise.
8112         (FPE_FLTUND): Likewise.
8113         (FPE_FLTRES): Likewise.
8114         (FPE_FLTINV): Likewise.
8115         (FPE_FLTSUB): Likewise.
8116         (SEGV_MAPERR): Likewise.
8117         (SEGV_ACCERR): Likewise.
8118         (BUS_ADRALN): Likewise.
8119         (BUS_ADRERR): Likewise.
8120         (BUS_OBJERR): Likewise.
8121         (BUS_MCEERR_AR): Likewise.
8122         (BUS_MCEERR_AO): Likewise.
8123         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8124         (TRAP_TRACE): Likewise.
8125         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8126         __USE_XOPEN2K8].
8127         (CLD_KILLED): Likewise.
8128         (CLD_DUMPED): Likewise.
8129         (CLD_TRAPPED): Likewise.
8130         (CLD_STOPPED): Likewise.
8131         (CLD_CONTINUED): Likewise.
8132         (POLL_IN): Likewise.
8133         (POLL_OUT): Likewise.
8134         (POLL_MSG): Likewise.
8135         (POLL_ERR): Likewise.
8136         (POLL_PRI): Likewise.
8137         (POLL_HUP): Likewise.
8138         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8139         (ILL_ILLOPN): Likewise.
8140         (ILL_ILLADR): Likewise.
8141         (ILL_ILLTRP): Likewise.
8142         (ILL_PRVOPC): Likewise.
8143         (ILL_PRVREG): Likewise.
8144         (ILL_COPROC): Likewise.
8145         (ILL_BADSTK): Likewise.
8146         (FPE_INTDIV): Likewise.
8147         (FPE_INTOVF): Likewise.
8148         (FPE_FLTDIV): Likewise.
8149         (FPE_FLTOVF): Likewise.
8150         (FPE_FLTUND): Likewise.
8151         (FPE_FLTRES): Likewise.
8152         (FPE_FLTINV): Likewise.
8153         (FPE_FLTSUB): Likewise.
8154         (SEGV_MAPERR): Likewise.
8155         (SEGV_ACCERR): Likewise.
8156         (BUS_ADRALN): Likewise.
8157         (BUS_ADRERR): Likewise.
8158         (BUS_OBJERR): Likewise.
8159         (BUS_MCEERR_AR): Likewise.
8160         (BUS_MCEERR_AO): Likewise.
8161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8162         (TRAP_TRACE): Likewise.
8163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8164         __USE_XOPEN2K8].
8165         (CLD_KILLED): Likewise.
8166         (CLD_DUMPED): Likewise.
8167         (CLD_TRAPPED): Likewise.
8168         (CLD_STOPPED): Likewise.
8169         (CLD_CONTINUED): Likewise.
8170         (POLL_IN): Likewise.
8171         (POLL_OUT): Likewise.
8172         (POLL_MSG): Likewise.
8173         (POLL_ERR): Likewise.
8174         (POLL_PRI): Likewise.
8175         (POLL_HUP): Likewise.
8176         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8177         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8178
8179         [BZ #16670]
8180         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8181         before #include of <time.h>.
8182         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8183         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8184         (test-xfail-UNIX98/sched.h/conform): Likewise.
8185
8186 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8187
8188         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8189         error absence of trapping exception support.
8190         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8191
8192 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8193
8194         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8195         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8196         * timezone/Makefile (testdata): Move definition above include of
8197         Rules.
8198         (test-zones): New variable.
8199         (tests-special): Add zone files.
8200         (build-testdata): Use $(evaluate-test).
8201
8202         * elf/Makefile (tests-special): Rename tests to end with .out.
8203         ($(objpfx)noload-mem): Likewise.
8204         ($(objpfx)tst-leaks1-mem): Likewise.
8205         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8206         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8207         $(objpfx)test-iconvconfig.out.
8208         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8209         set -e inside subshell and redirect output to file.
8210         * iconvdata/Makefile (generated): Rename tests to end with .out.
8211         Correct type.
8212         (tests-special): Rename tests to end with .out.
8213         ($(objpfx)mtrace-tst-loading): Likewise.
8214         * intl/Makefile (generated): Likewise.
8215         (tests-special): Likewise.
8216         ($(objpfx)mtrace-tst-gettext): Likewise.
8217         * misc/Makefile (generated): Likewise.
8218         (tests-special): Likewise.
8219         ($(objpfx)tst-error1-mem): Likewise.
8220         * nptl/Makefile (tests-special): Likewise.
8221         ($(objpfx)tst-stack3-mem): Likewise.
8222         (generated): Likewise.
8223         * posix/Makefile (generated): Likewise.
8224         (tests-special): Likewise.
8225         (xtests-special): Likewise.
8226         ($(objpfx)tst-fnmatch-mem): Likewise.
8227         ($(objpfx)bug-regex2-mem): Likewise.
8228         ($(objpfx)bug-regex14-mem): Likewise.
8229         ($(objpfx)bug-regex21-mem): Likewise.
8230         ($(objpfx)bug-regex31-mem): Likewise.
8231         ($(objpfx)tst-vfork3-mem): Likewise.
8232         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8233         ($(objpfx)tst-pcre-mem): Likewise.
8234         ($(objpfx)tst-boost-mem): Likewise.
8235         ($(objpfx)bug-ga2-mem): Likewise.
8236         ($(objpfx)bug-glob2-mem): Likewise.
8237         * resolv/Makefile (generate): Likewise.
8238         (tests-special): Likewise.
8239         (xtests-special): Likewise.
8240         (generated): Likewise.
8241         ($(objpfx)mtrace-tst-leaks): Likewise.
8242         ($(objpfx)mtrace-tst-leaks2): Likewise.
8243
8244         * scripts/merge-test-results.sh: New file.
8245         * Makefile (tests-special-notdir): New variable.
8246         (tests): Run merge-test-results.sh.
8247         (xtests): Likewise.
8248         * Rules (tests-special-notdir): New variable.
8249         (xtests-special-notdir): Likewise.
8250         (tests): Run merge-test-results.sh
8251         (xtests): Likewise.
8252
8253         * Makeconfig (test-xfail-name): New variable.
8254         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8255         compute variable name for expected failures.
8256         * conform/Makefile (conformtest-headers-data): New variable.
8257         (conformtest-standards): Likewise.
8258         (conformtest-headers-ISO): Likewise.
8259         (conformtest-headers-ISO99): Likewise.
8260         (conformtest-headers-ISO11): Likewise.
8261         (conformtest-headers-POSIX): Likewise.
8262         (conformtest-headers-XPG3): Likewise.
8263         (conformtest-headers-XPG4): Likewise.
8264         (conformtest-headers-UNIX98): Likewise.
8265         (conformtest-headers-XOPEN2K): Likewise.
8266         (conformtest-headers-POSIX2008): Likewise.
8267         (conformtest-headers-XOPEN2K8): Likewise.
8268         (conformtest-header-list-base): Likewise.
8269         (conformtest-header-list-tests): Likewise.
8270         (conformtest-header-base): Likewise.
8271         (conformtest-header-tests): Likewise.
8272         (tests-special): Add $(conformtest-header-list-tests).  If
8273         [$(fast-check) && !$(cross-compiling)], add
8274         $(conformtest-header-tests) instead of
8275         $(objpfx)run-conformtest.out.
8276         (generated): Add $(conformtest-header-list-base).  If
8277         [$(fast-check) && !$(cross-compiling)], add
8278         $(conformtest-header-base).  Remove previous setting.
8279         ($(conformtest-header-list-tests)): New target.
8280         (test-xfail-run-conformtest): Remove variable.
8281         ($(objpfx)run-conformtest.out): Remove target.
8282         (test-xfail-ISO11/complex.h/conform): New variable.
8283         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8284         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8285         (test-xfail-XPG3/varargs.h/conform): Likewise.
8286         (test-xfail-XPG4/varargs.h/conform): Likewise.
8287         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8288         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8289         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8290         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8291         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8292         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8293         (test-xfail-XPG3/ftw.h/conform): Likewise.
8294         (test-xfail-XPG3/grp.h/conform): Likewise.
8295         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8296         (test-xfail-XPG3/limits.h/conform): Likewise.
8297         (test-xfail-XPG3/pwd.h/conform): Likewise.
8298         (test-xfail-XPG3/search.h/conform): Likewise.
8299         (test-xfail-XPG3/signal.h/conform): Likewise.
8300         (test-xfail-XPG3/stdio.h/conform): Likewise.
8301         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8302         (test-xfail-XPG3/string.h/conform): Likewise.
8303         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8304         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8305         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8306         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8307         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8308         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8309         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8310         (test-xfail-XPG3/termios.h/conform): Likewise.
8311         (test-xfail-XPG3/time.h/conform): Likewise.
8312         (test-xfail-XPG3/unistd.h/conform): Likewise.
8313         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8314         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8315         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8316         (test-xfail-XPG4/netdb.h/conform): Likewise.
8317         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8318         (test-xfail-XPG4/signal.h/conform): Likewise.
8319         (test-xfail-XPG4/stdio.h/conform): Likewise.
8320         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8321         (test-xfail-XPG4/stropts.h/conform): Likewise.
8322         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8323         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8324         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8325         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8326         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8327         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8328         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8329         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8330         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8331         (test-xfail-XPG4/termios.h/conform): Likewise.
8332         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8333         (test-xfail-XPG4/unistd.h/conform): Likewise.
8334         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8335         (test-xfail-POSIX/sched.h/conform): Likewise.
8336         (test-xfail-POSIX/signal.h/conform): Likewise.
8337         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8338         (test-xfail-POSIX/tar.h/conform): Likewise.
8339         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8340         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8341         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8342         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8343         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8344         (test-xfail-UNIX98/sched.h/conform): Likewise.
8345         (test-xfail-UNIX98/signal.h/conform): Likewise.
8346         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8347         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8348         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8349         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8350         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8351         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8352         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8353         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8354         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8355         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8356         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8357         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8358         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8359         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8360         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8361         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8362         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8363         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8364         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8365         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8366         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8367         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8368         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8369         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8370         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8371         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8372         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8373         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8374         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8375         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8376         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8377         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8378         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8379         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8380         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8381         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8382         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8383         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8384         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8385         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8386         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8387         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8388         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8389         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8390         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8391         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8392         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8393         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8394         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8395         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8396         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8397         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8398         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8399         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8400         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8401         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8402         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8403         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8404         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8405         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8406         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8407         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8408         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8409         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8410         (conformtest-cc-flags): Likewise.
8411         ($(conformtest-header-tests): New target.
8412         * conform/check-header-lists.sh: New file.
8413         * conform/run-conformtest.sh: Remove.
8414
8415         * conform/conformtest.pl: Allow ' and \ in values given for
8416         constants.
8417         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8418         inclusion.
8419         [POSIX] (sys/types.h): Likewise.
8420         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8421         inclusion.
8422         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8423         inclusion.
8424         * conform/data/signal.h-data (SIGIO): Remove expectation.
8425         [XPG3] (SIGBUS): Do not expect.
8426         [POSIX || XPG3] (SIGPOLL): Likewise.
8427         [POSIX || XPG3] (SIGPROF): Likewise.
8428         [POSIX || XPG3] (SIGSYS): Likewise.
8429         [XPG3] (SIGTRAP): Likewise.
8430         [POSIX || XPG3] (SIGURG): Likewise.
8431         [POSIX || XPG3] (SIGVTALRM): Likewise.
8432         [POSIX || XPG3] (SIGXCPU): Likewise.
8433         [POSIX || XPG3] (SIGXFSZ): Likewise.
8434         [POSIX] (SA_SIGINFO): Expect.
8435         [XPG3] (siginfo_t): Do not expect type or contents.
8436         [POSIX] (si_pid): Do not expect element.
8437         [POSIX] (si_uid): Likewise.
8438         [POSIX] (si_addr): Likewise.
8439         [POSIX] (si_status): Likewise.
8440         [POSIX] (si_band): Likewise.
8441         [XPG4] (si_value): Likewise.
8442         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8443         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8444         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8445         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8446         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8447         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8448         [POSIX || XPG3] (ILL_COPROC): Likewise.
8449         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8450         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8451         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8452         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8453         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8454         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8455         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8456         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8457         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8458         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8459         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8460         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8461         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8462         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8463         [POSIX || XPG3] (CLD_EXITED): Likewise.
8464         [POSIX || XPG3] (CLD_KILLED): Likewise.
8465         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8466         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8467         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8468         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8469         [POSIX || XPG3] (POLL_IN): Likewise.
8470         [POSIX || XPG3] (POLL_OUT): Likewise.
8471         [POSIX || XPG3] (POLL_MSG): Likewise.
8472         [POSIX || XPG3] (POLL_ERR): Likewise.
8473         [POSIX || XPG3] (POLL_PRI): Likewise.
8474         [POSIX || XPG3] (POLL_HUP): Likewise.
8475         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8476         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8477         (SIG*): Do not allow.
8478         [XPG3] (si_*): Likewise.
8479         [XPG3] (SI_*): Likewise.
8480         [XPG3 || XPG4] (sigev_*): Likewise.
8481         [XPG3 || XPG4] (SIGEV_*): Likewise.
8482         [XPG3 || XPG4] (sival_*): Likewise.
8483         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8484         [POSIX || XPG3] (BUS_*): Likewise.
8485         [POSIX || XPG3] (CLD_*): Likewise.
8486         [POSIX || XPG3] (FPE_*): Likewise.
8487         [POSIX || XPG3] (ILL_*): Likewise.
8488         [POSIX || XPG3] (POLL_*): Likewise.
8489         [POSIX || XPG3] (SEGV_*): Likewise.
8490         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8491         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8492         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8493         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8494         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8495         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8496         Specify type and value.
8497         (TVERSLEN): Likewise.
8498         (REGTYPE): Likewise.
8499         (AREGTYPE): Likewise.
8500         (LNKTYPE): Likewise.
8501         (SYMTYPE): Likewise.
8502         (CHRTYPE): Likewise.
8503         (BLKTYPE): Likewise.
8504         (DIRTYPE): Likewise.
8505         (FIFOTYPE): Likewise.
8506         (CONTTYPE): Likewise.
8507         (TSUID): Likewise.
8508         (TSGID): Likewise.
8509         (TSVTX): Likewise.
8510         (TUREAD): Likewise.
8511         (TUWRITE): Likewise.
8512         (TUEXEC): Likewise.
8513         (TGREAD): Likewise.
8514         (TGWRITE): Likewise.
8515         (TGEXEC): Likewise.
8516         (TOREAD): Likewise.
8517         (TOWRITE): Likewise.
8518         (TOEXEC): Likewise.
8519         [POSIX] (TSVTX): Expect constant.
8520
8521 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8522
8523         * Makefile (tests): Change dependencies to ....
8524         (tests-special): ... additions to this variable.
8525         (tests): Depend on $(tests-special).
8526         * Makerules (check-abi-list): New variable.
8527         (check-abi): Depend on $(check-abi-list).
8528         [$(subdir) = elf] (tests-special): Add
8529         $(objpfx)check-abi-libc.out.
8530         [$(build-shared) = yes && subdir] (tests-special): Add
8531         $(check-abi-list).
8532         [$(build-shared) = yes && subdir] (tests): Do not depend on
8533         check-abi.
8534         * Rules (tests): Depend on $(tests-special).
8535         (xtests): Depend on $(xtests-special).
8536         * catgets/Makefile (tests): Change dependencies to ....
8537         (tests-special): ... additions to this variable.
8538         * conform/Makefile (tests): Change dependencies to ....
8539         (tests-special): ... additions to this variable.
8540         * elf/Makefile (tests): Change dependencies to ....
8541         (tests-special): ... additions to this variable.
8542         * grp/Makefile (tests): Change dependencies to ....
8543         (tests-special): ... additions to this variable.
8544         * iconv/Makefile (xtests): Change dependencies to ....
8545         (xtests-special): ... additions to this variable.
8546         * iconvdata/Makefile (tests): Change dependencies to ....
8547         (tests-special): ... additions to this variable.
8548         * intl/Makefile (tests): Change dependencies to ....
8549         (tests-special): ... additions to this variable.  Also add
8550         $(objpfx)tst-gettext.out.
8551         * io/Makefile (tests): Change dependencies to ....
8552         (tests-special): ... additions to this variable.
8553         * libio/Makefile (tests): Change dependencies to ....
8554         (tests-special): ... additions to this variable.
8555         * malloc/Makefile (tests): Change dependencies to ....
8556         (tests-special): ... additions to this variable.
8557         * misc/Makefile (tests): Change dependencies to ....
8558         (tests-special): ... additions to this variable.
8559         * nptl/Makefile (tests): Change dependencies to ....
8560         (tests-special): ... additions to this variable.
8561         * nptl_db/Makefile (tests): Change dependencies to ....
8562         (tests-special): ... additions to this variable.
8563         * posix/Makefile (tests): Change dependencies to ....
8564         (tests-special): ... additions to this variable.
8565         (xtests): Change dependencies to ....
8566         (xtests-special): ... additions to this variable.
8567         * resolv/Makefile (tests): Change dependencies to ....
8568         (tests-special): ... additions to this variable.
8569         (xtests): Change dependencies to ....
8570         (xtests-special): ... additions to this variable.
8571         * stdio-common/Makefile (tests): Change dependencies to ....
8572         (tests-special): ... additions to this variable.
8573         (do-tst-unbputc): Remove target.
8574         (do-tst-printf): Likewise.
8575         * stdlib/Makefile (tests): Change dependencies to ....
8576         (tests-special): ... additions to this variable.
8577         * string/Makefile (tests): Change dependencies to ....
8578         (tests-special): ... additions to this variable.
8579         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8580         (tests-special): ... additions to this variable.
8581
8582         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8583         whole file.
8584         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8585         whole file.
8586         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8587         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8588
8589         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8590         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8591         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8592         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8593         * conform/data/libgen.h-data [XPG3]: Likewise.
8594         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8595         * conform/data/ndbm.h-data [XPG3]: Likewise.
8596         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8597         * conform/data/netdb.h-data [XPG3]: Likewise.
8598         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8599         * conform/data/poll.h-data [XPG3]: Likewise.
8600         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8601         * conform/data/strings.h-data [XPG3]: Likewise.
8602         * conform/data/stropts.h-data [XPG3]: Likewise.
8603         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8604         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8605         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8606         Likewise.
8607         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8608         * conform/data/sys/time.h-data [XPG3]: Likewise.
8609         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8610         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8611         * conform/data/sys/un.h-data [XPG3]: Likewise.
8612         * conform/data/syslog.h-data [XPG3]: Likewise.
8613         * conform/data/ucontext.h-data [XPG3]: Likewise.
8614         * conform/data/utmpx.h-data [XPG3]: Likewise.
8615         * conform/data/varargs.h-data [UNIX98]: Enable file.
8616
8617         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8618
8619         * math/libm-test.inc (struct test_f_f_data): Move expected results
8620         into structure for each rounding mode.
8621         (struct test_ff_f_data): Likewise.
8622         (struct test_ff_f_data_nexttoward): Likewise.
8623         (struct test_fi_f_data): Likewise.
8624         (struct test_fl_f_data): Likewise.
8625         (struct test_if_f_data): Likewise.
8626         (struct test_fff_f_data): Likewise.
8627         (struct test_c_f_data): Likewise.
8628         (struct test_f_f1_data): Likewise.
8629         (struct test_fF_f1_data): Likewise.
8630         (struct test_ffI_f1_data): Likewise.
8631         (struct test_c_c_data): Likewise.
8632         (struct test_cc_c_data): Likewise.
8633         (struct test_f_i_data): Likewise.
8634         (struct test_ff_i_data): Likewise.
8635         (struct test_f_l_data): Likewise.
8636         (struct test_f_L_data): Likewise.
8637         (struct test_fFF_11_data): Likewise.
8638         (RM_): New macro.
8639         (RM_FE_DOWNWARD): Likewise.
8640         (RM_FE_TONEAREST): Likewise.
8641         (RM_FE_TOWARDZERO): Likewise.
8642         (RM_FE_UPWARD): Likewise.
8643         (RUN_TEST_LOOP_f_f): Update references to expected results.
8644         (RUN_TEST_LOOP_2_f): Likewise.
8645         (RUN_TEST_LOOP_fff_f): Likewise.
8646         (RUN_TEST_LOOP_c_f): Likewise.
8647         (RUN_TEST_LOOP_f_f1): Likewise.
8648         (RUN_TEST_LOOP_fF_f1): Likewise.
8649         (RUN_TEST_LOOP_fI_f1): Likewise.
8650         (RUN_TEST_LOOP_ffI_f1): Likewise.
8651         (RUN_TEST_LOOP_c_c): Likewise.
8652         (RUN_TEST_LOOP_cc_c): Likewise.
8653         (RUN_TEST_LOOP_f_i): Likewise.
8654         (RUN_TEST_LOOP_f_i_tg): Likewise.
8655         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8656         (RUN_TEST_LOOP_f_b): Likewise.
8657         (RUN_TEST_LOOP_f_b_tg): Likewise.
8658         (RUN_TEST_LOOP_f_l): Likewise.
8659         (RUN_TEST_LOOP_f_L): Likewise.
8660         (RUN_TEST_LOOP_fFF_11): Likewise.
8661         * math/gen-libm-test.pl (parse_args): Output four copies of
8662         expected results for each test.
8663
8664         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8665         (__ASSUME_UTIMES): Remove.
8666         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8667         (__ASSUME_UTIMES): Likewise.
8668
8669         * math/gen-auto-libm-tests.c: Update comment on output format.
8670         (output_for_one_input_case): Generate before-rounding and
8671         after-rounding information as conditions on output flags not
8672         floating-point format.
8673         * math/auto-libm-test-out: Regenerated.
8674         * math/gen-libm-test.pl (cond_value): New function.
8675         (or_cond_value): Use cond_value.
8676         (generate_testfile): Handle conditional exceptions.
8677
8678 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8679
8680         * math/libm-test.inc (max_valid_error): New variable.
8681         (init_max_error): Take new argument specifying whether function
8682         results are exactly determined.  Set max_valid_error and bound
8683         other variables for errors based on this argument.
8684         (set_max_error): Do not record results above max_valid_error.
8685         (check_float_internal): Only accept errors of up to 0.5ulps if
8686         also at most max_valid_error.
8687         (START): Take new argument EXACT and pass it to init_max_error.
8688         (acos_test): Update call to START.
8689         (acos_test_tonearest): Likewise.
8690         (acos_test_towardzero): Likewise.
8691         (acos_test_downward): Likewise.
8692         (acos_test_upward): Likewise.
8693         (acosh_test): Likewise.
8694         (asin_test): Likewise.
8695         (asin_test_tonearest): Likewise.
8696         (asin_test_towardzero): Likewise.
8697         (asin_test_downward): Likewise.
8698         (asin_test_upward): Likewise.
8699         (asinh_test): Likewise.
8700         (atan_test): Likewise.
8701         (atanh_test): Likewise.
8702         (atan2_test): Likewise.
8703         (cabs_test): Likewise.
8704         (cacos_test): Likewise.
8705         (cacosh_test): Likewise.
8706         (carg_test): Likewise.
8707         (casin_test): Likewise.
8708         (casinh_test): Likewise.
8709         (catan_test): Likewise.
8710         (catanh_test): Likewise.
8711         (cbrt_test): Likewise.
8712         (ccos_test): Likewise.
8713         (ccosh_test): Likewise.
8714         (ceil_test): Likewise.
8715         (cexp_test): Likewise.
8716         (cimag_test): Likewise.
8717         (clog_test): Likewise.
8718         (clog10_test): Likewise.
8719         (conj_test): Likewise.
8720         (copysign_test): Likewise.
8721         (cos_test): Likewise.
8722         (cos_test_tonearest): Likewise.
8723         (cos_test_towardzero): Likewise.
8724         (cos_test_downward): Likewise.
8725         (cos_test_upward): Likewise.
8726         (cosh_test): Likewise.
8727         (cosh_test_tonearest): Likewise.
8728         (cosh_test_towardzero): Likewise.
8729         (cosh_test_downward): Likewise.
8730         (cosh_test_upward): Likewise.
8731         (cpow_test): Likewise.
8732         (cproj_test): Likewise.
8733         (creal_test): Likewise.
8734         (csin_test): Likewise.
8735         (csinh_test): Likewise.
8736         (csqrt_test): Likewise.
8737         (ctan_test): Likewise.
8738         (ctan_test_tonearest): Likewise.
8739         (ctan_test_towardzero): Likewise.
8740         (ctan_test_downward): Likewise.
8741         (ctan_test_upward): Likewise.
8742         (ctanh_test): Likewise.
8743         (ctanh_test_tonearest): Likewise.
8744         (ctanh_test_towardzero): Likewise.
8745         (ctanh_test_downward): Likewise.
8746         (ctanh_test_upward): Likewise.
8747         (erf_test): Likewise.
8748         (erfc_test): Likewise.
8749         (exp_test): Likewise.
8750         (exp_test_tonearest): Likewise.
8751         (exp_test_towardzero): Likewise.
8752         (exp_test_downward): Likewise.
8753         (exp_test_upward): Likewise.
8754         (exp10_test): Likewise.
8755         (exp10_test_tonearest): Likewise.
8756         (exp10_test_towardzero): Likewise.
8757         (exp10_test_downward): Likewise.
8758         (exp10_test_upward): Likewise.
8759         (pow10_test): Likewise.
8760         (exp2_test): Likewise.
8761         (expm1_test): Likewise.
8762         (expm1_test_tonearest): Likewise.
8763         (expm1_test_towardzero): Likewise.
8764         (expm1_test_downward): Likewise.
8765         (expm1_test_upward): Likewise.
8766         (fabs_test): Likewise.
8767         (fdim_test): Likewise.
8768         (floor_test): Likewise.
8769         (fma_test): Likewise.
8770         (fma_test_towardzero): Likewise.
8771         (fma_test_downward): Likewise.
8772         (fma_test_upward): Likewise.
8773         (fmax_test): Likewise.
8774         (fmin_test): Likewise.
8775         (fmod_test): Likewise.
8776         (fpclassify_test): Likewise.
8777         (frexp_test): Likewise.
8778         (hypot_test): Likewise.
8779         (ilogb_test): Likewise.
8780         (isfinite_test): Likewise.
8781         (finite_test): Likewise.
8782         (isgreater_test): Likewise.
8783         (isgreaterequal_test): Likewise.
8784         (isinf_test): Likewise.
8785         (isless_test): Likewise.
8786         (islessequal_test): Likewise.
8787         (islessgreater_test): Likewise.
8788         (isnan_test): Likewise.
8789         (isnormal_test): Likewise.
8790         (issignaling_test): Likewise.
8791         (isunordered_test): Likewise.
8792         (j0_test): Likewise.
8793         (j1_test): Likewise.
8794         (jn_test): Likewise.
8795         (ldexp_test): Likewise.
8796         (lgamma_test): Likewise.
8797         (gamma_test): Likewise.
8798         (lrint_test): Likewise.
8799         (lrint_test_tonearest): Likewise.
8800         (lrint_test_towardzero): Likewise.
8801         (lrint_test_downward): Likewise.
8802         (lrint_test_upward): Likewise.
8803         (llrint_test): Likewise.
8804         (llrint_test_tonearest): Likewise.
8805         (llrint_test_towardzero): Likewise.
8806         (llrint_test_downward): Likewise.
8807         (llrint_test_upward): Likewise.
8808         (log_test): Likewise.
8809         (log10_test): Likewise.
8810         (log1p_test): Likewise.
8811         (log2_test): Likewise.
8812         (logb_test): Likewise.
8813         (logb_test_downward): Likewise.
8814         (lround_test): Likewise.
8815         (llround_test): Likewise.
8816         (modf_test): Likewise.
8817         (nearbyint_test): Likewise.
8818         (nextafter_test): Likewise.
8819         (nexttoward_test): Likewise.
8820         (pow_test): Likewise.
8821         (pow_test_tonearest): Likewise.
8822         (pow_test_towardzero): Likewise.
8823         (pow_test_downward): Likewise.
8824         (pow_test_upward): Likewise.
8825         (remainder_test): Likewise.
8826         (drem_test): Likewise.
8827         (remainder_test_tonearest): Likewise.
8828         (drem_test_tonearest): Likewise.
8829         (remainder_test_towardzero): Likewise.
8830         (drem_test_towardzero): Likewise.
8831         (remainder_test_downward): Likewise.
8832         (drem_test_downward): Likewise.
8833         (remainder_test_upward): Likewise.
8834         (drem_test_upward): Likewise.
8835         (remquo_test): Likewise.
8836         (rint_test): Likewise.
8837         (rint_test_tonearest): Likewise.
8838         (rint_test_towardzero): Likewise.
8839         (rint_test_downward): Likewise.
8840         (rint_test_upward): Likewise.
8841         (round_test): Likewise.
8842         (scalb_test): Likewise.
8843         (scalbn_test): Likewise.
8844         (scalbln_test): Likewise.
8845         (signbit_test): Likewise.
8846         (sin_test): Likewise.
8847         (sin_test_tonearest): Likewise.
8848         (sin_test_towardzero): Likewise.
8849         (sin_test_downward): Likewise.
8850         (sin_test_upward): Likewise.
8851         (sincos_test): Likewise.
8852         (sinh_test): Likewise.
8853         (sinh_test_tonearest): Likewise.
8854         (sinh_test_towardzero): Likewise.
8855         (sinh_test_downward): Likewise.
8856         (sinh_test_upward): Likewise.
8857         (sqrt_test): Likewise.
8858         (sqrt_test_tonearest): Likewise.
8859         (sqrt_test_towardzero): Likewise.
8860         (sqrt_test_downward): Likewise.
8861         (sqrt_test_upward): Likewise.
8862         (tan_test): Likewise.
8863         (tan_test_tonearest): Likewise.
8864         (tan_test_towardzero): Likewise.
8865         (tan_test_downward): Likewise.
8866         (tan_test_upward): Likewise.
8867         (tanh_test): Likewise.
8868         (tgamma_test): Likewise.
8869         (trunc_test): Likewise.
8870         (y0_test): Likewise.
8871         (y1_test): Likewise.
8872         (yn_test): Likewise.
8873         (significand_test): Likewise.
8874
8875         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8876         individual tests in comment.
8877         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8878         (prev_max_error): New variable.
8879         (prev_real_max_error): Likewise.
8880         (prev_imag_max_error): Likewise.
8881         (compare_ulp_data): Don't refer to test names in comment.
8882         (find_test_ulps): Remove function.
8883         (find_function_ulps): Likewise.
8884         (find_complex_function_ulps): Likewise.
8885         (init_max_error): Take function name as argument.  Look up ulps
8886         for that function.
8887         (print_ulps): Remove function.
8888         (print_max_error): Use prev_max_error instead of calling
8889         find_function_ulps.
8890         (print_complex_max_error): Use prev_real_max_error and
8891         prev_imag_max_error instead of calling find_complex_function_ulps.
8892         (check_float_internal): Take max_ulp parameter instead of calling
8893         find_test_ulps.  Don't call print_ulps.
8894         (check_float): Update call to check_float_internal.
8895         (check_complex): Update calls to check_float_internal.
8896         (START): Pass argument to init_max_error.
8897         * math/gen-libm-test.pl (%results): Don't include "kind"
8898         information.
8899         (parse_ulps): Don't handle ulps of individual tests.
8900         (print_ulps_file): Likewise.
8901         (output_ulps): Likewise.
8902         * math/README.libm-test: Update.
8903         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8904         individual tests.
8905         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8906         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8907         * sysdeps/arm/libm-test-ulps: Likewise.
8908         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8909         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8910         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8911         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8912         * sysdeps/microblaze/libm-test-ulps: Likewise.
8913         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8914         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8915         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8916         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8917         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8918         * sysdeps/sh/libm-test-ulps: Likewise.
8919         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8920         * sysdeps/tile/libm-test-ulps: Likewise.
8921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8922
8923 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8924
8925         * math/libm-test.inc (print_complex_max_error): Check separately
8926         whether real and imaginary errors are within allowed range and
8927         pass 0 to print_complex_function_ulps instead of value within
8928         allowed range.
8929
8930 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8931
8932         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8933         formatting.
8934         (get_handles_fopen): Likewise.
8935         (do_write_test): Likewise.
8936
8937         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8938
8939         * libio/fileops.c (do_ftell): Use cached offset when
8940         available.
8941         * libio/iofwide.c (do_ftell_wide): Likewise.
8942         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8943         _IO_file_attach.
8944         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8945
8946         [BZ #16532]
8947         * libio/libioP.h (get_file_offset): New function.
8948         * libio/fileops.c (get_file_offset): Likewise.
8949         (do_ftell): Likewise.
8950         (_IO_new_file_seekoff): Split out ftell logic.
8951         * libio/wfileops.c (do_ftell_wide): Likewise.
8952         (_IO_wfile_seekoff): Split out ftell logic.
8953         * libio/tst-ftell-active-handler.c: New test case.
8954         * libio/Makefile (tests): Add it.
8955
8956 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8957
8958         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8959         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8960
8961 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8962
8963         [BZ #16639]
8964         * nscd/connections.c (nscd_init): Call do_exit.
8965         (start_threads): Call do_exit and notify_parent.
8966         (begin_drop_privileges): Call do_exit.
8967         (finish_drop_privileges): Likewise.
8968         * nscd/selinux.c (preserve_capabilities): Likewise.
8969         (install_real_capabilities): Likewise.
8970         (nscd_selinux_enabled): Likewise.
8971         (avc_create_thread): Likewise.
8972         (avc_alloc_lock): Likewise.
8973         (nscd_avc_init): Likewise.
8974         * nscd/nscd.c (parent_fd): New static variable.
8975         (main): Create a pipe between parent and child processes.
8976         Skip closing parent_fd.
8977         (monitor_child): New function.
8978         (do_exit): Likewise.
8979         (notify_parent): Likewise.
8980         * nscd/nscd.h (notify_parent): Likewise.
8981         (do_exit): Likewise.
8982
8983 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8984
8985         * malloc/malloc.c (__libc_calloc): Revert last change.
8986
8987 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8988
8989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8990
8991 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8992
8993         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8995         implementation.
8996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8997         (__libc_ifunc_impl_list): Likewise.
8998         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8999         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9000         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9001         * string/strrchr.c: Define STRRCHR.
9002
9003 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9004
9005         * benchtest/bench-strtok.c (simple_strtok): Delete.
9006         (strtok_string): Use as benchmark.
9007         * string/strtok (STRTOK): New macro.
9008
9009 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9010
9011         * manual/threads.texi: Add header and standard comments to all
9012         functions.
9013
9014         * elf/dl-lookup.c (check_match): New function.
9015         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9016         (do_lookup_x): Remove nested function check_match. Use non-nested
9017         function check_match.
9018
9019 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9020
9021         * csu/Makefile (generated, before-compile): Use += rather than =.
9022         * catgets/Makefile (generated, generated-dirs): Likewise.
9023         * debug/Makefile (generated): Likewise.
9024         * dlfcn/Makefile (generated): Likewise.
9025         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9026         * iconvdata/Makefile (before-compile, generated): Likewise.
9027         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9028         * libio/Makefile (generated): Likewise.
9029         * malloc/Makefile (generated): Likewise.
9030         * manual/Makefile (generated, generated-dirs): Likewise.
9031         * misc/Makefile (generated): Likewise.
9032         * posix/Makefile (generated): Likewise.
9033         * resolv/Makefile (generated): Likewise.
9034         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9035         * timezone/Makefile (generated, generated-dirs): Likewise.
9036
9037         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9038
9039 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9040
9041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9042         power8 implementation.
9043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9044         file: POWER8 llround ifunc implementation.
9045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9046         (__lllround): Add POWER8 implementation.
9047         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9048         POWER8 llround implementation.
9049
9050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9051         power8 implementation.
9052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9053         file: POWER8 llrint ifunc implementation.
9054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9055         Add POWER8 implementation.
9056         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9057         POWER8 llrint implementation.
9058
9059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9060         power8 implementation.
9061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9062         file: POWER8 finite ifunc implementation.
9063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9064         Add POWER8 implementation.
9065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9066         Likewise.
9067         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9068         POWER8 finite implementation.
9069         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9070
9071         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9072         power8 implementation.
9073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9074         file: POWER8 isinf ifunc implementation.
9075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9076         POWER8 implementation.
9077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9078         Likewise.
9079         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9080         isinf implementation.
9081         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9082
9083         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9084         (INIT_ARCH): Add hwcap2 initialization.
9085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9086         power8 implementation.
9087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9088         file: POWER8 isnan ifunc implementation.
9089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9090         POWER8 implementation.
9091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9092         Likewise.
9093         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9094         isnan implementation.
9095         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9096
9097 2014-02-27  Joey Ye  <joey.ye@arm.com>
9098
9099         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9100         (_FP_NANFRAC_Q): Set to zero.
9101
9102 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9103
9104         [BZ #16623]
9105         * math/auto-libm-test-in: New test inputs.
9106         * math/auto-libm-test-out: Regenerate.
9107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9108         and DA.
9109         (__cos): Likewise.
9110         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9111
9112 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9113
9114         * scripts/evaluate-test.sh: Take new argument indicating whether
9115         failure is expected.
9116         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9117         indicating whether failure is expected.
9118         * conform/Makefile (test-xfail-run-conformtest): New variable.
9119         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9120         level.
9121         * posix/Makefile (test-xfail-annexc): New variable.
9122         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9123
9124 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9125
9126         * argp/Makefile: Include Makeconfig immediately after defining
9127         subdir.
9128         * assert/Makefile: Likewise.
9129         * benchtests/Makefile: Likewise.
9130         * catgets/Makefile: Likewise.
9131         * conform/Makefile: Likewise.
9132         * crypt/Makefile: Likewise.
9133         * csu/Makefile: Likewise.
9134         (all): Remove target.
9135         * ctype/Makefile: Include Makeconfig immediately after defining
9136         subdir.
9137         * debug/Makefile: Likewise.
9138         * dirent/Makefile: Likewise.
9139         * dlfcn/Makefile: Likewise.
9140         * gmon/Makefile: Likewise.
9141         * gnulib/Makefile: Likewise.
9142         * grp/Makefile: Likewise.
9143         * gshadow/Makefile: Likewise.
9144         * hesiod/Makefile: Likewise.
9145         * hurd/Makefile: Likewise.
9146         (all): Remove target.
9147         * iconvdata/Makefile: Include Makeconfig immediately after
9148         defining subdir.
9149         * inet/Makefile: Likewise.
9150         * intl/Makefile: Likewise.
9151         * io/Makefile: Likewise.
9152         * libio/Makefile: Likewise.
9153         (all): Remove target.
9154         * locale/Makefile: Include Makeconfig immediately after defining
9155         subdir.
9156         * login/Makefile: Likewise.
9157         * mach/Makefile: Likewise.
9158         (all): Remove target.
9159         * malloc/Makefile: Include Makeconfig immediately after defining
9160         subdir.
9161         (all): Remove target.
9162         * manual/Makefile: Include Makeconfig immediately after defining
9163         subdir.
9164         * math/Makefile: Likewise.
9165         * misc/Makefile: Likewise.
9166         * nis/Makefile: Likewise.
9167         * nss/Makefile: Likewise.
9168         * po/Makefile: Likewise.
9169         (all): Remove target.
9170         * posix/Makefile: Include Makeconfig immediately after defining
9171         subdir.
9172         * pwd/Makefile: Likewise.
9173         * resolv/Makefile: Likewise.
9174         * resource/Makefile: Likewise.
9175         * rt/Makefile: Likewise.
9176         * setjmp/Makefile: Likewise.
9177         * shadow/Makefile: Likewise.
9178         * signal/Makefile: Likewise.
9179         * socket/Makefile: Likewise.
9180         * soft-fp/Makefile: Likewise.
9181         * stdio-common/Makefile: Likewise.
9182         * stdlib/Makefile: Likewise.
9183         * streams/Makefile: Likewise.
9184         * string/Makefile: Likewise.
9185         * sunrpc/Makefile: Likewise.
9186         (all): Remove target.
9187         * sysvipc/Makefile: Include Makeconfig immediately after defining
9188         subdir.
9189         * termios/Makefile: Likewise.
9190         * time/Makefile: Likewise.
9191         * timezone/Makefile: Likewise.
9192         (all): Remove target.
9193         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9194         subdir.
9195         * wctype/Makefile: Likewise.
9196
9197 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9198
9199         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9200         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9201         (libc_feholdexcept_setround_mips): Ditto.
9202         (libc_feholdsetround): New.
9203         (libc_feholdsetroundf): New.
9204         (libc_feholdsetroundl): New.
9205         (libc_feupdateenv_test_mips): New.
9206         (libc_feupdateenv_test): New.
9207         (libc_feupdateenv_testf): New.
9208         (libc_feupdateenv_testl): New.
9209         (libc_feresetround): New.
9210         (libc_feresetroundf): New.
9211         (libc_feresetroundl): New.
9212         (libc_fetestexcept_mips): New.
9213         (libc_fetestexcept): New.
9214         (libc_fetestexceptf): New.
9215         (libc_fetestexceptl): New.
9216         (HAVE_RM_CTX): New.
9217         (libc_feholdexcept_setround_mips_ctx): New.
9218         (libc_feholdexcept_setround_ctx): New.
9219         (libc_feholdexcept_setroundf_ctx): New.
9220         (libc_feholdexcept_setroundl_ctx): New.
9221         (libc_fesetenv_mips_ctx): New.
9222         (libc_fesetenv_ctx): New.
9223         (libc_fesetenv_ctxf): New.
9224         (libc_fesetenv_ctxl): New.
9225         (libc_feupdateenv_mips_ctx): New.
9226         (libc_feupdateenv_ctx): New.
9227         (libc_feupdateenvf_ctx): New.
9228         (libc_feupdateenvl_ctx): New.
9229         (libc_feholdsetround_mips_ctx): New.
9230         (libc_feholdsetround_ctx): New.
9231         (libc_feholdsetroundf_ctx): New.
9232         (libc_feholdsetroundl_ctx): New.
9233         (libc_feresetround_mips_ctx): New.
9234         (libc_feresetround_ctx): New.
9235         (libc_feresetroundf_ctx): New.
9236         (libc_feresetroundl_ctx): New.
9237
9238 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9239
9240         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9241
9242         * manual/ipc.texi: New file.
9243         * manual/Makefile (chapters): Add ipc.
9244         * manual/job.texi: Add "Inter-Process Communication" to next.
9245         * manual/process.texi: Add "Inter-Process Communication" to prev.
9246
9247 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9248
9249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9250
9251 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9252
9253         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9254
9255         * manual/arith.texi: Fix spaces after sentences.
9256         * manual/charset.texi: Likewise.
9257         * manual/errno.texi: Likewise.
9258         * manual/install.texi: Likewise.
9259         * manual/llio.texi: Likewise.
9260         * manual/locale.texi: Likewise.
9261         * manual/maint.texi: Likewise.
9262         * manual/math.texi: Likewise.
9263         * manual/memory.texi: Likewise.
9264         * manual/message.texi: Likewise.
9265         * manual/probes.texi: Likewise.
9266         * manual/resource.texi: Likewise.
9267         * manual/signal.texi: Likewise.
9268         * manual/socket.texi: Likewise.
9269         * manual/stdio.texi: Likewise.
9270         * manual/string.texi: Likewise.
9271         * manual/time.texi: Likewise.
9272         * manual/users.texi: Likewise.
9273
9274 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9275
9276         [BZ #16632]
9277         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9278         _DEFAULT_SOURCE is defined.
9279
9280 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9281             Carlos O'Donell  <carlos@redhat.com>
9282
9283         [BZ #16613]
9284         * elf/dl-tls.c (_dl_count_modids): New function.
9285         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9286         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9287         audit library and increment generation counter.
9288         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9289         * elf/tst-audit9.c: New file.
9290         * elf/tst-auditmod9a.c: New file.
9291         * elf/tst-auditmod9b.c: New file.
9292         * elf/Makefile: Add rules to build and run tst-audit9.
9293
9294 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9295
9296         [BZ #15347]
9297         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9298
9299 2014-02-25  Will Newton  <will.newton@linaro.org>
9300
9301         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9302         (__longjmp): Restore sp and lr before restoring callee
9303         saved registers.  Add longjmp and longjmp_target
9304         SystemTap probe point.
9305         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9306         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9307         Define to zero to match jmpbuf layout.
9308         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9309         (__sigsetjmp): Save sp and lr before saving callee
9310         saved registers.  Add setjmp SystemTap probe point.
9311
9312 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9313
9314         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9315
9316 2014-02-24  Andreas Schwab  <schwab@suse.de>
9317
9318         [BZ #15804]
9319         * elf/pldd.c (wait_for_ptrace_stop): New function.
9320         (main): Call it after attaching.
9321
9322 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9323
9324         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9325         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9326         Versions files is now verboten.
9327         * hurd/Versions (libc: GLIBC_2.0):
9328         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9329         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9330         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9331         * mach/Versions: Likewise.
9332
9333         * csu/Versions: Remove unused %include.
9334         * resolv/Versions: Likewise.
9335
9336 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9337
9338         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9339         ($(objpfx)check-local-headers.out): Likewise.
9340         ($(objpfx)begin-end-check.out): Likewise.
9341         * Makerules (check-abi-%.out): Likewise.
9342         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9343         ($(objpfx)test2.cat): Likewise.
9344         ($(objpfx)de/libc.cat): Likewise.
9345         ($(objpfx)test-gencat.out): Likewise.
9346         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9347         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9348         ($(objpfx)noload-mem): Likewise.
9349         ($(objpfx)tst-pathopt.out): Likewise.
9350         ($(objpfx)tst-rtld-load-self.out): Likewise.
9351         ($(objpfx)tst-array1-cmp.out): Likewise.
9352         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9353         ($(objpfx)tst-array2-cmp.out): Likewise.
9354         ($(objpfx)tst-array3-cmp.out): Likewise.
9355         ($(objpfx)tst-array4-cmp.out): Likewise.
9356         ($(objpfx)tst-array5-cmp.out): Likewise.
9357         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9358         ($(objpfx)check-textrel.out): Likewise.
9359         ($(objpfx)check-execstack.out): Likewise.
9360         ($(objpfx)check-localplt.out): Likewise.
9361         ($(objpfx)order2-cmp.out): Likewise.
9362         ($(objpfx)tst-leaks1-mem): Likewise.
9363         ($(objpfx)tst-leaks1-static-mem): Likewise.
9364         ($(objpfx)tst-initorder-cmp.out): Likewise.
9365         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9366         ($(objpfx)tst-unused-dep.out): Likewise.
9367         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9368         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9369         * iconv/Makefile (test-iconvconfig): Likewise.
9370         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9371         ($(objpfx)iconv-test.out): Likewise.
9372         ($(objpfx)tst-tables.out): Likewise.
9373         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9374         ($(objpfx)tst-gettext.out): Likewise.
9375         ($(objpfx)tst-translit.out): Likewise.
9376         ($(objpfx)tst-gettext2.out): Likewise.
9377         ($(objpfx)tst-gettext4.out): Likewise.
9378         ($(objpfx)tst-gettext6.out): Likewise.
9379         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9380         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9381         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9382         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9383         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9384         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9385         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9386         ($(objpfx)wordexp-tst.out): Likewise.
9387         ($(objpfx)annexc.out): Likewise.
9388         ($(objpfx)tst-fnmatch-mem): Likewise.
9389         ($(objpfx)bug-regex2-mem): Likewise.
9390         ($(objpfx)bug-regex14-mem): Likewise.
9391         ($(objpfx)bug-regex21-mem): Likewise.
9392         ($(objpfx)bug-regex31-mem): Likewise.
9393         ($(objpfx)tst-vfork3-mem): Likewise.
9394         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9395         ($(objpfx)tst-pcre-mem): Likewise.
9396         ($(objpfx)tst-boost-mem): Likewise.
9397         ($(objpfx)tst-getconf.out): Likewise.
9398         ($(objpfx)bug-ga2-mem): Likewise.
9399         ($(objpfx)bug-glob2-mem): Likewise.
9400         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9401         ($(objpfx)mtrace-tst-leaks2): Likewise.
9402         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9403         ($(objpfx)tst-printf.out): Likewise.
9404         ($(objpfx)tst-setvbuf1.out): Likewise.
9405         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9406         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9407         ($(objpfx)tst-fmtmsg.out): Likewise.
9408         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9409         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9410
9411         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9412         * bits/sigaction.h [__USE_MISC]: Likewise.
9413         * bits/waitstatus.h: Update #endif comments.
9414         * ctype/ctype.h: Likewise.
9415         * dirent/dirent.h: Likewise.
9416         [__USE_MISC]: Remove redundant conditionals.
9417         * grp/grp.h: Update #endif comments.
9418         [__USE_GNU]: Remove redundant conditionals.
9419         [__USE_MISC]: Likewise.
9420         * inet/netinet/in.h [__USE_GNU]: Likewise.
9421         * io/sys/stat.h [__USE_MISC]: Likewise.
9422         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9423         * libio/bits/stdio.h: Update #endif comments.
9424         [__USE_MISC]: Remove redundant conditionals.
9425         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9426         * libio/stdio.h: Update #endif comments.
9427         [__USE_MISC]: Remove redundant conditionals.
9428         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9429         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9430         * math/math.h: Update #else and #endif comments.
9431         [__USE_MISC]: Remove redundant conditionals.
9432         * misc/sys/uio.h: Update #endif comments.
9433         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9434         * posix/glob.h [__USE_MISC]: Likewise.
9435         * posix/sys/types.h: Update #endif comments.
9436         [__USE_MISC]: Remove redundant conditionals.
9437         * posix/sys/wait.h: Update #endif comments.
9438         [__USE_MISC]: Remove redundant conditionals.
9439         * posix/unistd.h: Update #endif comments.
9440         [__USE_MISC]: Remove redundant conditionals.
9441         * pwd/pwd.h [__USE_GNU]: Likewise.
9442         [__USE_MISC]: Likewise.
9443         * resolv/netdb.h [__USE_GNU]: Likewise.
9444         * signal/signal.h: Update #endif comments.
9445         [__USE_MISC]: Remove redundant conditionals.
9446         * stdlib/stdlib.h: Update #else and #endif comments.
9447         [__USE_MISC]: Remove redundant conditionals.
9448         [__USE_GNU]: Likewise.
9449         * string/bits/string2.h [__USE_MISC]: Likewise.
9450         * string/string.h: Update #endif comments.
9451         [__USE_MISC]: Remove redundant conditionals.
9452         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9453         Likewise.
9454         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9455         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9456         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9457         Likewise.
9458         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9459         Likewise.
9460         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9461         comments.
9462         [__USE_MISC]: Remove redundant conditionals.
9463         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9464         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9465         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9466         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9467         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9468         Likewise.
9469         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9470         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9471         Likewise.
9472         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9473         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9474         Likewise.
9475         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9476         Likewise.
9477         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9478         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9479         Likewise.
9480         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9481         Likewise.
9482         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9483         * sysdeps/x86/bits/string.h: Update #endif comments.
9484         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9485         conditionals.
9486         * time/sys/time.h: Update #endif comments.
9487         * time/time.h: Likewise.
9488         [__USE_MISC]: Remove redundant conditionals.
9489
9490 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9491
9492         [BZ #16600]
9493         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9494
9495 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9496
9497         * Versions.def (librt): Add GLIBC_2.17.
9498
9499 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9500
9501         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9502         synonym for _SYS_AUXV_H to allow direct inclusion.
9503         * sysdeps/sparc/bits/hwcap.h: Likewise.
9504         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9505         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9506         * sysdeps/sparc/sysdep.h: Likewise.
9507
9508 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9509
9510         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9511
9512 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9513
9514         * benchtests/bench-strrchr.c: Print length instead of position.
9515
9516 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9517
9518         [BZ #16611]
9519         * sysdeps/unix/sysv/linux/kernel-features.h
9520         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9521         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9522         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9523         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9524         Likewise.
9525         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9526         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9527         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9528         (__ASSUME_SENDMMSG): Define instead of using previous
9529         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9530         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9531         (__ASSUME_SENDMMSG_SYSCALL): Define.
9532         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9533         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9534         Likewise.
9535         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9536         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9537         Likewise.
9538         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9539         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9540         Likewise.
9541         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9542         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9543         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9544         [__ASSUME_SENDMMSG]: Change conditionals to
9545         [__ASSUME_SENDMMSG_SOCKETCALL].
9546         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9547         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9548         Define.
9549         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9550         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9551         Likewise.
9552         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9553         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9554         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9555         [!__ASSUME_SENDMMSG]: Change conditional to
9556         [!__ASSUME_SENDMMSG_SOCKETCALL].
9557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9558         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9559         Define.
9560
9561         [BZ #16610]
9562         * sysdeps/unix/sysv/linux/kernel-features.h
9563         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9564         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9565         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9566         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9567         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9568         [__i386__ || __sparc__]
9569         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9570         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9571         (__ASSUME_RECVMMSG): Define instead of using previous
9572         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9573         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9574         (__ASSUME_RECVMMSG_SYSCALL): Define.
9575         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9576         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9577         Likewise.
9578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9579         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9580         Likewise.
9581         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9582         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9583         Likewise.
9584         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9585         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9586         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9587         [__ASSUME_RECVMMSG]: Change condition to
9588         [__ASSUME_RECVMMSG_SOCKETCALL].
9589         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9590         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9591         Define.
9592         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9593         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9595         Likewise.
9596         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9597         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9598         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9599         [!__ASSUME_RECVMMSG]: Change condition to
9600         [!__ASSUME_RECVMMSG_SOCKETCALL].
9601         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9602         (__ASSUME_RECVMMSG_SYSCALL): Define.
9603
9604         [BZ #16609]
9605         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9606         __powerpc__ || __s390__ || __sh__ || __sparc__]
9607         (__ASSUME_SOCKETCALL): Define.
9608         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9609         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9610         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9611         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9612         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9613         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9614         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9615         (__ASSUME_ACCEPT4): Define instead of using previous
9616         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9617         __powerpc__ || __sparc__ || __s390__)] condition.
9618         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9619         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9620         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9621         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9622         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9623         [!__ASSUME_ACCEPT4]: Change condition to
9624         [!__ASSUME_ACCEPT4_SOCKETCALL].
9625         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9626         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9627         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9628         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9629         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9630         __ASSUME_ACCEPT4_SYSCALL.
9631         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9632         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9633         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9634         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9635         __ASSUME_ACCEPT4_SYSCALL.
9636         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9637         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9638         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9639         [__ASSUME_ACCEPT4]: Change condition to
9640         [__ASSUME_ACCEPT4_SOCKETCALL].
9641         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9642         (__ASSUME_SOCKETCALL): Define.
9643         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9645         (__ASSUME_SOCKETCALL): Define.
9646         (__ASSUME_ACCEPT4): Remove.
9647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9648         Define.
9649         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9650         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9651         Likewise.
9652         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9653         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9654
9655         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9656         macro.
9657         (HWCAP_ARM_LPAE): Likewise.
9658         (HWCAP_ARM_EVTSTRM): Likewise.
9659         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9660         Add vpfd32, lpae and evtstrm.
9661         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9662         Increase to 22.
9663
9664 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9665
9666         * math/auto-libm-test-in: Add tests of clog10.
9667         * math/auto-libm-test-out: Regenerated.
9668         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9669         * sysdeps/i386/fpu/libm-test-ulps: Update.
9670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9671
9672 2014-02-18  Andreas Schwab  <schwab@suse.de>
9673
9674         [BZ #16574]
9675         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9676         Store non-zero if the second buffer was newly allocated.
9677         (send_dg): Likewise.
9678         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9679         to send_vc and send_dg.
9680         (res_nsend): Pass NULL for ansp2_malloced.
9681         * resolv/res_query.c (__libc_res_nquery): Add parameter
9682         answerp2_malloced and pass it down to __libc_res_nsend.
9683         (res_nquery): Pass additional NULL to __libc_res_nquery.
9684         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9685         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9686         second answer buffer if answerp2_malloced was set.
9687         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9688         (__libc_res_nquerydomain): Add parameter
9689         answerp2_malloced and pass it down to __libc_res_nquery.
9690         (res_nquerydomain): Pass additional NULL to
9691         __libc_res_nquerydomain.
9692         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9693         additional NULL to __libc_res_nsend and __libc_res_nquery.
9694         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9695         additional NULL to __libc_res_nsearch.
9696         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9697         parameter of __libc_res_nsearch to check for separately allocated
9698         second buffer.
9699         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9700         __libc_res_nquery.
9701         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9702         additional NULL to __libc_res_nquery.
9703         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9704         __libc_res_nsearch.
9705         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9706         * include/resolv.h: Update prototypes of __libc_res_nquery,
9707         __libc_res_nsearch, __libc_res_nsend.
9708
9709 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9710
9711         * math/auto-libm-test-in: Add tests of fma.
9712         * math/auto-libm-test-out: Regenerated.
9713         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9714         (fma_towardzero_test_data): Likewise.
9715         (fma_downward_test_data): Likewise.
9716         (fma_upward_test_data): Likewise.
9717         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9718         mpc_mode.
9719         (rounding_modes): Add values for new field.
9720         (func_calc_method): Add value mpfr_fff_f.
9721         (func_calc_desc): Add mpfr_fff_f union field.
9722         (test_function): Add field exact_args.
9723         (FUNC): Add macro argument EXACT_ARGS.
9724         (FUNC_mpfr_f_f): Update call to FUNC.
9725         (FUNC_mpfr_f_f): Likewise.
9726         (FUNC_mpfr_ff_f): Likewise.
9727         (FUNC_mpfr_if_f): Likewise.
9728         (FUNC_mpc_c_f): Likewise.
9729         (FUNC_mpc_c_c): Likewise.
9730         (test_functions): Add fma.  Update calls to FUNC.
9731         (handle_input_arg): Add argument exact_args.
9732         (add_test): Update call to handle_input_arg.
9733         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9734         (output_for_one_input_case): Update call to calc_generic_results.
9735         Recalculate exact zero results in each rounding mode.
9736
9737         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9738         non-negative before setting low bit.
9739         * math/auto-libm-test-in: Mark one asin test possibly having
9740         spurious underflow.
9741         * math/auto-libm-test-out: Regenerated.
9742         * sysdeps/i386/fpu/libm-test-ulps: Update.
9743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9744
9745 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9746
9747         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9748         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9749         ports/sysdeps/unix/sysv/linux/microblaze.
9750         * README: Add missing listing for microblaze*-*-linux-gnu.
9751
9752 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9753
9754         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9755         * sysdeps/unix/sysv/linux/ia64: Move directory from
9756         ports/sysdeps/unix/sysv/linux/ia64.
9757         * README: Update listing for ia64-*-linux-gnu.
9758
9759 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9760             Joseph Myers  <joseph@codesourcery.com>
9761
9762         * Makeconfig (test-name): New variable.
9763         (evaluate-test): Likewise.
9764         * Makerules (do-test-clean): Remove .test-result files.
9765         (common-mostlyclean): Likewise.
9766         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9767         * scripts/evaluate-test.sh: New file.
9768
9769 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9770
9771         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9772         separate $(objpfx)tst-fopenloc-cmp.out and
9773         $(objpfx)tst-fopenloc-mem.out targets.
9774         (tests): Update dependencies.
9775         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9776         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9777         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9778         (tst-rxspencer-no-utf8-ARGS): New variable.
9779         (tst-rxspencer-no-utf8-ENV): Likewise.
9780         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9781         instead of $(objpfx)tst-rxspencer-mem.
9782         ($(objpfx)tst-rxspencer-mem): Change target to
9783         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9784         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9785         * posix/tst-rxspencer-no-utf8.c: New file.
9786
9787         * elf/Makefile ($(objpfx)order.out): Remove rule.
9788         [$(run-built-tests) = yes] (tests): Depend on
9789         $(objpfx)order-cmp.out.
9790         ($(objpfx)order-cmp.out): New rule.
9791         [$(run-built-tests) = yes] (tests): Depend on
9792         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9793         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9794         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9795         $(objpfx)tst-array5-static-cmp.out.
9796         ($(objpfx)tst-array1.out): Remove rule.
9797         ($(objpfx)tst-array1-cmp.out): New rule.
9798         ($(objpfx)tst-array1-static.out): Remove rule.
9799         ($(objpfx)tst-array1-static-cmp.out): New rule.
9800         ($(objpfx)tst-array2.out): Remove rule.
9801         ($(objpfx)tst-array2-cmp.out): New rule.
9802         ($(objpfx)tst-array3.out): Remove rule.
9803         ($(objpfx)tst-array3-cmp.out): New rule.
9804         ($(objpfx)tst-array4.out): Remove rule.
9805         ($(objpfx)tst-array4-cmp.out): New rule.
9806         ($(objpfx)tst-array5.out): Remove rule.
9807         ($(objpfx)tst-array5-cmp.out): New rule.
9808         ($(objpfx)tst-array5-static.out): Remove rule.
9809         ($(objpfx)tst-array5-static-cmp.out): New rule.
9810         [$(run-built-tests) = yes] (tests): Depend on
9811         $(objpfx)order2-cmp.out.
9812         ($(objpfx)order2.out): Remove rule.
9813         ($(objpfx)order2-cmp.out): New rule.
9814         ($(objpfx)tst-initorder.out): Remove rule.
9815         [$(run-built-tests) = yes] (tests): Depend on
9816         $(objpfx)tst-initorder-cmp.out.
9817         ($(objpfx)tst-initorder-cmp.out): New rule.
9818         ($(objpfx)tst-initorder2.out): Remove rule.
9819         [$(run-built-tests) = yes] (tests): Depend on
9820         $(objpfx)tst-initorder2-cmp.out.
9821         ($(objpfx)tst-initorder2-cmp.out): New rule.
9822         [$(run-built-tests) = yes] (tests): Depend on
9823         $(objpfx)tst-unused-dep-cmp.out.
9824         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9825         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9826         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9827         on $(objpfx)tst-setvbuf1-cmp.out.
9828         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9829         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9830         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9831         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9832         ($(objpfx)tst-svc.out): Remove rule.
9833         ($(objpfx)tst-svc-cmp.out): New rule.
9834
9835 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9836
9837         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9838         * ctype/ctype.h [__USE_MISC]: Likewise.
9839         * dirent/dirent.h [__USE_MISC]: Likewise.
9840         * grp/grp.h [__USE_MISC]: Likewise.
9841         * io/fcntl.h [__USE_MISC]: Likewise.
9842         * io/sys/stat.h [__USE_MISC]: Likewise.
9843         * libio/stdio.h [__USE_MISC]: Likewise.
9844         * posix/unistd.h [__USE_MISC]: Likewise.
9845         * pwd/pwd.h [__USE_MISC]: Likewise.
9846         * stdlib.h [__USE_MISC]: Likewise.
9847         * string/bits/string2.h [__USE_MISC]: Likewise.
9848         * string/string.h [__USE_MISC]: Likewise.
9849         * time/time.h [__USE_MISC]: Likewise.
9850
9851 2014-02-13  Andreas Schwab  <schwab@suse.de>
9852
9853         [BZ #16574]
9854         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9855         second answer buffer if it was separately allocated.
9856
9857 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9858
9859         * sysdeps/mips/math-tests.h: Include <features.h>.
9860         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9861         (ROUNDING_TESTS_long_double): Do not define.
9862         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9863         (EXCEPTION_TESTS_long_double): Likewise.
9864         * sysdeps/mips/mips64/libm-test-ulps: Update.
9865
9866         * include/features.h (__USE_BSD): Remove macro definitions.
9867         (__USE_SVID): Likewise.
9868         (_BSD_SOURCE): Likewise.
9869         (_SVID_SOURCE): Likewise.
9870         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9871         from definition of _DEFAULT_SOURCE.
9872         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9873         [_DEFAULT_SOURCE].
9874         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9875         * bits/mman.h [__USE_BSD]: Likewise.
9876         * bits/termios.h [__USE_BSD]: Likewise.
9877         * bits/waitstatus.h [__USE_BSD]: Likewise.
9878         * ctype/ctype.h [__USE_SVID]: Likewise.
9879         * dirent/dirent.h [__USE_BSD]: Likewise.
9880         * grp/grp.h [__USE_SVID]: Likewise.
9881         [__USE_BSD]: Likewise.
9882         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9883         * io/fcntl.h [__USE_BSD]: Likewise.
9884         * io/ftw.h [__USE_BSD]: Likewise.
9885         * io/sys/stat.h [__USE_BSD]: Likewise.
9886         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9887         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9888         * libio/stdio.h [__USE_SVID]: Likewise.
9889         [__USE_BSD]: Likewise.
9890         * math/math.h [__USE_SVID]: Likewise.
9891         [__USE_BSD]: Likewise.
9892         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9893         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9894         * misc/search.h [__USE_SVID]: Likewise.
9895         * misc/sys/mman.h [__USE_BSD]: Likewise.
9896         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9897         * misc/sys/uio.h [__USE_BSD]: Likewise.
9898         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9899         * posix/glob.h [__USE_BSD]: Likewise.
9900         * posix/regex.h [__USE_BSD]: Likewise.
9901         * posix/sys/types.h [__USE_BSD]: Likewise.
9902         [__USE_SVID]: Likewise.
9903         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9904         * posix/sys/wait.h [__USE_BSD]: Likewise.
9905         [__USE_SVID]: Likewise.
9906         * posix/unistd.h [__USE_BSD]: Likewise.
9907         [__USE_SVID]: Likewise.
9908         * pwd/pwd.h [__USE_SVID]: Likewise.
9909         * resolv/netdb.h [__USE_BSD]: Likewise.
9910         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9911         * signal/signal.h [__USE_BSD]: Likewise.
9912         [__USE_SVID]: Likewise.
9913         * socket/sys/socket.h [__USE_BSD]: Likewise.
9914         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9915         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9916         [__USE_SVID]: Likewise.
9917         * string/bits/string2.h [__USE_BSD]: Likewise.
9918         [__USE_SVID]: Likewise.
9919         * string/bits/string3.h [__USE_BSD]: Likewise.
9920         * string/endian.h [__USE_BSD]: Likewise.
9921         * string/string.h [__USE_SVID]: Likewise.
9922         [__USE_BSD]: Likewise.
9923         * string/strings.h [__USE_BSD]: Likewise.
9924         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9925         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9926         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9927         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9928         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9929         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9930         Likewise.
9931         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9932         Likewise.
9933         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9934         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9935         Likewise.
9936         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9937         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9938         Likewise.
9939         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9940         Likewise.
9941         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9942         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9943         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9944         Likewise.
9945         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9946         Likewise.
9947         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9948         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9949         * termios/termios.h [__USE_BSD]: Likewise.
9950         * time/sys/time.h [__USE_BSD]: Likewise.
9951         * time/time.h [__USE_BSD]: Likewise.
9952         [__USE_SVID]: Likewise.
9953
9954         * Makefile (subdir_targets): Remove subdir_lint.out.
9955
9956         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9957         (do-tst-printf): Likewise.
9958         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9959         $(objpfx)tst-printf.out.
9960
9961         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9962
9963         * Makerules (check-abi-%): Change target to
9964         $(objpfx)check-abi-%.out.
9965         (check-abi target): Update dependencies.
9966         (check-abi-pattern variable): Redirect output of diff to $@.
9967         (check-abi variable): Likewise.
9968         * elf/Makefile (check-abi): Update dependencies.
9969
9970         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9971         unused.
9972         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9973         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9974         subnormal range.
9975         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9976         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9977         value has largest subnormal exponent.
9978         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9979         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9980         * sysdeps/aarch64/soft-fp/sfp-machine.h
9981         (_FP_TININESS_AFTER_ROUNDING): New macro.
9982         * sysdeps/alpha/soft-fp/sfp-machine.h
9983         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9984         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9985         Likewise.
9986         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9987         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9988         * sysdeps/mips/soft-fp/sfp-machine.h
9989         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9990         * sysdeps/powerpc/soft-fp/sfp-machine.h
9991         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9992         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9993         Likewise.
9994         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9995         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9996         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9997         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9998         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9999         Likewise.
10000
10001 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10002
10003         [BZ #16545]
10004         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10005         model 1.
10006
10007 2014-02-12  Richard Henderson  <rth@redhat.com>
10008
10009         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10010         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10011         * sysdeps/unix/sysv/linux/alpha: Move directory from
10012         ports/sysdeps/unix/sysv/linux/alpha.
10013         * README: Update listing for alpha-*-linux-gnu.
10014
10015 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10016
10017         * include/features.h: Update comment documenting feature test
10018         macros.
10019         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10020         _DEFAULT_SOURCE.
10021         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10022         (_SVID_SOURCE): Likewise.
10023         (_DEFAULT_SOURCE): Update description of default features.
10024         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10025         with _GNU_SOURCE.
10026         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10027         (S_ISVTX): Likewise.
10028         * manual/math.texi (Mathematical Constants): Likewise.
10029         * manual/signal.texi (Interrupted Primitives): Likewise.
10030         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10031         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10032         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10033         Don't refer to _SVID_SOURCE in warning text.
10034
10035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10036
10037         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10038         already defined.
10039         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10040         * sysdeps/mips/dl-lookup.c: Remove.
10041         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10042
10043 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10044
10045         [BZ #16447]
10046         * math/auto-libm-test-in: Add testcase for expl.
10047         * math/auto-libm-test-out: Regenerate.
10048         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10049         calculation of unsafe.
10050         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10051
10052 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10053
10054         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10055         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10056         ports/sysdeps/unix/sysv/linux/aarch64.
10057         * README: Update listing for aarch64*-*-linux-gnu.
10058
10059 2014-02-11  Will Newton  <will.newton@linaro.org>
10060
10061         * manual/probes.texi (Mathematical Function Probes): Use
10062         "triggered" instead of "hit".
10063
10064         * manual/probes.texi (Internal Probes): Add documentation
10065         of setjmp, longjmp and longjmp_target probes.
10066
10067         * include/stap-probe.h: Add comment about probe argument
10068         format.
10069
10070         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10071         definition.  (tr_where, tr_freehook, tr_mallochook,
10072         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10073
10074 2014-02-11  David S. Miller  <davem@davemloft.net>
10075
10076         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10077         processing int_tests.
10078
10079 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10080
10081         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10082         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10083         * sysdeps/unix/sysv/linux/mips: Move directory from
10084         ports/sysdeps/unix/sysv/linux/mips.
10085         * README: Update listing for mips-*-linux-gnu and
10086         mips64-*-linux-gnu.
10087
10088 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10089
10090         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10091         * sysdeps/unix/sysv/linux/m68k: Move directory from
10092         ports/sysdeps/unix/sysv/linux/m68k.
10093         * README: Update listing for m68k-*-linux-gnu.
10094
10095 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10096
10097         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10098         * sysdeps/unix/sysv/linux/generic: Move directory from
10099         ports/sysdeps/unix/sysv/linux/generic.
10100         * sysdeps/unix/sysv/linux/tile: Move directory from
10101         ports/sysdeps/unix/sysv/linux/tile.
10102         * README: Update listing for tile*-*-linux-gnu.
10103
10104 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10105
10106         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10107         __builtin_expect.
10108         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10109         * catgets/open_catalog.c (__open_catalog): Likewise.
10110         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10111         * debug/confstr_chk.c: Likewise.
10112         * debug/fread_chk.c (__fread_chk): Likewise.
10113         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10114         * debug/getgroups_chk.c: Likewise.
10115         * debug/mbsnrtowcs_chk.c: Likewise.
10116         * debug/mbsrtowcs_chk.c: Likewise.
10117         * debug/mbstowcs_chk.c: Likewise.
10118         * debug/memcpy_chk.c: Likewise.
10119         * debug/memmove_chk.c: Likewise.
10120         * debug/mempcpy_chk.c: Likewise.
10121         * debug/memset_chk.c: Likewise.
10122         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10123         * debug/strcat_chk.c (__strcat_chk): Likewise.
10124         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10125         * debug/strncat_chk.c (__strncat_chk): Likewise.
10126         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10127         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10128         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10129         * debug/wcpncpy_chk.c: Likewise.
10130         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10131         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10132         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10133         * debug/wcsncpy_chk.c: Likewise.
10134         * debug/wcsnrtombs_chk.c: Likewise.
10135         * debug/wcsrtombs_chk.c: Likewise.
10136         * debug/wcstombs_chk.c: Likewise.
10137         * debug/wmemcpy_chk.c: Likewise.
10138         * debug/wmemmove_chk.c: Likewise.
10139         * debug/wmempcpy_chk.c: Likewise.
10140         * debug/wmemset_chk.c: Likewise.
10141         * dirent/scandirat.c (SCANDIRAT): Likewise.
10142         * dlfcn/dladdr1.c (dladdr1): Likewise.
10143         * dlfcn/dladdr.c (dladdr): Likewise.
10144         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10145         * dlfcn/dlerror.c (__dlerror): Likewise.
10146         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10147         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10148         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10149         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10150         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10151         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10152         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10153         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10154         Likewise.
10155         * elf/dl-conflict.c: Likewise.
10156         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10157         * elf/dl-dst.h: Likewise.
10158         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10159         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10160         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10161         * elf/dl-init.c (call_init, _dl_init): Likewise.
10162         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10163         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10164         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10165         Likewise.
10166         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10167         Likewise.
10168         * elf/dl-minimal.c (__libc_memalign): Likewise.
10169         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10170         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10171         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10172         * elf/dl-sym.c (do_sym): Likewise.
10173         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10174         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10175         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10176         * elf/dl-writev.h (_dl_writev): Likewise.
10177         * elf/ldconfig.c (search_dir): Likewise.
10178         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10179         (dl_main): Likewise.
10180         * elf/setup-vdso.h (setup_vdso): Likewise.
10181         * grp/compat-initgroups.c (compat_call): Likewise.
10182         * grp/fgetgrent.c (fgetgrent): Likewise.
10183         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10184         * grp/putgrent.c (putgrent): Likewise.
10185         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10186         Likewise.
10187         * hurd/hurdinit.c: Likewise.
10188         * iconvdata/8bit-gap.c (struct): Likewise.
10189         * iconvdata/ansi_x3.110.c : Likewise.
10190         * iconvdata/big5.c : Likewise.
10191         * iconvdata/big5hkscs.c : Likewise.
10192         * iconvdata/cp1255.c: Likewise.
10193         * iconvdata/cp1258.c : Likewise.
10194         * iconvdata/cp932.c : Likewise.
10195         * iconvdata/euc-cn.c: Likewise.
10196         * iconvdata/euc-jisx0213.c : Likewise.
10197         * iconvdata/euc-jp.c: Likewise.
10198         * iconvdata/euc-jp-ms.c : Likewise.
10199         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10200         * iconvdata/gb18030.c : Likewise.
10201         * iconvdata/gbbig5.c (const): Likewise.
10202         * iconvdata/gbgbk.c: Likewise.
10203         * iconvdata/gbk.c : Likewise.
10204         * iconvdata/ibm1364.c : Likewise.
10205         * iconvdata/ibm930.c : Likewise.
10206         * iconvdata/ibm932.c: Likewise.
10207         * iconvdata/ibm933.c : Likewise.
10208         * iconvdata/ibm935.c : Likewise.
10209         * iconvdata/ibm937.c : Likewise.
10210         * iconvdata/ibm939.c : Likewise.
10211         * iconvdata/ibm943.c: Likewise.
10212         * iconvdata/iso_11548-1.c: Likewise.
10213         * iconvdata/iso-2022-cn.c : Likewise.
10214         * iconvdata/iso-2022-cn-ext.c : Likewise.
10215         * iconvdata/iso-2022-jp-3.c: Likewise.
10216         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10217         * iconvdata/iso-2022-kr.c : Likewise.
10218         * iconvdata/iso646.c (gconv_end): Likewise.
10219         * iconvdata/iso_6937-2.c : Likewise.
10220         * iconvdata/iso_6937.c : Likewise.
10221         * iconvdata/iso8859-1.c: Likewise.
10222         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10223         * iconvdata/shift_jisx0213.c : Likewise.
10224         * iconvdata/sjis.c : Likewise.
10225         * iconvdata/t.61.c : Likewise.
10226         * iconvdata/tcvn5712-1.c : Likewise.
10227         * iconvdata/tscii.c: Likewise.
10228         * iconvdata/uhc.c : Likewise.
10229         * iconvdata/unicode.c (gconv_end): Likewise.
10230         * iconvdata/utf-16.c (gconv_end): Likewise.
10231         * iconvdata/utf-32.c (gconv_end): Likewise.
10232         * iconvdata/utf-7.c (base64): Likewise.
10233         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10234         * iconv/gconv_close.c (__gconv_close): Likewise.
10235         * iconv/gconv_open.c (__gconv_open): Likewise.
10236         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10237         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10238         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10239         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10240         (ucs4le_internal_loop_single): Likewise.
10241         * iconv/iconv.c (iconv): Likewise.
10242         * iconv/iconv_close.c: Likewise.
10243         * iconv/loop.c (SINGLE): Likewise.
10244         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10245         * include/atomic.h: Likewise.
10246         * inet/inet6_option.c (option_alloc): Likewise.
10247         * intl/bindtextdom.c (set_binding_values): Likewise.
10248         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10249         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10250         * intl/localealias.c (read_alias_file): Likewise.
10251         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10252         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10253         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10254         * libio/fmemopen.c (fmemopen): Likewise.
10255         * libio/iofgets.c (_IO_fgets): Likewise.
10256         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10257         * libio/iofgetws.c (fgetws): Likewise.
10258         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10259         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10260         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10261         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10262         * locale/findlocale.c (_nl_find_locale): Likewise.
10263         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10264         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10265         Likewise.
10266         * locale/setlocale.c (setlocale): Likewise.
10267         * login/programs/pt_chown.c (main): Likewise.
10268         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10269         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10270         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10271         (mmap, mmap64, mremap, munmap): Likewise.
10272         * math/e_exp2l.c: Likewise.
10273         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10274         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10275         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10276         * math/s_catan.c (__catan): Likewise.
10277         * math/s_catanf.c (__catanf): Likewise.
10278         * math/s_catanh.c (__catanh): Likewise.
10279         * math/s_catanhf.c (__catanhf): Likewise.
10280         * math/s_catanhl.c (__catanhl): Likewise.
10281         * math/s_catanl.c (__catanl): Likewise.
10282         * math/s_ccosh.c (__ccosh): Likewise.
10283         * math/s_ccoshf.c (__ccoshf): Likewise.
10284         * math/s_ccoshl.c (__ccoshl): Likewise.
10285         * math/s_cexp.c (__cexp): Likewise.
10286         * math/s_cexpf.c (__cexpf): Likewise.
10287         * math/s_cexpl.c (__cexpl): Likewise.
10288         * math/s_clog10.c (__clog10): Likewise.
10289         * math/s_clog10f.c (__clog10f): Likewise.
10290         * math/s_clog10l.c (__clog10l): Likewise.
10291         * math/s_clog.c (__clog): Likewise.
10292         * math/s_clogf.c (__clogf): Likewise.
10293         * math/s_clogl.c (__clogl): Likewise.
10294         * math/s_csin.c (__csin): Likewise.
10295         * math/s_csinf.c (__csinf): Likewise.
10296         * math/s_csinh.c (__csinh): Likewise.
10297         * math/s_csinhf.c (__csinhf): Likewise.
10298         * math/s_csinhl.c (__csinhl): Likewise.
10299         * math/s_csinl.c (__csinl): Likewise.
10300         * math/s_csqrt.c (__csqrt): Likewise.
10301         * math/s_csqrtf.c (__csqrtf): Likewise.
10302         * math/s_csqrtl.c (__csqrtl): Likewise.
10303         * math/s_ctan.c (__ctan): Likewise.
10304         * math/s_ctanf.c (__ctanf): Likewise.
10305         * math/s_ctanh.c (__ctanh): Likewise.
10306         * math/s_ctanhf.c (__ctanhf): Likewise.
10307         * math/s_ctanhl.c (__ctanhl): Likewise.
10308         * math/s_ctanl.c (__ctanl): Likewise.
10309         * math/w_pow.c: Likewise.
10310         * math/w_powf.c: Likewise.
10311         * math/w_powl.c: Likewise.
10312         * math/w_scalb.c (sysv_scalb): Likewise.
10313         * math/w_scalbf.c (sysv_scalbf): Likewise.
10314         * math/w_scalbl.c (sysv_scalbl): Likewise.
10315         * misc/error.c (error_tail): Likewise.
10316         * misc/pselect.c (__pselect): Likewise.
10317         * nis/nis_callback.c (__nis_create_callback): Likewise.
10318         * nis/nis_call.c (__nisfind_server): Likewise.
10319         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10320         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10321         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10322         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10323         * nis/nis_lookup.c (nis_lookup): Likewise.
10324         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10325         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10326         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10327         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10328         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10329         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10330         * nis/nss_compat/compat-initgroups.c (add_group)
10331         (internal_getgrent_r): Likewise.
10332         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10333         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10334         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10335         (internal_getspnam_r): Likewise.
10336         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10337         (_nss_nis_getaliasbyname_r): Likewise.
10338         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10339         (_nss_nis_getntohost_r): Likewise.
10340         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10341         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10342         (_nss_nis_getgrgid_r): Likewise.
10343         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10344         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10345         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10346         (_nss_nis_gethostbyname4_r): Likewise.
10347         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10348         (initgroups_netid): Likewise.
10349         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10350         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10351         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10352         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10353         (_nss_nis_getprotobynumber_r): Likewise.
10354         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10355         (_nss_nis_getsecretkey): Likewise.
10356         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10357         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10358         (_nss_nis_getpwuid_r): Likewise.
10359         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10360         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10361         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10362         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10363         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10364         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10365         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10366         Likewise.
10367         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10368         (_nss_nisplus_getntohost_r): Likewise.
10369         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10370         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10371         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10372         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10373         Likewise.
10374         * nis/nss_nisplus/nisplus-initgroups.c
10375         (_nss_nisplus_initgroups_dyn): Likewise.
10376         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10377         (_nss_nisplus_getnetbyaddr_r): Likewise.
10378         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10379         (_nss_nisplus_getprotobynumber_r): Likewise.
10380         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10381         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10382         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10383         Likewise.
10384         * nis/nss_nisplus/nisplus-service.c
10385         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10386         (_nss_nisplus_getservbyport_r): Likewise.
10387         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10388         (_nss_nisplus_getspnam_r): Likewise.
10389         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10390         Likewise.
10391         * nscd/aicache.c (addhstaiX): Likewise.
10392         * nscd/cache.c (cache_search, prune_cache): Likewise.
10393         * nscd/connections.c (register_traced_file, send_ro_fd)
10394         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10395         (main_loop_epoll): Likewise.
10396         * nscd/grpcache.c (addgrbyX): Likewise.
10397         * nscd/hstcache.c (addhstbyX): Likewise.
10398         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10399         * nscd/mem.c (gc, mempool_alloc): Likewise.
10400         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10401         (addinnetgrX): Likewise.
10402         * nscd/nscd-client.h (__nscd_acquire_maplock)
10403         (__nscd_drop_map_ref): Likewise.
10404         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10405         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10406         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10407         Likewise.
10408         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10409         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10410         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10411         (__nscd_get_map_ref): Likewise.
10412         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10413         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10414         Likewise.
10415         * nscd/pwdcache.c (addpwbyX): Likewise.
10416         * nscd/selinux.c (preserve_capabilities): Likewise.
10417         * nscd/servicescache.c (addservbyX): Likewise.
10418         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10419         * posix/fnmatch.c (fnmatch): Likewise.
10420         * posix/getopt.c (_getopt_internal_r): Likewise.
10421         * posix/glob.c (glob, glob_in_dir): Likewise.
10422         * posix/wordexp.c (exec_comm_child): Likewise.
10423         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10424         (getanswer_r, gaih_getanswer_slice): Likewise.
10425         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10426         * resolv/res_init.c: Likewise.
10427         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10428         * resolv/res_query.c (__libc_res_nquery): Likewise.
10429         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10430         Likewise.
10431         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10432         * stdio-common/perror.c (perror): Likewise.
10433         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10434         * stdio-common/tmpnam.c (tmpnam): Likewise.
10435         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10436         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10437         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10438         Likewise.
10439         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10440         * stdlib/putenv.c (putenv): Likewise.
10441         * stdlib/setenv.c (__add_to_environ): Likewise.
10442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10443         * stdlib/strtol_l.c (INTERNAL): Likewise.
10444         * string/memmem.c (memmem): Likewise.
10445         * string/strerror.c (strerror): Likewise.
10446         * string/strnlen.c (__strnlen): Likewise.
10447         * string/test-memmem.c (simple_memmem): Likewise.
10448         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10449         * sunrpc/pm_getport.c (__get_socket): Likewise.
10450         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10451         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10452         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10453         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10454         Likewise.
10455         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10456         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10457         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10458         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10459         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10460         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10461         Likewise.
10462         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10463         Likewise.
10464         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10465         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10466         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10467         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10468         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10470         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10471         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10472         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10473         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10474         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10475         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10476         Likewise.
10477         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10478         Likewise.
10479         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10480         Likewise.
10481         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10482         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10483         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10485         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10486         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10487         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10488         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10489         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10490         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10491         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10492         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10493         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10494         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10496         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10497         Likewise.
10498         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10499         Likewise.
10500         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10501         Likewise.
10502         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10503         Likewise.
10504         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10506         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10507         Likewise.
10508         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10509         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10510         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10511         * sysdeps/posix/sleep.c: Likewise.
10512         * sysdeps/posix/tempname.c: Likewise.
10513         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10514         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10515         Likewise.
10516         * sysdeps/powerpc/powerpc32/dl-machine.h
10517         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10518         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10520         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10521         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10522         Likewise.
10523         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10524         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10525         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10526         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10527         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10528         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10529         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10530         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10531         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10532         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10533         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10534         (elf_machine_lazy_rel): Likewise.
10535         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10536         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10537         (elf_machine_lazy_rel): Likewise.
10538         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10539         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10540         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10541         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10542         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10543         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10544         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10545         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10546         Likewise.
10547         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10548         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10549         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10550         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10551         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10552         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10553         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10554         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10555         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10556         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10557         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10558         Likewise.
10559         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10560         (__posix_fallocate64_l64): Likewise.
10561         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10562         (posix_fallocate): Likewise.
10563         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10564         Likewise.
10565         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10566         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10567         (getifaddrs_internal): Likewise.
10568         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10569         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10570         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10571         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10572         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10573         (__posix_fallocate64_l64): Likewise.
10574         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10575         Likewise.
10576         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10577         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10578         (__get_clockfreq): Likewise.
10579         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10580         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10581         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10584         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10585         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10586         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10587         Likewise.
10588         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10589         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10590         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10591         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10592         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10593         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10594         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10595         Likewise.
10596         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10597         (posix_fallocate): Likewise.
10598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10599         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10600         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10601         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10602         (elf_machine_rela, elf_machine_rela_relative)
10603         (elf_machine_lazy_rel): Likewise.
10604         * time/asctime.c (asctime_internal): Likewise.
10605         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10606         * time/tzset.c (__tzset_parse_tz): Likewise.
10607         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10608         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10609         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10610         * wcsmbs/wcsmbsload.h: Likewise.
10611
10612         [BZ #15894]
10613         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10614
10615         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10616         (arena_get2): Remove THREAD_STATS conditionals.
10617         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10618         (__malloc_stats, int): Likewise.
10619
10620 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10621
10622         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10623         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10624
10625         * manual/setjmp.texi: Fix typos/grammar errors.
10626
10627         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10628         Only return early when n is <= 0.  Delete unused return statement.
10629
10630         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10631         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10632         * debug/tst-longjmp_chk3.c: New file.
10633
10634         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10635         (test_main): Replace code with set_fortify_handler call.
10636         * debug/test-strcpy_chk.c: Likewise.
10637         * debug/tst-chk1.c: Likewise.
10638         * debug/tst-longjmp_chk.c: Likewise.
10639         * test-skeleton.c: Include fcntl.h & paths.h
10640         (set_fortify_handler): Define.
10641
10642         * debug/tst-longjmp_chk.c: Add header comment and include
10643         ../test-skeleton.c.
10644         (do_test): Mark static.
10645         (TEST_FUNCTION): Define.
10646
10647         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10648         (IP_PMTUDISC_INTERFACE): Likewise.
10649         (IP_MULTICAST_IF): Likewise.
10650         (IP_MULTICAST_TTL): Likewise.
10651         (IP_MULTICAST_LOOP): Likewise.
10652         (IP_ADD_MEMBERSHIP): Likewise.
10653         (IP_DROP_MEMBERSHIP): Likewise.
10654         (IP_UNBLOCK_SOURCE): Likewise.
10655         (IP_BLOCK_SOURCE): Likewise.
10656         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10657         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10658         (IP_MSFILTER): Likewise.
10659         (MCAST_JOIN_GROUP): Likewise.
10660         (MCAST_BLOCK_SOURCE): Likewise.
10661         (MCAST_UNBLOCK_SOURCE): Likewise.
10662         (MCAST_LEAVE_GROUP): Likewise.
10663         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10664         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10665         (MCAST_MSFILTER): Likewise.
10666         (IP_MULTICAST_ALL): Likewise.
10667         (IP_UNICAST_IF): Likewise.
10668
10669         * timezone/Makefile: Delete $(have-ksh) check.
10670         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10671         * timezone/tzselect.ksh: Add +x mode bits.
10672
10673         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10674         (ANON_INODE_FS_MAGIC): Likewise.
10675         (BDEVFS_MAGIC): Likewise.
10676         (BINFMTFS_MAGIC): Likewise.
10677         (BTRFS_TEST_MAGIC): Likewise.
10678         (CRAMFS_MAGIC_WEND): Likewise.
10679         (DEBUGFS_MAGIC): Likewise.
10680         (ECRYPTFS_SUPER_MAGIC): Likewise.
10681         (EXT3_SUPER_MAGIC): Likewise.
10682         (EXT4_SUPER_MAGIC): Likewise.
10683         (FUTEXFS_SUPER_MAGIC): Likewise.
10684         (HOSTFS_SUPER_MAGIC): Likewise.
10685         (HUGETLBFS_MAGIC): Likewise.
10686         (MINIX3_SUPER_MAGIC): Likewise.
10687         (MTD_INODE_FS_MAGIC): Likewise.
10688         (NILFS_SUPER_MAGIC): Likewise.
10689         (OPENPROM_SUPER_MAGIC): Likewise.
10690         (PIPEFS_MAGIC): Likewise.
10691         (PSTOREFS_MAGIC): Likewise.
10692         (QNX6_SUPER_MAGIC): Likewise.
10693         (RAMFS_MAGIC): Likewise.
10694         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10695         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10696         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10697         (SECURITYFS_MAGIC): Likewise.
10698         (SELINUX_MAGIC): Likewise.
10699         (SMACK_MAGIC): Likewise.
10700         (SOCKFS_MAGIC): Likewise.
10701         (SQUASHFS_MAGIC): Likewise.
10702         (STACK_END_MAGIC): Likewise.
10703         (TMPFS_MAGIC): Likewise.
10704         (USBDEVICE_SUPER_MAGIC): Likewise.
10705         (V9FS_MAGIC): Likewise.
10706         (XENFS_SUPER_MAGIC): Likewise.
10707         (CRAMFS_MAGIC): Fix typo in comment.
10708         (EXT2_SUPER_MAGIC): Update comment.
10709         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10710
10711 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10712
10713         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10714         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10715         * sysdeps/unix/sysv/linux/arm: Move directory from
10716         ports/sysdeps/unix/sysv/linux/arm.
10717         * README: Update listing for arm-*-linux-gnueabi.
10718
10719         * README: Remove mention of am33.
10720
10721 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10722
10723         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10724         than the comma operator, to avoid "rhs of comma has no effect"
10725         compiler warnings.
10726         (__sigfillset, __sigandset, __sigorset): Likewise.
10727         * include/signal.h (__sigemptyset): Likewise.
10728         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10729
10730 2014-02-07  Allan McRae  <allan@archlinux.org>
10731
10732         * version.h (RELEASE): Set to "development".
10733         (VERSION): Set to "2.19.90"
10734         * NEWS: Add 2.20 section.
10735
10736 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10737
10738         [BZ #16529]
10739         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10740
10741 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10742
10743         * manual/contrib.texi: Update entry for Carlos O'Donell,
10744         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10745
10746 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10747
10748         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10749
10750         * sysdeps/unix/sysv/linux/kernel-features.h
10751         [__LINUX_KERNEL_VERSION >= 0x020621]
10752         (__ASSUME_PROC_PID_TASK_COMM): Define.
10753
10754 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10755
10756         [BZ #16398]
10757         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10758         conversion when destination buffer does not have enough space.
10759         * libio/tst-ftell-partial-wide.c: New test case.
10760         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10761
10762         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10763         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10764         Leonard and Allan McRae.
10765
10766 2014-02-04  David S. Miller  <davem@davemloft.net>
10767
10768         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10769         32-bit.
10770
10771 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10772
10773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10774         New file
10775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10776         New file
10777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10778         New file.
10779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10780         New file.
10781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10782         New file.
10783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10784         New file.
10785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10786         New file.
10787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10788         New file.
10789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10790         New file.
10791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10792         New file.
10793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10794         New file.
10795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10796         New file.
10797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10798         New file.
10799
10800 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10801
10802         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10803         * shlib-versions: Likewise.
10804
10805 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10806             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10807
10808         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10809         (abilist-pattern): New variable, set to %-le.abilist.
10810
10811         * Makerules (abilist-pattern): New variable.
10812         (vpath): Use $(abilist-pattern) in place of %.abilist.
10813         (check-abi-% pattern rule): Likewise.
10814         (check-abi, update-abi): Likewise.
10815
10816 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10817
10818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10819
10820 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10821
10822         * manual/startup.texi: Add next, previous, and top entries for
10823         the `Program Arguments' and `Environment Variables' nodes.
10824
10825 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10826
10827         * manual/macros.texi: Add comments before MTASC-safety macros.
10828
10829         * manual/users.texi: Document MTASC-safety properties.
10830
10831         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10832         (pthread_getspecific, pthread_setspecific): Format with
10833         @deftypefun, and add @safety note.
10834         * manual/signal.texi: Move comments that analyze the above
10835         functions to their home place.
10836
10837 2014-02-03  Allan McRae  <allan@archlinux.org>
10838
10839         * po/sl.po: Update Slovenian translation from translation project.
10840
10841 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10842
10843         * manual/time.texi (timegm): Add missing blank after @c.
10844         Reported by Joseph Myers <joseph@codesourcery.com>.
10845
10846 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10847
10848         * manual/check-safety.sh: New.
10849         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10850
10851         * manual/terminal.texi: Document MTASC-safety properties.
10852
10853         * manual/filesys.texi: Document MTASC-safety properties.
10854
10855         * manual/errno.texi: Document MTASC-safety properties.
10856
10857         * manual/intro.texi: Document safety identifiers and
10858         conditionals.
10859
10860         * manual/string.texi (wcstok): Fix prototype.
10861         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10862
10863         * manual/time.texi: Document MTASC-safety properties.
10864
10865         * manual/string.texi: Document MTASC-safety properties.
10866
10867         * manual/threads.texi: Document MTASC-safety properties.
10868
10869         * manual/stdio.texi: Document MTASC-safety properties.
10870
10871         * manual/syslog.texi: Document MTASC-safety properties.
10872
10873         * manual/sysinfo.texi: Document MTASC-safety properties.
10874
10875         * manual/startup.texi: Document MTASC-safety properties.
10876
10877         * manual/socket.texi: Document MTASC-safety properties.
10878
10879         * manual/signal.texi: Document MTASC-safety properties.
10880
10881 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10882
10883         * manual/setjmp.texi: Document MTASC-safety properties.
10884
10885         * manual/search.texi: Document MTASC-safety properties.
10886
10887         * manual/resource.texi: Document MTASC-safety properties.
10888
10889         * manual/process.texi: Document MTASC-safety properties.
10890
10891         * manual/platform.texi: Document MTASC-safety properties.
10892
10893         * manual/pipe.texi: Document MTASC-safety properties.
10894
10895         * manual/pattern.texi: Document MTASC-safety properties.
10896
10897         * manual/message.texi: Document MTASC-safety properties.
10898
10899         [BZ #12751]
10900         * manual/memory.texi: Document MTASC-safety properties.
10901
10902         * manual/math.texi: Document MTASC-safety properties.
10903
10904         * manual/locale.texi: Document MTASC-safety properties.
10905
10906         * manual/llio.texi: Document MTASC-safety properties.
10907
10908         * manual/libdl.texi: New.
10909
10910         * manual/lang.texi: Document MTASC-safety properties.
10911
10912         * manual/job.texi: Document MTASC-safety properties.
10913
10914         * manual/getopt.texi: Document MTASC-safety properties.
10915
10916         * manual/ctype.texi: Document MTASC-safety properties.
10917
10918 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10919
10920         [BZ #16046]
10921         * csu/libc-tls.c (static_map): Remove variable.
10922         (__libc_setup_tls): Use main executable's link map for TLS data.
10923         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10924         casing for LM_ID_BASE and GL(dl_nns).
10925         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10926         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10927         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10928         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10929         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10930         member.
10931         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10932         l_phnum members.
10933
10934 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10935
10936         * manual/debug.texi: Document MTASC-safety properties.
10937
10938 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10939
10940         [BZ #16510]
10941         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10942         of __x86_64__ when disabling x87 inline functions.
10943
10944 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10945
10946         * manual/charset.texi: Document MTASC-safety properties.
10947
10948         * manual/crypt.texi: Document MTASC-safety properties.
10949
10950         * manual/conf.texi: Document MTASC-safety properties.
10951
10952         * manual/arith.texi: Document MTASC-safety properties.
10953
10954         * manual/argp.texi: Document MTASC-safety properties.
10955
10956         * manual/macros.texi: Introduce macros to document multi
10957         thread, asynchronous signal and asynchronous cancellation
10958         safety properties.
10959         * manual/intro.texi: Introduce the properties themselves.
10960
10961 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10962
10963         * sysdeps/sh/sh4/Makefile: New file.
10964
10965 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10966
10967         * math/gen-libm-test.pl ($srcdir): New variable.
10968         ($auto_input): Use it.
10969
10970 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10971
10972         [BZ #16506]
10973         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10974         access beyond array bounds when parsing netgroups file.
10975
10976         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10977         the old buffer before realloc.
10978
10979 2014-01-27  Allan McRae  <allan@archlinux.org>
10980
10981         * po/fr.po: Update French translation from translation project.
10982
10983 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10984
10985         * sysdeps/sh/libm-test-ulps: Regenerate.
10986
10987 2014-01-24  David S. Miller  <davem@davemloft.net>
10988
10989         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10990
10991 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10992
10993         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10994         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10995
10996 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10997
10998         [BZ #16474]
10999         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11000         string pointers after reallocation.
11001
11002 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11003
11004         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11005         __SH4A__ instead of __SH_FPU_ANY__.
11006
11007 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11008
11009         * sysdeps/sh/fpu_control.h: New file.
11010         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11011         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11012         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11013         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11014         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11015         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11016         * sysdeps/sh/sys/ucontext.h: Remove.
11017         * sysdeps/sh/sys: Remove directory.
11018
11019 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11020
11021         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11022         s390/sys/ucontext.h.
11023         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11024         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11025
11026 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11027
11028         [BZ #15605]
11029         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11030
11031 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11032
11033         [BZ#16431]
11034         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11035         Adjust the vDSO correctly for internal calls.
11036         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11037
11038 2014-01-20  Allan McRae  <allan@archlinux.org>
11039
11040         * po/ca.po: Update Catalan translation from translation project.
11041
11042 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11043
11044         * sysdeps/s390/sotruss-lib.c: New file.
11045
11046 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11047
11048         [BZ#16430]
11049         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11050         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11051         local calls issues by not having a PLT stub required for IFUNC calls.
11052         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11053
11054 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11055
11056         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11057         * math/test-fpucw-static.c: Likewise.
11058
11059 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11060
11061         [BZ #16453]
11062         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11063
11064 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11065
11066         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11067         implementation for powerpc.
11068
11069 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11070
11071         [BZ #14782]
11072         * sysdeps/posix/system.c (__libc_system): Do not enable
11073         asynchronous cancellation.
11074
11075 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11076
11077         [BZ #16427]
11078         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11079         handling only for numbers special also in the IEEE case.
11080
11081 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11082
11083         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11084
11085 2014-01-11  Allan McRae  <allan@archlinux.org>
11086
11087         * po/bg.po: Update Bulgarian translation from translation project.
11088
11089         * po/de.po: Update German translation from translation project.
11090
11091 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11092
11093         * sysdeps/generic/gcc-compat.h: New file.
11094
11095 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11096
11097         * benchtests/asin-inputs: Correct slow inputs.
11098         * benchtests/acos-inputs: Likewise.
11099
11100 2014-01-10  Allan McRae  <allan@archlinux.org>
11101
11102         * po:sv.po: Update Swedish translation from translation project.
11103
11104         * po/vi.po: Update Vietnamese translation from translation project.
11105
11106         * po/eo.po: Update Esperanto translation from translation project.
11107
11108         * po/cs.po: Update Czech translation from translation project.
11109
11110         * po/nl.po: Update Dutch translation from translation project.
11111
11112         * po/pl.po: Update Polish translation from translation project.
11113
11114         * po/ru.po: Update Russian translation from translation project.
11115
11116         * po/uk.po: Update Ukrainian translation from translation project.
11117
11118 2014-01-08  Brooks Moses  <bmoses@google.com>
11119
11120         * elf/dl-load.c: Fix comment typo.
11121
11122 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11123
11124         * po/header.pot: Rename to...
11125         * po/pot.header: ... this.
11126         * po/Makefile: Use pot.header.
11127
11128 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11129             Maxim Kuvyrkov  <maxim@kugelworks.com>
11130
11131         [BZ #16394]
11132         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11133         SRC and DEST against LEN.
11134
11135 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11136
11137         [BZ #16414]
11138         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11139         implementation.
11140         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11141
11142 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11143
11144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11145
11146 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11147
11148         [BZ #16408]
11149         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11150         for large positive arguments.
11151
11152 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11153
11154         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11155
11156         * math/auto-libm-test-in: Mark various tests with
11157         xfail-rounding:ldbl-128ibm.
11158         * math/auto-libm-test-out: Regenerated.
11159
11160         [BZ #16407]
11161         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11162         Increase overflow threshold.
11163
11164 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11165
11166         [BZ #14286]
11167         * stdio-common/vfprintf.c: Check for integer overflow.
11168
11169 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11170
11171         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11172         the first argument and return value of __tls_get_addr_internal.
11173
11174 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11175
11176         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11177         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11178
11179 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11180
11181         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11182         * sysdeps/s390/rtld-global-offsets.sym: New file.
11183         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11184         GLIBC_2.19 symbol.
11185         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11186         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11187         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11188         ... this.
11189         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11190         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11191         ... this.
11192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11193         Regenerate.
11194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11195         Regenerate.
11196         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11197         halfs of GPRs for high_gprs contexts.
11198         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11199         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11200         field.
11201         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11202         uc_flags field.
11203         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11204         64 bit versions:
11205         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11206         for high GPRs (uc_high_gprs) and for future extensions
11207         (__reserved).
11208         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11209         for future extensions (__reserved).
11210         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11211         64 bit versions:
11212         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11213         SC_HIGHGPRS offset definition.
11214         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11215         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11216
11217         * Versions.def: Add GLIBC_2.19 for libpthread.
11218         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11219         siglongjmp for libpthread with GLIBC_2.19 symver.
11220         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11221         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11222         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11223         * sysdeps/s390/__longjmp.c: New file.
11224         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11225         * sysdeps/s390/longjmp.c: New file.
11226         * sysdeps/s390/setjmp.S: New file.
11227         * sysdeps/s390/sigjmp.S: New file.
11228         * sysdeps/s390/v1-longjmp.c: New file.
11229         * sysdeps/s390/v1-setjmp.h: New file.
11230         * sysdeps/s390/v1-sigjmp.c: New file.
11231         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11232         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11233         GLIBC_2.19 version.
11234         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11235         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11236         versioned symbols for ____longjmp_chk.
11237         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11238         Likewise.
11239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11240         Regenerate.
11241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11242         Regenerate.
11243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11244         Regenerate.
11245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11246         Regenerate.
11247         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11248         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11249         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11250         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11251         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11252         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11253         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11254         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11255         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11256         * sysdeps/s390/rtld-__longjmp.c: New file.
11257         * sysdeps/s390/rtld-setjmp.S: New file.
11258
11259 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11260
11261         [BZ #16400]
11262         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11263         Return -__logl (x) for small positive arguments without evaluating
11264         a polynomial.
11265
11266 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11267
11268         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11269         Rename to ...
11270         (__ptrace_peeksiginfo_args): ... this.
11271         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11272         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11273         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11274
11275 2014-01-06  Allan McRae  <allan@archlinux.org>
11276
11277         * inet/netinet/in.h: Fix typo in comment.
11278
11279 2014-01-05  Andreas Jaeger  <aj@suse.de>
11280
11281         * sysdeps/i386/fpu/libm-test-ulps: Update.
11282
11283 2014-01-05  Allan McRae  <allan@archlinux.org>
11284
11285         * po/libc.pot: Regenerated.
11286
11287         * malloc/memusagestat.c: Fix gettext call formatting.
11288
11289 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11290
11291         * nscd/nscd.c: Improve usage() output.
11292
11293 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11294
11295         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11296         * sysdeps/unix/sysv/linux/configure: Regenerated.
11297         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11298         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11299
11300 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11301
11302         [BZ #16390]
11303         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11304         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11305
11306 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11307
11308         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11309         extra tokens at end of #undef directive.
11310         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11311         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11312         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11313
11314 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11315
11316         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11317
11318         * math/auto-libm-test-in: Mark various tests with
11319         xfail-rounding:ldbl-128ibm.
11320         * math/auto-libm-test-out: Regenerated.
11321
11322 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11323
11324         [BZ #16386]
11325         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11326         numbers with subnormal high part when calculating exponent.
11327
11328         [BZ #16385]
11329         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11330         fabs.
11331
11332         [BZ #16384]
11333         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11334         M_LN2l.
11335         (__ieee754_acoshl): Use __log1pl not __log1p.
11336
11337 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11338
11339         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11340         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11341         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11342         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11343         (reused_arena, arena_get2): Convert to GNU style.
11344         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11345         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11346         (memalign_check, __malloc_set_state): Likewise.
11347         * malloc/mallocbug.c (main): Likewise.
11348         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11349         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11350         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11351         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11352         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11353         (__posix_memalign, malloc_info): Likewise.
11354         * malloc/malloc.h: Likewise.
11355         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11356         (mallochook, memalignhook, reallochook, mabort): Likewise.
11357         * malloc/mcheck.h: Likewise.
11358         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11359         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11360         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11361         * malloc/morecore.c (__default_morecore): Likewise.
11362         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11363         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11364         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11365         (print_and_abort): Likewise.
11366         * malloc/obstack.h: Likewise.
11367         * malloc/set-freeres.c (__libc_freeres): Likewise.
11368         * malloc/tst-mallocstate.c (main): Likewise.
11369         * malloc/tst-mtrace.c (main): Likewise.
11370         * malloc/tst-realloc.c (do_test): Likewise.
11371
11372 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11373
11374         [BZ #16366]
11375         * nscd/netgroupcache.c (do_notfound): New function.
11376         (addgetnetgrentX): Use it.
11377
11378         [BZ # 16365]
11379         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11380         NSS_STATUS_NOTFOUND.
11381
11382 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11383
11384         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11386
11387 2014-01-01  Allan McRae  <allan@archlinux.org>
11388
11389         * scripts/update-copyrights: Update configure input file suffix.
11390
11391         * NEWS: Update copyright year.
11392         * catgets/gencat.c: Likewise.
11393         * csu/version.c: Likewise.
11394         * debug/catchsegv.sh: Likewise.
11395         * debug/pcprofiledump.c: Likewise.
11396         * debug/xtrace.sh: Likewise.
11397         * elf/ldconfig.c: Likewise.
11398         * elf/ldd.bash.in: Likewise.
11399         * elf/pldd.c: Likewise.
11400         * elf/sotruss.ksh: Likewise.
11401         * elf/sprof.c: Likewise.
11402         * iconv/iconv_prog.c: Likewise.
11403         * iconv/iconvconfig.c: Likewise.
11404         * locale/programs/locale.c: Likewise.
11405         * locale/programs/localedef.c: Likewise.
11406         * login/programs/pt_chown.c: Likewise.
11407         * malloc/memusage.sh: Likewise.
11408         * malloc/memusagestat.c: Likewise.
11409         * malloc/mtrace.pl: Likewise.
11410         * manual/libc.texinfo: Likewise.
11411         * nscd/nscd.c: Likewise.
11412         * nss/getent.c: Likewise.
11413         * nss/makedb.c: Likewise.
11414         * posix/getconf.c: Likewise.
11415         * scripts/test-installation.pl: Likewise.
11416
11417         * All files with FSF copyright notices: Update copyright dates
11418         using scripts/update-copyrights.
11419         * intl/plural.c: Regenerated.
11420         * locale/programs/charmap-kw.h: Likewise.
11421         * locale/programs/locfile-kw.h: Likewise.
11422
11423 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11424
11425         * sysdeps/unix/sysv/linux/configure: Regenerated.
11426         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11427         the linux/fanotify.h header.
11428         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11429         HAVE_LINUX_FANOTIFY_H is defined.
11430
11431 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11432
11433         * benchtests/cos-inputs: New inputs.
11434         * benchtests/sin-inputs: Likewise.
11435
11436         * benchtests/atan-inputs: New inputs. Fix name of multiple
11437         precision fallback inputs.
11438
11439         * benchtests/atanh-inputs: New inputs.
11440         * benchtests/tanh-inputs: Likewise.
11441
11442         * benchtests/acosh-inputs: New inputs.
11443         * benchtests/asinh-inputs: Likewise.
11444
11445         * benchtests/cosh-inputs: New inputs.
11446         * benchtests/sinh-inputs: Likewise.
11447
11448         * benchtests/acos-inputs: Add more inputs.
11449         * benchtests/asin-inputs: Likewise.
11450
11451 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11452
11453         [BZ #16375]
11454         * manual/arith.texi: Fix spelling.
11455         * manual/charset.texi: Likewise.
11456         * manual/errno.texi: Likewise.
11457         * manual/filesys.texi: Likewise.
11458         * manual/lang.texi: Likewise.
11459         * manual/llio.texi: Likewise.
11460         * manual/locale.texi: Likewise.
11461         * manual/message.texi: Likewise.
11462         * manual/resource.texi: Likewise.
11463         * manual/search.texi: Likewise.
11464         * manual/setjmp.texi: Likewise.
11465         * manual/stdio.texi: Likewise.
11466         * manual/string.texi: Likewise.
11467         * manual/sysinfo.texi: Likewise.
11468         * manual/time.texi: Likewise.
11469
11470 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11471
11472         * po/sl.po: New file.
11473
11474 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11475
11476         * .gitignore: Add core/.gdbinit/.gdb_history.
11477
11478 2013-12-27  Allan McRae  <allan@archlinux.org>
11479
11480         [BZ #16369]
11481         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11482         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11483
11484 2013-12-24  Brooks Moses  <bmoses@google.com>
11485
11486         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11487         all compilers that claim C++98 compliance, not just GCC.
11488         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11489         Likewise.
11490
11491 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11492
11493         * NEWS: Restore accidentally deleted bug-fix entries.
11494
11495 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11496             Ondřej Bílka  <neleai@seznam.cz>
11497
11498         [BZ #15073]
11499         * malloc/malloc.c (_int_free): Perform sanity check only if we
11500         have_lock.
11501
11502 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11503
11504         [BZ #12986]
11505         * manual/stdio.texi (String Input Conversions): Clarify that character
11506         classes are not supported.
11507
11508 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11509
11510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11511
11512 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11513
11514         [BZ #16337]
11515         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11516         Calculate results for small negative arguments directly rather
11517         than using reflection formula with special underflow handling.
11518
11519         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11520         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11521         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11522         (fchflags): Likewise.
11523         (revoke): Likewise.
11524         (setlogin): Likewise.
11525         (sigaltstack): Likewise.
11526         (wait4): Likewise.
11527         (sigblock): Remove.
11528         (sigsetmask): Likewise.
11529         (wait3): Likewise.
11530         (waitpid): Likewise.
11531         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11532         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11533         file.
11534         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11535         * sysdeps/unix/bsd/Makefile: ... here.
11536         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11537         * sysdeps/unix/bsd/Versions: ... here.
11538         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11539         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11540         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11541         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11542         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11543         * sysdeps/unix/bsd/sigblock.c: ... here.
11544         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11545         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11546         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11547         * sysdeps/unix/bsd/sigvec.c: ... here.
11548         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11549         * sysdeps/unix/bsd/tcdrain.c: ... here.
11550         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11551         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11552         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11553         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11554         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11555         * sysdeps/unix/bsd/wait.c: ... here.
11556         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11557         * sysdeps/unix/bsd/wait3.c: ... here.
11558         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11559         * sysdeps/unix/bsd/waitpid.c: ... here.
11560
11561 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11562
11563         [BZ #16356]
11564         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11565         round-to-nearest for [!USE_AS_EXPM1L].
11566         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11567         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11568         more tests of exp and exp10.  Expect some exp10 tests to miss
11569         exceptions or fail in directed rounding modes.
11570         * math/auto-libm-test-out: Regenerated.
11571         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11572         (exp10_test_tonearest): New function.
11573         (exp10_towardzero_test_data): New array.
11574         (exp10_test_towardzero): New function.
11575         (exp10_downward_test_data): New array.
11576         (exp10_test_downward): New function.
11577         (exp10_upward_test_data): New array.
11578         (exp10_test_upward): New function.
11579         (main): Call the new functions.
11580         * sysdeps/i386/fpu/libm-test-ulps: Update.
11581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11582
11583 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11584
11585         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11586         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11587         * math/auto-libm-test-out: Regenerated.
11588         * math/libm-test.inc (acosh_test_data): Add more tests.
11589         (atanh_test_data): Likewise.
11590         (ceil_test_data): Likewise.
11591         (copysign_test_data): Likewise.
11592         * sysdeps/i386/fpu/libm-test-ulps: Update.
11593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11594
11595         * timezone/checktab.awk: Update from tzcode 2013i.
11596         * timezone/private.h: Likewise.
11597         * timezone/scheck.c: Likewise.
11598         * timezone/tzfile.h: Likewise.
11599         * timezone/tzselect.ksh: Likewise.
11600         * timezone/zdump.c: Likewise.
11601         * timezone/zic.c: Likewise.
11602
11603         * math/auto-libm-test-in: Add tests of cpow.
11604         * math/auto-libm-test-out: Regenerated.
11605         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11606         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11607         mpc_cc_c.
11608         (func_calc_desc): Add mpc_cc_c union field.
11609         (test_functions): Add cpow.
11610         (special_fill_2pi): New function.
11611         (special_real_inputs): Add 2pi.
11612         (calc_generic_results): Handle mpc_cc_c.
11613         * sysdeps/i386/fpu/libm-test-ulps: Update.
11614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11615
11616         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11617         csqrt, ctan and ctanh.
11618         * math/auto-libm-test-out: Regenerated.
11619         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11620         (TEST_COND_x86): Likewise.
11621         (ccos_test_data): Use AUTO_TESTS_c_c.
11622         (ccosh_test_data): Likewise.
11623         (cexp_test_data): Likewise.
11624         (clog_test_data): Likewise.
11625         (csqrt_test_data): Likewise.
11626         (ctan_test_data): Likewise.
11627         (ctan_tonearest_test_data): Likewise.
11628         (ctan_towardzero_test_data): Likewise.
11629         (ctan_downward_test_data): Likewise.
11630         (ctan_upward_test_data): Likewise.
11631         (ctanh_test_data): Likewise.
11632         (ctanh_tonearest_test_data): Likewise.
11633         (ctanh_towardzero_test_data): Likewise.
11634         (ctanh_downward_test_data): Likewise.
11635         (ctanh_upward_test_data): Likewise.
11636         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11637         mpc_c_c.
11638         (func_calc_desc): Add mpc_c_c union field.
11639         (FUNC_mpc_c_c): New macro.
11640         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11641         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11642         ctanh.
11643         (special_fill_min_subnorm_p120): New function.
11644         (special_real_inputs): Add min_subnorm_p120.
11645         (calc_generic_results): Handle mpc_c_c.
11646         * sysdeps/i386/fpu/libm-test-ulps: Update.
11647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11648
11649 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11650
11651         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11652         (do_sin_slow): New functions.
11653         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11654         (cslow2, csloww1, csloww2): Use the new functions.
11655
11656         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11657         Use M to change sign of result instead of X.  Assume X is
11658         positive.
11659         (csloww1): Likewise.
11660         (__sin): Adjust.
11661         (__cos): Adjust.
11662
11663         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11664         arguments A and DA.
11665         (__sin): Adjust.
11666         (__cos): Likewise.
11667
11668         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11669         (__cos): Likewise.
11670         (sloww1): Don't adjust sign of DX.
11671         (csloww1): Likewise.
11672         (sloww2): Use X directly and don't adjust sign of DX.
11673         (csloww2): Likewise.
11674
11675 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11676
11677         * math/auto-libm-test-in: Add tests of cabs and carg.
11678         * math/auto-libm-test-out: Regenerated.
11679         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11680         (carg_test_data): Likewise.
11681         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11682         mpc_c_f.
11683         (func_calc_desc): Add mpc_c_f union field.
11684         (test_functions): Add cabs and carg.
11685         (calc_generic_results): Handle mpc_c_f.
11686
11687         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11688         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11689         as a macro and a compat symbol.
11690         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11691         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11692         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11693         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11694         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11695         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11696         not use .hidden.
11697         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11698         Likewise.
11699         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11700         Likewise.
11701         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11702         Likewise.
11703         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11704         Likewise.
11705         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11706         Likewise.
11707         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11708         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11709         from GLIBC_2.3.2.
11710
11711 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11712
11713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11714
11715 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11716
11717         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11718         trailing whitespace removed.
11719         * scripts/config.guess: Update to version 2013-11-29.
11720         * scripts/config.sub: Update to version 2013-10-01.
11721
11722         * math/auto-libm-test-in: Add tests of sincos.
11723         * math/auto-libm-test-out: Regenerated.
11724         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11725         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11726         mpfr_f_11.
11727         (func_calc_desc): Add mpfr_f_11 union field.
11728         (test_functions): Add sincos.
11729         (calc_generic_results): Handle mpfr_f_11.
11730         * sysdeps/i386/fpu/libm-test-ulps: Update.
11731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11732
11733 2013-12-19  Andreas Schwab  <schwab@suse.de>
11734
11735         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11736         CALL_MCOUNT.
11737         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11738         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11739         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11740
11741 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11742
11743         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11744         * sysdeps/i386/fpu/libm-test-ulps: Update.
11745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11746
11747         [BZ #16293]
11748         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11749         round-to-nearest mode when using frndint.
11750         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11751         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11752         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11753         Likewise.
11754         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11755         sinh test to fail.
11756         * math/auto-libm-test-out: Regenerated.
11757         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11758         (TEST_COND_x86): Likewise.
11759         (expm1_tonearest_test_data): New array.
11760         (expm1_test_tonearest): New function.
11761         (expm1_towardzero_test_data): New array.
11762         (expm1_test_towardzero): New function.
11763         (expm1_downward_test_data): New array.
11764         (expm1_test_downward): New function.
11765         (expm1_upward_test_data): New array.
11766         (expm1_test_upward): New function.
11767         (main): Run the new test functions.
11768         * sysdeps/i386/fpu/libm-test-ulps: Update.
11769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11770
11771         * include/features.h: Update comment documenting feature test
11772         macros.  Mention _DEFAULT_SOURCE in comment.
11773         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11774         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11775         _BSD_SOURCE and _SVID_SOURCE.
11776         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11777         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11778         !_SVID_SOURCE]: Likewise.
11779         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11780         (__USE_POSIX_IMPLICITLY): Define.
11781         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11782         (_POSIX_SOURCE): Undefine and redefine.
11783         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11784         (_POSIX_C_SOURCE): Likewise.
11785         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11786         (Feature Test Macros): Update documentation of default features.
11787
11788 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11789
11790         * benchtests/Makefile: Add bench-strtok.
11791         * benchtests/bench-strtok.c: New file: strtok benchtest.
11792
11793 2013-12-19  Allan McRae  <allan@archlinux.org>
11794
11795         * manual/install.texi: Suppress menu for plain text output.
11796         * INSTALL: Regenerated.
11797
11798 2013-12-18  Brooks Moses  <bmoses@google.com>
11799
11800         [BZ #15846]
11801         * misc/getauxval.c: Include errno.h.
11802         (__getauxval): Set errno to ENOENT if the requested type is not
11803         found.
11804         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11805         don't declare with __attribute_const__.
11806         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11807         * manual/startup.texi: Document that getauxval sets errno.
11808
11809 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11810
11811         * math/auto-libm-test-in: Add tests of jn and yn.
11812         * math/auto-libm-test-out: Regenerated.
11813         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11814         (yn_test_data): Likewise.
11815         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11816         mpfr_if_f.
11817         (func_calc_desc): Add mpfr_if_f union field.
11818         (FUNC_mpfr_if_f): New macro.
11819         (test_functions): Add jn and yn.
11820         (calc_generic_results): Assert type of second input for
11821         mpfr_ff_f.  Handle mpfr_if_f.
11822         (output_for_one_input_case): Disable all checking for arguments
11823         fitting floating-point types in case of an integer argument.
11824         * sysdeps/i386/fpu/libm-test-ulps: Update.
11825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11826
11827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11828         Don't expect fegetround reference in libm.so.
11829
11830 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11831
11832         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11833         $(config-cflags-nofma).
11834
11835 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11836
11837         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11838         * math/auto-libm-test-out: Regenerated.
11839
11840         [BZ #16338]
11841         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11842         to determine exponent and adjust argument to have exponent of -1.
11843         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11844         log2.
11845         * math/auto-libm-test-out: Regenerated.
11846         * sysdeps/i386/fpu/libm-test-ulps: Update.
11847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11848
11849 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11850
11851         * manual/probes.texi: Remove cases when per-thread arenas are
11852         disabled.
11853
11854 2013-12-18  Andreas Schwab  <schwab@suse.de>
11855
11856         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11857         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11858         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11859         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11860         * sysdeps/i386/i686/multiarch/Makefile: Update.
11861         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11862
11863 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11864
11865         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11866         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11867
11868 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11869
11870         [BZ #15968]
11871         Support TZ transition times < 00:00:00.
11872         This is needed for version-3 tz-format files; it supports time
11873         stamps past 2037 for America/Godthab (the only entry in the tz
11874         database for which this change is relevant).
11875         * manual/time.texi (TZ Variable): Document transition times
11876         from -167:59:59 through -00:00:01.
11877         * time/tzset.c (tz_rule): Time of day is now signed.
11878         (__tzset_parse_tz): Parse negative time of day.
11879
11880         Document TZ transition times >= 25:00:00.
11881         * manual/time.texi (TZ Variable): Document transition times from
11882         25:00:00 through 167:59:59.  These are already supported, and this
11883         support will help with version-3 tz-format files.
11884
11885         * manual/time.texi (TZ Variable): Modernize North America example
11886         to reflect current (i.e., 2007-and-later) daylight saving rules.
11887
11888         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11889
11890 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11891
11892         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11893         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11894         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11895         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11896         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11897         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11898         * sysdeps/unix/bsd/clock.c: Likewise.
11899         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11900         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11901         * sysdeps/unix/bsd/init-posix.c: Likewise.
11902         * sysdeps/unix/bsd/poll.c: Likewise.
11903         * sysdeps/unix/bsd/ptsname.c: Likewise.
11904         * sysdeps/unix/bsd/seekdir.c: Likewise.
11905         * sysdeps/unix/bsd/setegid.c: Likewise.
11906         * sysdeps/unix/bsd/seteuid.c: Likewise.
11907         * sysdeps/unix/bsd/setgid.c: Likewise.
11908         * sysdeps/unix/bsd/setrgid.c: Likewise.
11909         * sysdeps/unix/bsd/setruid.c: Likewise.
11910         * sysdeps/unix/bsd/setsid.c: Likewise.
11911         * sysdeps/unix/bsd/setuid.c: Likewise.
11912         * sysdeps/unix/bsd/sigaction.c: Likewise.
11913         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11914         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11915         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11916         * sysdeps/unix/bsd/telldir.c: Likewise.
11917         * sysdeps/unix/bsd/times.c: Likewise.
11918         * sysdeps/unix/bsd/usleep.c: Likewise.
11919
11920         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11921         ($(objpfx)libbsd-compat.a): Remove rule.
11922
11923         * include/features.h (__FAVOR_BSD): Do not define.
11924         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11925         features conflicting with POSIX.
11926         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11927         (_BSD_SOURCE): Remove description of not being a subset of other
11928         feature test macros.
11929         * manual/job.texi (getpgrp): Do not document BSD version.
11930         (getpgid): Do not document by reference to BSD getpgrp.
11931         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11932         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11933         * signal/signal.h [__FAVOR_BSD]: Likewise.
11934         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11935         instead of making contents conditional on [__FAVOR_BSD].
11936         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11937
11938 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11939
11940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11941
11942 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11943
11944         [BZ #16314]
11945         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11946         values below 2**-450, not 2**-500.
11947         * math/auto-libm-test-in: Don't allow spurious underflow from
11948         hypot.
11949         * math/auto-libm-test-out: Regenerated.
11950
11951         [BZ #16316]
11952         [BZ #16330]
11953         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11954         values of ha and hb and sort them after adjusting subnormal
11955         arguments.
11956         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11957         Likewise.
11958         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11959         values of ea and eb and sort them after adjusting subnormal
11960         arguments.
11961         * math/auto-libm-test-in: Do not expect some hypot tests of
11962         subnormals to fail.  Add more hypot tests.
11963         * math/auto-libm-test-out: Regenerated.
11964
11965 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11966
11967         [BZ #13304]
11968         * sysdeps/sh/s_fma.c: New file.
11969         * sysdeps/sh/s_fmaf.c: New file.
11970         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11971         version.
11972         * sysdeps/sh/Implies: Add sh/soft-fp.
11973
11974 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11975
11976         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11977         level of indirection to members `objname', `errstring', `malloced'.
11978         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11979         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11980         it as the __longjmp argument (just pass 1 instead).
11981         (_dl_catch_error): Initialize C with argument pointers and address of
11982         volatile local ERRCODE rather than copying values out of C at return.
11983
11984 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11985
11986         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11987         * math/auto-libm-test-out: Regenerated.
11988         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11989         (hypot_test_data): Likewise.
11990         (pow_test_data): Likewise.
11991         (pow_tonearest_test_data): Likewise.
11992         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11993         mpfr_ff_f.
11994         (func_calc_desc): Add mpfr_ff_f union field.
11995         (FUNC_mpfr_ff_f): New macro.
11996         (test_functions): Add atan2, hypot and pow.
11997         (special_fill_min): New function.
11998         (special_fill_minus_min): Likewise.
11999         (special_fill_min_subnorm): Likewise.
12000         (special_fill_minus_min_subnorm): Likewise.
12001         (special_real_inputs): Add min, -min, min_subnorm and
12002         -min_subnorm.
12003         (calc_generic_results): Handle mpfr_ff_f.
12004         * sysdeps/i386/fpu/libm-test-ulps: Update.
12005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12006
12007 2013-12-16  Will Newton  <will.newton@linaro.org>
12008
12009         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12010         (Aligned Memory Blocks): Add documentation for aligned_alloc
12011         and suggest it as an alternative to posix_memalign.
12012         (Hooks for Malloc): Document __memalign_hook is also called
12013         for aligned_alloc.  (Summary of Malloc): Add summary for
12014         aligned alloc.  Document __memalign_hook is also called
12015         for aligned_alloc.
12016
12017 2013-12-16  Will Newton  <will.newton@linaro.org>
12018
12019         * manual/memory.texi (Malloc Examples): Clarify default
12020         alignment documentation.  Suggest posix_memalign rather
12021         than memalign or valloc.
12022         (Aligned Memory Blocks): Remove suggestion to use memalign
12023         or valloc.  Remove obsolete comment about BSD.
12024         Document memalign errno values and mark the function obsolete.
12025         Document posix_memalign returned error codes.  Mark valloc
12026         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12027         called for posix_memalign and valloc.
12028         (Summary of Malloc): Add posix_memalign to function summary.
12029         __memalign_hook is also called for posix_memalign and valloc.
12030
12031 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12032
12033         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12034         TAYLOR_SIN.
12035         (__sin): Adjust.
12036         (__cos): Likewise.
12037         (sloww): Use mynumber union.  Expand ternary operator into
12038         if-else statements.
12039         (cslow): use mynumber union.
12040
12041 2013-12-16  Allan McRae  <allan@archlinux.org>
12042
12043         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12044         * configure: Regenerated.
12045
12046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12047
12048         [BZ #14120]
12049         * configure.ac: Added --enable-maintainer-mode. Check for
12050         autoconf when enabled.
12051         * configure: Regenerated.
12052
12053         * nscd/nscd.service: New file.
12054         * nscd/nscd.tmpfiles: New file.
12055
12056 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12057
12058         [BZ #12100]
12059         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12060         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12061         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12062         (strstr): Add __strstr_sse2_unaligned ifunc.
12063         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12064         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12065         (strcasestr): Remove __strcasestr_sse42 ifunc.
12066         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12069
12070 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12071
12072         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12073         * sysdeps/sh/bits/fenv.h: ... here.
12074         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12075
12076 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12077
12078         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12079
12080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12081         hypotf multiarch implementations.
12082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12084         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12085         multiarch hypot for PPC64.
12086         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12087         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12088         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12089         multiarch hypotf for PPC64.
12090
12091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12092         modff multiarch implementations.
12093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12096         multiarch modf for PPC64.
12097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12100         multiarch modff for PPC64.
12101
12102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12103         and logl multiarch implementations.
12104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12107         multiarch logb for PPC64.
12108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12111         multiarch logb for PPC64.
12112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12115         multiarch logb for PPC64.
12116
12117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12118         isinff multiarch implementation.
12119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12120         file.
12121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12123         multiarch isinf for PPC64.
12124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12125         file.
12126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12127         multiarch isinff for PPC64.
12128
12129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12130         finitef multiarch implementation.
12131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12132         file.
12133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12135         multiarch finite for PPC64.
12136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12137         file.
12138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12139         multiarch finitef for PPC64.
12140
12141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12142         lrint multiarch implementation.
12143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12144         file.
12145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12147         multiarch llrint for PPC64.
12148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12149         multiarch lrint for PPC64.
12150
12151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12152         copysignf multiarch implementation.
12153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12154         file.
12155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12156         file.
12157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12158         multiarch copysign for PPC64.
12159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12160         multiarch copysignf for PPC64.
12161
12162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12163         multiarch implementation.
12164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12165         file.
12166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12167         file.
12168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12169         file.
12170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12171         file.
12172         multiarch llround for PPC64.
12173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12174         multiarch trunc for PPC64.
12175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12176         multiarch truncf for PPC64.
12177
12178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12179         multiarch implementation.
12180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12181         file.
12182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12183         file.
12184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12185         file.
12186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12187         file.
12188         multiarch llround for PPC64.
12189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12190         multiarch round for PPC64.
12191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12192         multiarch roundf for PPC64.
12193
12194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12195         multiarch implementation.
12196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12197         file.
12198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12199         file.
12200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12201         file.
12202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12203         file.
12204         multiarch llround for PPC64.
12205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12206         multiarch floor for PPC64.
12207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12208         multiarch floorf for PPC64.
12209
12210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12211         multiarch implementation.
12212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12213         file.
12214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12215         file.
12216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12217         file.
12218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12219         file.
12220         multiarch llround for PPC64.
12221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12222         multiarch ceil for PPC64.
12223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12224         multiarch ceilf for PPC64.
12225
12226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12227         multiarch implementation.
12228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12229         file.
12230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12231         file.
12232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12233         file.
12234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12235         multiarch llround for PPC64.
12236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12237         multiarch lround for PPC64.
12238
12239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12240         multiarch implementation.
12241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12244         file.
12245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12248         multiarch isnan for PPC64.
12249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12250         multiarch isnanf for PPC64.
12251
12252         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12253         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12254         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12255         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12256         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12258
12259         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12260         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12261         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12262         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12263
12264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12265         multiarch implementations.
12266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12267         (__libc_ifunc_impl_list): Likewise.
12268         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12269         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12270         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12271         multiarch stpcpy for PPC64.
12272
12273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12274         multiarch implementations.
12275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12276         (__libc_ifunc_impl_list): Likewise.
12277         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12278         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12279         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12280         multiarch strcpy for PPC64.
12281
12282         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12283         redefine function name.
12284         (_wordcopy_fwd_dest_aligned): Likewise.
12285         (_wordcopy_bwd_aligned): Likewise.
12286         (_wordcopy_bwd_dest_aligned): Likewise.
12287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12288         multiarch implementations.
12289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12290         (__libc_ifunc_impl_list): Likewise.
12291         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12292         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12293         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12294         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12295         multiarch wcscpy for PPC64.
12296
12297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12298         multiarch implementations.
12299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12300         (__libc_ifunc_impl_list): Likewise.
12301         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12302         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12303         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12304         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12305         multiarch wcscpy for PPC64.
12306
12307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12308         multiarch implementations.
12309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12310         (__libc_ifunc_impl_list): Likewise.
12311         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12312         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12313         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12314         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12315         multiarch wcsrchr for PPC64.
12316
12317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12318         multiarch implementations.
12319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12320         (__libc_ifunc_impl_list): Likewise.
12321         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12322         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12323         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12324         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12325         multiarch wcschr for PPC64.
12326
12327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12328         multiarch implementations.
12329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12330         (__libc_ifunc_impl_list): Likewise.
12331         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12332         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12333         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12334         multiarch strchrnul for PPC64.
12335
12336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12337         implementations.
12338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12339         (__libc_ifunc_impl_list): Likewise.
12340         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12341         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12342         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12343         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12344         strchr for PPC64.
12345
12346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12347         implementations.
12348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12349         (__libc_ifunc_impl_list): Likewise.
12350         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12351         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12352         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12353         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12354         strncmp for PPC64.
12355
12356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12357         multiarch implementations.
12358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12359         (__libc_ifunc_impl_list): Likewise.
12360         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12361         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12362         strncasecmp for PPC64.
12363         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12364         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12365         multiarch strncasecmp_l for PPC64.
12366
12367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12368         multiarch implementations.
12369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12370         (__libc_ifunc_impl_list): Likewise.
12371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12372         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12373         multiarch strcasecmp for PPC64.
12374         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12375         file.
12376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12377         multiarch strcasecmp_l for PPC64.
12378
12379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12380         implementations.
12381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12382         (__libc_ifunc_impl_list): Likewise.
12383         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12384         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12385         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12386         strnlen for PPC64.
12387
12388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12389         implementations.
12390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12391         (__libc_ifunc_impl_list): Likewise.
12392         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12393         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12394         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12395         strlen for PPC64.
12396
12397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12398         implementations.
12399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12400         (__libc_ifunc_impl_list): Likewise.
12401         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12402         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12403         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12404         rawmemrchr for PPC64.
12405
12406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12407         implementation.
12408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12409         (__libc_ifunc_impl_list): Likewise.
12410         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12411         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12412         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12413         memrchr for PPC64.
12414
12415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12416         implementation.
12417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12418         (__libc_ifunc_impl_list): Likewise.
12419         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12420         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12421         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12422         memchr for PPC64.
12423
12424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12425         implementation.
12426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12427         (__libc_ifunc_impl_list): Likewise.
12428         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12429         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12430         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12431         mempcpy for PPC64.
12432
12433         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12434         avoid cretion of __bzero symbol.
12435         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12436         Likewise.
12437         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12438         Likewise.
12439         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12440         Likewise.
12441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12442         multiarch implementations.
12443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12444         (__libc_ifunc_impl_list): Likewise.
12445         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12446         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12447         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12448         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12449         bzero for PPC32.
12450         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12451         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12452         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12453         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12454         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12455         memset for PPC64.
12456         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12457
12458         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12460         implementations.
12461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12462         (__libc_ifunc_impl_list): Likewise.
12463         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12464         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12465         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12466         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12467         memcmp for PPC64.
12468
12469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12470         multiarch for POWER/PPC64.
12471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12472         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12473         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12474         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12475         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12476         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12477         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12478         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12479         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12480         memcpy for PPC64.
12481
12482         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12483         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12484         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12485         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12486         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12487         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12488         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12489         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12490         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12491         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12492         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12493         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12494         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12495         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12496         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12504
12505 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12506
12507         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12508
12509 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12510
12511         * benchtests/Makefile (bench): Add exp2 and log2.
12512         (LDLIBS-bench-exp2): Add -lm.
12513         (LDLIBS-bench-log2): Likewise.
12514         * benchtests/exp2-inputs: New inputs file.
12515         * benchtests/log2-inputs: New inputs file.
12516         * benchtests/log-inputs: Add new inputs.
12517         * benchtests/tan-inputs: Likewise.
12518
12519 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12520
12521         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12522         definition...
12523         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12524         (csloww2): ... from here.
12525
12526         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12527         instead of structures.
12528         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12529         (POLYNOMIAL): Likewise.
12530         (TAYLOR_SLOW): Likewise.
12531         (__sin): Likewise.
12532         (__cos): Likewise.
12533         (slow1): Likewise.
12534         (slow2): Likewise.
12535         (sloww): Likewise.
12536         (sloww1); Likewise.
12537         (sloww2): Likewise.
12538         (bsloww1): Likewise.
12539         (bsloww2): Likewise.
12540         (cslow2): Likewise.
12541         (csloww): Likewise.
12542         (csloww1): Likewise.
12543         (csloww2): Likewise.
12544
12545 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12546
12547         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12548         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12549         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12550         * malloc/hooks.c (realloc_check): Likewise.
12551
12552         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12553         * malloc/arena.c: Remove PER_THREAD conditional.
12554         [!PER_THREAD]: Remove code.
12555         (ptmalloc_unlock_all2): Likewise.
12556         (ptmalloc_init): Likewise.
12557         (_int_new_arena): Likewise.
12558         (arena_get2): Likewise.
12559         * malloc/hooks.c (__malloc_get_state): Likewise.
12560         (__malloc_set_state): Likewise.
12561         * malloc/malloc.c: Likewise.
12562         (struct malloc_state): Likewise.
12563         (struct malloc_par): Likewise.
12564         (__libc_realloc): Likewise.
12565         (__libc_mallopt): Likewise.
12566
12567 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12568
12569         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12570
12571 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12572
12573         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12574         macro to a function.  Check for zero perturb_byte.
12575         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12576
12577         * malloc/malloc.c: (force_reg): Remove.
12578         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12579         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12580         force_reg by atomic_forced_read.
12581         * malloc/arena.c (ptmalloc_init): Likewise.
12582         * malloc/hooks.c (top_check): Likewise.
12583
12584 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12585
12586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12587
12588 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12589
12590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12591
12592 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12593
12594         * math/auto-libm-test-in: Add tests of lgamma.
12595         * math/auto-libm-test-out: Regenerated.
12596         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12597         (M_LOG_2_SQRT_PIl): Likewise.
12598         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12599         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12600         mpfr_f_f1.
12601         (func_calc_desc): Add mpfr_f_f1 union field.
12602         (ARGS1): New macro.
12603         (ARGS2): Likewise.
12604         (ARGS3): Likewise.
12605         (ARGS4): Likewise.
12606         (RET1): Likewise.
12607         (RET2): Likewise.
12608         (CALC): Likewise.
12609         (FUNC): Likewise.
12610         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12611         (test_functions): Add lgamma.
12612         (calc_generic_results): Handle mpfr_f_f1.
12613         * sysdeps/i386/fpu/libm-test-ulps: Update.
12614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12615
12616 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12617
12618         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12619         __mpn_add_n for PowerPC64/POWER7.
12620         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12621         __mpn_sub_n for PowerPC64/POWER7.
12622
12623         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12624         __mpn_addmul_1 for PowerPC64.
12625         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12626         __mpn_submul_1 for PowerPC64.
12627         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12628         for PowerPC64.
12629         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12630         for PowerPC64.
12631
12632 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12633
12634         [BZ #15089]
12635         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12636
12637 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12638
12639         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12640
12641         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12642         add multiarch folders.
12643         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12644         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12645         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12646         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12647         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12648         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12649         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12650         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12651         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12652         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12653         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12660
12661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12662         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12664         New file.
12665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12666         New file.
12667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12668         multiarch __ieee754_hypot for PowerPC32.
12669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12670         New file.
12671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12672         New file.
12673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12674         multiarch __ieee754_hypotf for PowerPC32.
12675
12676         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12677         long_double_symbol only if __logbl is defined.
12678         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12679         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12681         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12682         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12683         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12684         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12685         path for implementation.
12686         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12687         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12689         logb, and logbl multiarch implementations for PowerPC32.
12690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12691         file.
12692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12693         file.
12694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12695         multiarch logb for PowerPC32.
12696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12697         file.
12698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12699         file.
12700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12701         multiarch logbf for PowerPC32.
12702         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12704         file.
12705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12706         multiarch logbl implementation for PowerPC32.
12707
12708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12709         and modff multiarch implementations.
12710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12711         New file.
12712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12713         New file.
12714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12715         multiarch modf for PowerPC32.
12716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12717         New file.
12718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12719         New file.
12720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12721         multiarch modff for PowerPC32.
12722
12723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12724         and lrintf multiarch implementations.
12725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12726         New file.
12727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12728         New file.
12729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12730         multiarch lrint for PowerPC32.
12731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12732         file: multiarch lrintf for PowerPC32.
12733
12734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12735         and lroundf multiarch implementations.
12736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12737         New file.
12738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12739         New file.
12740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12741         New file.
12742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12743         multiarch lround for PowerPC32.
12744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12745         file: multiarch lroundf for PowerPC32.
12746
12747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12748         copysign and copysignf multiarch implementations.
12749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12750         New file.
12751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12752         New file.
12753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12754         file: multiarch copysign for PowerPC32.
12755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12756         file: multiarch copysignf for PowerPC32.
12757
12758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12759         and truncf multiarch implementations.
12760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12761         New file.
12762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12763         file.
12764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12765         multiarch trunc for PowerPC32.
12766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12767         New file.
12768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12769         New file.
12770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12771         multiarch truncf for PowerPC32.
12772
12773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12774         and roundf multiarch implementations.
12775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12776         New file.
12777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12778         file.
12779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12780         multiarch round for PowerPC32.
12781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12782         New file.
12783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12784         New file.
12785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12786         multiarch roundf for PowerPC32.
12787
12788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12789         and floorf multiarch implementations.
12790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12791         New file.
12792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12793         file.
12794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12795         multiarch floor for PowerPC32.
12796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12797         New file.
12798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12799         New file.
12800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12801         multiarch floorf for PowerPC32.
12802
12803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12804         and ceilf multiarch implementations.
12805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12806         New file.
12807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12808         file.
12809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12810         multiarch ceil for PowerPC32.
12811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12812         New file.
12813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12814         file.
12815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12816         multiarch ceilf for PowerPC32.
12817
12818         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12819         is defined.
12820         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12821         FINITEF is defined.
12822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12823         and finitef multiarch implementations.
12824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12825         New file.
12826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12827         file.
12828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12829         multiarch finite for PowerPC32.
12830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12831         New file.
12832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12833         file: multiarch finitef for PowerPC32.
12834
12835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12836         and isinff multiarch implementations.
12837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12838         file.
12839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12840         file.
12841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12842         multiarch isinf for PowerPC32.
12843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12844         New file.
12845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12846         multiarch isinff for PowerPC32.
12847
12848         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12849         alias when __isnan is defined.
12850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12851         and isnanf multiarch implementations.
12852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12853         file.
12854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12855         file.
12856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12857         file.
12858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12859         file.
12860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12861         multiarch isnan for PowerPC32.
12862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12863         New file.
12864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12865         New file.
12866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12867         multiarch isnanf for PowerPC32.
12868
12869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12870         and sqrtf multiarch implementations.
12871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12872         file.
12873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12874         file.
12875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12876         multiarch sqrt for PowerPC32.
12877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12878         file.
12879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12880         file.
12881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12882         multiarch sqrtf for PowerPC32.
12883
12884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12885         and llroundf multiarch implementations.
12886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12887         New file.
12888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12889         New file.
12890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12891         New file.
12892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12893         file: multiarch llround for PowerPC32.
12894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12895         file: multiarch llroundf for PowerPC32.
12896
12897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12898         multiarch PowerPC32 fpu implementations.
12899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12900         New file.
12901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12902         New file.
12903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12904         multiarch llrint for PowerPC32.
12905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12906         New file.
12907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12908         New file.
12909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12910         file.
12911
12912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12913
12914         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12915         file.
12916         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12917         file.
12918         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12919         file.
12920         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12921         multiarch wordcopy for PPC32.
12922         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12923         wordcopy objects.
12924         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12925         (__libc_ifunc_impl_list): Likewise.
12926         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12927         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12928         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12929         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12930         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12931         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12932
12933         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12935         file.
12936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12937         file.
12938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12939         file.
12940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12941         multiarch wcscpy for PPC32.
12942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12943         multiarch objects.
12944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12945         (__libc_ifunc_impl_list): Likewise.
12946         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12947         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12948         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12949         sysdeps/powerpc/power6/wcscpy.c.
12950
12951         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12953         file.
12954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12955         file.
12956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12957         file.
12958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12959         multiarch wcsrchr for PPC32.
12960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12961         multiarch objects.
12962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12963         (__libc_ifunc_impl_list): Likewise.
12964         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12965         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12966         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12967         sysdeps/powerpc/power6/wcsrchr.c.
12968
12969         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12970         file.
12971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12972         file.
12973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12975         multiarch wcschr for PPc32.
12976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12977         multiarch objects.
12978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12979         (__libc_ifunc_impl_list): Likewise.
12980         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12981         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12982         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12983         sysdeps/powerpc/power6/wcschr.c.
12984
12985         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12986         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12987         file.
12988         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12989         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12990         file: multiarch strchr for PPC32.
12991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12992         multiarch objects.
12993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12994         (__libc_ifunc_impl_list): Likewise.
12995
12996         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12997         name.
12998         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12999         file.
13000         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13001         file.
13002         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13003         multiarch strchrnul for PPC32.
13004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13005         multiarch objects.
13006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13007         (__libc_ifunc_impl_list): Likewise.
13008
13009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13010         file.
13011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13012         multiarch strncasecmp for PPC32.
13013         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13014         file.
13015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13016         multiarch strncasecmp_l for PPC32.
13017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13018         strncasecmp multiarch objects.
13019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13020         (__libc_ifunc_impl_list): Likewise.
13021
13022         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13023         file.
13024         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13025         multiarch strncasecmp for PPC32.
13026         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13027         New file.
13028         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13029         multiarch strcasecmp_l for PPC32.
13030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13031         multiarch objects.
13032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13033         (__libc_ifunc_impl_list): Likewise.
13034
13035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13036         file.
13037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13038         file.
13039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13040         multiarch strncmp for PPC32.
13041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13042         multiarch objects.
13043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13044         (__libc_ifunc_impl_list): Likewise.
13045
13046         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13047         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13048         file.
13049         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13050         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13052         multiarch objects.
13053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13054         (__libc_ifunc_impl_list): Likewise.
13055
13056         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13057         file.
13058         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13059         file.
13060         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13062         multiarch objects.
13063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13064         (__libc_ifunc_impl_list): Likewise.
13065
13066         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13067         file.
13068         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13069         file.
13070         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13071         multiarch rawmemchr for PPC32.
13072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13073         multiarch objects.
13074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13075         (__libc_ifunc_impl_list): Likewise.
13076
13077         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13078         file.
13079         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13080         file.
13081         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13082         file: memrchr multiarch for PPC32.
13083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13084         multiarch objects.
13085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13086         (__libc_ifunc_impl_list): Likewise.
13087
13088         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13089         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13090         file.
13091         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13092         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13093         multiarch memchr for PPC32.
13094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13095         multiarch objects.
13096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13097         (__libc_ifunc_impl_list): Likewise.
13098
13099         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13100         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13101         file.
13102         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13103         file.
13104         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13105         file: multiarch mempcpy for PPC32.
13106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13107         multiarch objects.
13108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13109         (__libc_ifunc_impl_list): Likewise.
13110
13111         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13112         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13113         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13114         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13115         multiarch bzero for PPC32.
13116         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13117         file.
13118         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13119         file.
13120         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13121         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13122         file: multiarch memset for PPC32.
13123         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13125         memset multiarch objects.
13126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13127         (__libc_ifunc_impl_list): Likewise.
13128
13129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13130         file.
13131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13133         memcmp for PPC32.
13134         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13136         multiarch objects.
13137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13138         (__libc_ifunc_impl_list): Likewise.
13139
13140         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13142         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13143         file.
13144         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13145         file.
13146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13147         file.
13148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13149         multiarch memcpy for PPC32.
13150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13151         multiarch objects.
13152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13153         (__libc_ifunc_impl_list): Likewise.
13154
13155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13156         support multiarch for POWER/PPC32.
13157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13158         Likewise.
13159         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13161         Implies file to make multiarch folder appers before the fpu and
13162         default folder for power4 configuration.
13163
13164 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13165
13166         * scripts/bench.pl: Append volatile keyword to type.
13167
13168 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13169
13170         * sysdeps/sh/sotruss-lib.c: New file.
13171         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13172
13173 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13174
13175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13176
13177 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13178
13179         [BZ #6810]
13180         * math/w_tgamma.c: Include <errno.h>.
13181         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13182         * math/w_tgammaf.c: Include <errno.h>.
13183         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13184         * math/w_tgammal.c: Include <errno.h>.
13185         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13186         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13187         underflow.  Add more tgamma tests.
13188         * math/auto-libm-test-out: Regenerated.
13189         * sysdeps/i386/fpu/libm-test-ulps: Update.
13190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13191
13192         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13193         sin, sinh, tan, tanh, tgamma, y0 and y1.
13194         * math/auto-libm-test-out: Regenerated.
13195         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13196         (TEST_COND_x86): Likewise.
13197         (M_E2l): Remove macro.
13198         (M_E3l): Likewise.
13199         (M_2_SQRT_PIl): Likewise.
13200         (M_SQRT_PIl): Likewise.
13201         (M_1_DIV_El): Likewise.
13202         (log_test_data): Use AUTO_TESTS_f_f.
13203         (log10_test_data): Likewise.
13204         (log1p_test_data): Likewise.
13205         (log2_test_data): Likewise.
13206         (sin_test_data): Likewise.
13207         (sin_tonearest_test_data): Likewise.
13208         (sin_towardzero_test_data): Likewise.
13209         (sin_downward_test_data): Likewise.
13210         (sin_upward_test_data): Likewise.
13211         (sinh_test_data): Likewise.
13212         (sinh_tonearest_test_data): Likewise.
13213         (sinh_towardzero_test_data): Likewise.
13214         (sinh_downward_test_data): Likewise.
13215         (sinh_upward_test_data): Likewise.
13216         (tan_test_data): Likewise.
13217         (tan_tonearest_test_data): Likewise.
13218         (tan_towardzero_test_data): Likewise.
13219         (tan_downward_test_data): Likewise.
13220         (tan_upward_test_data): Likewise.
13221         (tanh_test_data): Likewise.
13222         (tgamma_test_data): Likewise.
13223         (y0_test_data): Likewise.
13224         (y1_test_data): Likewise.
13225         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13226         (special_real_inputs): Add pi/4.
13227         * sysdeps/i386/fpu/libm-test-ulps: Update.
13228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13229
13230 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13231
13232         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13233         "longjmp_target" static probes.
13234         (__longjmp): Rename to __longjmp_symbol.
13235         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13236         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13237         on which longjmp to generate.
13238         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13239         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13240         probe.
13241         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13242         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13243         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13244         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13245         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13246         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13248         __longjmp_symbol based on which __longjmp to generate.
13249         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13250         probe.
13251         (setjmp): Rename to setjmp_symbol.
13252         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13253         (_setjmp): Rename to _setjmp_symbol.
13254         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13255         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13256         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13257         which setjmp to generate.
13258         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13259         "longjmp_target" static probes.
13260
13261 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13262
13263         * benchtests/README: Add note about output arguments.
13264         * benchtests/bench-sincos.c: Remove file.
13265         * benchtests/sincos-inputs: New file.
13266         * scripts/bench.pl: Identify output arguments and define
13267         static variables for them.
13268
13269         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13270
13271         [BZ #15941]
13272         * Makefile (INSTALL): Add install-plain.texi as the primary
13273         dependency.
13274         * manual/install-plain.texi: New file.
13275         * manual/install.texi: Include node directive only for
13276         non-plaintext output.
13277
13278 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13279
13280         * stdlib/longlong.h: Update from GCC.
13281
13282         [BZ #6807]
13283         [BZ #15901]
13284         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13285         * math/w_j0f.c (y0f): Likewise.
13286         * math/w_j0l.c (__y0l): Likewise.
13287         * math/w_j1.c (y1): Likewise.
13288         * math/w_j1f.c (y1f): Likewise.
13289         * math/w_j1l.c (__y1l): Likewise
13290         * math/w_jn.c (yn): Likewise.
13291         * math/w_jnf.c (ynf): Likewise.
13292         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13293         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13294         value for Bessel function domain errors outside _SVID_ mode.
13295         Adjust sign of return value for yn (negative integer, 0).
13296         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13297         by zero in return for negative x and set sign appropriately for
13298         negative n.
13299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13300         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13301         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13302         expectations in error cases.
13303         (y1_test_data): Likewise.
13304         (yn_test_data): Likewise.
13305         * sysdeps/i386/fpu/libm-test-ulps: Update.
13306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13307
13308 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13309
13310         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13311         "64" to "64-v1".  Add "64-v2".
13312         (abi-64-options): Rename to ...
13313         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13314         (abi-64-condition): Rename to ...
13315         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13316         (abi-64-ld-soname): Rename to ...
13317         (abi-64-v1-ld-soname): ... this.
13318         (abi-64-v2-options): Define.
13319         (abi-64-v2-condition): Likewise.
13320         (abi-64-v2-ld-soname): Likewise.
13321         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13322         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13326
13327 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13328             Alan Modra  <amodra@gmail.com>
13329
13330         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13331         New versions for use with the ELFv2 ABI.
13332         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13333         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13334         declaration.
13335         (struct La_ppc64v2_retval): Likewise.
13336         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13337         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13338         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13339         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13340         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13341         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13342         Do not save or restore CR.
13343         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13344         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13345         return values for ELFv2 ABI.  Fix location of FPR return registers.
13346         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13347         updated values for _CALL_ELF == 2.
13348         (La_regs, La_retval, int_retval): Likewise.
13349
13350 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13351
13352         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13353         (FRAME_MIN_SIZE_PARM): Likewise.
13354         (FRAME_BACKCHAIN): Likewise.
13355         (FRAME_CR_SAVE): Likewise.
13356         (FRAME_LR_SAVE): Likewise.
13357         (FRAME_TOC_SAVE): Likewise.
13358         (FRAME_PARM_SAVE): Likewise.
13359         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13360         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13361         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13362         (call_mcount_parm_offset): New macro.
13363         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13364         (PROF): Use symbolic stack frame offsets.
13365         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13366         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13367         Redefine in terms of FRAME_MIN_SIZE.
13368         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13369         (_dl_profile_resolve): Likewise.  Update comment.
13370         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13371         symbols stack frame offsets.
13372         (__sigsetjmp): Likewise.
13373         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13374         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13375         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13376         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13377
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13379         (FRAME_BACKCHAIN): Remove.
13380         (FRAME_CR_SAVE): Likewise.
13381         (FRAME_LR_SAVE): Likewise.
13382         (FRAME_COMPILER_DW): Likewise.
13383         (FRAME_LINKER_DW): Likewise.
13384         (FRAME_TOC_SAVE): Likewise.
13385         (FRAME_PARM_SAVE): Likewise.
13386         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13387         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13388         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13390         (CHECK_SP): Use symbolic stack frame offsets.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13392         zone" instead of caller's parameter save area for temp storage.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13394         Likewise.  Also, use symbolic stack frame offsets.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13396         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13397         our own stack frame instead of the caller's.
13398         (__socket): Use symbolic stack frame offsets.
13399
13400 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13401             Alan Modra  <amodra@gmail.com>
13402
13403         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13404         Define.
13405         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13406         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13407         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13408         New function.
13409         (elf_machine_fixup_plt): Call it.
13410         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13411         reloc arguments.
13412         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13413         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13414         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13415         r2 before calling target.
13416
13417 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13418             Alan Modra  <amodra@gmail.com>
13419
13420         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13421         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13422         versions of macros to support ELFv2 ABI.
13423         (LOCALENTRY): New macro.
13424         (ENTRY, EALIGN): Use it.
13425         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13426         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13427         fall through into ENTRY entry point.
13428         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13429         Only define if _CALL_ELF != 2.
13430
13431         (elf_machine_matches_host): Verify ABI version matches.
13432         (RTLD_START): Use LOCALENTRY.
13433         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13434         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13435         (PLT_ENTRY_WORDS): New macro.
13436         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13437         (elf_machine_runtime_setup): Support ELFv2 ABI.
13438         (elf_machine_fixup_plt): Likewise.
13439         (elf_machine_plt_conflict): Likewise.
13440         (resolve_ifunc): Likewise.
13441         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13442         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13443         Likewise.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13445         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13447         (makecontext): Support ELFv2 ABI.
13448         * elf/elf.h (EF_PPC64_ABI): Define.
13449
13450 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13451
13452         * sysdeps/powerpc/powerpc64/sysdep.h
13453         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13454         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13455         (ENTRY) [ASSEMBLER]: ... but instead here ...
13456         (EALIGN) [ASSEMBLER]: ... and here.
13457         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13458         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13459         (ENTRY_2) [!ASSEMBLER]: Use it.
13460         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13461         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13462         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13463         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13464         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13466         Use PPC64_LOAD_FUNCPTR.
13467
13468         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13469
13470 2013-12-04  Alan Modra  <amodra@gmail.com>
13471
13472         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13473         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13474         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13475         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13476
13477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13478         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13479         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13480         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13481         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13482         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13483
13484 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13485
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13487         (__makecontext): Fix incorrect CFI when backtracing out of
13488         context created via makecontext.
13489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13490         (__setcontext): Fix incorrect CFI during switch to new context.
13491         (__novec_setcontext): Likewise.
13492
13493 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13494
13495         [BZ #4772]
13496         * time/strptime_l.c (__strptime_internal): Allow modifiers
13497         in strptime.
13498         * time/tst-strptime.c (day_tests): Add testcase.
13499
13500 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13501
13502         * scripts/bench.pl: Skip over blank lines.
13503
13504 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13505
13506         [BZ #926]
13507         * manual/time.texi (Calendar Time): Clarify what timezone functions
13508         use.
13509
13510 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13511
13512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13513
13514 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13515
13516         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13517         implementation.
13518         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13519         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13520         * debug/memset_chk.c (__memset_chk): Likewise.
13521         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13522         * debug/strncpy_chk.c: Likewise.
13523
13524 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13525
13526         [BZ #15268]
13527         [BZ #15425]
13528         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13529         (__ieee754_exp): For possibly underflowing results, check size of
13530         result and force underflow exception if required.
13531         * math/auto-libm-test-in: Add more tests of exp.
13532         * math/auto-libm-test-out: Regenerated.
13533         * sysdeps/i386/fpu/libm-test-ulps: Update.
13534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13535
13536         [BZ #16283]
13537         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13538         * math/w_exp2f.c (__exp2f): Likewise.
13539         * math/w_exp2l.c (__exp2l): Likewise.
13540         * math/auto-libm-test-in: Do not allow missing errno on exp2
13541         underflow.
13542         * math/auto-libm-test-out: Regenerated.
13543
13544 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13545
13546         [BZ #16274]
13547         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13548         handle filename validation.
13549         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13550         (do_open): Delete.
13551
13552 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13553
13554         [BZ #6786]
13555         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13556         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13557         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13558         <float.h>.
13559         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13560         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13561         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13562         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13563         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13564         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13565         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13566         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13567         Add more erfc tests.
13568         * math/auto-libm-test-out: Regenerated.
13569         * sysdeps/i386/fpu/libm-test-ulps: Update.
13570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13571
13572         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13573         exp2, expm1, j0 and j1.
13574         * math/auto-libm-test-out: Regenerated.
13575         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13576         (erfc_test_data): Likewise.
13577         (exp_test_data): Likewise.
13578         (exp_tonearest_test_data): Likewise.
13579         (exp_towardzero_test_data): Likewise.
13580         (exp_downward_test_data): Likewise.
13581         (exp_upward_test_data): Likewise.
13582         (exp10_test_data): Likewise.
13583         (exp2_test_data): Likewise.
13584         (expm1_test_data): Likewise.
13585         (j0_test_data): Likewise.
13586         (j1_test_data): Likewise.
13587         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13588         (input_flag_type): Add flag_xfail_rounding.
13589         (input_flags): Add xfail-rounding.
13590         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13591         (output_for_one_input_case): Handle flag_xfail_rounding.
13592         * sysdeps/i386/fpu/libm-test-ulps: Update.
13593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13594
13595 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13596
13597         [BZ #16289]
13598         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13599         division by 0.
13600
13601 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13602
13603         [BZ #16195]
13604         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13605         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13606         (STAP_PROBE0): New macro.
13607         (STAP_PROBE1): Likewise.
13608         (STAP_PROBE2): Likewise.
13609         (STAP_PROBE3): Likewise.
13610         (STAP_PROBE4): Likewise.
13611
13612 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13613
13614         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13615
13616 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13617
13618         * benchtests/Makefile (bench): Add sqrt.
13619         (LDLIBS-bench-sqrt): New.
13620         * benchtests/sqrt-input: New.
13621
13622 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13623
13624         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13625         (GAIH_EAI): Likewise.
13626         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13627         (gaih_inet): Likewise.
13628         (getaddrinfo): Don't use GAIH_EAI.
13629
13630         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13631         (struct gaih): Remove definition.
13632
13633 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13634
13635         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13636         Use HERRNOP directly.
13637
13638 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13639
13640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13641
13642 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13643
13644         * math/gen-auto-libm-tests.c (test_functions): Add more
13645         single-argument functions.
13646         (special_fill_pi_2): New function.
13647         (special_fill_minus_pi_2): Likewise.
13648         (special_fill_pi_6): Likewise.
13649         (special_fill_minus_pi_6): Likewise.
13650         (special_fill_pi_3): Likewise.
13651         (special_fill_2pi_3): Likewise.
13652         (special_fill_e): Likewise.
13653         (special_fill_1_e): Likewise.
13654         (special_fill_e_minus_1): Likewise.
13655         (special_real_inputs): Add more special inputs.
13656         (output_for_one_input_case): Do not require ERANGE on underflow to
13657         zero if round-to-nearest result does not underflow to zero, unless
13658         exact results required.
13659         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13660         atan, atanh, cbrt, cos and cosh.
13661         * math/auto-libm-test-out: Regenerated.
13662         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13663         (acos_tonearest_test_data): Likewise.
13664         (acos_towardzero_test_data): Likewise.
13665         (acos_downward_test_data): Likewise.
13666         (acos_upward_test_data): Likewise.
13667         (acosh_test_data): Likewise.
13668         (asin_test_data): Likewise.
13669         (asin_tonearest_test_data): Likewise.
13670         (asin_towardzero_test_data): Likewise.
13671         (asin_upward_test_data): Likewise.
13672         (asinh_test_data): Likewise.
13673         (atan_test_data): Likewise.
13674         (atanh_test_data): Likewise.
13675         (cbrt_test_data): Likewise.
13676         (cos_test_data): Likewise.
13677         (cos_tonearest_test_data): Likewise.
13678         (cos_towardzero_test_data): Likewise.
13679         (cos_downward_test_data): Likewise.
13680         (cos_upward_test_data): Likewise.
13681         (cosh_test_data): Likewise.
13682         (cosh_tonearest_test_data): Likewise.
13683         (cosh_towardzero_test_data): Likewise.
13684         (cosh_downward_test_data): Likewise.
13685         (cosh_upward_test_data): Likewise.
13686         * sysdeps/i386/fpu/libm-test-ulps: Update.
13687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13688
13689 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13690
13691         [BZ #6787]
13692         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13693         * math/w_exp10f.c (__exp10f): Likewise.
13694         * math/w_exp10l.c (__exp10l): Likewise.
13695         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13696         errno settings in existing tests.
13697
13698         [BZ #14032]
13699         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13700         precision control set to double precision.
13701         * sysdeps/i386/fpu/w_sqrt.c: New file.
13702         * math/auto-libm-test-in: Add more tests.
13703         * math/auto-libm-test-out: Update.
13704
13705         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13706         (sqrt_test_tonearest): New function.
13707         (sqrt_towardzero_test_data): New variable.
13708         (sqrt_test_towardzero): New function.
13709         (sqrt_downward_test_data): New variable.
13710         (sqrt_test_downward): New function.
13711         (sqrt_upward_test_data): New variable.
13712         (sqrt_test_upward): New function.
13713         (main): Call the new functions.
13714
13715         * math/gen-auto-libm-tests.c: New file.
13716         * math/auto-libm-test-in: Likewise.
13717         * math/auto-libm-test-out: New generated file.
13718         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13719         variables.
13720         (%beautify): Add generated representations of zero.
13721         (top level): Set $auto_input and call parse_auto_input.
13722         (beautify): Remove trailing "f" from hex float constants.
13723         (parse_args): Handle XFAIL_TEST.
13724         (convert_condition): New function.
13725         (or_value): Likewise.
13726         (or_cond_value): Likewise.
13727         (generate_testfile): Handle AUTO_TESTS_* lines.
13728         (parse_auto_input): New function.
13729         * math/libm-test.inc (XFAIL_TEST): New macro.
13730         (ERRNO_UNCHANGED): Update value.
13731         (ERRNO_EDOM): Likewise.
13732         (ERRNO_ERANGE): Likewise.
13733         (IGNORE_RESULT): Likewise.
13734         (TEST_COND_flt_32): New macro.
13735         (TEST_COND_dbl_64): Likewise.
13736         (TEST_COND_ldbl_96_intel): Likewise.
13737         (TEST_COND_ldbl_96_m68k): Likewise.
13738         (TEST_COND_ldbl_128): Likewise.
13739         (TEST_COND_ldbl_128ibm): Likewise.
13740         (TEST_COND_long32): Likewise.
13741         (TEST_COND_long64): Likewise.
13742         (TEST_COND_before_rounding): Likewise.
13743         (TEST_COND_after_rounding): Likewise.
13744         (enable_test): Handle XFAIL_TEST flag.
13745         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13746         with finite results.
13747         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13748         auto-libm-test-out.
13749
13750 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13751             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13752
13753         [BZ #16214]
13754         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13755         __tls_get_addr_internal instead of __tls_get_offset in order to
13756         avoid GOT pointer dependency.  Make rtld export
13757         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13758         __tls_get_addr since we are a __tls_get_offset platform.
13759         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13760         GOT pointer being set up before.
13761         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13762
13763 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13764
13765         * manual/math.texi (Errors in Math Functions): Document accuracy
13766         goals.
13767
13768         [BZ #15004]
13769         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13770         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13771         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13772         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13773         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13774         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13775         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13776         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13777         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13778         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13779         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13780         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13781         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13782         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13783         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13784         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13785
13786         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13787         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13788         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13789         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13790         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13791         Likewise.
13792         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13793         Likewise.
13794         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13795         Likewise.
13796         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13797         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13798         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13799         atomic-feupdateenv and flt-rounds.
13800         * sysdeps/powerpc/nofpu/Versions (libc): Add
13801         __atomic_feholdexcept, __atomic_feclearexcept,
13802         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13803         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13804         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13805         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13806         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13807         here.
13808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13809         Update.
13810
13811         * manual/arith.texi (FP Exceptions): Document that exceptions may
13812         not be raised when matherr is used.
13813         (Math Error Reporting): Document overflow in directed rounding
13814         modes.  Document that errno may not be set when finite values are
13815         returned on overflow.  Document intent to set errno on underflow
13816         only for underflow to zero.
13817
13818         [BZ #16271]
13819         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13820         round-to-nearest then adjust result for other rounding modes.
13821         * include/fenv.h (fegetround): Use libm_hidden_proto.
13822         * math/fegetround.c (fegetround): Use libm_hidden_def.
13823         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13824         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13825         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13826         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13827         Likewise.
13828         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13829         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13830         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13831         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13832
13833 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13834
13835         [BZ #16077]
13836         * nss/Versions (libnss_files): Add
13837         _nss_files_gethostbyname3_r.
13838         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13839         New function.
13840         (HOST_DB_LOOKUP): Remove macro.
13841         (_nss_files_gethostbyname_r): Implement function without the
13842         HOST_DB_LOOKUP macro.
13843         (_nss_files_gethostbyname2_r): Likewise.
13844
13845 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13846
13847         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13848
13849 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13850
13851         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13852         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13853         warning.
13854
13855 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13856
13857         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13858         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13859         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13860         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13861         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13862         __fe_nomask_env_priv and attribute_hidden.
13863         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13864         (libc_feupdateenv_test_ppc): Likewise.
13865         (libc_feresetround_ppc): Likewise.
13866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13867         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13868         compat_symbol macro.
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13870         (__fe_nomask_env): Likewise.
13871         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13872
13873 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13874
13875         * string/Makefile: Remove ifunc tests.
13876         * string/test-string.h: Define TEST_IFUNC.
13877         * string/test-bcopy-ifunc.c: Remove.
13878         * string/test-bzero-ifunc.c: Likewise.
13879         * string/test-memccpy-ifunc.c: Likewise.
13880         * string/test-memchr-ifunc.c: Likewise.
13881         * string/test-memcmp-ifunc.c: Likewise.
13882         * string/test-memcpy-ifunc.c: Likewise.
13883         * string/test-memmem-ifunc.c: Likewise.
13884         * string/test-memmove-ifunc.c: Likewise.
13885         * string/test-mempcpy-ifunc.c: Likewise.
13886         * string/test-memrchr-ifunc.c: Likewise.
13887         * string/test-memset-ifunc.c: Likewise.
13888         * string/test-rawmemchr-ifunc.c: Likewise.
13889         * string/test-stpcpy-ifunc.c: Likewise.
13890         * string/test-stpncpy-ifunc.c: Likewise.
13891         * string/test-strcasecmp-ifunc.c: Likewise.
13892         * string/test-strcasestr-ifunc.c: Likewise.
13893         * string/test-strcat-ifunc.c: Likewise.
13894         * string/test-strchr-ifunc.c: Likewise.
13895         * string/test-strchrnul-ifunc.c: Likewise.
13896         * string/test-strcmp-ifunc.c: Likewise.
13897         * string/test-strcpy-ifunc.c: Likewise.
13898         * string/test-strcspn-ifunc.c: Likewise.
13899         * string/test-strlen-ifunc.c: Likewise.
13900         * string/test-strncasecmp-ifunc.c: Likewise.
13901         * string/test-strncat-ifunc.c: Likewise.
13902         * string/test-strncmp-ifunc.c: Likewise.
13903         * string/test-strncpy-ifunc.c: Likewise.
13904         * string/test-strnlen-ifunc.c: Likewise.
13905         * string/test-strpbrk-ifunc.c: Likewise.
13906         * string/test-strrchr-ifunc.c: Likewise.
13907         * string/test-strspn-ifunc.c: Likewise.
13908         * string/test-strstr-ifunc.c: Likewise.
13909
13910 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13911
13912         * benchtests/Makefile: Remove ifunc tests.
13913         * benchtests/bench-string.h: Define TEST_IFUNC.
13914         * benchtests/bench-bcopy-ifunc.c: Remove.
13915         * benchtests/bench-bzero-ifunc.c: Likewise.
13916         * benchtests/bench-memccpy-ifunc.c: Likewise.
13917         * benchtests/bench-memchr-ifunc.c: Likewise.
13918         * benchtests/bench-memcmp-ifunc.c: Likewise.
13919         * benchtests/bench-memcpy-ifunc.c: Likewise.
13920         * benchtests/bench-memmem-ifunc.c: Likewise.
13921         * benchtests/bench-memmove-ifunc.c: Likewise.
13922         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13923         * benchtests/bench-memrchr-ifunc.c: Likewise.
13924         * benchtests/bench-memset-ifunc.c: Likewise.
13925         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13926         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13927         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13928         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13929         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13930         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13931         * benchtests/bench-strcat-ifunc.c: Likewise.
13932         * benchtests/bench-strchr-ifunc.c: Likewise.
13933         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13934         * benchtests/bench-strcmp-ifunc.c: Likewise.
13935         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13936         * benchtests/bench-strcpy-ifunc.c: Likewise.
13937         * benchtests/bench-strcspn-ifunc.c: Likewise.
13938         * benchtests/bench-strlen-ifunc.c: Likewise.
13939         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13940         * benchtests/bench-strncat-ifunc.c: Likewise.
13941         * benchtests/bench-strncmp-ifunc.c: Likewise.
13942         * benchtests/bench-strncpy-ifunc.c: Likewise.
13943         * benchtests/bench-strnlen-ifunc.c: Likewise.
13944         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13945         * benchtests/bench-strrchr-ifunc.c: Likewise.
13946         * benchtests/bench-strsep-ifunc.c: Likewise.
13947         * benchtests/bench-strspn-ifunc.c: Likewise.
13948         * benchtests/bench-strstr-ifunc.c: Likewise.
13949
13950 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13951
13952         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13953
13954 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13955
13956         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13957         * rt/aio.h: Likewise.
13958         * sysdeps/gnu/bits/utmp.h: Likewise.
13959         * sysdeps/gnu/bits/utmpx.h: Likewise.
13960         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13961         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13962         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13963         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13964         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13965         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13966         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13967         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13968         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13969         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13970         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13971         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13972         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13974         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13975         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13976         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13977         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13978         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13979         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13980         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13981         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13982         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13983         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13984         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13985         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13986         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13987         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13988         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13989         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13990         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13991         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13992         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13993         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13994         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13995         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13996         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13997         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13998         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13999         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14000         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14001         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14002
14003 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14004
14005         [BZ #16245]
14006         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14007         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14008
14009 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14010
14011         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14012         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14013         Likewise.
14014
14015 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14016
14017         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14018         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14019         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14020         (__fesetround): Remove define.
14021         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14022         rounding and exceptions handling.
14023         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14024         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14025         (__fe_nomask_env): Likewise.
14026         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14027         __fegetround instead of fegetround.
14028         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14029         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14030
14031 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14032
14033         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14034         it's there.
14035
14036         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14037
14038 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14039
14040         [BZ #11157]
14041         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14042         (encrypt_r): Likewise.
14043         * malloc/obstack.h (obstack_free): Likewise.
14044         * posix/unistd.h (encrypt): Likewise.
14045
14046 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14047
14048         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14049         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14050         DL_CALL_DT_FINI() that call the functions directly.
14051         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14052         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14053         * elf/dl-fini.c: Likewise.
14054
14055 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14056
14057         * malloc/hooks.c (memalign_check): Add alignment rounding.
14058         * malloc/malloc.c (_mid_memalign): New function.
14059         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14060         Implement by calling _mid_memalign.
14061         * manual/probes.texi (Memory Allocation Probes): Remove
14062         memory_valloc_retry and memory_pvalloc_retry.
14063
14064 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14065
14066         * locale/programs/locarchive.c (open_archive): Add const
14067         qualifier to ARCHIVEFNAME and copy default fname to
14068         DEFAULT_FNAME.
14069
14070         [BZ #15601]
14071         * libio/tst-widetext.input: Rename Oriya to Odia.
14072         * locale/iso-639.def: Likewise.
14073
14074         * manual/probes.texi (Mathematical Function Probes): Add
14075         documentation for sin, cos, asin and acos probes.
14076         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14077         (__sin32): Add slowasin probe.
14078         (__cos32): Add slowacos probe.
14079         (__mpsin): Add slowsin probe.
14080         (__mpcos): Add slowcos probe.
14081
14082 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14083
14084         [BZ #15483]
14085         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14086         thread-local __sim_exceptions_thread and global
14087         __sim_exceptions_global.
14088         (__sim_disabled_exceptions): Change to thread-local
14089         __sim_disabled_exceptions_thread and global
14090         __sim_disabled_exceptions_global.
14091         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14092         and global __sim_round_mode_global.
14093         (__simulate_exceptions): Use thread-local floating-point state and
14094         set global state from it as needed.
14095         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14096         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14097         __sim_round_mode_thread.
14098         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14099         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14100         and global __sim_exceptions_global.
14101         (__sim_disabled_exceptions): Change to thread-local
14102         __sim_disabled_exceptions_thread and global
14103         __sim_disabled_exceptions_global.
14104         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14105         and global __sim_round_mode_global.
14106         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14107         (SIM_SET_GLOBAL): Likewise.
14108         * sysdeps/powerpc/soft-fp/sfp-machine.h
14109         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14110         __sim_round_mode_thread.
14111         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14112         __sim_disabled_exceptions_thread.
14113         (__sim_exceptions): Change to __sim_exceptions_thread.
14114         (__sim_disabled_exceptions): Change to
14115         __sim_disabled_exceptions_thread.
14116         (__sim_round_mode): Change to __sim_round_mode_thread.
14117         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14118         thread-local floating-point state and set global state from it as
14119         needed.
14120         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14121         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14122         (__sim_disabled_exceptions): Remove extern declaration.
14123         (feenableexcept): Use thread-local floating-point state and set
14124         global state from it as needed.
14125         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14126         extern declaration.
14127         (__sim_disabled_exceptions): Likewise.
14128         (__sim_round_mode): Likewise.
14129         (__fegetenv): Use thread-local floating-point state.
14130         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14131         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14132         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14133         floating-point state and set global state from it as needed.
14134         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14135         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14136         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14137         Likewise.
14138         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14139         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14140         Likewise.
14141         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14142         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14143         Use __sim_round_mode_thread.
14144         * math/test-fenv-tls.c: New file.
14145         * math/Makefile (tests): Add test-fenv-tls.
14146         ($(objpfx)test-fenv-tls): Depend on
14147         $(common-objpfx)nptl/libpthread.so.
14148
14149 2013-11-19  Andreas Schwab  <schwab@suse.de>
14150
14151         * locale/programs/locale.c (show_info): Decode wordarray elements.
14152         * locale/categories.def (LC_MONETARY): Add element for
14153         _NL_MONETARY_CRNCYSTR.
14154         * locale/C-monetary.c (conversion_rate): New variable.
14155         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14156         element.
14157
14158 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14159
14160         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14161         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14162
14163 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14164
14165         * elf/Makefile (tst-auxv): New test.
14166         * elf/tst-auxv.c: New
14167         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14168
14169 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14170
14171         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14172         (hidden_proto): Caller changed.
14173         (hidden_tls_proto): New macro.
14174         (libc_hidden_tls_proto): Likewise.
14175         (rtld_hidden_tls_proto): Likewise.
14176         (libm_hidden_tls_proto): Likewise.
14177         (libresolv_hidden_tls_proto): Likewise.
14178         (librt_hidden_tls_proto): Likewise.
14179         (libdl_hidden_tls_proto): Likewise.
14180         (libnss_files_hidden_tls_proto): Likewise.
14181         (libnsl_hidden_tls_proto): Likewise.
14182         (libnss_nisplus_hidden_tls_proto): Likewise.
14183         (libutil_hidden_tls_proto): Likewise.
14184
14185 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14186
14187         [BZ #10253]
14188         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14189         (decompose_rpath): Defer expansion to fillin_rpath.
14190         (_dl_init_paths): Pass linkmap to fillin_rpath.
14191
14192 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14193
14194         * benchtests/Makefile: Add strsep.
14195         * benchtests/bench-strsep.c: New file: strsep benchtest.
14196         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14197
14198 2013-11-18  Andreas Schwab  <schwab@suse.de>
14199
14200         * locale/programs/locale.c (show_info) [case byte]: Check for
14201         '\377' instead of '\177'.
14202         * locale/C-monetary.c (not_available): Always use "\377".
14203         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14204         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14205         detect unavailable sign_posn locale elements.
14206         * locale/localeconv.c (__localeconv): For grouping and
14207         mon_grouping handle "\177" and "\377" like no grouping.
14208         (INT_ELEM): New macro.  Use it to set all numeric members.
14209         * locale/programs/ld-monetary.c (monetary_read)
14210         <tok_mon_grouping>: Normalize single -1 to the empty string.
14211         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14212         Likewise.
14213
14214 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14215
14216         [BZ #16055]
14217         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14218         when we match (nil).
14219         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14220
14221 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14222
14223         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14224         (NO_TEST_INLINE): Update value.
14225         (ERRNO_UNCHANGED): Likewise.
14226         (ERRNO_EDOM): Likewise.
14227         (ERRNO_ERANGE): Likewise.
14228         (IGNORE_RESULT): Likewise.
14229         (check_float_internal): Check signs of NaN results if
14230         TEST_NAN_SIGN used.
14231         (check_complex): Pass TEST_NAN_SIGN flag through to second
14232         check_float_internal call.
14233         (copysign_test_data): Add tests with quiet NaNs as second
14234         argument.  Use TEST_NAN_SIGN.
14235         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14236         TEST_NAN_SIGN.
14237         (signbit_test_data): Add tests of quiet NaN argument.
14238         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14239
14240         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14241         $ignore_result.
14242         (parse_args): Handle function results specified as IGNORE.
14243         * math/libm-test.inc (IGNORE_RESULT): New macro.
14244         (check_float_internal): Do not check numerical result if flag
14245         IGNORE_RESULT set.
14246         (check_complex): Pass through IGNORE_RESULT to second
14247         check_float_internal call.
14248         (check_int): Do not check numerical result if flag IGNORE_RESULT
14249         set.
14250         (check_long): Likewise.
14251         (check_bool): Likewise.
14252         (check_longlong): Likewise.
14253         (lrint_test_data): Add tests of infinite and NaN arguments.
14254         (lrint_tonearest_test_data): Likewise.
14255         (lrint_towardzero_test_data): Likewise.
14256         (lrint_downward_test_data): Likewise.
14257         (lrint_upward_test_data): Likewise.
14258         (llrint_test_data): Likewise.
14259         (llrint_tonearest_test_data): Likewise.
14260         (llrint_towardzero_test_data): Likewise.
14261         (llrint_downward_test_data): Likewise.
14262         (llrint_upward_test_data): Likewise.
14263         (lround_test_data): Likewise.
14264         (llround_test_data): Likewise.
14265
14266         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14267         (ERRNO_UNCHANGED): Update value.
14268         (ERRNO_EDOM): Likewise.
14269         (ERRNO_ERANGE): Likewise.
14270         (NO_TEST_INLINE_FLOAT): New macro.
14271         (NO_TEST_INLINE_DOUBLE): Likewise.
14272         (enable_test): New function.
14273         (RUN_TEST_f_f): Check enable_test before running test.
14274         (RUN_TEST_2_f): Likewise.
14275         (RUN_TEST_fff_f): Likewise.
14276         (RUN_TEST_c_f): Likewise.
14277         (RUN_TEST_f_f1): Likewise.
14278         (RUN_TEST_fF_f1): Likewise.
14279         (RUN_TEST_fI_f1): Likewise.
14280         (RUN_TEST_ffI_f1): Likewise.
14281         (RUN_TEST_c_c): Likewise.
14282         (RUN_TEST_cc_c): Likewise.
14283         (RUN_TEST_f_i): Likewise.
14284         (RUN_TEST_f_i_tg): Likewise.
14285         (RUN_TEST_ff_i_tg): Likewise.
14286         (RUN_TEST_f_b): Likewise.
14287         (RUN_TEST_f_b_tg): Likewise.
14288         (RUN_TEST_f_l): Likewise.
14289         (RUN_TEST_f_L): Likewise.
14290         (RUN_TEST_fFF_11): Likewise.
14291         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14292         conditionals.
14293         (cosh_test_data): Likewise.
14294         (exp_test_data): Likewise.
14295         (expm1_test_data): Likewise.
14296         (hypot_test_data): Likewise.
14297         (pow_test_data): Likewise.
14298         (sinh_test_data): Likewise.
14299         (tanh_test_data): Likewise.
14300         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14301         flags argument.
14302
14303         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14304         tests with quiet NaN input and output.
14305         (acosh_test_data): Likewise.
14306         (asin_test_data): Likewise.
14307         (asinh_test_data): Likewise.
14308         (atan_test_data): Likewise.
14309         (atanh_test_data): Likewise.
14310         (atan2_test_data): Likewise.
14311         (cbrt_test_data): Likewise.
14312         (cos_test_data): Likewise.
14313         (cosh_test_data): Likewise.
14314         (erf_test_data): Likewise.
14315         (erfc_test_data): Likewise.
14316         (exp_test_data): Likewise.
14317         (exp10_test_data): Likewise.
14318         (exp2_test_data): Likewise.
14319         (expm1_test_data): Likewise.
14320         (hypot_test_data): Likewise.
14321         (j0_test_data): Likewise.
14322         (j1_test_data): Likewise.
14323         (jn_test_data): Likewise.
14324         (lgamma_test_data): Likewise.
14325         (log_test_data): Likewise.
14326         (log10_test_data): Likewise.
14327         (log1p_test_data): Likewise.
14328         (log2_test_data): Likewise.
14329         (pow_test_data): Likewise.
14330         (scalb_test_data): Likewise.
14331         (sin_test_data): Likewise.
14332         (sincos_test_data): Likewise.
14333         (sinh_test_data): Likewise.
14334         (tan_test_data): Likewise.
14335         (tanh_test_data): Likewise.
14336         (tgamma_test_data): Likewise.
14337         (y0_test_data): Likewise.
14338         (y1_test_data): Likewise.
14339         (yn_test_data): Likewise.
14340
14341         [BZ #16167]
14342         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14343         argument being NaN and avoid computations with second argument in
14344         that case.
14345         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14346         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14347         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14348
14349 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14350
14351         * locale/iso-639.def: Add Chitwani Tharu (the).
14352
14353 2013-11-14  Andreas Schwab  <schwab@suse.de>
14354
14355         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14356         word instead of empty string.
14357
14358 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14359
14360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14361         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14363         (__fe_nomask_env): Likewise.
14364
14365 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14366
14367         * benchtests/bench-timing.h: Include time.h.
14368
14369 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14370
14371         [BZ #15997]
14372         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14373         to 3.4.0 for x32.
14374         * sysdeps/unix/sysv/linux/configure: Regenerated.
14375
14376 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14377
14378         [BZ #16151]
14379         * stdlib/strtod_l.c (round_and_return): Do not consider
14380         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14381         exponent one less than half the least subnormal exponent.
14382         * stdlib/test-strtod-round-data: Add more tests.
14383         * stdlib/tst-strtod-round.c (tests): Regenerated.
14384
14385 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14386
14387         [BZ #14143]
14388         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14389         (__fe_mask_env): Likewise.
14390         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14391         libm_hidden_proto and add function prototype.
14392         (__fe_mask_env): Add function prototype.
14393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14394         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14396         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14398         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14399
14400 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14401
14402         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14403         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14404
14405 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14406
14407         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14408         of htab_find_slot().
14409
14410 2013-11-11  David S. Miller  <davem@davemloft.net>
14411
14412         [BZ #16150]
14413         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14414         symbol in the non-vis3 case in static builds.
14415         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14416         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14417         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14418         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14419
14420 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14421
14422         [BZ #387]
14423         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14424         it is empty.
14425
14426 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14427
14428         * benchtests/Makefile: Add bench-strtod.
14429         * benchtests/bench-strtod.c: New file: strtod benchtest
14430
14431 2013-11-11  Andreas Schwab  <schwab@suse.de>
14432
14433         [BZ #16153]
14434         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14435         terminating NUL in key length.
14436
14437 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14438
14439         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14440         Add artificial ODP entry for vDSO symbol for PPC64.
14441         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14442         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14443
14444 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14445
14446         [BZ #15374]
14447         * nss/getent.c (services_keys): Recognize services starting with digit.
14448
14449 2013-11-06  David S. Miller  <davem@davemloft.net>
14450
14451         [BZ #15985]
14452         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14453         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14454
14455 2013-11-06  Will Newton  <will.newton@linaro.org>
14456
14457         * manual/memory.texi (Malloc Examples): Remove register
14458         keyword from examples.
14459
14460 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14461
14462         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14463
14464 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14465
14466         [BZ #6981]
14467         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14468         depending on [__GCC_IEC_559 > 0].
14469         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14470         depending on [__GCC_IEC_559_COMPLEX > 0].
14471
14472 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14473
14474         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14475         to iso-639.def.
14476
14477 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14478
14479         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14480
14481 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14482
14483         [BZ #16112]
14484         * malloc/malloc (malloc_info): Do not handle first bin as
14485         special case.
14486
14487 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14488
14489         * locale/iso-639.def: Add Central Nahuatl (nhn).
14490
14491 2013-11-01  Bruno Haible  <bruno@clisp.org>
14492
14493         [BZ #7003]
14494         * manual/math.texi (BSD Random): Specify range upper bound as
14495         in POSIX.
14496
14497 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14498
14499         * locale/iso-639.def: Add Meadow Mari (mhr).
14500
14501 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14502
14503         [BZ #14752], [BZ #15763]
14504         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14505         Validate name.
14506         * rt/tst_shm.c: Add test for escaping directory.
14507
14508 2013-10-31  Andreas Schwab  <schwab@suse.de>
14509
14510         [BZ #15917]
14511         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14512         followed by 'x' as part of digit sequence.
14513         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14514
14515 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14516
14517         [BZ #16037]
14518         * configure.ac: allow GNU Make 4.0 and greater.
14519         * configure: Regenerated.
14520
14521 2013-10-30  Will Newton  <will.newton@linaro.org>
14522
14523         [BZ #16038]
14524         * malloc/hooks.c (memalign_check): Limit alignment to the
14525         maximum representable power of two.
14526         * malloc/malloc.c (__libc_memalign): Likewise.
14527         * malloc/tst-memalign.c (do_test): Add test for very
14528         large alignment values.
14529         * malloc/tst-posix_memalign.c (do_test): Likewise.
14530
14531 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14532
14533         [BZ #11087]
14534         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14535         (munmap_chunk): Likewise.
14536         (mremap_chunk): Likewise.
14537
14538 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14539
14540         [BZ #15799]
14541         * stdlib/div.c (div): Remove obsolete code.
14542         * stdlib/ldiv.c (ldiv): Likewise.
14543         * stdlib/lldiv.c (lldiv): Likewise.
14544
14545 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14546
14547         [BZ #16071]
14548         * nss/nss_files/files-XXX.c (get_contents_ret): New
14549         enumerator.
14550         (get_contents): New function.
14551         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14552
14553 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14554
14555         * configure.in: Moved to ...
14556         * configure.ac: ... here. Change reference to configure.in
14557         to configure.ac.
14558         * sysdeps/arm/preconfigure.ac: ... here.
14559         configure.in to configure.ac.
14560         * sysdeps/gnu/configure.in: Moved to ...
14561         * sysdeps/gnu/configure.ac: ... here.
14562         * sysdeps/i386/configure.in: Moved to ...
14563         * sysdeps/i386/configure.ac: ... here.
14564         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14565         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14566         * sysdeps/mach/configure.in: Moved to ...
14567         * sysdeps/mach/configure.ac: ... here.
14568         * sysdeps/mach/hurd/configure.in: Moved to ...
14569         * sysdeps/mach/hurd/configure.ac: ... here.
14570         * sysdeps/powerpc/configure.in: Moved to ...
14571         * sysdeps/powerpc/configure.ac: ... here.
14572         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14573         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14574         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14575         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14576         * sysdeps/s390/s390-32/configure.in: Moved to ...
14577         * sysdeps/s390/s390-32/configure.ac: ... here.
14578         * sysdeps/s390/s390-64/configure.in: Moved to ...
14579         * sysdeps/s390/s390-64/configure.ac: ... here.
14580         * sysdeps/sh/configure.in: Moved to ...
14581         * sysdeps/sh/configure.ac: ... here.
14582         * sysdeps/sparc/configure.in: Moved to ...
14583         * sysdeps/sparc/configure.ac: ... here.
14584         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14585         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14586         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14587         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14588         * sysdeps/x86_64/configure.in: Moved to ...
14589         * sysdeps/x86_64/configure.ac: ... here.
14590         * sysdeps/x86_64/preconfigure.in: Moved to ...
14591         * sysdeps/x86_64/preconfigure.ac: ... here.
14592         * aclocal.m4: Change reference to configure.in to configure.ac.
14593         * config.h.in: Likewise.
14594         * manual/install.texi: Likewise.
14595         * manual/maint.texi: Likewise.
14596         * Makefile: Likewise.
14597         * malloc/Makefile: Likewise.
14598         * nscd/Makefile: Likewise.
14599         * Makeconfig: Change reference to configure.in and
14600         preconfigure.in to configure.ac and preconfigure.ac
14601         respectively.
14602         * INSTALL: Regenerated.
14603         * configure: Likewise.
14604         * sysdeps/gnu/configure: Likewise.
14605         * sysdeps/i386/configure: Likewise.
14606         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14607         * sysdeps/mach/configure: Likewise.
14608         * sysdeps/mach/hurd/configure: Likewise.
14609         * sysdeps/powerpc/configure: Likewise.
14610         * sysdeps/powerpc/powerpc32/configure: Likewise.
14611         * sysdeps/powerpc/powerpc64/configure: Likewise.
14612         * sysdeps/s390/s390-32/configure: Likewise.
14613         * sysdeps/s390/s390-64/configure: Likewise.
14614         * sysdeps/sh/configure: Likewise.
14615         * sysdeps/sparc/configure: Likewise.
14616         * sysdeps/unix/sysv/linux/configure: Likewise.
14617         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14618         * sysdeps/x86_64/configure: Likewise.
14619         * sysdeps/x86_64/preconfigure: Likewise.
14620
14621 2013-10-29  Andreas Schwab  <schwab@suse.de>
14622
14623         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14624
14625 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14626
14627         * benchtests/pow-inputs: Add new inputs.
14628
14629         * benchtests/exp-inputs: Add new inputs.
14630
14631         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14632         conditional check for return value.
14633         (__cos32): Likewise.
14634
14635 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14636
14637         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14638         to provide a boost for large inputs with word alignment.
14639         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14640         implementation based on optimized PPC64 strcpy.
14641         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14642         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14643         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14644         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14645
14646 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14647
14648         [BZ #2801]
14649         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14650
14651 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14652
14653         [BZ #14876]
14654         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14655         * time/tst-strptime.c (day_tests): Add testcase.
14656
14657 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14658
14659         [BZ #14029]
14660         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14661
14662 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14663
14664         [BZ #16074]
14665         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14666         MAP_FAILED on error.
14667
14668 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14669
14670         [BZ #16072]
14671         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14672         heap for large requests.
14673
14674 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14675
14676         [BZ #9954]
14677         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14678         result if the result has no associated interface.
14679         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14680         interface for all 127.X.Y.Z addresses.
14681
14682 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14683
14684         * locale/iso-639.def: Add Ligurian (lij)
14685
14686 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14687
14688         [BZ #15825]
14689         * sunrpc/rpc_main.c: Document rpcgen -5.
14690
14691 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14692
14693         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14694
14695 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14696
14697         [BZ #10278]
14698         * posix/glob.c: Match only directories when trailing slash is present.
14699         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14700         (main): Add testcase.
14701
14702 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14703
14704         [BZ #15670]
14705         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14706
14707 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14708
14709         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14710         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14711         AUTH_DES and cindex for FIPS 140-2.
14712         (DES Encryption): Add cindex FIPS 46-3.
14713
14714         * locale/locarchive.h (struct locarhandle): Add fname.
14715         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14716         if an optional argument was specified to --list-archive,
14717         otherwise NULL.
14718         * locale/programs/locarchive.c (show_archive_content): Take new
14719         argument fname and pass it via ah.fname to open_archive.
14720         * locale/programs/localedef.h: Update decl.
14721         (open_archive): If AH->fname is non-null, open that file
14722         rather than the default file name, and don't ignore ENOENT.
14723         (create_archive): Set AH.fname to NULL.
14724         (delete_locales_from_archive): Likewise.
14725         (add_locales_to_archive): Likewise.
14726         * locale/programs/locfile.c (write_all_categories): Likewise.
14727
14728 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14729             Aldy Hernandez  <aldyh@redhat.com>
14730
14731         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14732         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14733         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14734         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14735         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14736         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14737         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14738         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14739         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14740         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14741         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14742         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14743         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14744         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14745         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14746         Likewise.
14747         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14748         Likewise.
14749         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14750         Likewise.
14751         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14752         Likewise.
14753         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14754         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14755         Likewise.
14756         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14757         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14758         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14759         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14760         Likewise.
14761         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14762         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14763         * sysdeps/powerpc/preconfigure: Likewise.
14764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14765         Likewise.
14766         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14767         Replace contents of file by #include of <fenv_libc.h>.
14768         * sysdeps/powerpc/soft-fp/sfp-machine.h
14769         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14770         and <sys/prctl.h>.
14771         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14774         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14775         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14776         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14778         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14779         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14780         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14781         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14782         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14784         Allow copysignl PLT reference to be missing.
14785
14786 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14787             Joseph Myers  <joseph@codesourcery.com
14788
14789         [BZ #15948]
14790         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14791         single character.
14792         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14793
14794 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14795
14796         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14797         * elf/tst-tls1.c: Likewise.
14798         * elf/tst-tls10.h: Likewise.
14799         * elf/tst-tls14.c: Likewise.
14800         * elf/tst-tls2.c: Likewise.
14801         * elf/tst-tls3.c: Likewise.
14802         * elf/tst-tls4.c: Likewise.
14803         * elf/tst-tls5.c: Likewise.
14804         * elf/tst-tls6.c: Likewise.
14805         * elf/tst-tls7.c: Likewise.
14806         * elf/tst-tls8.c: Likewise.
14807         * elf/tst-tls9.c: Likewise.
14808         * elf/tst-tlsmod1.c: Likewise.
14809         * elf/tst-tlsmod13.c: Likewise.
14810         * elf/tst-tlsmod13a.c: Likewise.
14811         * elf/tst-tlsmod14a.c: Likewise.
14812         * elf/tst-tlsmod16a.c: Likewise.
14813         * elf/tst-tlsmod16b.c: Likewise.
14814         * elf/tst-tlsmod2.c: Likewise.
14815         * elf/tst-tlsmod3.c: Likewise.
14816         * elf/tst-tlsmod4.c: Likewise.
14817         * elf/tst-tlsmod5.c: Likewise.
14818         * elf/tst-tlsmod6.c: Likewise.
14819
14820 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14821
14822         [BZ #12486]
14823         * malloc/malloc.c: remove checks for statistics.
14824
14825 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14826
14827         [BZ #15277]
14828         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14829         * inet/tst-network.c: Add testcase.
14830
14831 2013-10-17  Andreas Schwab  <schwab@suse.de>
14832
14833         [BZ #15218]
14834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14835         to determine canonical name.
14836
14837 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14838
14839         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14840         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14841         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14842         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14843         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14844         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14845         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14846         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14847         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14848         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14849         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14850         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14851         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14852         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14853         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14854         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14855         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14856         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14857         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14858         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14859         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14860         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14861         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14862         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14863         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14864         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14865         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14866         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14867         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14868         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14869         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14870         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14871         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14872         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14873         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14874         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14875         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14876         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14877         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14878         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14879         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14880         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14881         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14882         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14883         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14884         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14885         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14886         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14887         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14888         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14889         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14890         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14891         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14892         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14893         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14894         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14896         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14897
14898 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14899
14900         [BZ #16041]
14901         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14902         make result into a quiet NaN.
14903
14904 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14905
14906         * soft-fp/adddf3.c: Fix horizontal whitespace.
14907         * soft-fp/addsf3.c: Likewise.
14908         * soft-fp/addtf3.c: Likewise.
14909         * soft-fp/divdf3.c: Likewise.
14910         * soft-fp/divsf3.c: Likewise.
14911         * soft-fp/divtf3.c: Likewise.
14912         * soft-fp/double.h: Likewise.
14913         * soft-fp/eqdf2.c: Likewise.
14914         * soft-fp/eqsf2.c: Likewise.
14915         * soft-fp/eqtf2.c: Likewise.
14916         * soft-fp/extenddftf2.c: Likewise.
14917         * soft-fp/extended.h: Likewise.
14918         * soft-fp/extendsfdf2.c: Likewise.
14919         * soft-fp/extendsftf2.c: Likewise.
14920         * soft-fp/extendxftf2.c: Likewise.
14921         * soft-fp/fixdfdi.c: Likewise.
14922         * soft-fp/fixdfsi.c: Likewise.
14923         * soft-fp/fixdfti.c: Likewise.
14924         * soft-fp/fixsfdi.c: Likewise.
14925         * soft-fp/fixsfsi.c: Likewise.
14926         * soft-fp/fixsfti.c: Likewise.
14927         * soft-fp/fixtfdi.c: Likewise.
14928         * soft-fp/fixtfsi.c: Likewise.
14929         * soft-fp/fixtfti.c: Likewise.
14930         * soft-fp/fixunsdfdi.c: Likewise.
14931         * soft-fp/fixunsdfsi.c: Likewise.
14932         * soft-fp/fixunsdfti.c: Likewise.
14933         * soft-fp/fixunssfdi.c: Likewise.
14934         * soft-fp/fixunssfsi.c: Likewise.
14935         * soft-fp/fixunssfti.c: Likewise.
14936         * soft-fp/fixunstfdi.c: Likewise.
14937         * soft-fp/fixunstfsi.c: Likewise.
14938         * soft-fp/fixunstfti.c: Likewise.
14939         * soft-fp/floatdidf.c: Likewise.
14940         * soft-fp/floatdisf.c: Likewise.
14941         * soft-fp/floatditf.c: Likewise.
14942         * soft-fp/floatsidf.c: Likewise.
14943         * soft-fp/floatsisf.c: Likewise.
14944         * soft-fp/floatsitf.c: Likewise.
14945         * soft-fp/floattidf.c: Likewise.
14946         * soft-fp/floattisf.c: Likewise.
14947         * soft-fp/floattitf.c: Likewise.
14948         * soft-fp/floatundidf.c: Likewise.
14949         * soft-fp/floatundisf.c: Likewise.
14950         * soft-fp/floatunditf.c: Likewise.
14951         * soft-fp/floatunsidf.c: Likewise.
14952         * soft-fp/floatunsisf.c: Likewise.
14953         * soft-fp/floatunsitf.c: Likewise.
14954         * soft-fp/floatuntidf.c: Likewise.
14955         * soft-fp/floatuntisf.c: Likewise.
14956         * soft-fp/floatuntitf.c: Likewise.
14957         * soft-fp/fmadf4.c: Likewise.
14958         * soft-fp/fmasf4.c: Likewise.
14959         * soft-fp/fmatf4.c: Likewise.
14960         * soft-fp/gedf2.c: Likewise.
14961         * soft-fp/gesf2.c: Likewise.
14962         * soft-fp/getf2.c: Likewise.
14963         * soft-fp/ledf2.c: Likewise.
14964         * soft-fp/lesf2.c: Likewise.
14965         * soft-fp/letf2.c: Likewise.
14966         * soft-fp/muldf3.c: Likewise.
14967         * soft-fp/mulsf3.c: Likewise.
14968         * soft-fp/multf3.c: Likewise.
14969         * soft-fp/negdf2.c: Likewise.
14970         * soft-fp/negsf2.c: Likewise.
14971         * soft-fp/negtf2.c: Likewise.
14972         * soft-fp/op-1.h: Likewise.
14973         * soft-fp/op-2.h: Likewise.
14974         * soft-fp/op-4.h: Likewise.
14975         * soft-fp/op-8.h: Likewise.
14976         * soft-fp/op-common.h: Likewise.
14977         * soft-fp/quad.h: Likewise.
14978         * soft-fp/single.h: Likewise.
14979         * soft-fp/soft-fp.h: Likewise.
14980         * soft-fp/sqrtdf2.c: Likewise.
14981         * soft-fp/sqrtsf2.c: Likewise.
14982         * soft-fp/sqrttf2.c: Likewise.
14983         * soft-fp/subdf3.c: Likewise.
14984         * soft-fp/subsf3.c: Likewise.
14985         * soft-fp/subtf3.c: Likewise.
14986         * soft-fp/truncdfsf2.c: Likewise.
14987         * soft-fp/trunctfdf2.c: Likewise.
14988         * soft-fp/trunctfsf2.c: Likewise.
14989         * soft-fp/trunctfxf2.c: Likewise.
14990         * soft-fp/unorddf2.c: Likewise.
14991         * soft-fp/unordsf2.c: Likewise.
14992         * soft-fp/unordtf2.c: Likewise.
14993
14994 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14995
14996         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14997         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14998
14999 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15000
15001         * elf/dl-libc.c: Clear initfini list after freeing.
15002
15003 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15004
15005         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15006         * soft-fp/addsf3.c: Likewise.
15007         * soft-fp/addtf3.c: Likewise.
15008         * soft-fp/divdf3.c: Likewise.
15009         * soft-fp/divsf3.c: Likewise.
15010         * soft-fp/divtf3.c: Likewise.
15011         * soft-fp/double.h: Likewise.
15012         * soft-fp/eqdf2.c: Likewise.
15013         * soft-fp/eqsf2.c: Likewise.
15014         * soft-fp/eqtf2.c: Likewise.
15015         * soft-fp/extenddftf2.c: Likewise.
15016         * soft-fp/extended.h: Likewise.
15017         * soft-fp/extendsfdf2.c: Likewise.
15018         * soft-fp/extendsftf2.c: Likewise.
15019         * soft-fp/extendxftf2.c: Likewise.
15020         * soft-fp/fixdfdi.c: Likewise.
15021         * soft-fp/fixdfsi.c: Likewise.
15022         * soft-fp/fixdfti.c: Likewise.
15023         * soft-fp/fixsfdi.c: Likewise.
15024         * soft-fp/fixsfsi.c: Likewise.
15025         * soft-fp/fixsfti.c: Likewise.
15026         * soft-fp/fixtfdi.c: Likewise.
15027         * soft-fp/fixtfsi.c: Likewise.
15028         * soft-fp/fixtfti.c: Likewise.
15029         * soft-fp/fixunsdfdi.c: Likewise.
15030         * soft-fp/fixunsdfsi.c: Likewise.
15031         * soft-fp/fixunsdfti.c: Likewise.
15032         * soft-fp/fixunssfdi.c: Likewise.
15033         * soft-fp/fixunssfsi.c: Likewise.
15034         * soft-fp/fixunssfti.c: Likewise.
15035         * soft-fp/fixunstfdi.c: Likewise.
15036         * soft-fp/fixunstfsi.c: Likewise.
15037         * soft-fp/fixunstfti.c: Likewise.
15038         * soft-fp/floatdidf.c: Likewise.
15039         * soft-fp/floatdisf.c: Likewise.
15040         * soft-fp/floatditf.c: Likewise.
15041         * soft-fp/floatsidf.c: Likewise.
15042         * soft-fp/floatsisf.c: Likewise.
15043         * soft-fp/floatsitf.c: Likewise.
15044         * soft-fp/floattidf.c: Likewise.
15045         * soft-fp/floattisf.c: Likewise.
15046         * soft-fp/floattitf.c: Likewise.
15047         * soft-fp/floatundidf.c: Likewise.
15048         * soft-fp/floatundisf.c: Likewise.
15049         * soft-fp/floatunsidf.c: Likewise.
15050         * soft-fp/floatunsisf.c: Likewise.
15051         * soft-fp/floatuntidf.c: Likewise.
15052         * soft-fp/floatuntisf.c: Likewise.
15053         * soft-fp/floatuntitf.c: Likewise.
15054         * soft-fp/fmadf4.c: Likewise.
15055         * soft-fp/fmasf4.c: Likewise.
15056         * soft-fp/fmatf4.c: Likewise.
15057         * soft-fp/gedf2.c: Likewise.
15058         * soft-fp/gesf2.c: Likewise.
15059         * soft-fp/getf2.c: Likewise.
15060         * soft-fp/ledf2.c: Likewise.
15061         * soft-fp/lesf2.c: Likewise.
15062         * soft-fp/letf2.c: Likewise.
15063         * soft-fp/muldf3.c: Likewise.
15064         * soft-fp/mulsf3.c: Likewise.
15065         * soft-fp/multf3.c: Likewise.
15066         * soft-fp/negdf2.c: Likewise.
15067         * soft-fp/negsf2.c: Likewise.
15068         * soft-fp/negtf2.c: Likewise.
15069         * soft-fp/op-1.h: Likewise.
15070         * soft-fp/op-2.h: Likewise.
15071         * soft-fp/op-4.h: Likewise.
15072         * soft-fp/op-8.h: Likewise.
15073         * soft-fp/op-common.h: Likewise.
15074         * soft-fp/quad.h: Likewise.
15075         * soft-fp/single.h: Likewise.
15076         * soft-fp/soft-fp.h: Likewise.
15077         * soft-fp/sqrtdf2.c: Likewise.
15078         * soft-fp/sqrtsf2.c: Likewise.
15079         * soft-fp/sqrttf2.c: Likewise.
15080         * soft-fp/subdf3.c: Likewise.
15081         * soft-fp/subsf3.c: Likewise.
15082         * soft-fp/subtf3.c: Likewise.
15083         * soft-fp/truncdfsf2.c: Likewise.
15084         * soft-fp/trunctfdf2.c: Likewise.
15085         * soft-fp/trunctfsf2.c: Likewise.
15086         * soft-fp/trunctfxf2.c: Likewise.
15087         * soft-fp/unorddf2.c: Likewise.
15088         * soft-fp/unordsf2.c: Likewise.
15089         * soft-fp/unordtf2.c: Likewise.
15090
15091 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15092
15093         [BZ #15672]
15094         * misc/error.c (error_tail): Fix possible buffer overflow.
15095
15096 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15097
15098         [BZ #13028]
15099         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15100         address.
15101
15102 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15103
15104         [BZ #832]
15105         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15106         testing pipefail option.
15107
15108 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15109
15110         * soft-fp/double.h: Indent preprocessor directives inside #if.
15111         * soft-fp/extended.h: Likewise.
15112         * soft-fp/op-2.h: Likewise.
15113         * soft-fp/op-4.h: Likewise.
15114         * soft-fp/op-common.h: Likewise.
15115         * soft-fp/quad.h: Likewise.
15116         * soft-fp/single.h: Likewise.
15117         * soft-fp/soft-fp.h: Likewise.
15118
15119 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15120
15121         * iconv/iconv_prog.c: Fix typos.
15122         * stdio-common/psiginfo-data.h: Likewise.
15123
15124 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15125
15126         [BZ #15764]
15127         * locale/setlocale.c: Fix typo.
15128
15129 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15130
15131         [BZ #16036]
15132         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15133         signaling NaN arguments.
15134         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15135         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15136
15137         [BZ #14910]
15138         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15139         unordered operands.
15140         * soft-fp/gesf2.c (__gesf2): Likewise.
15141         * soft-fp/getf2.c (__getf2): Likewise.
15142         * soft-fp/ledf2.c (__ledf2): Likewise.
15143         * soft-fp/lesf2.c (__lesf2): Likewise.
15144         * soft-fp/letf2.c (__letf2): Likewise.
15145
15146         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15147         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15148         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15149         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15150         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15151         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15152         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15153         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15154         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15155         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15156         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15157         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15158         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15159         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15160         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15161         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15162         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15163         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15164         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15165         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15166         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15167         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15168         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15169         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15170         * soft-fp/floattidf.c (__floattidf): Likewise.
15171         * soft-fp/floattisf.c (__floattisf): Likewise.
15172         * soft-fp/floattitf.c (__floattitf): Likewise.
15173         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15174         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15175         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15176         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15177         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15178         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15179         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15180         * soft-fp/gesf2.c (__gesf2): Likewise.
15181         * soft-fp/getf2.c (__getf2): Likewise.
15182         * soft-fp/ledf2.c (__ledf2): Likewise.
15183         * soft-fp/lesf2.c (__lesf2): Likewise.
15184         * soft-fp/letf2.c (__letf2): Likewise.
15185
15186         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15187         Undefine and redefine.
15188         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15189         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15190         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15191         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15192         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15193         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15194         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15195         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15196         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15197         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15198         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15199         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15200         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15201         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15202         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15203
15204         [BZ #16032]
15205         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15206         without decrementing exponent if mantissa >= that for the
15207         denominator, not >.
15208         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15209         denominator, not >.  Decrement exponent in < case instead of
15210         incrementing in >= case.
15211         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15212         without decrementing exponent if mantissa >= that for the
15213         denominator, not >.
15214
15215         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15216         computing saturated result for unsigned overflow.
15217
15218 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15219             Jeff Law  <law@redhat.com>
15220
15221         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15222         (atan2Mp): Add systemtap probe marker.
15223         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15224         (__ieee754_log): Add systemtap probe marker.
15225         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15226         (atanMp): Add systemtap probe marker.
15227         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15228         (tanMp): Add systemtap probe marker.
15229         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15230         (__slowexp): Add systemtap probe marker.
15231         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15232         (__slowpow): Add systemtap probe marker.
15233         * manual/probes.texi: Document probes.
15234
15235 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15236
15237         [BZ #15362]
15238         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15239         written.
15240         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15241         written.
15242         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15243         written to buffer but not flushed.
15244         * libio/iofwrite_u.c:  Likewise.
15245         * libio/iopadn.c:  Return bytes returned even if EOF was
15246         encountered.
15247         * libio/iowpadn.c:  Likewise.
15248         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15249         if _IO_padn does not write the whole buffer.
15250         [!COMPILE_WPRINTF] (PAD): Likewise.
15251
15252 2013-10-10  David S. Miller  <davem@davemloft.net>
15253
15254         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15255         directory block.
15256
15257 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15258
15259         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15260         instead of FSF address.
15261         * soft-fp/fixdfti.c: Likewise.
15262         * soft-fp/fixsfti.c: Likewise.
15263         * soft-fp/fixtfti.c: Likewise.
15264         * soft-fp/fixunsdfti.c: Likewise.
15265         * soft-fp/fixunssfti.c: Likewise.
15266         * soft-fp/fixunstfti.c: Likewise.
15267         * soft-fp/floattidf.c: Likewise.
15268         * soft-fp/floattisf.c: Likewise.
15269         * soft-fp/floattitf.c: Likewise.
15270         * soft-fp/floatuntidf.c: Likewise.
15271         * soft-fp/floatuntisf.c: Likewise.
15272         * soft-fp/floatuntitf.c: Likewise.
15273         * soft-fp/trunctfxf2.c: Likewise.
15274
15275         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15276         * soft-fp/fixdfti.c: Likewise.
15277         * soft-fp/fixsfti.c: Likewise.
15278         * soft-fp/fixtfti.c: Likewise.
15279         * soft-fp/fixunsdfti.c: Likewise.
15280         * soft-fp/fixunssfti.c: Likewise.
15281         * soft-fp/fixunstfti.c: Likewise.
15282         * soft-fp/floattidf.c: Likewise.
15283         * soft-fp/floattisf.c: Likewise.
15284         * soft-fp/floattitf.c: Likewise.
15285         * soft-fp/floatuntidf.c: Likewise.
15286         * soft-fp/floatuntisf.c: Likewise.
15287         * soft-fp/floatuntitf.c: Likewise.
15288         * soft-fp/trunctfxf2.c: Likewise.
15289
15290 2013-10-10  David S. Miller  <davem@davemloft.net>
15291
15292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15293
15294 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15295
15296         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15297         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15298         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15299         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15300         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15301         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15302         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15303
15304         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15305         for NaNs before doing comparisons on argument.
15306         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15307         Likewise.
15308
15309 2013-10-10  Will Newton  <will.newton@linaro.org>
15310
15311         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15312         passed to _int_memalign does not overflow.
15313
15314 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15315
15316         * scripts/bench.pl: Add include-sources directive.
15317         * benchtests/README: Update documentation.
15318
15319 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15320
15321         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15322         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15323         instead of FP_INIT_ROUNDMODE.
15324         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15325         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15326
15327         [BZ #16034]
15328         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15329         copy class of input value.
15330         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15331         not handle exceptions.
15332         * soft-fp/negsf2.c (__negsf2): Likewise.
15333         * soft-fp/negtf2.c (__negtf2): Likewise.
15334         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15335
15336 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15337
15338         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15339         semicolon.  From Linux kernel.
15340
15341 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15342
15343         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15344
15345 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15346
15347         [BZ #156]
15348         * manual/socket.texi: Added statement about buffer
15349         for gethostbyname2_r.
15350
15351 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15352
15353         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15354         Use .p2align directive instead, throughout.
15355         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15356         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15357         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15358         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15359         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15360         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15361         * sysdeps/x86_64/strchr.S: Likewise.
15362         * sysdeps/x86_64/strrchr.S: Likewise.
15363
15364 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15365
15366         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15367
15368         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15369
15370         * sysdeps/generic/math_private.h (__mpsin1): Remove
15371         declaration.
15372         (__mpcos1): Likewise.
15373         (__mpsin): New argument __range_reduce.
15374         (__mpcos): Likewise.
15375         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15376         (slow): Use __mpsin and __mpcos.
15377         (slow1): Likewise.
15378         (slow2): Likewise.
15379         (sloww): Likewise.
15380         (sloww1): Likewise.
15381         (sloww2): Likewise.
15382         (bsloww): Likewise.
15383         (bsloww1): Likewise.
15384         (bsloww2): Likewise.
15385         (cslow2): Likewise.
15386         (csloww): Likewise.
15387         (csloww1): Likewise.
15388         (csloww2): Likewise.
15389         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15390         range_reduce.  Merge in __mpsin1.
15391         (__mpcos): Likewise.
15392         (__mpsin1): Remove.
15393         (__mpcos1): Likewise.
15394
15395 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15396
15397         * locale/loadlocale.c (_nl_intern_locale_data): Use
15398         LOCFILE_ALIGNED_P.
15399         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15400         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15401         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15402         obstack data is appropriately aligned.
15403         (obstack_int32_grow_fast): Likewise.
15404         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15405         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15406         (add_locale_uint32_array): Likewise.
15407
15408 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15409
15410         * benchtests/Makefile: Remove ARGLIST and RET variables.
15411         ($(objpfx)bench-%.c): Pass only function name to the script.
15412         * benchtests/README: Update documentation.
15413         * benchtests/acos-inputs: Add new directives.
15414         * benchtests/acosh-inputs: Likewise.
15415         * benchtests/asin-inputs: Likewise.
15416         * benchtests/asinh-inputs: Likewise.
15417         * benchtests/atan-inputs: Likewise.
15418         * benchtests/atanh-inputs: Likewise.
15419         * benchtests/cos-inputs: Likewise.
15420         * benchtests/cosh-inputs: Likewise.
15421         * benchtests/exp-inputs: Likewise.
15422         * benchtests/log-inputs: Likewise.
15423         * benchtests/pow-inputs: Likewise.
15424         * benchtests/rint-inputs: Likewise.
15425         * benchtests/sin-inputs: Likewise.
15426         * benchtests/sinh-inputs: Likewise.
15427         * benchtests/tan-inputs: Likewise.
15428         * benchtests/tanh-inputs: Likewise.
15429         * scripts/bench.pl: Add support for new directives.
15430
15431 2013-10-07  Alan Modra  <amodra@gmail.com>
15432
15433         * README: Fix careless merge.
15434
15435 2013-10-05  Alan Modra  <amodra@gmail.com>
15436
15437         * NEWS: Mention powerpc64le support and bugs fixed.
15438         * README: Both big-endian and little-endian powerpc64 supported.
15439
15440 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15441
15442         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15443         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15444         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15445         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15446
15447 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15448
15449         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15450         match prototype.
15451
15452 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15453
15454         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15455         Move -mhard-float appending from
15456         ports/sysdeps/powerpc/powerpc32/Makefile.
15457         [$(with-fp) = yes] (ASFLAGS): Likewise.
15458         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15459         * sysdeps/powerpc/nofpu: Move directory from
15460         ports/sysdeps/powerpc/nofpu.
15461         * sysdeps/powerpc/soft-fp: Move directory from
15462         ports/sysdeps/powerpc/soft-fp.
15463         * sysdeps/powerpc/powerpc32/405: Move directory from
15464         ports/sysdeps/powerpc/powerpc32/405.
15465         * sysdeps/powerpc/powerpc32/440: Move directory from
15466         ports/sysdeps/powerpc/powerpc32/440.
15467         * sysdeps/powerpc/powerpc32/464: Move directory from
15468         ports/sysdeps/powerpc/powerpc32/464.
15469         * sysdeps/powerpc/powerpc32/476: Move directory from
15470         ports/sysdeps/powerpc/powerpc32/476.
15471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15472         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15474         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15476         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15478         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15480         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15481         * README: Update for powerpc-*-linux-gnu software floating point
15482         support in libc.
15483
15484         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15485         case to powerpc/powerpc32*.
15486         * sysdeps/unix/sysv/linux/configure: Regenerated.
15487
15488         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15489         (_FPU_MASK_OM): Define as 0x04.
15490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15492         0x00c10080.
15493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15494         0x0000003c.
15495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15496
15497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15498         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15499         getcontext_e500.
15500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15501         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15502         setcontext_e500.
15503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15504         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15505         and setcontext_e500.
15506
15507 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15508
15509         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15510
15511 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15512
15513         * manual/threads.texi (Default Thread Attributes): Fix typo.
15514
15515 2013-10-04  Will Newton  <will.newton@linaro.org>
15516
15517         * malloc/Makefile: Add tst-memalign.
15518         * malloc/tst-memalign.c: New file.
15519
15520         * malloc/tst-posix_memalign.c: Add comments.
15521         (do_test): Add comments and call free on all potentially
15522         allocated pointers. Add space after cast.
15523
15524         * malloc/tst-pvalloc.c: Add comments.
15525         (do_test): Add comments and call free on all potentially
15526         allocated pointers. Remove duplicate check for NULL pointer.
15527         Add space after cast.
15528
15529         * malloc/tst-valloc.c: Add comments.
15530         (do_test): Add comments and call free on all potentially
15531         allocated pointers. Remove duplicate check for NULL pointer.
15532         Add space after cast.
15533
15534 2013-10-04  Alan Modra  <amodra@gmail.com>
15535
15536         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15537         Use stdint types in rather than __attribute__((mode())).
15538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15539
15540 2013-10-04  Alan Modra  <amodra@gmail.com>
15541
15542         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15543         Correct handling of unaligned relocs for little-endian.
15544         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15545
15546 2013-10-04  Alan Modra  <amodra@gmail.com>
15547
15548         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15549         * configure: Regenerate.
15550         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15551         * shlib-versions: Likewise.
15552
15553 2013-10-04  Alan Modra  <amodra@gmail.com>
15554
15555         * string/tester.c (test_memrchr): Increment reported test cycle.
15556
15557 2013-10-04  Alan Modra  <amodra@gmail.com>
15558
15559         * string/test-memcpy.c (do_one_test): When reporting errors, print
15560         string address and don't overrun end of string.
15561
15562 2013-10-04  Alan Modra  <amodra@gmail.com>
15563
15564         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15565         insrdi.  Make better use of reg selection to speed exit slightly.
15566         Schedule entry path a little better.  Remove useless "are we done"
15567         checks on entry to main loop.  Handle wrapping around zero address.
15568         Correct main loop count.  Handle single left-over word from main
15569         loop inline rather than by using loop_small.  Remove extra word
15570         case in loop_small caused by wrong loop count.  Add little-endian
15571         support.
15572         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15573         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15574         cache hint.
15575         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15576         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15577         support.  Avoid rlwimi.
15578         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15579
15580 2013-10-04  Alan Modra  <amodra@gmail.com>
15581
15582         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15583         insrdi.  Formatting.
15584         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15585         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15586         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15587         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15588         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15589         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15590
15591 2013-10-04  Alan Modra  <amodra@gmail.com>
15592
15593         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15594         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15595         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15596         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15597         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15598         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15599         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15600         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15601         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15602         use of regs.  Use power7 mtocrf.  Tidy function tails.
15603
15604 2013-10-04  Alan Modra  <amodra@gmail.com>
15605
15606         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15607         Formatting.  Consistently use rXXX register defines or rN defines.
15608         Use early exit labels that avoid restoring unused non-volatile regs.
15609         Make cr field use more consistent with rWORDn compares.  Rename
15610         regs used as shift registers for unaligned loop, using rN defines
15611         for short lifetime/multiple use regs.
15612         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15613         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15614         addi 1,1,64 to pop stack frame.  Simplify return value code.
15615         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15616
15617 2013-10-04  Alan Modra  <amodra@gmail.com>
15618
15619         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15620         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15621         rather than rlwimi.
15622         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15623         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15624         little-endian support.  Correct typos.
15625         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15626         rather than rlwimi.
15627         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15628         in loop and entry code to keep "and." results.
15629         (strchr): Add little-endian support.  Comment.  Move cntlzd
15630         earlier in tail.
15631         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15632
15633 2013-10-04  Alan Modra  <amodra@gmail.com>
15634
15635         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15636         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15637         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15638         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15639
15640 2013-10-04  Alan Modra  <amodra@gmail.com>
15641
15642         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15643         (rTMP): Define as r11.
15644         (strcmp): Add little-endian support.  Optimise tail.
15645         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15646         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15647         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15648         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15649         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15650         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15652
15653 2013-10-04  Alan Modra  <amodra@gmail.com>
15654
15655         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15656         little-endian support.  Remove unnecessary "are we done" tests.
15657         Handle "s" wrapping around zero and extremely large "size".
15658         Correct main loop count.  Handle single left-over word from main
15659         loop inline rather than by using small_loop.  Correct comments.
15660         Delete "zero" tail, use "end_max" instead.
15661         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15662
15663 2013-10-04  Alan Modra  <amodra@gmail.com>
15664
15665         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15666         support.  Don't branch over align.
15667         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15668         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15669         support.  Rearrange tmp reg use to suit.  Comment.
15670         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15671
15672 2013-10-04  Alan Modra  <amodra@gmail.com>
15673
15674         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15675
15676 2013-10-04  Alan Modra  <amodra@gmail.com>
15677
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15679         conditional form of branch and link when obtaining pc.
15680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15681
15682 2013-10-04  Alan Modra  <amodra@gmail.com>
15683
15684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15685         HIWORD/LOWORD.
15686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15688
15689 2013-10-04  Alan Modra  <amodra@gmail.com>
15690
15691         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15692         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15693         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15694         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15695         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15696         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15697         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15698         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15699         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15700         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15701
15702 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15703             Alistair Popple <alistair@ozlabs.au.ibm.com>
15704             Alan Modra <amodra@gmail.com>
15705
15706         [BZ #15723]
15707         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15708         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15709         _dl_hwcap access for little-endian.
15710         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15711         destroy vmx regs when saving unaligned.
15712         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15713         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15714         destroy vmx regs when saving unaligned.
15715
15716 2013-10-04  Alan Modra  <amodra@gmail.com>
15717
15718         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15719         Don't use a union to pack hi/low value.
15720
15721 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15722
15723         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15724         for little-endian.
15725         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15727         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15728         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15729         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15730
15731 2013-10-04  Alan Modra  <amodra@gmail.com>
15732
15733         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15734         constants to usual value for .cst8 section, and remove redundant
15735         high address load.
15736         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15737         constant for 0x1p52.  Load little-endian words of double from
15738         correct stack offsets.
15739
15740 2013-10-04  Alan Modra  <amodra@gmail.com>
15741
15742         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15743         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15744         words of double from correct stack offsets.
15745         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15746         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15747         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15748         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15749         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15750         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15751         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15752         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15753         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15754         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15755         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15756         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15757         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15758         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15759         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15760         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15761         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15762
15763 2013-10-04  Alan Modra  <amodra@gmail.com>
15764
15765         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15766         64-bit int/double union.
15767         (_FPU_SETCW): Likewise.
15768         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15769         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15770
15771 2013-10-04  Alan Modra  <amodra@gmail.com>
15772
15773         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15774         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15775
15776 2013-10-04  Alan Modra  <amodra@gmail.com>
15777
15778         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15779         use vector int constants.
15780         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15781
15782 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15783
15784         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15785         array with long long.
15786         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15787         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15788         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15789         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15790         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15791         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15792         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15793         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15794         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15795         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15796         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15797         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15798         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15799
15800 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15801
15802         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15803         (__signbit): Likewise.  Correct for little-endian.
15804         (__signbitl): Call __signbit.
15805         (lrint): Correct for little-endian.
15806         (lrintf): Call lrint.
15807
15808 2013-10-04  Alan Modra  <amodra@gmail.com>
15809
15810         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15811         union 32-bit int array member with 64-bit int array.
15812         (t515, tm256): Double rather than long double.
15813         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15814
15815 2013-10-04  Alan Modra  <amodra@gmail.com>
15816
15817         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15818         Delete.
15819         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15820         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15821         version of math_ldbl.h.
15822
15823 2013-10-04  Alan Modra  <amodra@gmail.com>
15824
15825         [BZ #15734], [BZ #15735]
15826         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15827         all uses of ieee875 long double macros and unions.  Simplify test
15828         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15829         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15830         normalize after ldbl_extract_mantissa, and don't add hidden bit
15831         already handled.  Don't treat low word of ieee854 mantissa like
15832         low word of IBM long double and mask off bit when testing for
15833         zero.
15834         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15835         all uses of ieee875 long double macros and unions.  Simplify tests
15836         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15837         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15838         two1022, instead use their values.  Recognise that tests for large
15839         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15840         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15841         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15842         test for 0.0L and nan.  Correct negation.
15843         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15844         ieee875 long double macros and unions.  Correct output for large
15845         magnitude x.  Correct absolute value calculation.
15846         (__erfcl): Likewise.
15847         * math/libm-test.inc: Add tests for errors discovered in IBM long
15848         double versions of fmodl, remainderl, erfl and erfcl.
15849
15850 2013-10-04  Alan Modra  <amodra@gmail.com>
15851
15852         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15853         all uses of ieee854 long double macros and unions.  Simplify tests
15854         for long doubles that are fully specified by the high double.
15855         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15856         Likewise.
15857         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15858         Remove dead code too.
15859         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15860         (__ieee754_ynl): Likewise.
15861         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15862         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15863         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15864         Remove dead code too.
15865         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15866         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15867         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15868         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15869         Simplify.
15870         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15871         Simplify.
15872         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15873         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15875         Comment on variable precision.
15876         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15877         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15878         Likewise.
15879         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15880         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15881         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15882         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15883         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15884
15885 2013-10-04  Alan Modra  <amodra@gmail.com>
15886
15887         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15888         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15889         all uses of ieee854 long double macros and unions.
15890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15892         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15893         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15894         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15895         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15896         Likewise.
15897         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15898         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15899         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15901         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15902         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15903         Simplify sign and nan test too.
15904         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15905         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15906         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15907         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15908         Likewise.
15909         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15910         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15911         Likewise.
15912         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15913         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15914         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15915         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15916         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15917         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15918
15919 2013-10-04  Alan Modra  <amodra@gmail.com>
15920
15921         * stdio-common/printf_size.c (__printf_size): Don't use
15922         union ieee854_long_double in fpnum union.
15923         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15924         signbit macro to retrieve sign from long double.
15925         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15926         retrieve sign from long double.
15927         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15928         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15929         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15930         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15931         * math/test-misc.c (main): Don't use union ieee854_long_double.
15932
15933 2013-10-04  Alan Modra  <amodra@gmail.com>
15934
15935         [BZ #15680]
15936         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15937         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15938         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15939         calculation.  Remove unnecessary test for denormal exponent.
15940         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15941         Correct handling of denormals.  Avoid undefined shift behaviour.
15942         Correct normalisation of low mantissa when low double is denormal.
15943         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15944         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15945         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15946         Correct normalisation of low mantissa.  Test for overflow of high
15947         mantissa and normalise.
15948         (ldbl_nearbyint): Use more readable constant for two52.
15949         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15950         (__mpn_construct_long_double): Fix test for overflow of high
15951         mantissa and correct normalisation.  Avoid undefined shift.
15952
15953 2013-10-04  Alan Modra  <amodra@gmail.com>
15954
15955         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15956         (union ibm_extended_long_double): Define as an array of ieee754_double.
15957         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15958         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15959         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15960         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15961         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15962         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15964         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15965         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15966         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15967         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15968
15969 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15970
15971         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15972         page size instead of calling getpagesize.
15973
15974         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15975         (LOCFILE_ALIGN_MASK): Likewise.
15976         (LOCFILE_ALIGN_UP): Likewise.
15977         (LOCFILE_ALIGNED_P): Likewise.
15978         * locale/programs/ld-collate.c (collate_output): Use the new
15979         macros instead of __alignof__ (int32_t).
15980         * locale/weight.h (findidx): Likewise.
15981
15982 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15983
15984         [BZ #431]
15985         * manual/string.texi: Fix strncat and wcsncat.
15986
15987 2013-10-03  Brooks Moses  <bmoses@google.com>
15988
15989         [BZ #15915]
15990         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15991         * Makerules: ...here, and adjust associated comments.
15992
15993 2013-10-02  Will Newton  <will.newton@linaro.org>
15994
15995         * malloc/Makefile: Add tst-pvalloc.
15996         * malloc/tst-pvalloc.c: New file.
15997
15998 2013-10-02  Will Newton  <will.newton@linaro.org>
15999
16000         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16001         improve test coverage.
16002
16003 2013-10-02  Will Newton  <will.newton@linaro.org>
16004
16005         * malloc/Makefile: Add tst-posix_memalign.
16006         * malloc/tst-posix_memalign.c: New file.
16007
16008 2013-10-01  Eric Blake  <eblake@redhat.com>
16009
16010         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16011         Use __THROWNL rather than __THROW on static functions.
16012
16013 2013-09-30  Petr Machata  <pmachata@redhat.com>
16014
16015         * elf/elf.h (R_AARCH64_ABS16): New macro.
16016         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16017         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16018         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16019         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16020         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16021         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16022         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16023         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16024         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16025         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16026         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16027         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16028         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16029         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16030         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16031         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16032         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16033         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16034         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16035         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16036         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16037         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16038         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16039         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16040         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16041         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16042         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16043         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16044         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16045         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16046         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16047         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16048         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16049         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16050         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16051         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16052         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16053         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16054         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16055         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16056         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16057         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16058         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16059         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16060         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16061         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16062         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16063         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16064         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16065         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16066         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16067         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16068         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16069         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16070         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16071         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16072         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16073         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16074         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16075         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16076         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16077         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16078         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16079         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16080         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16081         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16082         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16083         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16084         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16085         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16086         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16087         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16088         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16089         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16090         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16091         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16092         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16093         (R_AARCH64_TLSDESC_LDR): Likewise.
16094         (R_AARCH64_TLSDESC_ADD): Likewise.
16095         (R_AARCH64_TLSDESC_CALL): Likewise.
16096
16097 2013-09-30  Andreas Schwab  <schwab@suse.de>
16098
16099         [BZ #15048]
16100         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16101         the nss database lookup.
16102         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16104
16105 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16106
16107         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16108
16109 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16110
16111         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16112         ${Bash-specific parameter/pattern/string} parameter expansion.
16113         * sysdeps/unix/make-syscalls.sh: Likewise.
16114
16115 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16116
16117         * sysdeps/sh/stackguard-macros.h: New file.
16118
16119 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16120
16121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16123         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16124         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16125         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16126         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16127
16128 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16129
16130         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16131         Fix thread ID register.
16132
16133 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16134
16135         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16136         [POSIX || UNIX98]: Require rather than permitting all symbols from
16137         <time.h>.
16138         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16139         element of struct sched_param.
16140         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16141         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16142         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16143         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16144         constant.
16145
16146 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16147
16148         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16149         argument calculation.
16150
16151 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16152
16153         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16154         Expect macro.
16155         [POSIX] (pthread_attr_t): Do not require type.
16156         [POSIX] (pthread_cond_t): Likewise.
16157         [POSIX] (pthread_condattr_t): Likewise.
16158         [POSIX] (pthread_key_t): Likewise.
16159         [POSIX] (pthread_mutex_t): Likewise.
16160         [POSIX] (pthread_mutexattr_t): Likewise.
16161         [POSIX] (pthread_once_t): Likewise.
16162         [POSIX] (pthread_t): Likewise.
16163         [POSIX-based standards] (pthread_atfork): Expect function.
16164
16165 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16166             Richard Sandiford  <richard@codesourcery.com>
16167
16168         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16169         (swap_endianness_p): New extern variable.
16170         (set_big_endian): New inline function.
16171         (maybe_swap_uint32): Likewise.
16172         (maybe_swap_uint32_array): Likewise.
16173         (maybe_swap_uint32_obstack): Likewise.
16174         * locale/programs/locfile.c: Include <stdbool.h>.
16175         (swap_endianness_p): New variable.
16176         (add_locale_uint32): Call maybe_swap_uint32.
16177         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16178         (write_locale_data): Call maybe_swap_uint32_array.
16179         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16180         maybe_swap_uint32.
16181         (obstack_int32_grow_fast): Likewise.
16182         (output_weightwc): Call maybe_swap_uint32_obstack.
16183         (collate_output): Likewise.
16184         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16185         (OPT_LITTLE_ENDIAN): Likewise.
16186         (options): Add --little-endian and --big-endian options.
16187         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16188         * locale/programs/locarchive.c: Include "locfile.h".
16189         (GET): New macro.
16190         (SET): Likewise.
16191         (INC): Likewise.
16192         (create_archive): Use the new macros to access fields of
16193         structures directly mapped from or written to locale archives.
16194         (oldlocrecentcmp): Likewise.
16195         (enlarge_archive): Likewise.
16196         (insert_name): Likewise.
16197         (add_alias): Likewise.
16198         (add_locale): Likewise.
16199         (delete_locales_from_archive): Likewise.
16200         (show_archive_content): Likewise.
16201         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16202         locale data.
16203
16204 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16205
16206         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16207         http://www.gnu.org/doc/freemanuals.texi.
16208         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16209
16210 2013-09-24  Will Newton  <will.newton@linaro.org>
16211
16212         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16213         macro.
16214
16215 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16216
16217         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16218         unsigned char.
16219
16220 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16221
16222         * manual/threads.texi (POSIX Threads): Fix a typo.
16223
16224 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16225
16226         [BZ #14547]
16227         * string/tst-strcoll-overflow.c: New test case.
16228         * string/Makefile (xtests): Add tst-strcoll-overflow.
16229         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16230         cache if string sizes may cause integer overflow.
16231
16232         [BZ #14547]
16233         * string/strcoll_l.c (coll_seq): New members rule, idx,
16234         save_idx and back_us.
16235         (get_next_seq_nocache): New function.
16236         (do_compare_nocache): New function.
16237         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16238         when malloc fails.
16239
16240 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16241
16242         [BZ #15754]
16243         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16244         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16245         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16246
16247         [BZ #15754]
16248         * elf/Makefile (tests): Add tst-ptrguard1.
16249         (tests-static): Add tst-ptrguard1-static.
16250         (tst-ptrguard1-ARGS): Define.
16251         (tst-ptrguard1-static-ARGS): Define.
16252         * elf/tst-ptrguard1.c: New file.
16253         * elf/tst-ptrguard1-static.c: New file.
16254         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16255         * sysdeps/i386/stackguard-macros.h: Likewise.
16256         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16257         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16258         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16259         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16260         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16261         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16262
16263 2013-09-23  Hector Marco  <hecmargi@upv.es>
16264             Ismael Ripoll  <iripoll@disca.upv.es>
16265             Carlos O'Donell  <carlos@redhat.com>
16266
16267         [BZ #15754]
16268         * sysdeps/generic/stackguard-macros.h: Define
16269         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16270         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16271         Define __pointer_chk_guard_local.
16272         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16273         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16274
16275 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16276
16277         [BZ #15859]
16278         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16279
16280 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16281
16282         * include/string.h (__ffs): Declare as hidden.
16283         * string/ffs.c (__ffs): Define as hidden.
16284         * sysdeps/i386/ffs.c (__ffs): Likewise.
16285         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16286         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16287         * sysdeps/s390/ffs.c (__ffs): Likewise.
16288         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16289
16290 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16291
16292         * NEWS: Mention malloc probes.
16293
16294         * malloc/arena.c (new_heap): New memory_heap_new probe.
16295         (grow_heap): New memory_heap_more probe.
16296         (shrink_heap): New memory_heap_less probe.
16297         (heap_trim): New memory_heap_free probe.
16298         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16299         (systrim): New memory_sbrk_less probe.
16300         * manual/probes.texi: Document them.
16301
16302         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16303         * manual/probes.texi: Document it.
16304
16305         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16306         (__libc_realloc): Add memory_realloc_retry probe.
16307         (__libc_memalign): Add memory_memalign_retry probe.
16308         (__libc_valloc): Add memory_valloc_retry probe.
16309         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16310         (__libc_calloc): Add memory_calloc_retry probe.
16311         * manual/probes.texi: Document them.
16312
16313         * malloc/arena.c (get_free_list): Add probe
16314         memory_arena_reuse_free_list.
16315         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16316         and memory_arena_reuse.
16317         (arena_get2) [!PER_THREAD]: Likewise.
16318         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16319         memory_arena_reuse_realloc.
16320         * manual/probes.texi: Document them.
16321
16322         * malloc/malloc.c (__libc_free): Add
16323         memory_mallopt_free_dyn_thresholds probe.
16324         (__libc_mallopt): Add multiple memory_mallopt probes.
16325         * manual/probes.texi: Document them.
16326
16327         * malloc/malloc.c: Include stap-probe.h.
16328         (__libc_mallopt): Add memory_mallopt probe.
16329         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16330         * manual/probes.texi: New.
16331         * manual/Makefile (chapters): Add probes.
16332         * manual/threads.texi: Set next node.
16333
16334 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16335
16336         [BZ #15963, #13985]
16337         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16338         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16339         Add `Chinese' to `nan' entry name.
16340
16341 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16342
16343         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16344         (POLYNOMIAL): Likewise.
16345         (TAYLOR_SINCOS): Likewise.
16346         (TAYLOR_SLOW): Likewise.
16347         (__sin): Use TAYLOR_SINCOS.
16348         (__cos): Likewise.
16349         (slow): Use TAYLOR_SLOW.
16350         (sloww): Likewise.
16351         (bsloww): Likewise.
16352         (csloww): Likewise.
16353
16354 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16355
16356         * stdlib/strtod_l.c: Fix buffer overrun.
16357
16358 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16359
16360         * benchtests/Makefile (bench): Add sincos.
16361         * benchtests/bench-sincos.c: New file.
16362
16363         * math/libm-test.inc (cos_test_data): New test inputs.
16364         (sin_test_data): Likewise.
16365
16366         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16367         macro.
16368         (__sin): Use it.
16369         (__cos): Likewise.
16370         (slow1): Likewise.
16371         (slow2): Likewise.
16372         (sloww1): Likewise.
16373         (sloww2): Likewise.
16374         (bsloww1): Likewise.
16375         (bsloww2): Likewise.
16376         (cslow2): Likewise.
16377         (csloww1): Likewise.
16378         (csloww2): Likewise.
16379
16380         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16381         function.
16382         (__sin): Use it.
16383         (__cos): Likewise.
16384
16385         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16386         gotos.
16387         (__cos): Likewise.
16388
16389 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16390
16391         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16392         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16393         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16394         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16395         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16396         * elf/cache.c (print_entry): Handle the new cache flags.
16397
16398 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16399             Aldy Hernandez  <aldyh@redhat.com>
16400
16401         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16402         Change condition to [_SOFT_FLOAT].
16403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16415         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16418         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16419         declaration.
16420
16421 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16422
16423         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16424         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16425         (__longjmp): Use LOAD_GP to load saved GPRs.
16426         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16427         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16428         (__sigsetjmp): Use SAVE_GP to save GPRs.
16429
16430         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16431         Do not append -msoft-float.
16432         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16433
16434 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16435
16436         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16437
16438 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16439
16440         [BZ #15966]
16441         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16442         (_FPU_GETCW): Use initial "__" on variable and field names but not
16443         on macro parameter name.
16444         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16445         parentheses around reference to macro parameter.
16446
16447 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16448
16449         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16450         prototype.
16451         (ctype_startup): Use uint32_t in cast and sizeof for
16452         ctype->charnames.
16453
16454 2013-09-11  Jia Liu  <proljc@gmail.com>
16455
16456         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16457         __daddr_t_defined.
16458         [__FreeBSD__]: Likewise.
16459
16460 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16461
16462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16463         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16464         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16465         (strchr): Remove __strchr_sse42 ifunc selection.
16466         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16467         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16468
16469 2013-09-11  Will Newton  <will.newton@linaro.org>
16470
16471         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16472         parameter to RES. Remove hardcoded 1000 value.
16473         * benchtests/bench-skeleton.c (main): Pass RES parameter
16474         to TIMING_INIT and multiply result by 1000.
16475
16476 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16477
16478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16479
16480 2013-09-11  Andreas Schwab  <schwab@suse.de>
16481
16482         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16483         if not defined.
16484         (O_TMPFILE) [__USE_GNU]: Define.
16485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16486         Define.
16487
16488 2013-09-11  Will Newton  <will.newton@linaro.org>
16489
16490         [BZ #15857]
16491         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16492         does not overflow.
16493
16494 2013-09-11  Will Newton  <will.newton@linaro.org>
16495
16496         [BZ #15856]
16497         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16498         does not overflow.
16499
16500 2013-09-11  Will Newton  <will.newton@linaro.org>
16501
16502         [BZ #15855]
16503         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16504         does not overflow.
16505
16506 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16507
16508         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16509         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16510         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16511         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16512         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16513
16514 2013-09-10  Allan McRae  <allan@archlinux.org>
16515
16516         [BZ #15748]
16517         * manual/arith.texi (Parsing of Floats): Clarify
16518         cross-reference.
16519
16520         [BZ #15849]
16521         * manual/install.texi (Running make install): Mention
16522         --enable-pt-chown.
16523         * INSTALL: Regenerated.
16524
16525 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16526
16527         * csu/init-first.c (_init): Remove the !SHARED condition around
16528         FPU control word initialization.
16529         * elf/dl-support.c (_dl_fpu_control): New variable.
16530         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16531         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16532         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16533         * math/test-fpucw-static.c: New file.
16534         * math/test-fpucw-ieee.c: New file.
16535         * math/test-fpucw-ieee-static.c: New file.
16536         * math/Makefile (tests): Add `test-fpucw-ieee' and
16537         `$(tests-static)'.
16538         (tests-static): New variable.
16539         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16540         dependency to...
16541         [($(build-shared),yes)]
16542         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16543         ... this.
16544         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16545         New dependency.
16546
16547 2013-09-09  Allan McRae  <allan@archlinux.org>
16548
16549         [BZ #15939]
16550         * manual/string.texi (Collation Functions): Fix typo in
16551         strcoll example.
16552         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16553
16554         [BZ #15893]
16555         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16556
16557         [BZ #15892]
16558         * libio/memstream.c (open_memstream): Fix memory leak.
16559         * libio/wmemstream.c (open_wmemstream): Likewise.
16560
16561         [BZ #15895]
16562         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16563
16564 2013-09-09  Will Newton  <will.newton@linaro.org>
16565
16566         * malloc/Makefile: Add tst-realloc to tests.
16567         * malloc/tst-realloc.c: New file.
16568
16569 2013-09-09  Allan McRae  <allan@archlinux.org>
16570
16571         [BZ #15844]
16572         * COPYING: Update from GNU website to fix FSF address.
16573         * COPYING.LIB: Likewise.
16574
16575 2013-09-06  David S. Miller  <davem@davemloft.net>
16576
16577         * po/zh_TW.po: Update Chinese (traditional) translation from
16578         translation project.
16579
16580 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16581             Joseph Myers  <joseph@codesourcery.com>
16582
16583         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16584         "localeinfo.h".
16585         (obstack_chunk_alloc): New macro.
16586         (obstack_chunk_free): Likewise.
16587         (record_offset): New function.
16588         (init_locale_data): Likewise.
16589         (align_locale_data): Likewise.
16590         (add_locale_empty): Likewise.
16591         (add_locale_raw_data): Likewise.
16592         (add_locale_raw_obstack): Likewise.
16593         (add_locale_string): Likewise.
16594         (add_locale_wstring): Likewise.
16595         (add_locale_uint32): Likewise.
16596         (add_locale_uint32_array): Likewise.
16597         (add_locale_char): Likewise.
16598         (start_locale_structure): Likewise.
16599         (end_locale_structure): Likewise.
16600         (start_locale_prelude): Likewise.
16601         (end_locale_prelude): Likewise.
16602         (write_locale_data): Take locale_file structure rather than an
16603         iovec.
16604         * locale/programs/locfile.h: Include "obstack.h".
16605         (struct locale_file): Change to store locale file contents instead
16606         of header.
16607         (init_locale_data): New prototype.
16608         (align_locale_data): Likewise.
16609         (add_locale_empty): Likewise.
16610         (add_locale_raw_data): Likewise.
16611         (add_locale_raw_obstack): Likewise.
16612         (add_locale_string): Likewise.
16613         (add_locale_wstring): Likewise.
16614         (add_locale_uint32): Likewise.
16615         (add_locale_uint32_array): Likewise.
16616         (add_locale_char): Likewise.
16617         (start_locale_structure): Likewise.
16618         (end_locale_structure): Likewise.
16619         (start_locale_prelude): Likewise.
16620         (end_locale_prelude): Likewise.
16621         (write_locale_data): Update prototype.
16622         * locale/programs/3level.h (struct TABLE): Remove result field.
16623         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16624         Use new locale_file interface.
16625         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16626         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16627         * locale/programs/ld-address.c (address_output): Use new
16628         locale_file interface.
16629         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16630         NO_ADD_LOCALE.
16631         (collate_finish): Don't call collseq_table_finalize.
16632         (collate_output): Use new locale_file interface.
16633         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16634         in file.
16635         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16636         (TABLE): Move defines earlier in file.
16637         (ELEMENT): Likewise.
16638         (DEFAULT): Likewise.
16639         (wctrans_table_add): Move macro and inline function earlier in
16640         file.
16641         (struct wctype_table): Move type earlier in file.
16642         (add_locale_wctype_table): New static prototype.
16643         (struct locale_ctype_t): Use logical types instead of struct iovec
16644         pointers for members.
16645         (ctype_output): Use new locale_file interface.
16646         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16647         new locale_file interface.
16648         (allocate_arrays): Update for use of new locale_file interface.
16649         * locale/programs/ld-identification.c (identification_output): Use
16650         new locale_file interface.
16651         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16652         * locale/programs/ld-messages.c (messages_output): Likewise.
16653         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16654         * locale/programs/ld-name.c (name_output): Likewise.
16655         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16656         * locale/programs/ld-paper.c (paper_output): Likewise.
16657         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16658         * locale/programs/ld-time.c (time_output): Likewise.
16659
16660 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16661
16662         * benchtests/Makefile: Add memrchr benchmark.
16663         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16664         benchmark as memrchr.
16665         * benchtests/bench-memrchr-ifunc.c: New file.
16666         * benchtests/bench-memrchr.c: New file.
16667
16668 2013-09-06   Will Newton  <will.newton@linaro.org>
16669
16670         * benchtests/Makefile (string-bench): Add memcpy.
16671
16672 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16673             Cong Wang  <amwang@redhat.com>
16674
16675         [BZ #15850]
16676         * sysdeps/unix/sysv/linux/bits/in.h
16677         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16678         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16679         before __USE_KERNEL_IPV6_DEFS uses.
16680         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16681         IPPROTO_BEETPH.
16682         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16683         sockaddr_in6, or ipv6_mreq.
16684
16685 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16686
16687         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16688         memory access for final bytes in some large inputs.
16689         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16690
16691 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16692
16693         * string/test-memrchr.c: New file.
16694         * string/test-memrchr-ifunc.c: New file.
16695         * string/Makefile: Add new memrchr testcase.
16696
16697 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16698
16699         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16700         fanotify_init returns EPERM.
16701
16702 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16703
16704         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16705         errors.
16706         (top level): Treat second token from macro or constant entries for
16707         allowed headers as allowed.
16708         * include/complex.h: Condition internal declarations on
16709         [!_ISOMAC].
16710         * include/fenv.h: Condition include of <stdbool.h> and internal
16711         declarations on [!_ISOMAC].
16712
16713 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16714
16715         [BZ #15923]
16716         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16717
16718 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16719
16720         * configure.in (--enable-versioning): Remove configure option.
16721         (libc_cv_asm_symver_directive): Remove configure test.
16722         (libc_cv_ld_version_script_option): Likewise.
16723         (VERSIONING): Remove variable and AC_SUBST.
16724         (DO_VERSIONING): Remove AC_DEFINE.
16725         * configure: Regenerated.
16726         * config.h.in (DO_VERSIONING): Remove macro.
16727         * Makerules [$(versioning) = yes]: Change conditionals to
16728         [$(build-shared) = yes].
16729         * config.make.in (versioning): Remove variable.
16730         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16731         [$(build-shared) = yes].
16732         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16733         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16734         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16735         [$(build-shared) = yes].
16736         * extra-lib.mk [$(versioning) = yes]: Likewise.
16737         * hurd/Makefile [$(versioning) = yes]: Likewise.
16738         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16739         [SHARED].
16740         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16741         [SHARED].
16742         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16743         [SHARED && !NO_HIDDEN].
16744         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16745         [SHARED].
16746         [SHARED && DO_VERSIONING]: Likewise..
16747         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16748         [$(build-shared) = yes].
16749         * manual/install.texi (--disable-versioning): Remove
16750         documentation.
16751         * INSTALL: Regenerated.
16752         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16753         to [SHARED].
16754         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16755         [$(build-shared) = yes].
16756         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16757         * sysdeps/i386/i686/multiarch/strstr-c.c
16758         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16759         [SHARED && !NO_HIDDEN].
16760         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16761         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16762         * sysdeps/powerpc/powerpc32/dl-machine.c
16763         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16764         * sysdeps/powerpc/powerpc32/sysdep.h
16765         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16766         to [SHARED && PIC && !NO_HIDDEN].
16767         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16768         conditional to [SHARED].
16769
16770 2013-09-04   Will Newton  <will.newton@linaro.org>
16771
16772         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16773         * benchtests/bench-string.h: Include bench-timing.h instead
16774         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16775         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16776         call to HP_TIMING_DIFF_INIT.
16777         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16778         instead of hp-timing.h macros.
16779         * benchtests/bench-memchr.c: Likewise.
16780         * benchtests/bench-memcmp.c: Likewise.
16781         * benchtests/bench-memcpy.c: Likewise.
16782         * benchtests/bench-memmem.c: Likewise.
16783         * benchtests/bench-memmove.c: Likewise.
16784         * benchtests/bench-memset.c: Likewise.
16785         * benchtests/bench-rawmemchr.c: Likewise.
16786         * benchtests/bench-strcasecmp.c: Likewise.
16787         * benchtests/bench-strcasestr.c: Likewise.
16788         * benchtests/bench-strcat.c: Likewise.
16789         * benchtests/bench-strchr.c: Likewise.
16790         * benchtests/bench-strcmp.c: Likewise.
16791         * benchtests/bench-strcpy.c: Likewise.
16792         * benchtests/bench-strcpy_chk.c: Likewise.
16793         * benchtests/bench-strlen.c: Likewise.
16794         * benchtests/bench-strncasecmp.c: Likewise.
16795         * benchtests/bench-strncat.c: Likewise.
16796         * benchtests/bench-strncmp.c: Likewise.
16797         * benchtests/bench-strncpy.c: Likewise.
16798         * benchtests/bench-strnlen.c: Likewise.
16799         * benchtests/bench-strpbrk.c: Likewise.
16800         * benchtests/bench-strrchr.c: Likewise.
16801         * benchtests/bench-strspn.c: Likewise.
16802         * benchtests/bench-strstr.c: Likewise.
16803
16804 2013-09-04  Will Newton  <will.newton@linaro.org>
16805
16806         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16807
16808 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16809
16810         [BZ #15427]
16811         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16812         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16813         * math/libm-test.inc (lgamma_test_data): Add more tests.
16814         * sysdeps/i386/fpu/libm-test-ulps: Update.
16815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16816
16817 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16818
16819         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16821         Add ifunc.
16822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16823         Add strcmp-sse2-unaligned
16824         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16825
16826 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16827
16828         * Versions.def (libc): Add GLIBC_2.19.
16829
16830 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16831
16832         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16833         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16834
16835 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16836
16837         [BZ #14155]
16838         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16839         intermediate calculations in recurrence.
16840         (__ieee754_ynf): Likewise.
16841         * math/libm-test.inc (jn_test_data): Do not allow spurious
16842         underflow exception.  Add more tests.
16843         (yn_test_data): Add more tests.
16844         * sysdeps/i386/fpu/libm-test-ulps: Update.
16845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16846
16847 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16848
16849         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16850
16851 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16852
16853         * csu/init-first.c: Fix then/than typos.
16854         * locale/programs/ld-collate.c: Likewise.
16855         * locale/programs/linereader.h: Likewise.
16856         * manual/charset.texi: Likewise.
16857         * manual/filesys.texi: Likewise.
16858         * manual/stdio.texi: Likewise.
16859         * manual/string.texi: Likewise.
16860         * stdlib/fmtmsg.c: Likewise.
16861         * sysdeps/i386/stpncpy.S: Likewise.
16862         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16863         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16864         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16865         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16866
16867 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16868
16869         * elf/dl-open.c: Fix typos.
16870         * iconvdata/gbbig5.c: Likewise.
16871         * iconvdata/iso-2022-jp.c: Likewise.
16872         * iconv/gconv_int.h: Likewise.
16873         * iconv/loop.c: Likewise.
16874         * nis/rpcsvc/nis.h: Likewise.
16875         * resolv/ns_name.c: Likewise.
16876         * stdio-common/vfscanf.c: Likewise.
16877         * streams/stropts.h: Likewise.
16878         * sunrpc/rpc_thread.c: Likewise.
16879         * sysdeps/i386/strpbrk.S: Likewise.
16880         * sysdeps/ieee754/k_standard.c: Likewise.
16881         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16882         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16883         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16884         * sysdeps/mach/hurd/profil.c: Likewise.
16885         * sysdeps/s390/dl-procinfo.h: Likewise.
16886         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16887         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16888         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16889         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16891
16892 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16893
16894         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16896
16897 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16898
16899         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16900         aix specific files.
16901         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16902         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16903         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16904         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16905         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16906         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16907         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16908         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16909
16910 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16911             Roland McGrath  <roland@hack.frob.com>
16912
16913         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16914         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16915
16916 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16917
16918         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16919         __executable_start symbol instead of _start.
16920
16921 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16922
16923         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16924         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16925         Move macros to...
16926         * sysdeps/gnu/ldsodefs.h: ... this new file.
16927
16928         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16929         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16930         instead of ELFOSABI_LINUX.
16931
16932         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16933         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16934         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16935         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16936         Likewise.
16937         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16938         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16939         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16940         Likewise.
16941         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16942         (ibm_extended_long_double): Add ieee_nan member.
16943         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16944         (do_test): New function.
16945
16946         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16947         TEST_TRUNC.
16948         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16949         functions, renamed from truncdfsf_test, trunctfsf_test,
16950         trunctfdf_test.
16951         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16952         functions.
16953         (do_test): Run all these.
16954
16955 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16956
16957         * argp/argp-help.c: Fix typos.
16958         * argp/argp-parse.c: Likewise.
16959         * debug/backtracesyms.c: Likewise.
16960         * elf/elf.h: Likewise.
16961         * malloc/malloc.c: Likewise.
16962         * nis/nis_print.c: Likewise.
16963         * resolv/res_comp.c: Likewise.
16964         * stdlib/stdlib.h: Likewise.
16965         * sunrpc/clnt_tcp.c: Likewise.
16966         * sunrpc/clnt_udp.c: Likewise.
16967         * sunrpc/clnt_unix.c: Likewise.
16968         * sysdeps/unix/bsd/ptsname.c: Likewise.
16969         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16970         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16972         Likewise.
16973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16974         Likewise.
16975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16976         Likewise.
16977         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16978
16979 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16980
16981         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16983
16984 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16985
16986         [BZ #15897]
16987         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16988         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16989         ($(objpfx)bug-dl-leaf): New rule.
16990         ($(objpfx)bug-dl-leaf.so): Likewise.
16991         ($(objpfx)bug-dl-leaf.out): Likewise.
16992         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16993         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16994         * dlfcn/bug-dl-leaf.c: New test.
16995         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16996         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16997         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16998         (dlclose): Likewise.
16999         (dlmopen): Likewise.
17000
17001 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17002
17003         * include/netdb.h [!_ISOMAC]:
17004         Don't include <tls.h>.
17005         (h_errno, __libc_h_errno): Move declaration and macros out of
17006         [_LIBC_REENTRANT].
17007
17008         * include/resolv.h [_RESOLV_H_]:
17009         Don't include <tls.h>.
17010         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17011         * resolv/res_libc.c: Don't include <tls.h>.
17012         (_res): Use __attribute__ ((nocommon)) in place of
17013         __attribute__ ((section (".bss"))).
17014
17015         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17016         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17017
17018         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17019
17020         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17021         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17022
17023         * resolv/res_mkquery.c: Include <sys/time.h>.
17024
17025         * inet/ifreq.c: Moved to ...
17026         * sysdeps/unix/ifreq.c: ... here.
17027         * inet/ifreq.c: New file, true stub version.
17028
17029         * socket/sa_len.c: New file.
17030         * socket/Makefile (aux): Add it.
17031         * sysdeps/unix/sysv/linux/Makefile
17032         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17033         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17034         and #include <socket/sa_len.c>.
17035         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17036         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17037
17038         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17039         * bits/socket.h: ... here.
17040
17041         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17042         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17043         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17044
17045 2013-08-27  Andreas Schwab  <schwab@suse.de>
17046
17047         [BZ #15736]
17048         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17049         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17050         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17051         * string/test-strcasecmp.c (test_main): Run tests in several
17052         locales.
17053         * string/test-strncasecmp.c (test_main): Likewise.
17054
17055         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17056         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17057         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17058         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17059         (__strncasecmp_ssse3) [PIC]: Likewise.
17060
17061 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17062
17063         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17064
17065         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17066         instead of explicitly declaring xdecrypt.
17067         * nis/nss_nis/nis-publickey.c: Likewise.
17068
17069 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17070
17071         [BZ #15890]
17072         * nscd/aicache.c: Include res_hconf.h.
17073         (addhstaiX): Initialize res_hconf.
17074
17075 2013-08-26  Andreas Schwab  <schwab@suse.de>
17076
17077         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17078         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17079
17080 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17081
17082         * nscd/aicache.c (addhstaiX): Fix indentation.
17083
17084 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17085
17086         * configure.ac: Quote $build_pt_chown test.
17087         * configure: Regenerated.
17088
17089 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17090
17091         [BZ #15532]
17092         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17093         * math/s_cexpf.c (__cexpf): Likewise.
17094         * math/s_cexpl.c (__cexpl): Likewise.
17095         * math/libm-test.inc (cexp_test_data): Correct expected return
17096         value for NaN + i0.  Add another test.
17097
17098 2013-08-22  David S. Miller  <davem@davemloft.net>
17099
17100         * po/ca.po: Update Catalan translation from translation project.
17101         * po/uk.po: Add Ukrainian translations from translation project.
17102
17103 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17104
17105         [BZ #15797]
17106         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17107         is infinite, not alongside NaN test.
17108         * math/s_fdimf.c (__fdimf): Likewise.
17109         * math/s_fdiml.c (__fdiml): Likewise.
17110         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17111         errno is unchanged.
17112
17113 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17114
17115         * argp/argp-help.c: Fix typos.
17116         * crypt/speeds.c: Likewise.
17117         * csu/check_fds.c: Likewise.
17118         * elf/dl-load.c: Likewise.
17119         * elf/dl-open.c: Likewise.
17120         * elf/reldep3.c: Likewise.
17121         * elf/reldep.c: Likewise.
17122         * elf/sprof.c: Likewise.
17123         * iconv/iconv_charmap.c: Likewise.
17124         * iconv/skeleton.c: Likewise.
17125         * iconv/strtab.c: Likewise.
17126         * io/lockf64.c: Likewise.
17127         * libio/libioP.h: Likewise.
17128         * resolv/gai_notify.c: Likewise.
17129         * resolv/ns_name.c: Likewise.
17130         * resolv/ns_samedomain.c: Likewise.
17131         * resolv/res_send.c: Likewise.
17132         * stdlib/random.c: Likewise.
17133         * sunrpc/rpc/xdr.h: Likewise.
17134         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17135         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17136         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17137         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17138         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17139         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17140         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17141         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17142         * sysdeps/mach/hurd/check_fds.c: Likewise.
17143         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17144         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17145         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17146         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17147         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17148         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17149         * sysdeps/pthread/aio_notify.c: Likewise.
17150         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17151         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17152         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17153         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17154         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17155
17156 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17157
17158         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17159         version if bit_Slow_SSE4_2 is set.
17160         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17161         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17162
17163 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17164
17165         [BZ #15867]
17166         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17167         trampoline stack frame information.
17168         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17169         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17170         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17171         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17172         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17173         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17174         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17175         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17176         sa_flags value.
17177         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17178         interrupting a syscall and set with option SA_SIGINFO.
17179
17180 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17181
17182         [BZ #15531]
17183         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17184         argument is infinite.
17185         * math/s_cprojf.c (__cprojf): Likewise.
17186         * math/s_cprojl.c (__cprojl): Likewise.
17187         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17188         * math/libm-test.inc (cproj_test_data): Add more tests.
17189
17190         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17191
17192         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17193         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17194         size.  Use __ffs to determine corresponding shift.
17195
17196 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17197             Roland McGrath  <roland@hack.frob.com>
17198
17199         * Makefile (INSTALL): Remove trailing blank lines from output of
17200         makeinfo.
17201
17202 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17203
17204         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17205         Align 32 bit compat elf_greg to 8 bytes.
17206
17207 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17208
17209         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17210
17211 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17212
17213         * string/strcoll_l.c (coll_seq): New structure.
17214         (get_next_seq_cached): New function.
17215         (get_next_seq): New function.
17216         (do_compare): New function.
17217         (STRCOLL): Use GNU style definition.  Simplify implementation
17218         by using get_next_seq, get_next_seq_cached and do_compare.
17219
17220 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17221
17222         [BZ #14699]
17223         CVE-2013-4237
17224         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17225         member.
17226         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17227         member.
17228         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17229         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17230         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17231         conditional.
17232         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17233         GETDENTS_64BIT_ALIGNED.
17234         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17235         * manual/filesys.texi (Reading/Closing Directory): Document
17236         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17237         strongly.
17238         * manual/conf.texi (Limits for Files): Add portability note to
17239         NAME_MAX, PATH_MAX.
17240         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17241
17242 2013-08-13  Andreas Schwab  <schwab@suse.de>
17243
17244         [BZ #15749]
17245         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17246         of fabs.
17247         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17248         LDBL_MAX_EXP >= 16384]: Add tests for it.
17249
17250 2013-08-12  David S. Miller  <davem@davemloft.net>
17251
17252         * version.h (RELEASE): Set to "development".
17253         (VERSION): Set to "2.18.90".
17254         * NEWS: Add 2.19 section.
17255
17256 2013-08-03  David S. Miller  <davem@davemloft.net>
17257
17258         * po/ko.po: Update Korean translation from translation project.
17259
17260 2013-08-01  David S. Miller  <davem@davemloft.net>
17261
17262         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17263         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17264         Bilka.
17265
17266 2013-07-30  David S. Miller  <davem@davemloft.net>
17267
17268         * po/fr.po: Update French translation from translation project.
17269
17270 2013-07-28  David S. Miller  <davem@davemloft.net>
17271
17272         * po/cs.po: Update Czech translation from translation project.
17273
17274         * po/sv.po: Update Swedish translation from translation project.
17275
17276 2013-07-27  David S. Miller  <davem@davemloft.net>
17277
17278         * po/eo.po: Update Esperanto translation from translation project.
17279
17280         * po/vi.po: Update Vietnamese translation from translation project.
17281
17282         * po/de.po: Update German translation from translation project.
17283
17284 2013-07-26  David S. Miller  <davem@davemloft.net>
17285
17286         * po/bg.po: Update Bulgarian translation from translation project.
17287
17288         * po/nl.po: Update Dutch translation from translation project.
17289         * po/pl.po: Update Polish translation from translation project.
17290         * po/ru.po: Update Russian translation from translation project.
17291
17292 2013-07-24  David S. Miller  <davem@davemloft.net>
17293
17294         * po/libc.pot: Update.
17295
17296 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17297
17298         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17299         variable page size.
17300         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17301         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17302         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17303
17304 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17305
17306         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17307
17308 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17309             Andreas Schwab  <schwab@suse.de>
17310             Roland McGrath  <roland@hack.frob.com>
17311             Joseph Myers  <joseph@codesourcery.com>
17312             Carlos O'Donell  <carlos@redhat.com>
17313
17314         [BZ #15755]
17315         * config.h.in: Define HAVE_PT_CHOWN.
17316         * config.make.in (build-pt-chown): New variable.
17317         * configure.in (--enable-pt_chown): New configure option.
17318         * configure: Regenerate.
17319         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17320         build-pt-chown is enabled.
17321         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17322         pt_chown to fix pty ownership.
17323         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17324         CLOSE_ALL_FDS.
17325         * manual/install.texi (Configuring and compiling): Mention
17326         --enable-pt_chown. Add @findex for grantpt.
17327         * INSTALL: Regenerate.
17328
17329 2013-07-20  David S. Miller  <davem@davemloft.net>
17330
17331         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17332         difference between 32-bit and 64-bit.
17333
17334 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17335
17336         [BZ #15711]
17337         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17338         Avoid system header dependency with -ffreestanding.
17339         ($(objpfx)bits/syscall%d): Likewise.
17340
17341 2013-07-13  David S. Miller  <davem@davemloft.net>
17342
17343         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17344         underflows from atanl/atan2l due to bug 15319.
17345         (casinh_test_data): Likewise.
17346
17347 2013-07-07  David S. Miller  <davem@davemloft.net>
17348
17349         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17350
17351 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17352
17353         * sysdeps/i386/fpu/libm-test-ulps: Update.
17354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17355
17356 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17357
17358         * configure.in (--enable-lock-elision): Fix message text.
17359         * INSTALL: Regenerate.
17360         * configure: Regenerate.
17361
17362 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17363
17364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17365
17366 2013-07-03  Andreas Jaeger  <aj@suse.de>
17367
17368         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17369         define.
17370         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17371         (ptrace_peeksiginfo_args): Add.
17372         (__ptrace_peeksiginfo_flags): Add.
17373         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17374         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17375         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17376
17377 2013-07-03  Allan McRae  <allan@archlinux.org>
17378
17379         * sysdeps/i386/fpu/libm-test-ulps: Update.
17380
17381 2013-07-02  David S. Miller  <davem@davemloft.net>
17382
17383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17384
17385 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17386
17387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17388
17389 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17390
17391         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17393
17394 2013-07-02  Andi Kleen <ak@linux.intel.com>
17395
17396         * config.h.in (ENABLE_LOCK_ELISION): Add.
17397         * configure.in (--enable-lock-elision): Add option.
17398         * manual/install.texi: Document --enable lock elision.
17399         * configure: Regenerate
17400         * INSTALL: Regenerate.
17401
17402 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17403
17404         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17405         SSE4.2 strcasecmp for libc.a.
17406         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17407
17408 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17409
17410         [BZ #13304]
17411         * soft-fp/op-common.h (_FP_FMA): New macro.
17412         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17413         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17414         (_FP_MUL_MEAT_1_imm): ... here.
17415         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17416         (_FP_MUL_MEAT_1_wide): ... here.
17417         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17418         (_FP_MUL_MEAT_1_hard): ... here.
17419         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17420         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17421         (_FP_MUL_MEAT_2_wide): ... here.
17422         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17423         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17424         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17425         (_FP_MUL_MEAT_2_gmp): ... here.
17426         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17427         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17428         (_FP_MUL_MEAT_4_wide): ... here.
17429         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17430         (_FP_MUL_MEAT_4_gmp): ... here.
17431         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17432         (_FP_WFRACBITS_DW_S): Likewise.
17433         (_FP_WFRACXBITS_DW_S): Likewise.
17434         (_FP_HIGHBIT_DW_S): Likewise.
17435         (FP_FMA_S): Likewise.
17436         (_FP_FRAC_HIGH_DW_S): Likewise.
17437         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17438         (_FP_WFRACBITS_DW_D): Likewise.
17439         (_FP_WFRACXBITS_DW_D): Likewise.
17440         (_FP_HIGHBIT_DW_D): Likewise.
17441         (FP_FMA_D): Likewise.
17442         (_FP_FRAC_HIGH_DW_D): Likewise.
17443         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17444         (_FP_WFRACBITS_DW_E): Likewise.
17445         (_FP_WFRACXBITS_DW_E): Likewise.
17446         (_FP_HIGHBIT_DW_E): Likewise.
17447         (FP_FMA_E): Likewise.
17448         (_FP_FRAC_HIGH_DW_E): Likewise.
17449         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17450         (_FP_WFRACBITS_DW_Q): Likewise.
17451         (_FP_WFRACXBITS_DW_Q): Likewise.
17452         (_FP_HIGHBIT_DW_Q): Likewise.
17453         (FP_FMA_Q): Likewise.
17454         (_FP_FRAC_HIGH_DW_Q): Likewise.
17455         * soft-fp/fmasf4.c: New file.
17456         * soft-fp/fmadf4.c: Likewise.
17457         * soft-fp/fmatf4.c: Likewise.
17458
17459 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17460
17461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17462         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17463         Silvermont.
17464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17465         macro.
17466         (index_Slow_SSE4_2): Likewise.
17467         (index_Prefer_PMINUB_for_stringop): Likewise.
17468         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17469         bit_Slow_SSE4_2 is set.
17470         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17471         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17472
17473 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17474
17475         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17476         rtld_global._dl_hwcap2.
17477         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17478         POWER8.
17479         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17480         POWER8 feature descriptions defined in _dl_hwcap2.
17481         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17482         string handling for POWER8 feature bits.
17483         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17484         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17485         _dl_powerpc_cap_flags.
17486         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17487         * sysdeps/powerpc/rtld-global-offsets.sym
17488         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17489         _dl_hwcap2 in the rtld_global_ro structure.
17490
17491 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17492
17493         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17494         hardware capabilities in support of AT_HWCAP2.
17495         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17496         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17497         GLRO(dl_hwcap2).
17498         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17499         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17500         explicitly the unknown a_type display mechanism is used.
17501         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17502         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17503         struct member.
17504         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17505         to macro prototype for AT_HWCAP2 support.
17506         * sysdeps/i386/dl-procinfo.h: Likewise.
17507         * sysdeps/s390/dl-procinfo.h: Likewise.
17508         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17509         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17510         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17511         return -1 for unknown a_type display fallback.
17512         * sysdeps/sparc/dl-procinfo.h: Likewise.
17513         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17514         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17515
17516 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17517
17518         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17519         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17520
17521 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17522
17523         [BZ #12492]
17524         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17525         mprotect making __stack_prot writable.
17526
17527 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17528             Joseph Myers  <joseph@codesourcery.com>
17529
17530         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17531         as being properly aligned.
17532
17533 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17534
17535         * dlfcn/modstatic5.c: New file.
17536         * dlfcn/tststatic5.c: New file.
17537         * dlfcn/Makefile (tests): Add tststatic5.
17538         (tests-static): Likewise.
17539         (modules-names): Add modstatic5.
17540         (tststatic5-ENV): New variable.
17541         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17542
17543         [BZ #15022]
17544         * elf/dl-support.c (_dl_main_map): New variable.
17545         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17546         (_dl_nns, _dl_load_adds): Set to 1.
17547         (_dl_initial_searchlist): Refer to _dl_main_map.
17548         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17549         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17550         call to _dl_get_origin.
17551         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17552         around call_map.
17553         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17554         * dlfcn/modstatic3.c: New file.
17555         * dlfcn/tststatic3.c: New file.
17556         * dlfcn/tststatic4.c: New file.
17557         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17558         (tests-static): Likewise.
17559         (modules-names): Add modstatic3.
17560         (tststatic3-ENV, tststatic4-ENV): New variables.
17561         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17562         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17563
17564 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17565
17566         * configure.in (CC): Require GCC version 4.4 or later.
17567         * configure: Regenerated.
17568         * manual/install.texi (Tools for Compilation): Update GCC version
17569         requirement.
17570         * INSTALL: Regenerated.
17571
17572 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17573
17574         [BZ #15674]
17575         * string/test-memcmp.c (check2): New.
17576         (main): Call check2.
17577
17578         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17579
17580 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17581
17582         [BZ #15022]
17583         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17584         over to...
17585         (dl_open_worker) [!SHARED]: ... here.
17586
17587 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17588
17589         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17590
17591 2013-06-25  Richard Henderson  <rth@redhat.com>
17592
17593         * locale/programs/locarchive.c: Include <libc-internal.h>
17594
17595 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17596
17597         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17598         trailing whitespace removed.
17599
17600 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17601
17602         [BZ #10283]
17603         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17604         * locale/programs/locarchive.c: Include libc-mmap.h.
17605         (prepare_address_space): Take two new outputs (the mmap base and len).
17606         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17607         values.
17608         (create_archive): Declare new mmap base and len values for
17609         prepare_address_space, and store the result in ah.
17610         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17611         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17612         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17613         Declare new mmap base and len values for
17614         prepare_address_space, and store the result in new_ah.
17615         (open_archive): Declare new mmap base and len values for
17616         prepare_address_space, and store the result in ah.
17617         (close_archive): If ah->mmap_base is not NULL, use that and
17618         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17619         * sysdeps/generic/libc-mmap.h: New file.
17620
17621 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17622
17623         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17624         (ALIGN_UP): Likewise.
17625         (PTR_ALIGN_DOWN): Likewise.
17626         (PTR_ALIGN_UP): Likewise.
17627
17628 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17629
17630         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17631         entry mapped to PPC_PLATFORM_POWER8.
17632         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17633         POWER8.
17634         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17635         (_dl_string_platform): Add case for exporting platform position for
17636         POWER8.
17637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17638         search path to sysdeps/powerpc/powerpc32/power8 directory.
17639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17640         search path to sysdeps/powerpc/powerpc64/power8 directory.
17641         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17642         power7 directories.
17643         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17644         power7 directories.
17645
17646 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17647
17648         * INSTALL: Regenerate.
17649
17650         * nscd/connections.c (nscd_init): Fix comment.
17651
17652 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17653
17654         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17655
17656         [BZ #15667]
17657         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17658         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17659
17660 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17661
17662         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17663         DL_DST_REQ_STATIC.
17664         (DL_DST_REQ_STATIC): Remove macro.
17665
17666 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17667
17668         [BZ #7006]
17669         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17670         with a shift of 0 bits.
17671
17672 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17673
17674         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17675         $(tststatic-ENV).
17676
17677 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17678
17679         [BZ #15655]
17680         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17681
17682 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17683
17684         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17685         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17686         accepts -fno-tree-loop-distribute-patterns.
17687         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17688         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17689         recursive call.
17690         * string/memset.c (memset): Likewise.
17691         * string/test-memmove.c (simple_memmove): Disable loop transformation
17692         to library calls.
17693         * string/test-memset.c (simple_memset): Likewise.
17694         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17695         * benchtests/bench-memset.c (simple_memset): Likewise.
17696         * configure: Regenerated.
17697
17698 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17699
17700         * math/test-misc.c (main): Ignore fesetround failure when failures
17701         of subsequent rounding tests would be ignored.
17702
17703         [BZ #15654]
17704         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17705         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17706         * math/fegetenv.c (__fegetenv): Return 0.
17707         * math/fegetexcept.c (fegetexcept): Return 0.
17708         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17709         FE_TONEAREST.
17710         * math/feholdexcpt.c (feholdexcept): Return 0.
17711         * math/fesetenv.c (__fesetenv): Return 0.
17712         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17713         argument FE_TONEAREST.
17714         * math/feupdateenv.c (__feupdateenv): Return 0.
17715         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17716
17717 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17718
17719         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17720         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17721         ($(objpfx)rtld-%.os rules): Use them.
17722
17723 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17724
17725         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17726         fields.
17727
17728 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17729
17730         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17731         length of target pattern, then descending length of dependency pattern.
17732         * configure.in (AWK): Require gawk 3.1.2 or newer.
17733         * manual/install.texi (Tools for Compilation): Say that we do.
17734         * configure: Regenerated.
17735
17736         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17737         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17738         * scripts/sysd-rules.awk: ... this new script.
17739         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17740         than a glob-style pattern.
17741
17742 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17743
17744         * math/test-misc.c (main): Do not treat incorrectly rounded
17745         conversions as failure unless ROUNDING_TESTS passes.
17746
17747 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17748
17749         [BZ #15631]
17750         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17751         restore exception state around main square root computation, then
17752         check for inexactness explicitly.
17753
17754         * math/libm-test.inc (fma_test_data): Add another test.
17755
17756 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17757
17758         * manual/threads.texi (Non-POSIX Extensions): New document
17759         node.  Document pthread_getattr_default_np and
17760         pthread_setattr_default_np.
17761
17762         * Versions.def (libpthread): Add GLIBC_2.18.
17763         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17765         Likewise.
17766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17767         Likewise.
17768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17769         Likewise.
17770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17771         Likewise.
17772         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17773         Likewise.
17774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17775         Likewise.
17776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17777         Likewise.
17778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17779         Likewise.
17780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17781         Likewise.
17782
17783 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17784
17785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17786         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17787
17788 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17789             H.J. Lu  <hjl.tools@gmail.com>
17790
17791         [BZ #15627]
17792         * sysdeps/x86_64/rtld-memset.c: Remove file.
17793         * sysdeps/x86_64/rtld-memset.S: New file.
17794
17795 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17796
17797         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17798         (test_in_one_mode): Take arguments for whether the rounding mode
17799         is supported for each floating-point type.
17800         (do_test): Pass new arguments to test_in_one_mode using
17801         ROUNDING_TESTS.
17802
17803 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17804
17805         * posix/tst-waitid.c (do_test): Distinguish different instances of
17806         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17807         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17808         before entering the kernel for waitpid.
17809
17810 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17811
17812         * NEWS: Fix note on clock function precision.  Text by Roland
17813         McGrath.
17814
17815 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17816
17817         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17818         it into place only when and if the sanity check passes.
17819
17820 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17821
17822         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17823         output for whether conversion result is exact.  Take argument
17824         indicating whether type is IBM long double.
17825         (round_for_all): Change need_exact field to ibm_ld.
17826         * stdlib/tst-strtod-round.c (struct exactness): New type.
17827         (struct test): Change bool ld_ok field to struct exactness exact.
17828         (TEST): Update all definitions for change to field.
17829         (tests): Regenerate array contents.
17830         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17831         field value.  Check for IBM long double here.
17832         (do_test): Update calls to test_in_one_mode.
17833
17834 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17835
17836         [BZ #12515]
17837         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17838         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17839
17840 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17841
17842         [BZ #15605]
17843         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17844         generated by the compiler on loop optimizations.
17845         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17846         general definitions.
17847
17848 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17849
17850         * math/bug-nextafter.c: Include <math-tests.h>.
17851         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17852         the relevant type.
17853         * math/bug-nexttoward.c: Include <math-tests.h>.
17854         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17855         the relevant type.
17856         * math/test-misc.c: Include <math-tests.h>.
17857         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17858         the relevant type.
17859
17860 2013-06-12  Andreas Jaeger  <aj@suse.de>
17861
17862         * po/ia.po: Update Interlingua translation from translation
17863         project.
17864
17865 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17866
17867         * include/fenv.h: Include stdbool.h.
17868         (struct rm_ctx): New structure.
17869         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17870         Define macro.
17871         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17872         (SET_RESTORE_ROUNDF): Likewise.
17873         (SET_RESTORE_ROUNDL): Likewise.
17874         (SET_RESTORE_ROUND_NOEX): Likewise.
17875         (SET_RESTORE_ROUND_NOEXF): Likewise.
17876         (SET_RESTORE_ROUND_NOEXL): Likewise.
17877         (SET_RESTORE_ROUND_53BIT): Likewise.
17878         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17879         (libc_feresetround_noexf_ctx): Likewise.
17880         (libc_feresetround_noexl_ctx): Likewise.
17881         (libc_feholdsetround_53bit_ctx): Likewise.
17882         (libc_feresetround_53bit_ctx): Likewise.
17883         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17884         (libc_feholdexcept_setround_sse_ctx): New function.
17885         (libc_fesetenv_sse_ctx): Likewise.
17886         (libc_feupdateenv_sse_ctx): Likewise.
17887         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17888         (libc_feholdexcept_setround_387_ctx): Likewise.
17889         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17890         (libc_feholdsetround_387_prec_ctx): Likewise.
17891         (libc_feholdsetround_387_ctx): Likewise.
17892         (libc_feholdsetround_387_53bit_ctx): Likewise.
17893         (libc_feholdsetround_sse_ctx): Likewise.
17894         (libc_feresetround_sse_ctx): Likewise.
17895         (libc_feresetround_387_ctx): Likewise.
17896         (libc_feupdateenv_387_ctx): Likewise.
17897         (libc_feholdexcept_setroundf_ctx): Define macro.
17898         (libc_fesetenvf_ctx): Likewise.
17899         (libc_feupdateenvf_ctx): Likewise.
17900         (libc_feholdsetroundf_ctx): Likewise.
17901         (libc_feresetroundf_ctx): Likewise.
17902         (libc_feholdexcept_setround_ctx): Likewise.
17903         (libc_fesetenv_ctx): Likewise.
17904         (libc_feupdateenv_ctx): Likewise.
17905         (libc_feholdsetround_ctx): Likewise.
17906         (libc_feresetround_ctx): Likewise.
17907         (libc_feholdexcept_setroundl_ctx): Likewise.
17908         (libc_feupdateenvl_ctx): Likewise.
17909         (libc_feholdsetroundl_ctx): Likewise.
17910         (libc_feresetroundl_ctx): Likewise.
17911         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17912         (libc_feresetround_53bit_ctx): Likewise.
17913
17914 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17915
17916         * locale/iso-639.def: Convert to UTF-8.
17917
17918 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17919
17920         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17921         (EXCEPTION_TESTS_double): Likewise.
17922         (EXCEPTION_TESTS_long_double): Likewise.
17923         (EXCEPTION_TESTS): Likewise.
17924         * math/libm-test.inc (test_exceptions): Only test exceptions if
17925         EXCEPTION_TESTS (FLOAT).
17926
17927 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17928
17929         * benchtests/Makefile (string-bench): Add strcpy_chk and
17930         stpcpy_chk.
17931         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17932         * benchtests/bench-stpcpy_chk.c: New file.
17933         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17934         * benchtests/bench-strcpy_chk.c: New file.
17935         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17936         code.
17937         (do_test): Likewise.
17938
17939 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17940
17941         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17942         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17943         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17944         with tabs where appropriate.
17945         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17946         dl-procinfo.h.
17947         [PPC_PLATFORM_PPC440]: Likewise.
17948         [PPC_PLATFORM_PPC464]: Likewise.
17949         [PPC_PLATFORM_PPC476]: Likewise.
17950         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17951         ppc464, and ppc476 platform strings merging from ports/
17952         dl-procinfo.h.
17953
17954 2013-06-11  Andreas Schwab  <schwab@suse.de>
17955
17956         [BZ #14991]
17957         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17958         (from_ucs4_idx): Regenerate.
17959         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17960         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17961         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17962         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17963         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17964         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17965         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17966         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17967         from FROM_LOOP and TO_LOOP specific macros.
17968         (BODY): Handle combining characters.
17969         * iconvdata/BIG5HKSCS.irreversible: Update.
17970         * iconvdata/BIG5HKSCS.precomposed: New file.
17971         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17972         characters.
17973         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17974
17975 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17976
17977         * include/sys/time.h: Fix indentation and add copyright header.
17978
17979         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17980         (do_test): Likewise.
17981         * string/test-memchr.c (do_one_test): Likewise.
17982         (do_test): Likewise.
17983         * string/test-memcmp.c (do_one_test): Likewise.
17984         (do_test): Likewise.
17985         * string/test-memcpy.c (do_one_test): Likewise.
17986         (do_test): Likewise.
17987         * string/test-memmem.c (do_one_test): Likewise.
17988         (do_test): Likewise.
17989         (do_random_tests): Likewise.
17990         * string/test-memmove.c (do_one_test): Likewise.
17991         (do_test): Likewise.
17992         * string/test-memset.c (do_one_test): Likewise.
17993         (do_test): Likewise.
17994         * string/test-rawmemchr.c (do_one_test): Likewise.
17995         (do_test): Likewise.
17996         * string/test-strcasecmp.c (do_one_test): Likewise.
17997         (do_test): Likewise.
17998         * string/test-strcasestr.c (do_one_test): Likewise.
17999         (do_test): Likewise.
18000         * string/test-strcat.c (do_one_test): Likewise.
18001         (do_test): Likewise.
18002         * string/test-strchr.c (do_one_test): Likewise.
18003         (do_test): Likewise.
18004         * string/test-strcmp.c (do_one_test): Likewise.
18005         (do_test): Likewise.
18006         * string/test-strcpy.c (do_one_test): Likewise.
18007         (do_test): Likewise.
18008         * string/test-string.h: Likewise.
18009         (test_init): Likewise.
18010         * string/test-strlen.c (do_one_test): Likewise.
18011         (do_test): Likewise.
18012         * string/test-strncasecmp.c (do_one_test): Likewise.
18013         (do_test): Likewise.
18014         * string/test-strncat.c (do_one_test): Likewise.
18015         (do_test): Likewise.
18016         * string/test-strncmp.c (do_one_test): Likewise.
18017         (do_test_limit): Likewise.
18018         (do_test): Likewise.
18019         * string/test-strncpy.c (do_one_test): Likewise.
18020         (do_test): Likewise.
18021         * string/test-strnlen.c (do_one_test): Likewise.
18022         (do_test): Likewise.
18023         * string/test-strpbrk.c (do_one_test): Likewise.
18024         (do_test): Likewise.
18025         * string/test-strrchr.c (do_one_test): Likewise.
18026         (do_test): Likewise.
18027         * string/test-strspn.c (do_one_test): Likewise.
18028         (do_test): Likewise.
18029         * string/test-strstr.c (do_one_test): Likewise.
18030         (do_test): Likewise.
18031
18032         * benchtests/Makefile (string-bench): Add string benchmarks.
18033         * benchtests/bench-bcopy-ifunc.c: New file.
18034         * benchtests/bench-bcopy.c: New file.
18035         * benchtests/bench-bzero-ifunc.c: New file.
18036         * benchtests/bench-bzero.c: New file.
18037         * benchtests/bench-memccpy-ifunc.c: New file.
18038         * benchtests/bench-memccpy.c: New file.
18039         * benchtests/bench-memchr-ifunc.c: New file.
18040         * benchtests/bench-memchr.c: New file.
18041         * benchtests/bench-memcmp-ifunc.c: New file.
18042         * benchtests/bench-memcmp.c: New file.
18043         * benchtests/bench-memmem-ifunc.c: New file.
18044         * benchtests/bench-memmem.c: New file.
18045         * benchtests/bench-memmove-ifunc.c: New file.
18046         * benchtests/bench-memmove.c: New file.
18047         * benchtests/bench-mempcpy-ifunc.c: New file.
18048         * benchtests/bench-mempcpy.c: New file.
18049         * benchtests/bench-memset-ifunc.c: New file.
18050         * benchtests/bench-memset.c: New file.
18051         * benchtests/bench-rawmemchr-ifunc.c: New file.
18052         * benchtests/bench-rawmemchr.c: New file.
18053         * benchtests/bench-stpcpy-ifunc.c: New file.
18054         * benchtests/bench-stpcpy.c: New file.
18055         * benchtests/bench-stpncpy-ifunc.c: New file.
18056         * benchtests/bench-stpncpy.c: New file.
18057         * benchtests/bench-strcasecmp-ifunc.c: New file.
18058         * benchtests/bench-strcasecmp.c: New file.
18059         * benchtests/bench-strcasestr-ifunc.c: New file.
18060         * benchtests/bench-strcasestr.c: New file.
18061         * benchtests/bench-strcat-ifunc.c: New file.
18062         * benchtests/bench-strcat.c: New file.
18063         * benchtests/bench-strchr-ifunc.c: New file.
18064         * benchtests/bench-strchr.c: New file.
18065         * benchtests/bench-strchrnul-ifunc.c: New file.
18066         * benchtests/bench-strchrnul.c: New file.
18067         * benchtests/bench-strcmp-ifunc.c: New file.
18068         * benchtests/bench-strcmp.c: New file.
18069         * benchtests/bench-strcpy-ifunc.c: New file.
18070         * benchtests/bench-strcpy.c: New file.
18071         * benchtests/bench-strcspn-ifunc.c: New file.
18072         * benchtests/bench-strcspn.c: New file.
18073         * benchtests/bench-strlen-ifunc.c: New file.
18074         * benchtests/bench-strlen.c: New file.
18075         * benchtests/bench-strncasecmp-ifunc.c: New file.
18076         * benchtests/bench-strncasecmp.c: New file.
18077         * benchtests/bench-strncat-ifunc.c: New file.
18078         * benchtests/bench-strncat.c: New file.
18079         * benchtests/bench-strncmp-ifunc.c: New file.
18080         * benchtests/bench-strncmp.c: New file.
18081         * benchtests/bench-strncpy-ifunc.c: New file.
18082         * benchtests/bench-strncpy.c: New file.
18083         * benchtests/bench-strnlen-ifunc.c: New file.
18084         * benchtests/bench-strnlen.c: New file.
18085         * benchtests/bench-strpbrk-ifunc.c: New file.
18086         * benchtests/bench-strpbrk.c: New file.
18087         * benchtests/bench-strrchr-ifunc.c: New file.
18088         * benchtests/bench-strrchr.c: New file.
18089         * benchtests/bench-strspn-ifunc.c: New file.
18090         * benchtests/bench-strspn.c: New file.
18091         * benchtests/bench-strstr-ifunc.c: New file.
18092         * benchtests/bench-strstr.c: New file.
18093
18094         * benchtests/Makefile: Disable parallel execution of targets.
18095         (string-bench): Add memcpy.
18096         (benchset): New variable to store a list of benchmark sets.
18097         (bench-func): Renamed from bench.
18098         (bench-set): New target.
18099         (bench): Depend on bench-func and bench-set.
18100         * benchtests/README: Add section on benchmark sets.
18101         * benchtests/bench-memcpy-ifunc.c: New file.
18102         * benchtests/bench-memcpy.c: New file.
18103         * benchtests/bench-string.h: New file.
18104
18105 2013-06-11  Andreas Schwab  <schwab@suse.de>
18106
18107         [BZ #15577]
18108         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18109         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18110         values in the triple.
18111         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18112         terminator in the group key.
18113
18114 2013-06-11  Andreas Jaeger  <aj@suse.de>
18115
18116         * po/zh_TW.po: Update Chinese (traditional) translation from
18117         translation project.
18118
18119 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18120
18121         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18122         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18123         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18124         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18125         (clock_getcpuclockid): Likewise.
18126         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18127         Add weak_alias and libc_hidden_def.
18128         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18129         * rt/clock_gettime.c (clock_gettime): Rename to
18130         __clock_gettime.  Add weak_alias and libc_hidden_def.
18131         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18132         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18133         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18134         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18135         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18136         Likewise.
18137         * rt/clock_settime.c (clock_settime): Rename to
18138         __clock_settime.  Add weak_alias and libc_hidden_def.
18139         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18140
18141 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18142
18143         * mach/err_boot.sub: Remove trailing whitespace.
18144         * mach/err_ipc.sub: Likewise.
18145         * mach/err_mach.sub: Likewise.
18146
18147         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18148         (ROUNDING_TESTS_double): Likewise.
18149         (ROUNDING_TESTS_long_double): Likewise.
18150         (ROUNDING_TESTS): Likewise.
18151         * math/libm-test.inc: Include <math-tests.h>.
18152         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18153         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18154         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18155         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18156
18157 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18158
18159         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18160         of assigning.
18161
18162 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18163
18164         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18165         otherwise empty TRANS lines.
18166         * sysdeps/gnu/errlist.c: Regenerated.
18167
18168         * catgets/gencat.c (error_print): Use (void) in function
18169         definition.
18170         * crypt/crypt_util.c (__init_des): Likewise.
18171         * crypt/speeds.c (Stop): Likewise.
18172         (main): Likewise.
18173         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18174         * inet/ruserpass.c (token): Likewise.
18175         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18176         * intl/localealias.c (extend_alias_table): Likewise.
18177         * intl/plural-exp.c (init_germanic_plural): Likewise.
18178         * libio/fcloseall.c (__fcloseall): Likewise.
18179         * libio/genops.c (_IO_flush_all): Likewise.
18180         (_IO_flush_all_linebuffered): Likewise.
18181         (_IO_cleanup): Likewise.
18182         (_IO_iter_begin): Likewise.
18183         (_IO_iter_end): Likewise.
18184         (_IO_list_lock): Likewise.
18185         (_IO_list_unlock): Likewise.
18186         (_IO_list_resetlock): Likewise.
18187         * libio/getchar.c (getchar): Likewise.
18188         * libio/getchar_u.c (getchar_unlocked): Likewise.
18189         * libio/getwchar.c (getwchar): Likewise.
18190         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18191         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18192         * login/getpt.c (__getpt): Likewise.
18193         * login/tst-utmp.c (main): Likewise.
18194         * malloc/hooks.c (__malloc_check_init): Likewise.
18195         * malloc/malloc.c (__malloc_stats): Likewise.
18196         * malloc/mtrace.c (tr_break): Likewise.
18197         (mtrace): Likewise.
18198         (muntrace): Likewise.
18199         * misc/fstab.c (endfsent): Likewise.
18200         * misc/getclktck.c (__getclktck): Likewise.
18201         * misc/getdtsz.c (__getdtablesize): Likewise.
18202         * misc/gethostid.c (gethostid): Likewise.
18203         * misc/getpagesize.c (__getpagesize): Likewise.
18204         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18205         (__get_nprocs): Likewise.
18206         (__get_phys_pages): Likewise.
18207         (__get_avphys_pages): Likewise.
18208         * misc/getttyent.c (getttyent): Likewise.
18209         (setttyent): Likewise.
18210         (endttyent): Likewise.
18211         * misc/getusershell.c (getusershell): Likewise.
18212         (endusershell): Likewise.
18213         (setusershell): Likewise.
18214         (initshells): Likewise.
18215         * misc/hsearch.c (__hdestroy): Likewise.
18216         * misc/sync.c (sync): Likewise.
18217         * misc/syslog.c (closelog_internal): Likewise.
18218         (closelog): Likewise.
18219         * misc/ttyslot.c (ttyslot): Likewise.
18220         * misc/vhangup.c (vhangup): Likewise.
18221         * posix/fork.c (__fork): Likewise.
18222         * posix/getegid.c (__getegid): Likewise.
18223         * posix/geteuid.c (__geteuid): Likewise.
18224         * posix/getgid.c (__getgid): Likewise.
18225         * posix/getpid.c (__getpid): Likewise.
18226         * posix/getppid.c (__getppid): Likewise.
18227         * posix/getuid.c (__getuid): Likewise.
18228         * posix/pause.c (pause): Likewise.
18229         * posix/setpgrp.c (setpgrp): Likewise.
18230         * posix/setsid.c (__setsid): Likewise.
18231         * posix/test-vfork.c (noop): Likewise.
18232         * resolv/gethnamaddr.c (_endhtent): Likewise.
18233         (_gethtent): Likewise.
18234         (ht_endhostent): Likewise.
18235         (gethostent): Likewise.
18236         (dns_service): Likewise.
18237         * stdlib/drand48.c (drand48): Likewise.
18238         * stdlib/lrand48.c (lrand48): Likewise.
18239         * stdlib/mrand48.c (mrand48): Likewise.
18240         * stdlib/rand.c (rand): Likewise.
18241         * stdlib/random.c (__random): Likewise.
18242         * stdlib/setenv.c (clearenv): Likewise.
18243         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18244         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18245         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18246         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18247         (__get_nprocs): Likewise.
18248         (__get_phys_pages): Likewise.
18249         (__get_avphys_pages): Likewise.
18250         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18251         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18252         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18253         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18254         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18255         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18256         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18257         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18258         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18259         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18260         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18261         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18262         * sysdeps/posix/clock.c (clock): Likewise.
18263         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18264         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18265         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18266         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18267         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18268         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18269         (__get_nprocs_conf): Likewise.
18270         (__get_phys_pages): Likewise.
18271         (__get_avphys_pages): Likewise.
18272         * time/clock.c (clock): Likewise.
18273         * time/tzset.c (__tzname_max): Likewise.
18274
18275 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18276
18277         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18278         (__bswap_32): Do not use "register".
18279         * crypt/crypt.c (_ufc_doit_r): Likewise.
18280         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18281         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18282         * gmon/gmon.c (__monstartup): Likewise.
18283         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18284         * hurd/hurdmalloc.c (more_memory): Likewise.
18285         (malloc): Likewise.
18286         (free): Likewise.
18287         (realloc): Likewise.
18288         (malloc_fork_prepare): Likewise.
18289         (malloc_fork_parent): Likewise.
18290         (malloc_fork_child): Likewise.
18291         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18292         (_svcauth_des): Likewise.
18293         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18294         * inet/inet_net.c (inet_network): Likewise.
18295         * inet/inet_netof.c (inet_netof): Likewise.
18296         * inet/rcmd.c (__validuser2_sa): Likewise.
18297         * io/fts.c (fts_open): Likewise.
18298         (fts_load): Likewise.
18299         (fts_close): Likewise.
18300         (fts_read): Likewise.
18301         (fts_children): Likewise.
18302         (fts_build): Likewise.
18303         (fts_stat): Likewise.
18304         (fts_sort): Likewise.
18305         (fts_alloc): Likewise.
18306         (fts_lfree): Likewise.
18307         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18308         (_IO_file_xsgetn): Likewise.
18309         (_IO_file_xsgetn_mmap): Likewise.
18310         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18311         (_IO_cookie_write): Likewise.
18312         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18313         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18314         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18315         * malloc/obstack.c (_obstack_begin): Likewise.
18316         (_obstack_begin_1): Likewise.
18317         (_obstack_newchunk): Likewise.
18318         (_obstack_allocated_p): Likewise.
18319         (obstack_free): Likewise.
18320         (_obstack_memory_used): Likewise.
18321         * misc/getttyent.c (getttynam): Likewise.
18322         (getttyent): Likewise.
18323         (skip): Likewise.
18324         (value): Likewise.
18325         * misc/getusershell.c (initshells): Likewise.
18326         * misc/syslog.c (__vsyslog_chk): Likewise.
18327         * misc/ttyslot.c (ttyslot): Likewise.
18328         * nis/nis_hash.c (__nis_hash): Likewise.
18329         * posix/fnmatch_loop.c (FCT): Likewise.
18330         * posix/getconf.c (print_all): Likewise.
18331         (main): Likewise.
18332         * posix/getopt.c (exchange): Likewise.
18333         * posix/glob.c (globfree): Likewise.
18334         (prefix_array): Likewise.
18335         (__glob_pattern_type): Likewise.
18336         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18337         (NS_GET32): Likewise.
18338         (NS_PUT16): Likewise.
18339         (NS_PUT32): Likewise.
18340         * resolv/gethnamaddr.c (getanswer): Likewise.
18341         (gethostbyname2): Likewise.
18342         (gethostbyaddr): Likewise.
18343         (_gethtent): Likewise.
18344         (_gethtbyname2): Likewise.
18345         (_gethtbyaddr): Likewise.
18346         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18347         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18348         * resolv/res_init.c (__res_vinit): Likewise.
18349         (net_mask): Likewise.
18350         * resolv/res_mkquery.c (outchar): Likewise.
18351         (PRINT): Likewise.
18352         * stdio-common/printf_fp.c (outchar): Likewise.
18353         (PRINT): Likewise.
18354         * stdio-common/printf_fphex.c (outchar): Likewise.
18355         (PRINT): Likewise.
18356         * stdio-common/printf_size.c (outchar): Likewise.
18357         (PRINT): Likewise.
18358         * stdio-common/test_rdwr.c (main): Likewise.
18359         * stdio-common/tfformat.c (matches): Likewise.
18360         * stdio-common/vfprintf.c (outchar): Likewise.
18361         (printf_unknown): Likewise.
18362         (buffered_vfprintf): Likewise.
18363         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18364         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18365         (ReadFile): Likewise.
18366         * stdlib/qsort.c (SWAP): Likewise.
18367         (_quicksort): Likewise.
18368         * stdlib/setenv.c (__add_to_environ): Likewise.
18369         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18370         * stdlib/strtol_l.c (__strtol_l): Likewise.
18371         * stdlib/tst-strtod.c (main): Likewise.
18372         * stdlib/tst-strtol.c (main): Likewise.
18373         * stdlib/tst-strtoll.c (main): Likewise.
18374         * string/bits/string2.h (__strcmp_cc): Likewise.
18375         (__strcmp_cg): Likewise.
18376         (__strcspn_c1): Likewise.
18377         (__strcspn_c2): Likewise.
18378         (__strcspn_c3): Likewise.
18379         (__strspn_c1): Likewise.
18380         (__strspn_c2): Likewise.
18381         (__strspn_c3): Likewise.
18382         (__strsep_1c): Likewise.
18383         (__strsep_2c): Likewise.
18384         (__strsep_3c): Likewise.
18385         * string/memccpy.c (__memccpy): Likewise.
18386         * string/stpcpy.c (__stpcpy): Likewise.
18387         * string/strcmp.c (strcmp): Likewise.
18388         * string/strrchr.c (strrchr): Likewise.
18389         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18390         Likewise.
18391         * sysdeps/mach/hurd/getcwd.c
18392         (_hurd_canonicalize_directory_name_internal): Likewise.
18393         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18394         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18395         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18396         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18397         Likewise, in both definitions.
18398         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18399         definitions.
18400         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18401         64] (__bswap_64): Likewise.
18402         * time/test_time.c (main): Likewise.
18403         * time/tzfile.c (__tzfile_read): Likewise.
18404         (__tzfile_compute): Likewise.
18405         * time/tzset.c (__tzset_parse_tz): Likewise.
18406         (tzset_internal): Likewise.
18407         (compute_change): Likewise.
18408         * wcsmbs/wcscat.c (__wcscat): Likewise.
18409         * wcsmbs/wcschr.c (wcschr): Likewise.
18410         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18411         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18412         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18413         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18414         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18415         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18416         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18417         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18418         * wcsmbs/wmemset.c (wmemset): Likewise.
18419
18420 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18421
18422         * scripts/config.guess: Update to version 2013-05-16.
18423         * scripts/config.sub: Update to version 2013-04-24.
18424         * scripts/install-sh: Update to version 2011-11-20.07.
18425         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18426         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18427
18428 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18429
18430         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18431         * elf/sln.c: Likewise.
18432         * hurd/hurd/ioctl.h: Likewise.
18433         * hurd/hurdmalloc.c: Likewise.
18434         * hurd/xattr.c: Likewise.
18435         * include/shlib-compat.h: Likewise.
18436         * inet/ruserpass.c: Likewise.
18437         * libio/iofgets_u.c: Likewise.
18438         * libio/iofgetws_u.c: Likewise.
18439         * locale/programs/ld-identification.c: Likewise.
18440         * locale/programs/ld-time.c: Likewise.
18441         * mach/msg-destroy.c: Likewise.
18442         * nss/nss_files/files-netgrp.c: Likewise.
18443         * resolv/res_data.c: Likewise.
18444         * soft-fp/op-1.h: Likewise.
18445         * soft-fp/op-2.h: Likewise.
18446         * soft-fp/op-4.h: Likewise.
18447         * soft-fp/op-common.h: Likewise.
18448         * stdio-common/printf_fphex.c: Likewise.
18449         * stdlib/strtod_l.c: Likewise.
18450         * sunrpc/rpc/clnt.h: Likewise.
18451         * sysdeps/generic/framestate.c: Likewise.
18452         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18453         * sysdeps/i386/bsd-setjmp.S: Likewise.
18454         * sysdeps/i386/__longjmp.S: Likewise.
18455         * sysdeps/i386/setjmp.S: Likewise.
18456         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18457         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18458         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18459         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18460         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18461         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18462         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18463         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18465         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18466         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18467         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18468         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18469         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18470         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18471         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18472         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18473         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18474         * sysdeps/ieee754/support.c: Likewise.
18475         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18476         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18477         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18478         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18479         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18480         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18481         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18482         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18483         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18484         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18485         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18486         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18487         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18488         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18489         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18490         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18491         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18493
18494 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18495
18496         * posix/transbug.c: Remove executable mode.
18497
18498 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18499
18500         * crypt/speeds.c: Remove trailing whitespace.
18501         * dlfcn/default.c: Likewise.
18502         * elf/ifuncdep2.c: Likewise.
18503         * elf/ifuncmain1.c: Likewise.
18504         * elf/ifuncmain1vis.c: Likewise.
18505         * elf/testobj.h: Likewise.
18506         * elf/tst-stackguard1.c: Likewise.
18507         * gmon/sys/gmon.h: Likewise.
18508         * hurd/hurdmsg.c: Likewise.
18509         * hurd/new-fd.c: Likewise.
18510         * hurd/ports-get.c: Likewise.
18511         * iconvdata/ibm1008_420.c: Likewise.
18512         * inet/tst-getni1.c: Likewise.
18513         * inet/tst-getni2.c: Likewise.
18514         * libio/ioungetc.c: Likewise.
18515         * libio/wfiledoalloc.c: Likewise.
18516         * manual/libm-err-tab.pl: Likewise.
18517         * math/w_dremf.c: Likewise.
18518         * misc/ftruncate.c: Likewise.
18519         * posix/bug-glob2.c: Likewise.
18520         * posix/tst-pcre.c: Likewise.
18521         * posix/wait4.c: Likewise.
18522         * resolv/README: Likewise.
18523         * resolv/res_debug.h: Likewise.
18524         * resolv/tst-inet_ntop.c: Likewise.
18525         * setjmp/bug269-setjmp.c: Likewise.
18526         * soft-fp/extended.h: Likewise.
18527         * soft-fp/op-1.h: Likewise.
18528         * soft-fp/op-2.h: Likewise.
18529         * soft-fp/op-4.h: Likewise.
18530         * soft-fp/op-8.h: Likewise.
18531         * soft-fp/testit.c: Likewise.
18532         * stdio-common/bug16.c: Likewise.
18533         * stdlib/random.c: Likewise.
18534         * sunrpc/rpcsvc/rquota.x: Likewise.
18535         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18536         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18537         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18538         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18539         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18540         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18541         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18542         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18543         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18544         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18545         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18546         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18547         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18548         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18549         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18550         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18551         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18552         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18553         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18554         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18555         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18556         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18557         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18558         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18559         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18560         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18561         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18562         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18563         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18564         * sysdeps/ieee754/s_lib_version.c: Likewise.
18565         * sysdeps/mach/hurd/check_fds.c: Likewise.
18566         * sysdeps/mach/hurd/getsockname.c: Likewise.
18567         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18568         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18569         * sysdeps/powerpc/bits/link.h: Likewise.
18570         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18571         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18572         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18573         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18574         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18575         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18576         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18577         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18578         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18579         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18580         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18581         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18582         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18583         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18584         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18585         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18586         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18587         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18588         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18589         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18590         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18591         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18592         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18593         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18594         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18595         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18596         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18597         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18598         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18599         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18600         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18601         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18602         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18603         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18604         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18605         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18606         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18607         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18608         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18609         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18610         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18611         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18612         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18613         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18614         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18615         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18616         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18617         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18618         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18619         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18620         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18621         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18622         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18623         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18624         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18625         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18626         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18627         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18628         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18629         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18630         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18631         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18632         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18633         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18634         * sysdeps/powerpc/sysdep.h: Likewise.
18635         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18636         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18637         * sysdeps/sh/dl-trampoline.S: Likewise.
18638         * sysdeps/sh/memset.S: Likewise.
18639         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18640         * sysdeps/sh/strlen.S: Likewise.
18641         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18642         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18643         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18644         * sysdeps/sparc/sparc32/rem.S: Likewise.
18645         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18646         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18647         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18648         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18649         * sysdeps/sparc/sparc32/urem.S: Likewise.
18650         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18651         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18652         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18653         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18654         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18655         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18656         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18657         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18658         * sysdeps/unix/bsd/times.c: Likewise.
18659         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18660         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18664         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18665         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18666         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18667         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18668         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18669         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18670         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18671         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18672         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18673         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18674         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18675         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18676         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18677         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18678         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18679         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18680         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18681         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18682         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18683         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18684         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18685         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18686         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18687         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18688         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18689         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18690         * sysdeps/x86_64/strcspn.S: Likewise.
18691
18692 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18693
18694         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18695         generated file.  Regenerate properly from gen-translit.pl.
18696         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18697         locale/C-translit.h.
18698
18699 2013-06-05  Andreas Schwab  <schwab@suse.de>
18700
18701         [BZ #15100]
18702         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18703         week as 6 instead of -1.
18704         * time/tst-strptime.c (day_tests): Add test case.
18705
18706 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18707
18708         * sysdeps/generic/math_private.h
18709         (libc_feholdexcept_setround_53bit): Replace with
18710         libc_feholdsetround_53bit.
18711         (libc_feupdateenv_53bit): Replace with
18712         libc_feresetround_53bit.
18713         (SET_RESTORE_ROUND_53BIT): Adjust.
18714
18715 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18716
18717         * string/test-strchrnul.c: Add copyright header.
18718
18719         * posix/tst-getaddrinfo4.c: Increase test timeout.
18720
18721 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18722
18723         [BZ #15536]
18724         * math/libm-test.inc (MAX_EXP): Remove
18725         (MIN_EXP): Define.
18726         (ulp): Use MIN_EXP - MANT_DIG.
18727         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18728
18729 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18730
18731         * po/be.po: Revert last change.
18732         * po/zh_CN.po: Likewise.
18733         * po/header.pot: Likewise.
18734
18735 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18736
18737         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18738         link-libc-deps to empty as target-specific variable.
18739         * Makerules (link-libc-args): New variable.
18740         (libc-for-link): Likewise.
18741         (link-libc-deps): Likewise.
18742         (lib%.so): Depend on $(link-libc-deps).  Link with
18743         $(link-libc-args).
18744         (build-module): Link with $(link-libc-args).
18745         (build-module-asneeded): Likewise.
18746         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18747         list of objects.
18748         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18749         target-specific variable.
18750         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18751         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18752         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18753         libc.
18754         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18755         libc and ld.so.
18756         ($(objpfx)libpcprofile.so): Likewise.
18757         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18758         libc_nonshared.a.
18759         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18760         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18761         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18762         $(link-libc-deps).
18763         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18764         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18765         * login/Makefile ($(objpfx)libutil.so): Likewise.
18766         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18767         * math/Makefile ($(objpfx)libm.so): Likewise.
18768         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18769         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18770         variable instead of depending directly on libc.
18771         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18772         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18773         $(link-libc-deps).
18774         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18775         libc.
18776         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18777         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18778         ($(objpfx)libanl.so): Likewise.
18779         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18780         ld.so.
18781         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18782         $(link-libc-deps).
18783         * sysdeps/i386/fpu/Makefile: Remove file.
18784         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18785         ($(objpfx)libm.so): Remove dependency on ld.so.
18786
18787 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18788
18789         [BZ # 15553]
18790         * nis/yp_xdr.c (XDRMAXNAME): Define.
18791         (XDRMAXRECORD): Define.
18792         (xdr_domainname): Use XDRMAXNAME.
18793         (xdr_mapname): Likewise.
18794         (xdr_peername): Likewise.
18795         (xdr_keydat): Use XDRMAXRECORD.
18796         (xdr_valdat): Likewise.
18797
18798 2013-05-30  Jeff Law  <law@redhat.com>
18799
18800         [BZ #14256]
18801         * manual/errno.texi (ESTALE): Update to account for more than
18802         just NFS file systems.
18803         * sysdeps/gnu/errlist.c: Regenerated.
18804
18805 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18806
18807         [BZ #15465]
18808         * elf/Makefile (tests): Add tst-null-argv.
18809         (modules-names):  Add tst-null-argv-lib.
18810         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18811         (tst-null-argv-ENV): Set environment for tst-null-argv.
18812         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18813         (RTLD_PROGNAME): New macro.
18814         * elf/tst-null-argv.c: New test case.
18815         * elf/tst-null-argv-lib.c: Library for test case.
18816         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18817         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18818         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18819         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18820         * elf/dl-init.c (call_init): Likewise.
18821         (_dl_init): Likewise.
18822         * elf/dl-load.c (print_search_path): Likewise.
18823         (_dl_map_object): Likewise.
18824         * elf/dl-lookup.c (do_lookup_x): Likewise.
18825         (add_dependency): Likewise.
18826         (_dl_lookup_symbol_x): Likewise.
18827         (_dl_debug_bindings): Likewise.
18828         * elf/dl-open.c (_dl_show_scope): Likewise.
18829         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18830         * elf/dl-version.c (match_symbol): Likewise.
18831         (_dl_check_map_versions): Likewise.
18832         * elf/rtld.c (dl_main): Likewise.
18833         (print_unresolved): Use RTLD_PROGNAME.
18834         (print_missing_version): Likewise.
18835         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18836         (elf_machine_rela): Likewise.
18837         * sysdeps/powerpc/powerpc32/dl-machine.c
18838         (__process_machine_rela): Likewise.
18839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18840         Likewise.
18841         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18842         Likewise.
18843         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18844         Likewise.
18845         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18846         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18847         Likewise.
18848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18849         Likewise.
18850         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18851
18852 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18853
18854         * po/be.po: Add descriptive title.
18855         * po/zh_CN.po: Likewise.
18856         * po/header.pot: Likewise.
18857
18858 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18859
18860         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18861         error message.
18862         (enlarge_archive): Likewise.
18863
18864 2013-05-28  Ben North  <ben@redfrontdoor.org>
18865
18866         * manual/arith.texi (frexp): It is the magnitude of the return
18867         value which lies in [0.5, 1), not the return value itself.
18868
18869 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18870
18871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18872
18873 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18874
18875         * stdio-common/bug26.c (main): Correct fscanf template.
18876
18877         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18878         declare _dl_skip_args.
18879
18880         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18881         Don't declare.
18882
18883         * manual/platform.texi: Add missing @end deftypefun.
18884
18885 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18886
18887         [BZ #15529]
18888         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18889         bit of mantissa of 2^16382.
18890         * math/libm-test.inc (hypot_test_data): Add more tests.
18891
18892         * math/libm-test.inc: Add drem and pow10 to list of tested
18893         functions.
18894         (pow10_test): New function.
18895         (drem_test): Likewise.
18896         (drem_test_tonearest): Likewise.
18897         (drem_test_towardzero): Likewise.
18898         (drem_test_downward): Likewise.
18899         (drem_test_upward): Likewise.
18900         (main): Call the new functions.
18901
18902         * math/libm-test.inc (finite_test_data): Remove.
18903         (finite_test): Run tests from isfinite_test_data.
18904         (gamma_test_data): Remove.
18905         (gamma_test): Run tests from lgamma_test_data.
18906         * sysdeps/i386/fpu/libm-test-ulps: Update.
18907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18908
18909 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18910
18911         * manual/platform.texi: Add PowerPC PPR function set documentation.
18912         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18913         implementation.
18914
18915 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18916
18917         * math/libm-test.inc (MAX_EXP): Define.
18918         (ULPDIFF): Define.
18919         (ulp): New function.
18920         (check_float_internal): Use ULPDIFF.
18921         (cpow_test): Disable failing test.
18922         (check_ulp): Test ulp() implemetnation.
18923         (main): Call check_ulp before starting tests.
18924
18925 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18926
18927         * math/gen-libm-test.pl (generate_testfile): Do not handle
18928         START_DATA and END_DATA.
18929         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18930         END_DATA.
18931         (acos_tonearest_test_data): Likewise.
18932         (acos_towardzero_test_data): Likewise.
18933         (acos_downward_test_data): Likewise.
18934         (acos_upward_test_data): Likewise.
18935         (acosh_test_data): Likewise.
18936         (asin_test_data): Likewise.
18937         (asin_tonearest_test_data): Likewise.
18938         (asin_towardzero_test_data): Likewise.
18939         (asin_downward_test_data): Likewise.
18940         (asin_upward_test_data): Likewise.
18941         (asinh_test_data): Likewise.
18942         (atan_test_data): Likewise.
18943         (atanh_test_data): Likewise.
18944         (atan2_test_data): Likewise.
18945         (cabs_test_data): Likewise.
18946         (cacos_test_data): Likewise.
18947         (cacosh_test_data): Likewise.
18948         (carg_test_data): Likewise.
18949         (casin_test_data): Likewise.
18950         (casinh_test_data): Likewise.
18951         (catan_test_data): Likewise.
18952         (catanh_test_data): Likewise.
18953         (cbrt_test_data): Likewise.
18954         (ccos_test_data): Likewise.
18955         (ccosh_test_data): Likewise.
18956         (ceil_test_data): Likewise.
18957         (cexp_test_data): Likewise.
18958         (cimag_test_data): Likewise.
18959         (clog_test_data): Likewise.
18960         (clog10_test_data): Likewise.
18961         (conj_test_data): Likewise.
18962         (copysign_test_data): Likewise.
18963         (cos_test_data): Likewise.
18964         (cos_tonearest_test_data): Likewise.
18965         (cos_towardzero_test_data): Likewise.
18966         (cos_downward_test_data): Likewise.
18967         (cos_upward_test_data): Likewise.
18968         (cosh_test_data): Likewise.
18969         (cosh_tonearest_test_data): Likewise.
18970         (cosh_towardzero_test_data): Likewise.
18971         (cosh_downward_test_data): Likewise.
18972         (cosh_upward_test_data): Likewise.
18973         (cpow_test_data): Likewise.
18974         (cproj_test_data): Likewise.
18975         (creal_test_data): Likewise.
18976         (csin_test_data): Likewise.
18977         (csinh_test_data): Likewise.
18978         (csqrt_test_data): Likewise.
18979         (ctan_test_data): Likewise.
18980         (ctan_tonearest_test_data): Likewise.
18981         (ctan_towardzero_test_data): Likewise.
18982         (ctan_downward_test_data): Likewise.
18983         (ctan_upward_test_data): Likewise.
18984         (ctanh_test_data): Likewise.
18985         (ctanh_tonearest_test_data): Likewise.
18986         (ctanh_towardzero_test_data): Likewise.
18987         (ctanh_downward_test_data): Likewise.
18988         (ctanh_upward_test_data): Likewise.
18989         (erf_test_data): Likewise.
18990         (erfc_test_data): Likewise.
18991         (exp_test_data): Likewise.
18992         (exp_tonearest_test_data): Likewise.
18993         (exp_towardzero_test_data): Likewise.
18994         (exp_downward_test_data): Likewise.
18995         (exp_upward_test_data): Likewise.
18996         (exp10_test_data): Likewise.
18997         (exp2_test_data): Likewise.
18998         (expm1_test_data): Likewise.
18999         (fabs_test_data): Likewise.
19000         (fdim_test_data): Likewise.
19001         (finite_test_data): Likewise.
19002         (floor_test_data): Likewise.
19003         (fma_test_data): Likewise.
19004         (fma_towardzero_test_data): Likewise.
19005         (fma_downward_test_data): Likewise.
19006         (fma_upward_test_data): Likewise.
19007         (fmax_test_data): Likewise.
19008         (fmin_test_data): Likewise.
19009         (fmod_test_data): Likewise.
19010         (fpclassify_test_data): Likewise.
19011         (frexp_test_data): Likewise.
19012         (gamma_test_data): Likewise.
19013         (hypot_test_data): Likewise.
19014         (ilogb_test_data): Likewise.
19015         (isfinite_test_data): Likewise.
19016         (isgreater_test_data): Likewise.
19017         (isgreaterequal_test_data): Likewise.
19018         (isinf_test_data): Likewise.
19019         (isless_test_data): Likewise.
19020         (islessequal_test_data): Likewise.
19021         (islessgreater_test_data): Likewise.
19022         (isnan_test_data): Likewise.
19023         (isnormal_test_data): Likewise.
19024         (issignaling_test_data): Likewise.
19025         (isunordered_test_data): Likewise.
19026         (j0_test_data): Likewise.
19027         (j1_test_data): Likewise.
19028         (jn_test_data): Likewise.
19029         (ldexp_test_data): Likewise.
19030         (lgamma_test_data): Likewise.
19031         (lrint_test_data): Likewise.
19032         (lrint_tonearest_test_data): Likewise.
19033         (lrint_towardzero_test_data): Likewise.
19034         (lrint_downward_test_data): Likewise.
19035         (lrint_upward_test_data): Likewise.
19036         (llrint_test_data): Likewise.
19037         (llrint_tonearest_test_data): Likewise.
19038         (llrint_towardzero_test_data): Likewise.
19039         (llrint_downward_test_data): Likewise.
19040         (llrint_upward_test_data): Likewise.
19041         (log_test_data): Likewise.
19042         (log10_test_data): Likewise.
19043         (log1p_test_data): Likewise.
19044         (log2_test_data): Likewise.
19045         (logb_test_data): Likewise.
19046         (logb_downward_test_data): Likewise.
19047         (lround_test_data): Likewise.
19048         (llround_test_data): Likewise.
19049         (modf_test_data): Likewise.
19050         (nearbyint_test_data): Likewise.
19051         (nextafter_test_data): Likewise.
19052         (nexttoward_test_data): Likewise.
19053         (pow_test_data): Likewise.
19054         (pow_tonearest_test_data): Likewise.
19055         (pow_towardzero_test_data): Likewise.
19056         (pow_downward_test_data): Likewise.
19057         (pow_upward_test_data): Likewise.
19058         (remainder_test_data): Likewise.
19059         (remainder_tonearest_test_data): Likewise.
19060         (remainder_towardzero_test_data): Likewise.
19061         (remainder_downward_test_data): Likewise.
19062         (remainder_upward_test_data): Likewise.
19063         (remquo_test_data): Likewise.
19064         (rint_test_data): Likewise.
19065         (rint_tonearest_test_data): Likewise.
19066         (rint_towardzero_test_data): Likewise.
19067         (rint_downward_test_data): Likewise.
19068         (rint_upward_test_data): Likewise.
19069         (round_test_data): Likewise.
19070         (scalb_test_data): Likewise.
19071         (scalbn_test_data): Likewise.
19072         (scalbln_test_data): Likewise.
19073         (signbit_test_data): Likewise.
19074         (sin_test_data): Likewise.
19075         (sin_tonearest_test_data): Likewise.
19076         (sin_towardzero_test_data): Likewise.
19077         (sin_downward_test_data): Likewise.
19078         (sin_upward_test_data): Likewise.
19079         (sincos_test_data): Likewise.
19080         (sinh_test_data): Likewise.
19081         (sinh_tonearest_test_data): Likewise.
19082         (sinh_towardzero_test_data): Likewise.
19083         (sinh_downward_test_data): Likewise.
19084         (sinh_upward_test_data): Likewise.
19085         (sqrt_test_data): Likewise.
19086         (tan_test_data): Likewise.
19087         (tan_tonearest_test_data): Likewise.
19088         (tan_towardzero_test_data): Likewise.
19089         (tan_downward_test_data): Likewise.
19090         (tan_upward_test_data): Likewise.
19091         (tanh_test_data): Likewise.
19092         (tgamma_test_data): Likewise.
19093         (trunc_test_data): Likewise.
19094         (y0_test_data): Likewise.
19095         (y1_test_data): Likewise.
19096         (yn_test_data): Likewise.
19097         (significand_test_data): Likewise.
19098
19099         * math/gen-libm-test.pl (@functions): Remove variable.
19100         (generate_testfile): Don't handle START and END lines.
19101         * math/libm-test.inc (START): New macro.
19102         (END): Likewise.
19103         (END_COMPLEX): Likewise.
19104         (acos_test): Use END macro without arguments.
19105         (acos_test_tonearest): Likewise.
19106         (acos_test_towardzero): Likewise.
19107         (acos_test_downward): Likewise.
19108         (acos_test_upward): Likewise.
19109         (acosh_test): Likewise.
19110         (asin_test): Likewise.
19111         (asin_test_tonearest): Likewise.
19112         (asin_test_towardzero): Likewise.
19113         (asin_test_downward): Likewise.
19114         (asin_test_upward): Likewise.
19115         (asinh_test): Likewise.
19116         (atan_test): Likewise.
19117         (atanh_test): Likewise.
19118         (atan2_test): Likewise.
19119         (cabs_test): Likewise.
19120         (cacos_test): Use END_COMPLEX macro without arguments.
19121         (cacosh_test): Likewise.
19122         (carg_test): Use END macro without arguments.
19123         (casin_test): Use END_COMPLEX macro without arguments.
19124         (casinh_test): Likewise.
19125         (catan_test): Likewise.
19126         (catanh_test): Likewise.
19127         (cbrt_test): Use END macro without arguments.
19128         (ccos_test): Use END_COMPLEX macro without arguments.
19129         (ccosh_test): Likewise.
19130         (ceil_test): Use END macro without arguments.
19131         (cexp_test): Use END_COMPLEX macro without arguments.
19132         (cimag_test): Use END macro without arguments.
19133         (clog_test): Use END_COMPLEX macro without arguments.
19134         (clog10_test): Likewise.
19135         (conj_test): Likewise.
19136         (copysign_test): Use END macro without arguments.
19137         (cos_test): Likewise.
19138         (cos_test_tonearest): Likewise.
19139         (cos_test_towardzero): Likewise.
19140         (cos_test_downward): Likewise.
19141         (cos_test_upward): Likewise.
19142         (cosh_test): Likewise.
19143         (cosh_test_tonearest): Likewise.
19144         (cosh_test_towardzero): Likewise.
19145         (cosh_test_downward): Likewise.
19146         (cosh_test_upward): Likewise.
19147         (cpow_test): Use END_COMPLEX macro without arguments.
19148         (cproj_test): Likewise.
19149         (creal_test): Use END macro without arguments.
19150         (csin_test): Use END_COMPLEX macro without arguments.
19151         (csinh_test): Likewise.
19152         (csqrt_test): Likewise.
19153         (ctan_test): Likewise.
19154         (ctan_test_tonearest): Likewise.
19155         (ctan_test_towardzero): Likewise.
19156         (ctan_test_downward): Likewise.
19157         (ctan_test_upward): Likewise.
19158         (ctanh_test): Likewise.
19159         (ctanh_test_tonearest): Likewise.
19160         (ctanh_test_towardzero): Likewise.
19161         (ctanh_test_downward): Likewise.
19162         (ctanh_test_upward): Likewise.
19163         (erf_test): Use END macro without arguments.
19164         (erfc_test): Likewise.
19165         (exp_test): Likewise.
19166         (exp_test_tonearest): Likewise.
19167         (exp_test_towardzero): Likewise.
19168         (exp_test_downward): Likewise.
19169         (exp_test_upward): Likewise.
19170         (exp10_test): Likewise.
19171         (exp2_test): Likewise.
19172         (expm1_test): Likewise.
19173         (fabs_test): Likewise.
19174         (fdim_test): Likewise.
19175         (finite_test): Likewise.
19176         (floor_test): Likewise.
19177         (fma_test): Likewise.
19178         (fma_test_towardzero): Likewise.
19179         (fma_test_downward): Likewise.
19180         (fma_test_upward): Likewise.
19181         (fmax_test): Likewise.
19182         (fmin_test): Likewise.
19183         (fmod_test): Likewise.
19184         (fpclassify_test): Likewise.
19185         (frexp_test): Likewise.
19186         (gamma_test): Likewise.
19187         (hypot_test): Likewise.
19188         (ilogb_test): Likewise.
19189         (isfinite_test): Likewise.
19190         (isgreater_test): Likewise.
19191         (isgreaterequal_test): Likewise.
19192         (isinf_test): Likewise.
19193         (isless_test): Likewise.
19194         (islessequal_test): Likewise.
19195         (islessgreater_test): Likewise.
19196         (isnan_test): Likewise.
19197         (isnormal_test): Likewise.
19198         (issignaling_test): Likewise.
19199         (isunordered_test): Likewise.
19200         (j0_test): Likewise.
19201         (j1_test): Likewise.
19202         (jn_test): Likewise.
19203         (ldexp_test): Likewise.
19204         (lgamma_test): Likewise.
19205         (lrint_test): Likewise.
19206         (lrint_test_tonearest): Likewise.
19207         (lrint_test_towardzero): Likewise.
19208         (lrint_test_downward): Likewise.
19209         (lrint_test_upward): Likewise.
19210         (llrint_test): Likewise.
19211         (llrint_test_tonearest): Likewise.
19212         (llrint_test_towardzero): Likewise.
19213         (llrint_test_downward): Likewise.
19214         (llrint_test_upward): Likewise.
19215         (log_test): Likewise.
19216         (log10_test): Likewise.
19217         (log1p_test): Likewise.
19218         (log2_test): Likewise.
19219         (logb_test): Likewise.
19220         (logb_test_downward): Likewise.
19221         (lround_test): Likewise.
19222         (llround_test): Likewise.
19223         (modf_test): Likewise.
19224         (nearbyint_test): Likewise.
19225         (nextafter_test): Likewise.
19226         (nexttoward_test): Likewise.
19227         (pow_test): Likewise.
19228         (pow_test_tonearest): Likewise.
19229         (pow_test_towardzero): Likewise.
19230         (pow_test_downward): Likewise.
19231         (pow_test_upward): Likewise.
19232         (remainder_test): Likewise.
19233         (remainder_test_tonearest): Likewise.
19234         (remainder_test_towardzero): Likewise.
19235         (remainder_test_downward): Likewise.
19236         (remainder_test_upward): Likewise.
19237         (remquo_test): Likewise.
19238         (rint_test): Likewise.
19239         (rint_test_tonearest): Likewise.
19240         (rint_test_towardzero): Likewise.
19241         (rint_test_downward): Likewise.
19242         (rint_test_upward): Likewise.
19243         (round_test): Likewise.
19244         (scalb_test): Likewise.
19245         (scalbn_test): Likewise.
19246         (scalbln_test): Likewise.
19247         (signbit_test): Likewise.
19248         (sin_test): Likewise.
19249         (sin_test_tonearest): Likewise.
19250         (sin_test_towardzero): Likewise.
19251         (sin_test_downward): Likewise.
19252         (sin_test_upward): Likewise.
19253         (sincos_test): Likewise.
19254         (sinh_test): Likewise.
19255         (sinh_test_tonearest): Likewise.
19256         (sinh_test_towardzero): Likewise.
19257         (sinh_test_downward): Likewise.
19258         (sinh_test_upward): Likewise.
19259         (sqrt_test): Likewise.
19260         (tan_test): Likewise.
19261         (tan_test_tonearest): Likewise.
19262         (tan_test_towardzero): Likewise.
19263         (tan_test_downward): Likewise.
19264         (tan_test_upward): Likewise.
19265         (tanh_test): Likewise.
19266         (tgamma_test): Likewise.
19267         (trunc_test): Likewise.
19268         (y0_test): Likewise.
19269         (y1_test): Likewise.
19270         (yn_test): Likewise.
19271         (significand_test): Likewise.
19272
19273 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19274
19275         [BZ #15381]
19276         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19277
19278 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19279
19280         [BZ #14894]
19281         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19282         __ppc_mdoio and __ppc_mdoom.
19283         * manual/platform.texi: Document new functions __ppc_yield,
19284         __ppc_mdoio and __ppc_mdoom.
19285
19286 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19287
19288         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19289         (main): Mention "tls" pseudo-hwcap is legacy.
19290         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19291
19292 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19293
19294         * math/gen-libm-test.pl (parse_args): Output only string of
19295         arguments as text for test name, not full call or descriptions of
19296         tests for extra outputs.
19297         (generate_testfile): Do not pass function name to parse_args.
19298         Generate this_func variable from START.
19299         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19300         field to arg_str.
19301         (struct test_ff_f_data): Likewise.
19302         (test_ff_f_data_nexttoward): Likewise.
19303         (struct test_fi_f_data): Likewise.
19304         (struct test_fl_f_data): Likewise.
19305         (struct test_if_f_data): Likewise.
19306         (struct test_fff_f_data): Likewise.
19307         (struct test_c_f_data): Likewise.
19308         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19309         (struct test_fF_f1_data): Likewise.
19310         (struct test_ffI_f1_data): Likewise.
19311         (struct test_c_c_data): Rename test_name field to arg_str.
19312         (struct test_cc_c_data): Likewise.
19313         (struct test_f_i_data): Likewise.
19314         (struct test_ff_i_data): Likewise.
19315         (struct test_f_l_data): Likewise.
19316         (struct test_f_L_data): Likewise.
19317         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19318         and extra2_name.
19319         (COMMON_TEST_SETUP): New macro.
19320         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19321         (COMMON_TEST_CLEANUP): Likewise.
19322         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19323         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19324         macros.
19325         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19326         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19327         macros.
19328         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19329         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19330         cleanup macros.
19331         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19332         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19333         macros.
19334         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19335         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19336         macros.
19337         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19338         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19339         cleanup macros.
19340         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19341         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19342         cleanup macros.
19343         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19344         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19345         cleanup macros.
19346         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19347         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19348         macros.
19349         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19350         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19351         macros.
19352         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19353         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19354         macros.
19355         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19356         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19357         cleanup macros.
19358         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19359         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19360         cleanup macros.
19361         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19362         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19363         macros.
19364         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19365         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19366         cleanup macros.
19367         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19368         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19369         macros.
19370         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19371         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19372         macros.
19373         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19374         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19375         cleanup macros.
19376         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19377
19378 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19379
19380         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19381         to _sifields.sigfault.
19382         (si_addr_lsb): Define new macro.
19383         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19384         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19385         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19386
19387 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19388
19389         [BZ #15441]
19390         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19391         returns -1.
19392         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19393         null return -1.
19394         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19395         loading the domain.
19396
19397 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19398
19399         * math/gen-libm-test.pl (parse_args): Do not include expected
19400         result in test name.
19401         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19402         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19403         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19404         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19405         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19407
19408 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19409
19410         * benchtests/Makefile: Sort function entries.
19411
19412         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19413         tanh, asinh, acosh, atanh.
19414         * benchtests/acos-inputs: New file.
19415         * benchtests/acosh-inputs: New file.
19416         * benchtests/asin-inputs: New file.
19417         * benchtests/asinh-inputs: New file.
19418         * benchtests/atanh-inputs: New file.
19419         * benchtests/cosh-inputs: New file.
19420         * benchtests/log-inputs: New file.
19421         * benchtests/sinh-inputs: New file.
19422         * benchtests/tanh-inputs: New file.
19423
19424 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19425
19426         [BZ #15339]
19427         * posix/tst-getaddrinfo4.c: New test.
19428         * posix/Makefile (tests): Add it.
19429
19430 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19431
19432         [BZ #15339]
19433         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19434         when no services were used.
19435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19436         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19437
19438 2013-05-21  Andreas Schwab  <schwab@suse.de>
19439
19440         [BZ #15014]
19441         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19442         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19443         successful.
19444         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19445         redundant variable declarations and reallocation of buffer when
19446         parsing as IPv6 address.  Always set NSS status when called from
19447         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19448         buffer too small.  Correct computation of needed size.
19449         * nss/Makefile (tests): Add test-digits-dots.
19450         * nss/test-digits-dots.c: New test.
19451
19452 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19453
19454         * benchtests/Makefile: Remove instructions for adding
19455         benchmark tests.
19456         * benchtests/README: New file to explain how to execute and
19457         enhance the benchmark tests.
19458
19459 2013-05-21  Andreas Schwab  <schwab@suse.de>
19460
19461         [BZ #15493]
19462         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19463         * setjmp/tst-sigsetjmp.c: New test.
19464
19465 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19466
19467         * sysdeps/x86_64/memset.S (memset): New implementation.
19468         (__bzero): Likewise.
19469         (__memset_tail): New function.
19470
19471 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19472
19473         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19474         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19475         __memcpy_sse2_unaligned ifunc selection.
19476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19477         Add memcpy-sse2-unaligned.S.
19478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19479         Add: __memcpy_sse2_unaligned.
19480
19481 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19482
19483         [BZ #15490]
19484         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19485         math_force_eval before restoring floating-point envrionment.
19486         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19487         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19488         Likewise.
19489         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19490         <math_private.h>.
19491         (__nearbyintl): Use math_force_eval before restoring
19492         floating-point environment.
19493         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19494
19495         * math/gen-libm-test.pl (special_functions): Remove.
19496         (parse_args): Don't handle TEST_extra.  Handle functions with no
19497         return value.
19498         * math/libm-test.inc (struct test_sincos_data): Replace with
19499         struct test_fFF_11_data.
19500         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19501         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19502         (sincos_test_data): Change element type to struct
19503         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19504         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19505         RUN_TEST_LOOP_sincos.
19506         * math/README.libm-test: Don't mention special handling of
19507         individual functions.
19508         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19509         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19510         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19511         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19512         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19514
19515         * math/gen-libm-test.pl (get_variable): Remove function.
19516         (parse_args): Don't show pointer parameters to call in test
19517         names.  Use "extra output N" in test names for extra outputs
19518         rather than naming variables.
19519
19520 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19521
19522         [BZ #15488]
19523         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19524         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19525         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19526         double tests.
19527         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19528         disable.
19529         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19530         check_long_double.
19531
19532         * math/gen-libm-test.pl (@tests): Remove variable.
19533         ($count): Likewise.
19534         (new_test): Remove function.
19535         (show_exceptions): New function.
19536         (special_functions): Use show_exceptions instead of new_test.
19537         (parse_args): Likewise.
19538         (generate_testfile): Pass only function name in generated call to
19539         print_max_error or print_complex_max_error.
19540         (get_ulps): Do not handle complex tests specially.
19541         (output_test): Rename to ...
19542         (get_all_ulps_for_test): ... this.  Return a string rather than
19543         printing to a file.  Require ulps to be present.
19544         (output_ulps): Generate arrays rather than #defines.
19545         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19546         (struct ulp_data): New type.
19547         (BUILD_COMPLEX_ULP): Remove macro.
19548         (compare_ulp_data): New function.
19549         (find_ulps): Likewise.
19550         (find_test_ulps): Likewise.
19551         (find_function_ulps): Likewise.
19552         (find_complex_function_ulps): Likewise.
19553         (print_max_error): Determine allowed ulps using
19554         find_function_ulps.
19555         (print_complex_max_error): Determine allowed ulps using
19556         find_complex_function_ulps.
19557         (check_float_internal): Determine max ulps using find_test_ulps.
19558         (check_float): Do not take max_ulp parameter.  Update call to
19559         check_float_internal.
19560         (check_complex): Likewise.
19561         (check_int): Do not take max_ulp parameter.
19562         (check_long): Likewise.
19563         (check_bool): Likewise.
19564         (check_longlong): Likewise.
19565         (struct test_f_f_data): Remove max_ulp field.
19566         (struct test_ff_f_data): Likewise.
19567         (struct test_ff_f_data_nexttoward): Likewise.
19568         (struct test_fi_f_data): Likewise.
19569         (struct test_fl_f_data): Likewise.
19570         (struct test_if_f_data): Likewise.
19571         (struct test_fff_f_data): Likewise.
19572         (struct test_c_f_data): Likewise.
19573         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19574         (struct test_fF_f1_data): Likewise.
19575         (struct test_ffI_f1_data): Likewise.
19576         (struct test_c_c_data): Remove max_ulp field.
19577         (struct test_cc_c_data): Likewise.
19578         (struct test_f_i_data): Likewise.
19579         (struct test_ff_i_data): Likewise.
19580         (struct test_f_l_data): Likewise.
19581         (struct test_f_L_data): Likewise.
19582         (struct test_sincos_data): Likewise.
19583         (RUN_TEST_f_f): Do not handle ulps.
19584         (RUN_TEST_LOOP_f_f): Likewise.
19585         (RUN_TEST_2_f): Likewise.
19586         (RUN_TEST_LOOP_2_f): Likewise.
19587         (RUN_TEST_fff_f): Likewise.
19588         (RUN_TEST_LOOP_fff_f): Likewise.
19589         (RUN_TEST_c_f): Likewise.
19590         (RUN_TEST_LOOP_c_f): Likewise.
19591         (RUN_TEST_f_f1): Likewise.
19592         (RUN_TEST_LOOP_f_f1): Likewise.
19593         (RUN_TEST_fF_f1): Likewise.
19594         (RUN_TEST_LOOP_fF_f1): Likewise.
19595         (RUN_TEST_fI_f1): Likewise.
19596         (RUN_TEST_LOOP_fI_f1): Likewise.
19597         (RUN_TEST_ffI_f1): Likewise.
19598         (RUN_TEST_LOOP_ffI_f1): Likewise.
19599         (RUN_TEST_c_c): Likewise.
19600         (RUN_TEST_LOOP_c_c): Likewise.
19601         (RUN_TEST_cc_c): Likewise.
19602         (RUN_TEST_LOOP_cc_c): Likewise.
19603         (RUN_TEST_f_i): Likewise.
19604         (RUN_TEST_LOOP_f_i): Likewise.
19605         (RUN_TEST_f_i_tg): Likewise.
19606         (RUN_TEST_LOOP_f_i_tg): Likewise.
19607         (RUN_TEST_ff_i_tg): Likewise.
19608         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19609         (RUN_TEST_f_b): Likewise.
19610         (RUN_TEST_LOOP_f_b): Likewise.
19611         (RUN_TEST_f_b_tg): Likewise.
19612         (RUN_TEST_LOOP_f_b_tg): Likewise.
19613         (RUN_TEST_f_l): Likewise.
19614         (RUN_TEST_LOOP_f_l): Likewise.
19615         (RUN_TEST_f_L): Likewise.
19616         (RUN_TEST_LOOP_f_L): Likewise.
19617         (RUN_TEST_sincos): Likewise.
19618         (RUN_TEST_LOOP_sincos): Likewise.
19619
19620 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19621
19622         [BZ #15480]
19623         [BZ #15485]
19624         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19625         main case of finite arguments, set rounding mode to FE_TONEAREST
19626         and discard exceptions.
19627         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19628         exceptions.
19629         (remainder_tonearest_test_data): New variable.
19630         (remainder_test_tonearest): New function.
19631         (remainder_towardzero_test_data): New variable.
19632         (remainder_test_towardzero): New function.
19633         (remainder_downward_test_data): New variable.
19634         (remainder_test_downward): New function.
19635         (remainder_upward_test_data): New variable.
19636         (remainder_test_upward): New function.
19637         (main): Call the new test functions.
19638
19639         * math/libm-test.inc (struct test_f_f1_data): Remove field
19640         extra_init.
19641         (struct test_fF_f1_data): Likewise.
19642         (struct test_ffI_f1_data): Likewise.
19643         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19644         based on value of EXTRA_EXPECTED.
19645         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19646         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19647         EXTRA_VAR based on value of EXTRA_EXPECTED.
19648         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19649         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19650         EXTRA_VAR based on value of EXTRA_EXPECTED.
19651         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19652         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19653         EXTRA_VAR based on value of EXTRA_EXPECTED.
19654         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19655         * math/gen-libm-test.pl (parse_args): Don't output initializers
19656         for extra output values.
19657
19658         * math/libm-test.inc (check_int): Expect result to be exactly
19659         equal to expected value and do not handle ulps.
19660         (check_long): Likewise.
19661         (check_longlong): Likewise.
19662
19663         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19664         exceptions.
19665         (cimag_test_data): Likewise.
19666         (conj_test_data): Likewise.
19667         (copysign_test_data): Likewise.
19668         (cproj_test_data): Likewise.
19669         (creal_test_data): Likewise.
19670         (fabs_test_data): Likewise.
19671         (fdim_test_data): Likewise.
19672         (finite_test_data): Likewise.
19673         (floor_test_data): Likewise.
19674         (fmax_test_data): Likewise.
19675         (fmin_test_data): Likewise.
19676         (fmod_test_data): Likewise.
19677         (fpclassify_test_data): Likewise.
19678         (frexp_test_data): Likewise.
19679         (ilogb_test_data): Likewise.
19680         (isfinite_test_data): Likewise.
19681         (isgreater_test_data): Likewise.
19682         (isgreaterequal_test_data): Likewise.
19683         (isinf_test_data): Likewise.
19684         (isless_test_data): Likewise.
19685         (islessequal_test_data): Likewise.
19686         (islessgreater_test_data): Likewise.
19687         (isnan_test_data): Likewise.
19688         (isnormal_test_data): Likewise.
19689         (issignaling_test_data): Likewise.
19690         (isunordered_test_data): Likewise.
19691         (ldexp_test_data): Likewise.
19692         (lrint_test_data): Likewise.
19693         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19694         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19695         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19696         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19697         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19698         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19699         test input.
19700         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19701         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19702         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19703         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19704         that test input.
19705         (lrint_downward_test_data): Test for "inexact" exceptions.
19706         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19707         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19708         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19709         test input.
19710         (lrint_upward_test_data): Test for "inexact" exceptions.
19711         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19712         test input.
19713         (llrint_test_data): Test for "inexact" exceptions.
19714         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19715         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19716         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19717         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19718         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19719         (llrint_downward_test_data): Test for "inexact" exceptions.
19720         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19721         (llrint_upward_test_data): Test for "inexact" exceptions.
19722         (logb_test_data): Likewise.
19723         (logb_downward_test_data): Likewise.
19724         (nextafter_test_data): Likewise.
19725         (nexttoward_test_data): Likewise.
19726         (remainder_test_data): Likewise.
19727         (remquo_test_data): Likewise.
19728         (scalbn_test_data): Likewise.
19729         (scalbln_test_data): Likewise.
19730         (signbit_test_data): Likewise.
19731         (sqrt_test_data): Likewise.
19732         (significand_test_data): Likewise.
19733
19734 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19735
19736         [BZ #15424]
19737         * benchtests/bench-modf.c (struct args): Mark arg0 as
19738         volatile.
19739         * scripts/bench.pl: Mark members of struct args as volatile.
19740
19741 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19742
19743         [BZ # 15497]
19744         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19745         negative infinity on POWER6 or lower.
19746         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19747
19748 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19749
19750         [BZ #15442]
19751         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19752         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19753         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19754         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19755         (_FP_SETQNAN): New macro.
19756         (_FP_SETQNAN_SEMIRAW): Likewise.
19757         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19758         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19759         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19760         (FP_EXTEND): Use _FP_FRAC_SNANP.
19761         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19762         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19763         into account.
19764         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19765         New macro.
19766         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19767         Likewise.
19768
19769 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19770
19771         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19772         with DIVIDE_BY_ZERO_EXCEPTION.
19773         (gamma_test_data): Likewise.
19774         (lgamma_test_data): Likewise.
19775         (log_test_data): Likewise.
19776         (log10_test_data): Likewise.
19777         (log2_test_data): Likewise.
19778         (tgamma_test_data): Likewise.
19779
19780         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19781         (acos_test_tonearest): Likewise.
19782         (acos_test_towardzero): Likewise.
19783         (acos_test_downward): Likewise.
19784         (acos_test_upward): Likewise.
19785         (acosh_test): Likewise.
19786         (asin_test): Likewise.
19787         (asin_test_tonearest): Likewise.
19788         (asin_test_towardzero): Likewise.
19789         (asin_test_downward): Likewise.
19790         (asin_test_upward): Likewise.
19791         (asinh_test): Likewise.
19792         (atan_test): Likewise.
19793         (atanh_test): Likewise.
19794         (atan2_test): Likewise.
19795         (cabs_test): Likewise.
19796         (cacos_test): Likewise.
19797         (cacosh_test): Likewise.
19798         (casin_test): Likewise.
19799         (casinh_test): Likewise.
19800         (catan_test): Likewise.
19801         (catanh_test): Likewise.
19802         (cbrt_test): Likewise.
19803         (ccos_test): Likewise.
19804         (ccosh_test): Likewise.
19805         (cexp_test): Likewise.
19806         (clog_test): Likewise.
19807         (clog10_test): Likewise.
19808         (cos_test): Likewise.
19809         (cos_test_tonearest): Likewise.
19810         (cos_test_towardzero): Likewise.
19811         (cos_test_downward): Likewise.
19812         (cos_test_upward): Likewise.
19813         (cosh_test): Likewise.
19814         (cosh_test_tonearest): Likewise.
19815         (cosh_test_towardzero): Likewise.
19816         (cosh_test_downward): Likewise.
19817         (cosh_test_upward): Likewise.
19818         (cpow_test): Likewise.
19819         (csin_test): Likewise.
19820         (csinh_test): Likewise.
19821         (csqrt_test): Likewise.
19822         (ctan_test): Likewise.
19823         (ctan_test_tonearest): Likewise.
19824         (ctan_test_towardzero): Likewise.
19825         (ctan_test_downward): Likewise.
19826         (ctan_test_upward): Likewise.
19827         (ctanh_test): Likewise.
19828         (ctanh_test_tonearest): Likewise.
19829         (ctanh_test_towardzero): Likewise.
19830         (ctanh_test_downward): Likewise.
19831         (ctanh_test_upward): Likewise.
19832         (erf_test): Likewise.
19833         (erfc_test): Likewise.
19834         (exp_test): Likewise.
19835         (exp_test_tonearest): Likewise.
19836         (exp_test_towardzero): Likewise.
19837         (exp_test_downward): Likewise.
19838         (exp_test_upward): Likewise.
19839         (exp10_test): Likewise.
19840         (exp2_test): Likewise.
19841         (expm1_test): Likewise.
19842         (fmod_test): Likewise.
19843         (gamma_test): Likewise.
19844         (hypot_test): Likewise.
19845         (j0_test): Likewise.
19846         (j1_test): Likewise.
19847         (jn_test): Likewise.
19848         (lgamma_test): Likewise.
19849         (log_test): Likewise.
19850         (log10_test): Likewise.
19851         (log1p_test): Likewise.
19852         (log2_test): Likewise.
19853         (logb_test_downward): Likewise.
19854         (pow_test): Likewise.
19855         (pow_test_tonearest): Likewise.
19856         (pow_test_towardzero): Likewise.
19857         (pow_test_downward): Likewise.
19858         (pow_test_upward): Likewise.
19859         (remainder_test): Likewise.
19860         (remquo_test): Likewise.
19861         (sin_test): Likewise.
19862         (sin_test_tonearest): Likewise.
19863         (sin_test_towardzero): Likewise.
19864         (sin_test_downward): Likewise.
19865         (sin_test_upward): Likewise.
19866         (sincos_test): Likewise.
19867         (sinh_test): Likewise.
19868         (sinh_test_tonearest): Likewise.
19869         (sinh_test_towardzero): Likewise.
19870         (sinh_test_downward): Likewise.
19871         (sinh_test_upward): Likewise.
19872         (sqrt_test): Likewise.
19873         (tan_test): Likewise.
19874         (tan_test_tonearest): Likewise.
19875         (tan_test_towardzero): Likewise.
19876         (tan_test_downward): Likewise.
19877         (tan_test_upward): Likewise.
19878         (tanh_test): Likewise.
19879         (tgamma_test): Likewise.
19880         (y0_test): Likewise.
19881         (y1_test): Likewise.
19882         (yn_test): Likewise.
19883
19884         * math/gen-libm-test.pl (adjust_arg): Remove function.
19885         (special_function): Remove argument $in_func.  Only handle
19886         generating output for tables of tests, not inside functions.
19887         (parse_args): Likewise.
19888         (generate_testfile): Remove variable $in_func.  Update call to
19889         parse_args.
19890         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19891         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19892         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19893         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19894         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19895         (MAX_VALUE_INIT): Rename macro to max_value.
19896         (MIN_VALUE_INIT): Rename macro to min_value.
19897         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19898         (plus_zero): Remove variable.
19899         (minus_zero): Likewise.
19900         (plus_infty): Likewise.
19901         (minus_infty): Likewise.
19902         (qnan_value): Likewise.
19903         (max_value): Likewise.
19904         (min_value): Likewise.
19905         (min_subnorm_value): Likewise.
19906
19907 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19908
19909         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19910         uint64_t or uint32_t usage.
19911         * crypt/sha256-block.c: Likewise.
19912         * crypt/sha256-crypt.c: Likewise.
19913         * crypt/sha256.c: Likewise.
19914         * crypt/sha512-block.c: Likewise.
19915         * crypt/sha512-crypt.c: Likewise.
19916         * crypt/sha512.c: Likewise.
19917         * debug/backtrace-tst.c: Likewise.
19918         * debug/pcprofiledump.c: Likewise.
19919         * elf/cache.c: Likewise.
19920         * elf/dl-cache.c: Likewise.
19921         * elf/dl-misc.c: Likewise.
19922         * elf/dl-profile.c: Likewise.
19923         * elf/dl-support.c: Likewise.
19924         * elf/ldconfig.c: Likewise.
19925         * elf/sprof.c: Likewise.
19926         * iconv/dummy-repertoire.c: Likewise.
19927         * iconv/iconv_charmap.c: Likewise.
19928         * iconv/skeleton.c: Likewise.
19929         * iconvdata/8bit-generic.c: Likewise.
19930         * iconvdata/cp737.h: Likewise.
19931         * iconvdata/cp775.h: Likewise.
19932         * iconvdata/ibm1008.h: Likewise.
19933         * iconvdata/ibm1025.h: Likewise.
19934         * iconvdata/ibm1046.h: Likewise.
19935         * iconvdata/ibm1097.h: Likewise.
19936         * iconvdata/ibm1112.h: Likewise.
19937         * iconvdata/ibm1122.h: Likewise.
19938         * iconvdata/ibm1123.h: Likewise.
19939         * iconvdata/ibm1124.h: Likewise.
19940         * iconvdata/ibm1129.h: Likewise.
19941         * iconvdata/ibm1130.h: Likewise.
19942         * iconvdata/ibm1132.h: Likewise.
19943         * iconvdata/ibm1133.h: Likewise.
19944         * iconvdata/ibm1137.h: Likewise.
19945         * iconvdata/ibm1140.h: Likewise.
19946         * iconvdata/ibm1141.h: Likewise.
19947         * iconvdata/ibm1142.h: Likewise.
19948         * iconvdata/ibm1143.h: Likewise.
19949         * iconvdata/ibm1144.h: Likewise.
19950         * iconvdata/ibm1145.h: Likewise.
19951         * iconvdata/ibm1146.h: Likewise.
19952         * iconvdata/ibm1147.h: Likewise.
19953         * iconvdata/ibm1148.h: Likewise.
19954         * iconvdata/ibm1149.h: Likewise.
19955         * iconvdata/ibm1153.h: Likewise.
19956         * iconvdata/ibm1154.h: Likewise.
19957         * iconvdata/ibm1155.h: Likewise.
19958         * iconvdata/ibm1156.h: Likewise.
19959         * iconvdata/ibm1157.h: Likewise.
19960         * iconvdata/ibm1158.h: Likewise.
19961         * iconvdata/ibm1160.h: Likewise.
19962         * iconvdata/ibm1161.h: Likewise.
19963         * iconvdata/ibm1162.h: Likewise.
19964         * iconvdata/ibm1163.h: Likewise.
19965         * iconvdata/ibm1164.h: Likewise.
19966         * iconvdata/ibm1166.h: Likewise.
19967         * iconvdata/ibm1167.h: Likewise.
19968         * iconvdata/ibm12712.h: Likewise.
19969         * iconvdata/ibm1390.h: Likewise.
19970         * iconvdata/ibm1399.h: Likewise.
19971         * iconvdata/ibm16804.h: Likewise.
19972         * iconvdata/ibm4517.h: Likewise.
19973         * iconvdata/ibm4899.h: Likewise.
19974         * iconvdata/ibm4909.h: Likewise.
19975         * iconvdata/ibm4971.h: Likewise.
19976         * iconvdata/ibm5347.h: Likewise.
19977         * iconvdata/ibm803.h: Likewise.
19978         * iconvdata/ibm856.h: Likewise.
19979         * iconvdata/ibm901.h: Likewise.
19980         * iconvdata/ibm902.h: Likewise.
19981         * iconvdata/ibm9030.h: Likewise.
19982         * iconvdata/ibm9066.h: Likewise.
19983         * iconvdata/ibm921.h: Likewise.
19984         * iconvdata/ibm922.h: Likewise.
19985         * iconvdata/ibm9448.h: Likewise.
19986         * iconvdata/isiri-3342.h: Likewise.
19987         * iconvdata/jis0201.h: Likewise.
19988         * include/link.h: Likewise.
19989         * include/netdb.h: Likewise.
19990         * inet/check_native.c: Likewise.
19991         * inet/check_pf.c: Likewise.
19992         * inet/getipv4sourcefilter.c: Likewise.
19993         * inet/getnameinfo.c: Likewise.
19994         * inet/getsourcefilter.c: Likewise.
19995         * inet/htonl.c: Likewise.
19996         * inet/setipv4sourcefilter.c: Likewise.
19997         * inet/setsourcefilter.c: Likewise.
19998         * inet/test-inet6_opt.c: Likewise.
19999         * inet/tst-network.c: Likewise.
20000         * locale/C-collate.c: Likewise.
20001         * locale/C-ctype.c: Likewise.
20002         * locale/C-time.c: Likewise.
20003         * locale/C-translit.h: Likewise.
20004         * locale/loadarchive.c: Likewise.
20005         * locale/programs/3level.h: Likewise.
20006         * locale/programs/charmap.c: Likewise.
20007         * locale/programs/charmap.h: Likewise.
20008         * locale/programs/ld-address.c: Likewise.
20009         * locale/programs/ld-collate.c: Likewise.
20010         * locale/programs/ld-ctype.c: Likewise.
20011         * locale/programs/ld-identification.c: Likewise.
20012         * locale/programs/ld-measurement.c: Likewise.
20013         * locale/programs/ld-messages.c: Likewise.
20014         * locale/programs/ld-monetary.c: Likewise.
20015         * locale/programs/ld-name.c: Likewise.
20016         * locale/programs/ld-numeric.c: Likewise.
20017         * locale/programs/ld-paper.c: Likewise.
20018         * locale/programs/ld-telephone.c: Likewise.
20019         * locale/programs/ld-time.c: Likewise.
20020         * locale/programs/linereader.c: Likewise.
20021         * locale/programs/locale.c: Likewise.
20022         * locale/programs/locarchive.c: Likewise.
20023         * locale/programs/locfile.h: Likewise.
20024         * locale/programs/repertoire.c: Likewise.
20025         * locale/programs/simple-hash.c: Likewise.
20026         * locale/programs/simple-hash.h: Likewise.
20027         * malloc/memusage.c: Likewise.
20028         * malloc/memusagestat.c: Likewise.
20029         * nis/nis_defaults.c: Likewise.
20030         * nis/nis_hash.c: Likewise.
20031         * nis/nis_print.c: Likewise.
20032         * nis/nis_xdr.c: Likewise.
20033         * nscd/connections.c: Likewise.
20034         * nscd/hstcache.c: Likewise.
20035         * nscd/nscd_gethst_r.c: Likewise.
20036         * nscd/nscd_getserv_r.c: Likewise.
20037         * nscd/nscd_helper.c: Likewise.
20038         * nscd/servicescache.c: Likewise.
20039         * nss/makedb.c: Likewise.
20040         * nss/nss_db/db-XXX.c: Likewise.
20041         * nss/nss_db/db-initgroups.c: Likewise.
20042         * nss/nss_db/db-netgrp.c: Likewise.
20043         * nss/nss_files/files-network.c: Likewise.
20044         * nss/nss_files/files-parse.c: Likewise.
20045         * posix/bug-regex5.c: Likewise.
20046         * posix/fnmatch_loop.c: Likewise.
20047         * posix/regcomp.c: Likewise.
20048         * posix/regexec.c: Likewise.
20049         * posix/tst-rfc3484-2.c: Likewise.
20050         * posix/tst-rfc3484-3.c: Likewise.
20051         * posix/tst-rfc3484.c: Likewise.
20052         * resolv/nss_dns/dns-canon.c: Likewise.
20053         * resolv/nss_dns/dns-network.c: Likewise.
20054         * resolv/res_init.c: Likewise.
20055         * resolv/res_mkquery.c: Likewise.
20056         * resolv/tst-aton.c: Likewise.
20057         * stdlib/cxa_atexit.c: Likewise.
20058         * stdlib/cxa_finalize.c: Likewise.
20059         * stdlib/gen-fpioconst.c: Likewise.
20060         * stdlib/strtol_l.c: Likewise.
20061         * string/tst-endian.c: Likewise.
20062         * sunrpc/auth_des.c: Likewise.
20063         * sunrpc/clnt_udp.c: Likewise.
20064         * sunrpc/rtime.c: Likewise.
20065         * sunrpc/svcauth_des.c: Likewise.
20066         * sunrpc/xdr.c: Likewise.
20067         * sunrpc/xdr_intXX_t.c: Likewise.
20068         * sunrpc/xdr_rec.c: Likewise.
20069         * sysdeps/generic/ldconfig.h: Likewise.
20070         * sysdeps/generic/ldsodefs.h: Likewise.
20071         * sysdeps/generic/memusage.h: Likewise.
20072         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20073         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20074         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20075         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20076         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20077         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20078         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20079         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20080         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20081         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20082         * sysdeps/posix/getaddrinfo.c: Likewise.
20083         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20084         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20085         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20086         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20087         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20088         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20089         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20090         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20091         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20092         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20093         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20094         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20095         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20096         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20097         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20098         * sysdeps/x86_64/dl-tls.h: Likewise.
20099         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20100         * time/alt_digit.c: Likewise.
20101         * time/era.c: Likewise.
20102         * wcsmbs/tst-c16c32-1.c: Likewise.
20103
20104 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20105
20106         * math/libm-test.inc (struct test_sincos_data): New type.
20107         (RUN_TEST_LOOP_sincos): New macro.
20108         (sincos_test_data): New variable.
20109         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20110
20111 2013-05-16  Richard Henderson  <rth@redhat.com>
20112
20113         * math/atest-exp2.c (LIMB64): New macro.
20114         (CONSTSZ): New macro.
20115         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20116         (hexdig): Move ...
20117         (print_mpn_fp): ... to function scope.
20118         (read_mpn_hex): Remove.
20119         (get_log2): Remove.
20120         (exp2_mpn): Use mp_log2.
20121         (main): Use mp_exp1.
20122
20123 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20124
20125         * math/libm-test.inc: Remove comment about not testing "inexact"
20126         exceptions.
20127         (INEXACT_EXCEPTION): New macro.
20128         (NO_INEXACT_EXCEPTION): Likewise.
20129         (INVALID_EXCEPTION_OK): Update value.
20130         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20131         (OVERFLOW_EXCEPTION_OK): Likewise.
20132         (UNDERFLOW_EXCEPTION_OK): Likewise.
20133         (IGNORE_ZERO_INF_SIGN): Likewise.
20134         (ERRNO_UNCHANGED): Likewise.
20135         (ERRNO_EDOM): Likewise.
20136         (ERRNO_ERANGE): Likewise.
20137         (test_exceptions): Handle testing "inexact" exceptions.
20138         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20139         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20140         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20141         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20142         INEXACT_EXCEPTION.
20143         (rint_towardzero_test_data): Likewise.
20144         (rint_downward_test_data): Likewise.
20145         (rint_upward_test_data): Likewise.
20146
20147         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20148         with OVERFLOW_EXCEPTION.
20149         (exp10_test_data): Likewise.
20150         (exp2_test_data): Likewise.
20151         (expm1_test_data): Likewise.
20152         (lgamma_test_data): Likewise.
20153         (pow_test_data): Likewise.
20154         (tgamma_test_data): Likewise.
20155         (yn_test_data): Remove duplicate test of overflow.
20156
20157         * math/libm-test.inc (struct test_cc_c_data): New type.
20158         (RUN_TEST_LOOP_cc_c): New macro.
20159         (cpow_test_data): New variable.
20160         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20161
20162         * math/libm-test.inc (struct test_f_L_data): New type.
20163         (RUN_TEST_LOOP_f_L): New macro.
20164         (llrint_test_data): New variable.
20165         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20166         (llrint_tonearest_test_data): New variable.
20167         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20168         (llrint_towardzero_test_data): New variable.
20169         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20170         (llrint_downward_test_data): New variable.
20171         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20172         (llrint_upward_test_data): New variable.
20173         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20174         (llround_test_data): New variable.
20175         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20176
20177 2013-05-13  Peter Collingbourne  <pcc@google.com>
20178
20179         * math/atest-exp2.c (get_log2): Remove const attribute.
20180
20181 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20182
20183         * math/libm-test.inc (struct test_f_l_data): New type.
20184         (RUN_TEST_LOOP_f_l): New macro.
20185         (lrint_test_data): New variable.
20186         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20187         (lrint_tonearest_test_data): New variable.
20188         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20189         (lrint_towardzero_test_data): New variable.
20190         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20191         (lrint_downward_test_data): New variable.
20192         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20193         (lrint_upward_test_data): New variable.
20194         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20195         (lround_test_data): New variable.
20196         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20197
20198 2013-05-15  Peter Collingbourne  <pcc@google.com>
20199
20200         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20201         (EXTRACT_WORDS64) Use where appropriate.
20202         (INSERT_WORDS64) Likewise.
20203
20204         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20205         constraints with x constraints.
20206         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20207
20208         * malloc/obstack.c (_obstack_compat): Add initializer.
20209
20210 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20211
20212         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20213         si_trapno and add si_addr_lsb to _sifields.sigfault.
20214         (si_trapno): Remove macro.
20215         (si_addr_lsb): Define new macro.
20216         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20217
20218 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20219
20220         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20221         instead of TEST_f_l.
20222         (llrint_test_tonearest): Likewise.
20223         (llrint_test_towardzero): Likewise.
20224         (llrint_test_downward): Likewise.
20225         (llrint_test_upward): Likewise.
20226         (llround_test): Likewise.
20227
20228         * math/libm-test.inc (struct test_f_i_data): Add comment.
20229         (RUN_TEST_LOOP_f_b): New macro.
20230         (RUN_TEST_LOOP_f_b_tg): Likewise.
20231         (finite_test_data): New variable.
20232         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20233         (isfinite_test_data): New variable.
20234         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20235         (isinf_test_data): New variable.
20236         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20237         (isnan_test_data): New variable.
20238         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20239         (isnormal_test_data): New variable.
20240         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20241         (issignaling_test_data): New variable.
20242         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20243         (signbit_test_data): New variable.
20244         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20245
20246         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20247         with INVALID_EXCEPTION.
20248         (acosh_test_data): Likewise.
20249         (asin_test_data): Likewise.
20250         (atanh_test_data): Likewise.
20251         (fmod_test_data): Likewise.
20252         (log_test_data): Likewise.
20253         (log10_test_data): Likewise.
20254         (log2_test_data): Likewise.
20255         (pow_test_data): Likewise.
20256         (sqrt_test_data): Likewise.
20257         (y0_test_data): Likewise.
20258         (y1_test_data): Likewise.
20259         (yn_test_data): Likewise.
20260
20261         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20262         function contents.
20263
20264         * math/libm-test.inc (struct test_ff_i_data): New type.
20265         (RUN_TEST_LOOP_ff_i_tg): New macro.
20266         (isgreater_test_data): New variable.
20267         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20268         (isgreaterequal_test_data): New variable.
20269         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20270         (isless_test_data): New variable.
20271         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20272         (islessequal_test_data): New variable.
20273         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20274         (islessgreater_test_data): New variable.
20275         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20276         (isunordered_test_data): New variable.
20277         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20278
20279 2013-05-14  David S. Miller  <davem@davemloft.net>
20280
20281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20282
20283 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20284
20285         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20286
20287         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20288         extra_test to int.
20289         (struct test_f_i_data): Change type of max_ulp to int.
20290
20291         * math/libm-test.inc (test_ffI_f1_data): New type.
20292         (RUN_TEST_LOOP_ffI_f1): New macro.
20293         (remquo_test_data): New variable.
20294         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20295
20296         * setjmp/tst-setjmp-fp.c: New file.
20297         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20298         (link-libm): New variable.
20299         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20300
20301         * math/libm-test.inc (struct test_f_i_data): New type.
20302         (RUN_TEST_LOOP_f_i): New macro.
20303         (RUN_TEST_LOOP_f_i_tg): Likewise.
20304         (fpclassify_test_data): New variable.
20305         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20306         (ilogb_test_data): New variable.
20307         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20308
20309         * math/libm-test.inc (scalbln_test): Correct function name in END
20310         call.
20311
20312         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20313         (RUN_TEST_LOOP_fI_f1): New macro.
20314         (frexp_test_data): New variable.
20315         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20316
20317         * math/libm-test.inc (struct test_fF_f1_data): New type.
20318         (RUN_TEST_LOOP_fF_f1): New macro.
20319         (modf_test_data): New variable.
20320         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20321
20322         * math/libm-test.inc (struct test_f_f1_data): New type.
20323         (RUN_TEST_LOOP_f_f1): New macro.
20324         (gamma_test_data): New variable.
20325         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20326         (lgamma_test_data): New variable.
20327         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20328
20329 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20330
20331         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20332         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20333         (main): Comment "tls" pseudo-hwcap.
20334
20335 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20336
20337         * math/libm-test.inc (struct test_fl_f_data): New type.
20338         (RUN_TEST_LOOP_fl_f): New variable.
20339         (scalbln_test_data): New variable.
20340         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20341
20342         * math/libm-test.inc (struct test_fi_f_data): New type.
20343         (RUN_TEST_LOOP_fi_f): New macro.
20344         (ldexp_test_data): New variable.
20345         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20346         (scalbn_test_data): New variable.
20347         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20348
20349         * math/libm-test.inc (struct test_c_f_data): New type.
20350         (RUN_TEST_LOOP_c_f): New macro.
20351         (cabs_test_data): New variable.
20352         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20353         (carg_test_data): New variable.
20354         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20355         (cimag_test_data): New variable.
20356         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20357         (creal_test_data): New variable.
20358         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20359
20360         * math/libm-test.inc (struct test_if_f_data): New type.
20361         (RUN_TEST_LOOP_if_f): New macro.
20362         (jn_test_data): New variable.
20363         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20364         (yn_test_data): New variable.
20365         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20366
20367         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20368
20369 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20370
20371         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20372         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20373
20374 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20375
20376         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20377         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20378         (bench-deps): Add bench-timing.h.
20379         * benchtests-bench-skeleton.c: Include bench-timing.h.
20380         (main): Use TIMING_* macros instead of clock_gettime.
20381         * benchtests/bench-timing.h: New file.
20382
20383         [BZ #14582]
20384         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20385         Renamed from _LIB_VERSION.
20386         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20387
20388 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20389
20390         * math/libm-test.inc (struct test_fff_f_data): New type.
20391         (RUN_TEST_LOOP_fff_f): New macro.
20392         (fma_test_data): New variable.
20393         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20394         (fma_towardzero_test_data): New variable.
20395         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20396         (fma_downward_test_data): New variable.
20397         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20398         (fma_upward_test_data): New variable.
20399         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20400
20401         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20402         (struct test_c_c_data): New type.
20403         (RUN_TEST_LOOP_c_c): New macro.
20404         (cacos_test_data): New variable.
20405         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20406         (cacosh_test_data): New variable.
20407         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20408         (casin_test_data): New variable.
20409         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20410         (casinh_test_data): New variable.
20411         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20412         (catan_test_data): New variable.
20413         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20414         (catanh_test_data): New variable.
20415         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20416         (ccos_test_data): New variable.
20417         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20418         (ccosh_test_data): New variable.
20419         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20420         (cexp_test_data): New variable.
20421         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20422         (clog_test_data): New variable.
20423         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20424         (clog10_test_data): New variable.
20425         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20426         (conj_test_data): New variable.
20427         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20428         (cproj_test_data): New variable.
20429         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20430         (csin_test_data): New variable.
20431         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20432         (csinh_test_data): New variable.
20433         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20434         (csqrt_test_data): New variable.
20435         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20436         (ctan_test_data): New variable.
20437         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20438         (ctan_tonearest_test_data): New variable.
20439         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20440         (ctan_towardzero_test_data): New variable.
20441         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20442         (ctan_downward_test_data): New variable.
20443         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20444         (ctan_upward_test_data): New variable.
20445         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20446         (ctanh_test_data): New variable.
20447         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20448         (ctanh_tonearest_test_data): New variable.
20449         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20450         (ctanh_towardzero_test_data): New variable.
20451         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20452         (ctanh_downward_test_data): New variable.
20453         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20454         (ctanh_upward_test_data): New variable.
20455         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20456         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20457         of BUILD_COMPLEX.
20458
20459         * math/libm-test.inc (struct test_ff_f_data): New type.
20460         (struct test_ff_f_data_nexttoward): Likewise.
20461         (RUN_TEST_LOOP_2_f): New macro.
20462         (RUN_TEST_LOOP_ff_f): Likewise.
20463         (atan2_test_data): New variable.
20464         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20465         (copysign_test_data): New variable.
20466         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20467         (fdim_test_data): New variable.
20468         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20469         (fmax_test_data): New variable.
20470         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20471         (fmin_test_data): New variable.
20472         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20473         (fmod_test_data): New variable.
20474         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20475         (hypot_test_data): New variable.
20476         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20477         (nextafter_test_data): New variable.
20478         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20479         (nexttoward_test_data): New variable.
20480         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20481         (pow_test_data): New variable.
20482         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20483         (pow_tonearest_test_data): New variable.
20484         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20485         (pow_towardzero_test_data): New variable.
20486         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20487         (pow_downward_test_data): New variable.
20488         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20489         (pow_upward_test_data): New variable.
20490         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20491         (remainder_test_data): New variable.
20492         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20493         (scalb_test_data): New variable.
20494         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20495         * sysdeps/i386/fpu/libm-test-ulps: Update.
20496
20497 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20498
20499         * math/libm-test.inc (fma_test): Use max_value instead of local
20500         variable fltmax.
20501         (nextafter_test): Likewise.
20502
20503         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20504         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20505         (acos_downward_test_data): New variable.
20506         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20507         (acos_upward_test_data): New variable.
20508         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20509         (acosh_test_data): New variable.
20510         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20511         (asin_test_data): New variable.
20512         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20513         (asin_tonearest_test_data): New variable.
20514         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20515         (asin_towardzero_test_data): New variable.
20516         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20517         (asin_downward_test_data): New variable.
20518         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20519         (asin_upward_test_data): New variable.
20520         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20521         (asinh_test_data): New variable.
20522         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20523         (atan_test_data): New variable.
20524         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20525         (atanh_test_data): New variable.
20526         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20527         (cbrt_test_data): New variable.
20528         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20529         (ceil_test_data): New variable.
20530         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20531         (cos_test_data): New variable.
20532         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20533         (cos_tonearest_test_data): New variable.
20534         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20535         (cos_towardzero_test_data): New variable.
20536         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20537         (cos_downward_test_data): New variable.
20538         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20539         (cos_upward_test_data): New variable.
20540         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20541         (cosh_test_data): New variable.
20542         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20543         (cosh_tonearest_test_data): New variable.
20544         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20545         (cosh_towardzero_test_data): New variable.
20546         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20547         (cosh_downward_test_data): New variable.
20548         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20549         (cosh_upward_test_data): New variable.
20550         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20551         (erf_test_data): New variable.
20552         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20553         (erfc_test_data): New variable.
20554         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20555         (exp_test_data): New variable.
20556         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20557         (exp_tonearest_test_data): New variable.
20558         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20559         (exp_towardzero_test_data): New variable.
20560         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20561         (exp_downward_test_data): New variable.
20562         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20563         (exp_upward_test_data): New variable.
20564         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20565         (exp10_test_data): New variable.
20566         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20567         (exp2_test_data): New variable.
20568         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20569         (expm1_test_data): New variable.
20570         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20571         (fabs_test_data): New variable.
20572         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20573         (floor_test_data): New variable.
20574         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20575         (j0_test_data): New variable.
20576         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20577         (j1_test_data): New variable.
20578         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20579         (log_test_data): New variable.
20580         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20581         (log10_test_data): New variable.
20582         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20583         (log1p_test_data): New variable.
20584         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20585         (log2_test_data): New variable.
20586         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20587         (logb_test_data): New variable.
20588         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20589         (logb_downward_test_data): New variable.
20590         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20591         (nearbyint_test_data): New variable.
20592         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20593         (rint_test_data): New variable.
20594         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20595         (rint_tonearest_test_data): New variable.
20596         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20597         (rint_towardzero_test_data): New variable.
20598         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20599         (rint_downward_test_data): New variable.
20600         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20601         (rint_upward_test_data): New variable.
20602         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20603         (round_test_data): New variable.
20604         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20605         (sin_test_data): New variable.
20606         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20607         (sin_tonearest_test_data): New variable.
20608         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20609         (sin_towardzero_test_data): New variable.
20610         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20611         (sin_downward_test_data): New variable.
20612         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20613         (sin_upward_test_data): New variable.
20614         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20615         (sinh_test_data): New variable.
20616         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20617         (sinh_tonearest_test_data): New variable.
20618         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20619         (sinh_towardzero_test_data): New variable.
20620         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20621         (sinh_downward_test_data): New variable.
20622         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20623         (sinh_upward_test_data): New variable.
20624         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20625         (sqrt_test_data): New variable.
20626         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20627         (tan_test_data): New variable.
20628         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20629         (tan_tonearest_test_data): New variable.
20630         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20631         (tan_towardzero_test_data): New variable.
20632         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20633         (tan_downward_test_data): New variable.
20634         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20635         (tan_upward_test_data): New variable.
20636         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20637         (tanh_test_data): New variable.
20638         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20639         (tgamma_test_data): New variable.
20640         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20641         (trunc_test_data): New variable.
20642         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20643         (y0_test_data): New variable.
20644         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20645         (y1_test_data): New variable.
20646         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20647         (significand_test_data): New variable.
20648         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20649
20650 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20651
20652         [BZ #12387]
20653         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20654
20655 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20656
20657         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20658
20659 2013-05-10  Andreas Jaeger  <aj@suse.de>
20660
20661         [BZ #15448]
20662         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20663         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20664
20665 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20666
20667         * math/gen-libm-test.pl (adjust_arg): New function.
20668         (special_functions): Handle generating output in both functions
20669         and arrays.
20670         (parse_args): Likewise.
20671         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20672         $in_func argument to parse_args.
20673         * math/libm-test.inc (struct test_f_f_data): New type.
20674         (IF_ROUND_INIT_): New macro.
20675         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20676         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20677         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20678         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20679         (ROUND_RESTORE_): Likewise.
20680         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20681         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20682         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20683         (ROUND_RESTORE_FE_UPWARD): Likewise.
20684         (RUN_TEST_LOOP_f_f): New macro.
20685         (acos_test_data): New variable.
20686         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20687         (acos_tonearest_test_data): New variable.
20688         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20689
20690 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20691
20692         * benchtests/bench-skeleton.c (startup): Fix coding style.
20693
20694 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20695
20696         [BZ #6809]
20697         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20698         negative infinity argument.
20699         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20700         negative infinity argument.
20701         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20702         negative infinity argument.
20703         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20704         domain errors.
20705
20706 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20707
20708         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20709         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20710         * iconv/iconv_prog.c (main): Likewise.
20711         * locale/programs/charmap-dir.c (charmap_readdir)
20712         (fopen_uncompressed): Likewise.
20713         * locale/programs/locfile.c (siblings_uncached)
20714         (write_locale_data): Use lstat64 instead of lstat.
20715         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20716         stat.
20717
20718 2013-05-10  Andreas Jaeger  <aj@suse.de>
20719
20720         [BZ #15395]
20721         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20722         localization.
20723         Include <locale.h>.
20724
20725 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20726
20727         * elf/dl-close.c (_dl_close_worker): Add comments.
20728
20729 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20730
20731         [BZ #15359]
20732         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20733         high part of pi/2.
20734         (__ieee754_rem_pio2l): Update comments.
20735
20736         [BZ #15429]
20737         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20738         high part of pi/2.
20739         (__ieee754_rem_pio2l): Update comments.
20740
20741         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20742         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20743
20744         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20745         M_PI_4l.
20746
20747         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20748         (M_PI_34_LOG10El): Likewise.
20749         (M_PI2_LOG10El): Likewise.
20750         (M_PI4_LOG10El): Likewise.
20751         (M_PI_LOG10El): Likewise.
20752
20753 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20754
20755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20756
20757 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20758
20759         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20760         (MINUS_ZERO_INIT): Likewise.
20761         (PLUS_INFTY_INIT): Likewise.
20762         (MINUS_INFTY_INIT): Likewise.
20763         (QNAN_VALUE_INIT): Likewise.
20764         (MAX_VALUE_INIT): Likewise.
20765         (MIN_VALUE_INIT): Likewise.
20766         (MIN_SUBNORM_VALUE_INIT): Likewise.
20767         (plus_zero): Initialize with PLUS_ZERO_INIT.
20768         (minus_zero): Initialize with MINUS_ZERO_INIT.
20769         (plus_infty): Initialize with PLUS_INFTY_INIT.
20770         (minus_infty): Initialize with MINUS_INFTY_INIT.
20771         (qnan_value): Initialize with QNAN_VALUE_INIT.
20772         (max_value): Initialize with MAX_VALUE_INIT.
20773         (min_value): Initialize with MIN_VALUE_INIT.
20774         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20775
20776         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20777         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20778         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20779         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20780
20781         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20782         (RUN_TEST_2_f): Likewise.
20783         (RUN_TEST_ff_f): Likewise.
20784         (RUN_TEST_fi_f): Likewise.
20785         (RUN_TEST_fl_f): Likewise.
20786         (RUN_TEST_fff_f): Likewise.
20787         (RUN_TEST_c_f): Likewise.
20788         (RUN_TEST_f_f1): Likewise.
20789         (RUN_TEST_fF_f1): Likewise.
20790         (RUN_TEST_fI_f1): Likewise.
20791         (RUN_TEST_ffI_f1): Likewise.
20792         (RUN_TEST_c_c): Likewise.
20793         (RUN_TEST_cc_c): Likewise.
20794         (RUN_TEST_f_i): Likewise.
20795         (RUN_TEST_f_i_tg): Likewise.
20796         (RUN_TEST_ff_i_tg): Likewise.
20797         (RUN_TEST_f_b): Likewise.
20798         (RUN_TEST_f_b_tg): Likewise.
20799         (RUN_TEST_f_l): Likewise.
20800         (RUN_TEST_f_L): Likewise.
20801         (RUN_TEST_sincos): Likewise.
20802         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20803         whether to show exceptions.  Do not include ");\n" in return
20804         value.
20805         (special_functions): Output call to RUN_TEST_sincos instead of
20806         check_float calls.  Update calls to new_test.
20807         (parse_args): Output call to single RUN_TEST_* macro instead of
20808         check_* calls and other assignments.  Update calls to new_test.
20809
20810         [BZ #2546]
20811         [BZ #2560]
20812         [BZ #5159]
20813         [BZ #15426]
20814         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20815         input to result for tgamma overflow.
20816         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20817         (gamma_coeff): New variable.
20818         (NCOEFF): New macro.
20819         (gamma_positive): New function.
20820         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20821         underflow here.  Use gamma_positive instead of exp (lgamma) for
20822         other arguments.
20823         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20824         (gamma_coeff): New variable.
20825         (NCOEFF): New macro.
20826         (gammaf_positive): New function.
20827         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20828         underflow here.  Use gamma_positive instead of exp (lgamma) for
20829         other arguments.
20830         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20831         (gamma_coeff): New variable.
20832         (NCOEFF): New macro.
20833         (gammal_positive): New function.
20834         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20835         underflow here.  Use gamma_positive instead of exp (lgamma) for
20836         other arguments.
20837         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20838         (gamma_coeff): New variable.
20839         (NCOEFF): New macro.
20840         (gammal_positive): New function.
20841         (__ieee754_gammal_r): Handle positive infinity, overflow and
20842         underflow here.  Handle NaN the same as positive infinity.  Remove
20843         check x < 0xffffffff for negative integers.  Use gamma_positive
20844         instead of exp (lgamma) for other arguments.
20845         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20846         (gamma_coeff): New variable.
20847         (NCOEFF): New macro.
20848         (gammal_positive): New function.
20849         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20850         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20851         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20852         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20853         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20854         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20855         * sysdeps/generic/math_private.h (__gamma_productf): New
20856         prototype.
20857         (__gamma_product): Likewise.
20858         (__gamma_productl): Likewise.
20859         * math/Makefile (libm-calls): Add gamma_product.
20860         * math/libm-test.inc (tgamma_test): Add more tests.
20861         * sysdeps/i386/fpu/libm-test-ulps: Update.
20862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20863
20864 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20865
20866         * benchtests/bench-skeleton.c (main): Preheat CPU.
20867
20868 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20869
20870         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20871
20872 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20873
20874         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20875         and _dl_skip_args_internal.
20876
20877 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20878
20879         * manual/message.texi (Message Translation): Talk about users.
20880         Message to key mapping impacts design.
20881
20882 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20883
20884         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20885
20886         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20887
20888         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20889         * sysdeps/wordsize-64/glob64.c: ... here.
20890
20891         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20892         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20893         New macros.
20894
20895         * debug/getlogin_r_chk.c: Moved to ...
20896         * login/getlogin_r_chk.c: ... here.
20897         * debug/Makefile (routines): Move getlogin_r_chk to ...
20898         * login/Makefile (routines): ... here.
20899         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20900         * login/Versions (libc: GLIBC_2.4): ... here.
20901
20902         * io/poll.c (__poll): Renamed from poll.
20903         Add libc_hidden_def.
20904         (poll): Define as weak alias.
20905
20906         * debug/ptsname_r_chk.c: Moved to ...
20907         * login/ptsname_r_chk.c: ... here.
20908         * debug/Makefile (routines): Move ptsname_r_chk to ...
20909         * login/Makefile (routines): ... here.
20910         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20911         * login/Versions (libc: GLIBC_2.4): ... here.
20912
20913         * posix/getlogin.c: Moved to ...
20914         * login/getlogin.c: ... here.
20915         * posix/getlogin_r.c: Moved to ...
20916         * login/getlogin_r.c: ... here.
20917         * posix/getlogin_r.c: Moved to ...
20918         * login/getlogin_r.c: ... here.
20919         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20920         * login/Makefile (routines): ... here.
20921         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20922         * login/Versions (libc: GLIBC_2.0): ... here.
20923
20924         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20925         (setrlimit): Define as weak alias.
20926
20927         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20928         Call __ names for open, ftruncate, and close.
20929         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20930         (truncate): Define as weak alias.
20931
20932 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20933
20934         * math/gen-libm-test.pl (parse_args): Initialize x before each
20935         test of frexp, modf and remquo.
20936
20937         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20938         test signgam value.
20939
20940 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20941
20942         [BZ #15418]
20943         [BZ #15419]
20944         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20945         internal tests.
20946         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20947
20948 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20949
20950         * elf/dl-writev.h: New file.
20951         * elf/dl-misc.c: Include it.
20952         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20953         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20954
20955 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20956
20957         * math/libm-test.inc (noXFails): Remove variable.
20958         (noXPasses): Likewise.
20959         (BUILD_COMPLEX_INT): Remove macro.
20960         (print_screen): Remove xfail argument.
20961         (print_screen_max_error): Likewise.
20962         (update_stats): Likewise.
20963         (print_max_error): Likewise.  Update calls to other affected
20964         functions.
20965         (print_complex_max_error): Likewise.
20966         (test_single_exception): Update calls to print_screen.
20967         (test_single_errno): Likewise.
20968         (check_float_internal): Remove xfail argument.  Update calls to
20969         other affected functions.
20970         (check_float): Likewise.
20971         (check_complex): Likewise.
20972         (check_int): Likewise.
20973         (check_long): Likewise.
20974         (check_bool): Likewise.
20975         (check_longlong): Likewise.
20976         (main): Don't print noXFails and noXPasses.
20977         * math/gen-libm-test.pl (top level): Don't mention expected
20978         failure handling in comment.
20979         (new_test): Don't handle expected failures.
20980         (parse_args): Don't mention expected failure handling in comment.
20981         (generate_testfile): Don't handle expected failures.
20982         (parse_ulps): Likewise.
20983         (print_ulps_file): Likewise.
20984         (get_failure): Remove function.
20985         (output_test): Don't handle expected failures.
20986         * make/README.libm-test: Don't mention expected failure handling.
20987
20988         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20989         (minus_zero): Likewise.
20990         (plus_infty): Likewise.
20991         (minus_infty): Likewise.
20992         (qnan_value): Likewise.
20993         (max_value): Likewise.
20994         (min_value): Likewise.
20995         (min_subnorm_value): Likewise.
20996         (initialize): Do not initialize those variables dynamically.
20997
20998 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20999
21000         * io/open.c (__open_2): Moved to ...
21001         * io/open_2.c: ... this new file.
21002         * io/open64.c (__open64_2): Moved to ...
21003         * io/open64_2.c: ... this new file.
21004         * io/openat.c (__openat_2): Moved to ...
21005         * io/openat_2.c: ... this new file.
21006         * io/openat64.c (__openat64_2): Moved to ...
21007         * io/openat64_2.c: ... this new file.
21008         * io/Makefile (routines): Add them.
21009         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21010         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21011         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21012         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21013         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21014         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21015         (__openat64): Add hidden_ver.
21016         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21017         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21018
21019         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21020         Separately conditionalize setting of GLRO(dl_sysinfo) so
21021         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21022         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21023
21024 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21025
21026         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21027         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21028         definition.
21029         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21030         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21031         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21032         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21033         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21034
21035 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21036
21037         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21038         test signgam value.
21039
21040         * math/libm-test.inc (hypot_test): Do not use
21041         IGNORE_ZERO_INF_SIGN.
21042
21043 2013-05-03  Andreas Jaeger  <aj@suse.de>
21044
21045         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21046         Linux 3.9.
21047         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21048         (PF_MAX): Adjust for VSOCK change.
21049
21050 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21051
21052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21053
21054 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21055
21056         [BZ #15264]
21057         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21058         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21059         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21060
21061 2013-05-02  David S. Miller  <davem@davemloft.net>
21062
21063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21064
21065 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21066
21067         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21068
21069 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21070
21071         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21072
21073 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21074
21075         [BZ #14952]
21076         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21077         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21078         Use __attribute__ ((__gnu_inline__)).
21079         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21080         Don't use __attribute__ ((__gnu_inline__)).
21081
21082 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21083
21084         [BZ #15423]
21085         * math/s_catan.c (__catan): Handle small real or imaginary part of
21086         input specially to avoid spurious underflow.
21087         * math/s_catanf.c (__catanf): Likewise.
21088         * math/s_catanh.c (__catanh): Likewise.
21089         * math/s_catanhf.c (__catanhf): Likewise.
21090         * math/s_catanhl.c (__catanhl): Likewise.
21091         * math/s_catanl.c (__catanl): Likewise.
21092         * math/libm-test.inc (catan_test): Add more tests.
21093         (catanh_test): Likewise.
21094         * sysdeps/i386/fpu/libm-test-ulps: Update.
21095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21096
21097 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21098
21099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21100
21101 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21102
21103         [BZ #15416]
21104         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21105         accurately for denominator in atan2.
21106         * math/s_catanf.c (__catanf): Likewise.
21107         * math/s_catanh.c (__catanh): Likewise.
21108         * math/s_catanhf.c (__catanhf): Likewise.
21109         * math/s_catanhl.c (__catanhl): Likewise.
21110         * math/s_catanl.c (__catanl): Likewise.
21111         * math/libm-test.inc (catan_test): Add more tests.
21112         (catanh_test): Likewise.
21113         * sysdeps/i386/fpu/libm-test-ulps: Update.
21114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21115
21116 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21117
21118         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21119
21120         * benchtests/Makefile (bench): Remove slow benchmarks.
21121         * benchtests/atan-inputs: Add slow benchmark inputs.
21122         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21123         (BENCH_FUNC): Accept variant offset.
21124         (VARIANT): Define.
21125         * benchtests/bench-skeleton.c (main): Run benchmark for each
21126         variant.
21127         * benchtests/cos-inputs: Add slow benchmark inputs.
21128         * benchtests/exp-inputs: Likewise.
21129         * benchtests/pow-inputs: Likewise.
21130         * benchtests/sin-inputs: Likewise.
21131         * benchtests/slowatan-inputs: Remove.
21132         * benchtests/slowatan.c: Remove.
21133         * benchtests/slowcos-inputs: Remove.
21134         * benchtests/slowcos.c: Remove.
21135         * benchtests/slowexp-inputs: Remove.
21136         * benchtests/slowexp.c: Remove.
21137         * benchtests/slowpow-inputs: Remove.
21138         * benchtests/slowpow.c: Remove.
21139         * benchtests/slowsin-inputs: Remove.
21140         * benchtests/slowsin.c: Remove.
21141         * benchtests/slowtan-inputs: Remove.
21142         * benchtests/slowtan.c: Remove.
21143         * benchtests/tan-inputs: Add slow benchmark inputs.
21144         * scripts/bench.pl: Parse comments and directives.
21145
21146         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21147         in CPPFLAGS.
21148         ($(objpfx)bench-%.c): Remove *-ITER.
21149         * benchtests/bench-modf.c: Remove definition of ITER.
21150         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21151         (main): Loop for DURATION seconds instead of fixed number of
21152         iterations.
21153         * scripts/bench.pl: Don't expect iterations in parameters.
21154
21155 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21156
21157         * io/fchdir.c (__fchdir): Renamed from fchdir.
21158         (fchdir): Define as weak alias.
21159
21160 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21161
21162         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21163         (ERRNO_EDOM): Likewise.
21164         (ERRNO_ERANGE): Likewise.
21165         (noErrnoTests): New variable.
21166         (init_max_error): Set errno to 0.
21167         (test_single_errno): New function.
21168         (test_errno): Likewise.
21169         (check_float_internal): Call test_errno.  Set errno to 0.
21170         (check_complex): Refer to errno tests in comment.
21171         (check_int): Call test_errno.  Set errno to 0.
21172         (check_long): Likewise.
21173         (check_bool): Likewise.
21174         (check_longlong): Likewise.
21175         (cos_test): Use ERRNO_* flags for errno tests instead of
21176         check_int.
21177         (expm1_test): Likewise.
21178         (fmod_test): Likewise.
21179         (ilogb_test): Likewise.
21180         (lgamma_test): Likewise.
21181         (pow_test): Likewise.
21182         (remainder_test): Likewise.
21183         (sin_test): Likewise.
21184         (tan_test): Likewise.
21185         (yn_test): Likewise.
21186         (initialize): Set errno to 0.
21187         (main): Print number of errno tests.
21188         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21189
21190 2013-04-29  Andreas Jaeger  <aj@suse.de>
21191
21192         [BZ #15084]
21193         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21194         and RES_USEVC.
21195
21196         [BZ #15085]
21197         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21198         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21199         unimplemented.
21200
21201         [BZ #15380]
21202         * stdlib/random.c (__initstate): Return NULL if
21203         __initstate fails.
21204
21205         [BZ #15086]
21206         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21207         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21208         RES_SNGLKUPREOP.
21209
21210 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21211
21212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21213
21214 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21215
21216         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21217         of individual tests.
21218         (casin_test): Likewise.
21219         (casinh_test): Likewise.
21220
21221 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21222
21223         [BZ #15409]
21224         * math/s_catan.c (__catan): Handle arguments with large real or
21225         imaginary part separately without squaring.
21226         * math/s_catanf.c (__catanf): Likewise.
21227         * math/s_catanh.c (__catanh): Likewise.
21228         * math/s_catanhf.c (__catanhf): Likewise.
21229         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21230         and redefine.
21231         (__catanhl): Handle arguments with large real or imaginary part
21232         separately without squaring.
21233         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21234         and redefine.
21235         (__catanl): Handle arguments with large real or imaginary part
21236         separately without squaring.
21237         * math/libm-test.inc (catan_test): Add more tests.
21238         (catanh_test): Likewise.
21239         * sysdeps/i386/fpu/libm-test-ulps: Update.
21240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21241
21242 2013-04-27  Andreas Jaeger  <aj@suse.de>
21243
21244         [BZ #15007]
21245         * stdlib/stdlib.h: Update guards for qecvt.
21246         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21247         <stdlib.h>.
21248
21249 2013-04-27  Allan McRae  <allan@archlinux.org>
21250
21251         * sysdeps/i386/fpu/libm-test-ulps: Update.
21252
21253 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21254
21255         [BZ #15406]
21256         * math/s_catan.c: Include <float.h>.
21257         (__catan): Ensure underflow exception occurs for underflowed
21258         result.
21259         * math/s_catanf.c: Include <float.h>.
21260         (__catanf): Ensure underflow exception occurs for underflowed
21261         result.
21262         * math/s_catanh.c: Include <float.h>.
21263         (__catanh): Ensure underflow exception occurs for underflowed
21264         result.
21265         * math/s_catanhf.c: Include <float.h>.
21266         (__catanhf): Ensure underflow exception occurs for underflowed
21267         result.
21268         * math/s_catanhl.c: Include <float.h>.
21269         (__catanhl): Ensure underflow exception occurs for underflowed
21270         result.
21271         * math/s_catanl.c: Include <float.h>.
21272         (__catanl): Ensure underflow exception occurs for underflowed
21273         result.
21274         * math/libm-test.inc (catan_test): Add more tests.
21275         (catanh_test): Likewise.
21276
21277         [BZ #15405]
21278         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21279         underflowed result.
21280         * math/s_ccoshf.c (__ccoshf): Likewise.
21281         * math/s_ccoshl.c (__ccoshl): Likewise.
21282         * math/s_csin.c (__csin): Likewise.
21283         * math/s_csinf.c (__csinf): Likewise.
21284         * math/s_csinh.c (__csinh): Likewise.
21285         * math/s_csinhf.c (__csinhf): Likewise.
21286         * math/s_csinhl.c (__csinhl): Likewise.
21287         * math/s_csinl.c (__csinl): Likewise.
21288         * math/libm-test.inc (ccos_test): Add more tests.
21289         (ccosh_test): Likewise.
21290         (csin_test): Likewise.
21291         (csinh_test): Likewise.
21292
21293 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21294
21295         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21296         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21297         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21298         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21299         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21300         powerpc/power5+/fpu folders.
21301         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21302
21303
21304 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21305
21306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21307
21308 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21309
21310         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21311         additions to variable.
21312         [$(config-machine) = x86_64] (modules-names): Likewise.
21313         ($(objpfx)tst-audit3): Remove dependency.
21314         ($(objpfx)tst-audit3.out): Likewise.
21315         ($(objpfx)tst-audit4): Likewise.
21316         ($(objpfx)tst-audit4.out): Likewise.
21317         ($(objpfx)tst-audit5): Likewise.
21318         ($(objpfx)tst-audit5.out): Likewise.
21319         ($(objpfx)tst-audit6): Likewise.
21320         ($(objpfx)tst-audit6.out): Likewise.
21321         ($(objpfx)tst-audit7): Likewise.
21322         ($(objpfx)tst-audit7.out): Likewise.
21323         (tst-audit3-ENV): Remove variable.
21324         (tst-audit4-ENV): Likewise.
21325         (tst-audit5-ENV): Likewise.
21326         (tst-audit6-ENV): Likewise.
21327         (tst-audit7-ENV): Likewise.
21328         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21329         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21330         addition to variable.
21331         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21332         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21333         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21334         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21335         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21336         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21337         tst-audit3, tst-audit4 and tst-audit5.
21338         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21339         tst-audit6 and tst-audit7.
21340         [$(subdir) = elf] (modules-names): Add audit modules for those
21341         tests.
21342         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21343         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21344         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21345         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21346         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21347         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21348         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21349         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21350         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21351         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21352         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21353         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21354         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21355         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21356         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21357         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21358         Likewise.
21359         [$(subdir) = elf && $(config-cflags-avx) = yes]
21360         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21361         [$(subdir) = elf && $(config-cflags-avx) = yes]
21362         (CFLAGS-tst-auditmod4a.c): Likewise.
21363         [$(subdir) = elf && $(config-cflags-avx) = yes]
21364         (CFLAGS-tst-auditmod4b.c): Likewise.
21365         [$(subdir) = elf && $(config-cflags-avx) = yes]
21366         (CFLAGS-tst-auditmod6b.c): Likewise.
21367         [$(subdir) = elf && $(config-cflags-avx) = yes]
21368         (CFLAGS-tst-auditmod6c.c): Likewise.
21369         [$(subdir) = elf && $(config-cflags-avx) = yes]
21370         (CFLAGS-tst-auditmod7b.c): Likewise.
21371         * elf/tst-audit3.c: Move to ...
21372         * sysdeps/x86_64/tst-audit3.c: ... here.
21373         * elf/tst-audit4.c: Move to ...
21374         * sysdeps/x86_64/tst-audit4.c: ... here.
21375         * elf/tst-audit5.c: Move to ...
21376         * sysdeps/x86_64/tst-audit5.c: ... here.
21377         * elf/tst-audit6.c: Move to ...
21378         * sysdeps/x86_64/tst-audit6.c: ... here.
21379         * elf/tst-audit7.c: Move to ...
21380         * sysdeps/x86_64/tst-audit7.c: ... here.
21381         * elf/tst-auditmod3a.c: Move to ...
21382         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21383         * elf/tst-auditmod3b.c: Move to ...
21384         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21385         * elf/tst-auditmod4a.c: Move to ...
21386         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21387         * elf/tst-auditmod4b.c: Move to ...
21388         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21389         * elf/tst-auditmod5a.c: Move to ...
21390         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21391         * elf/tst-auditmod5b.c: Move to ...
21392         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21393         * elf/tst-auditmod6a.c: Move to ...
21394         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21395         * elf/tst-auditmod6b.c: Move to ...
21396         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21397         * elf/tst-auditmod6c.c: Move to ...
21398         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21399         * elf/tst-auditmod7a.c: Move to ...
21400         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21401         * elf/tst-auditmod7b.c: Move to ...
21402         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21403
21404 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21405
21406         [BZ #15366]
21407         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21408         define unconditionally.
21409         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21410         define unconditionally.
21411         (INT8_C, INT16_C, etc.): Likewise.
21412
21413 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21414
21415         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21416         __ehdr_start with hidden visibility.
21417
21418         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21419
21420 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21421
21422         * math/libm-test.inc (cos_test): Use accurate hex constants.
21423         (sincost_test): Likewise.
21424
21425 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21426
21427         * math/libm-test.inc (catan_test): Add more tests.
21428         (catanh_test): Likewise.
21429
21430         * math/s_catanf.c (__catanf): Use suffixed floating-point
21431         constants.
21432         * math/s_catanhf.c (__catanhf): Likewise.
21433         * math/s_catanhl.c (__catanhl): Likewise.
21434         * math/s_catanl.c (__catanl): Likewise.
21435
21436         [BZ #15394]
21437         * math/s_catan.c (__catan): Calculate imaginary part of result
21438         with log1p not log unless computing log of number close to 0.
21439         * math/s_catanf.c (__catanf): Likewise.
21440         * math/s_catanl.c (__catanl): Likewise.
21441         * math/s_catanh.c (__catanh): Calculate real part of result with
21442         log1p not log unless computing log of number close to 0.
21443         * math/s_catanhf.c (__catanhf): Likewise.
21444         * math/s_catanhl.c (__catanhl): Likewise.
21445         * math/libm-test.inc (catan_test): Add more tests.
21446         (catanh_test): Likewise.
21447         * sysdeps/i386/fpu/libm-test-ulps: Update.
21448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21449
21450 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21451
21452         * benchtests/Makefile: Mention files in which fast and slow
21453         paths of math functions are implemented.
21454
21455 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21456
21457         * sysdeps/posix/timespec_get.c: New file.
21458
21459 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21460
21461         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21462         POWER.
21463         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21464         for POWER.
21465         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21466         powerpc/power5/fpu folders.
21467         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21468         * benchtests/Makefile: Add modf testcase.
21469         * benchtests/bench-modf.c: New file: Benchmark test for mo
21470
21471 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21472
21473         [BZ #14888]
21474         * time/Makefile (tests): Add tst-strptime-whitespace.
21475         * time/strptime_l.c (get_number): Use ISSPACE.
21476         (__strptime_internal): Likewise.
21477         * time/tst-strptime-whitespace.c: New test case.
21478
21479 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21480
21481         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21482         member.
21483         (_nss_files_init): Set it here.
21484
21485 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21486
21487         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21488         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21489         unsigned.
21490
21491 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21492
21493         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21494
21495 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21496
21497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21498         size just once.
21499
21500 2013-04-21  David S. Miller  <davem@davemloft.net>
21501
21502         * po/ru.po: Update Russion translation from translation project.
21503
21504 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21505
21506         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21507         and setfsgid.
21508
21509 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21510
21511         * configure.in: Remove i386 configure warning. Remove i386 case.
21512         * configure: Regenerate.
21513         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21514         Add example to error message.
21515         * sysdeps/i386/configure: Regenerate.
21516
21517 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21518
21519         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21520         slowtan.
21521         * benchtests/cos-inputs: New file.
21522         * benchtests/slowcos-inputs: New file.
21523         * benchtests/slowcos.c: New file.
21524         * benchtests/slowtan-inputs: New file.
21525         * benchtests/slowtan.c: New file.
21526         * benchtests/tan-inputs: New file.
21527
21528 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21529
21530         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21531         considered kosher.
21532
21533 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21534
21535         * benchtests/Makefile: Include cppflags-iterator.mk to add
21536         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21537
21538         * Makefile.in (bench-clean): New target.
21539         * benchtests/Makefile (bench-clean): Likewise.
21540
21541 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21542
21543         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21544
21545 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21546
21547         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21548
21549 2013-04-15  Andreas Schwab  <schwab@suse.de>
21550
21551         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21552         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21553         * nscd/pwdcache.c (cache_addpw): Likewise.
21554         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21555         more than recsize.
21556
21557 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21558
21559         * benchtests/Makefile (bench): Write all output to
21560         bench-out.tmp together.
21561
21562 2013-04-15  Andreas Schwab  <schwab@suse.de>
21563
21564         * nscd/nscd.c (main): Don't fork again after closing files.
21565
21566 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21567
21568         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21569
21570         * benchtests/Rules (bench-deps): Collect dependencies into a
21571         single variable.  Add Makefile to dependencies.
21572         ($(objpfx)bench-%.c): Depend on bench-deps.
21573
21574 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21575             Xavier Roche  <roche+kml2@exalead.com>
21576
21577         [BZ #15361]
21578         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21579         just that it's a file descriptor.
21580         * manual/llio.texi (Synchronizing AIO Operations): Update description
21581         for EBADF error from aio_fsync.
21582
21583 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21584
21585         * Rules (bench): Move target definition...
21586         * benchtests/Makefile: ... here.
21587
21588 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21589
21590         * math/libm-test.inc (cos_test): Fix PI/2 test.
21591         (sincos_test): Likewise.
21592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21593         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21594
21595 2013-04-11  Andreas Schwab  <schwab@suse.de>
21596
21597         [BZ #13988]
21598         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21599         accept exponent character only when digits were seen.
21600         * stdio-common/Makefile (tests): Add bug26.
21601         * stdio-common/bug26.c: New file.
21602
21603         [BZ #14293]
21604         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21605         non-freeable.
21606
21607 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21608
21609         * Makeconfig (rtld-prefix): Define built linker prefix.
21610         * Rules (run-bench): Use it.
21611         * math/Makefile (run-regen-ulps): Likewise.
21612
21613         * Rules (bench): Remove eval.
21614
21615 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21616             Roland McGrath  <roland@hack.frob.com>
21617             Ondrej Bilka  <neleai@seznam.cz>
21618
21619         [BZ #15346]
21620         * time/getdate.c: Include ctype.h and alloca.h.
21621         (__getdate_r): Trim leading and trailing spaces of input.
21622         * time/tst-getdate.c (tests): Add tests with leading and
21623         trailing spaces.
21624
21625 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21626
21627         [BZ #14280]
21628         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21629         when computing value.
21630
21631 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21632
21633         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21634         Use testrun.sh to run libm tests.
21635
21636         [BZ #15309]
21637         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21638
21639 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21640
21641         [BZ #15264]
21642         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21643
21644 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21645
21646         * Makefile.in (regen-ulps): New target.
21647         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21648         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21649         [ifneq (no,$(PERL)] (regen-ulps): New target.
21650         [ifeq (no,$(PERL)] (regen-ulps): New target.
21651         * math/libm-test.inc (ulps_file_name): Define.
21652         (output_dir): New variable.
21653         (options): Add "output-dir" option.
21654         (parse_opt): Handle 'o' case.
21655         (main): If output_dir is non-NULL use it as a prefix
21656         otherwise use "".
21657         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21658
21659 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21660
21661         [BZ #10060, #10062]
21662         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21663         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21664         fail configure if __sync_val_compare_and_swap is not inlined.
21665         * sysdeps/i386/configure: Regenerate.
21666         * configure.in: Build for i686 when configured for i386.
21667         * configure: Regenerate.
21668         * README: Remove i386 reference.
21669
21670 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21671
21672         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21673         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21674
21675 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21676
21677         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21678         (lmsnanval): New variables.
21679         (F): Add conversion tests.
21680         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21681         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21682
21683         * stdio-common/tstdiomisc.c (F): Properly collect individual
21684         tests' results.
21685
21686         [BZ #14686, #15336]
21687         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21688         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21689         Instead, use input NaN values or generate a qNaN by arithmetic
21690         operation.  Also fix bugs to comply with the standard.
21691         * math/libm-test.inc (remainder_test): Add more tests.
21692
21693         [BZ #15335, #15342]
21694         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21696         input NaN values or generate a qNaN by arithmetic operation.
21697
21698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21699         unreachable code.
21700
21701         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21702         definitions.
21703
21704 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21705
21706         [BZ #14478]
21707         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21708         underflowed result.
21709         * math/s_cexpf.c (__cexpf): Likewise.
21710         * math/s_cexpl.c (__cexpl): Likewise.
21711         * math/libm-test.inc (cexp_test): Add more tests.
21712
21713 2013-04-03  Andreas Schwab  <schwab@suse.de>
21714
21715         [BZ #15330]
21716         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21717         order arrays from heap if bigger than alloca cutoff.
21718
21719 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21720
21721         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21722         (SNAN_TESTS_double): Refer to GCC PR56831.
21723         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21724         GCC PR56828.
21725
21726 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21727
21728         * Rules (bench): Move bench.out after the run is complete.
21729
21730         * Rules (bench): Echo currently running benchmark.
21731
21732         * benchtests/Makefile (bench): Add atan and slowatan.
21733         * benchtests/atan-inputs: New file.
21734         * benchtests/slowatan-inputs: New file.
21735         * benchtests/slowatan.c: New file.
21736
21737         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21738         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21739         its value.
21740
21741         [BZ #15305]
21742         * sysdeps/unix/sysv/linux/kernel-features.h
21743         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21744         __ASSUME_XFS_RESTRICTED_CHOWN.
21745         * sysdeps/unix/sysv/linux/pathconf.c
21746         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21747         Save and restore errno.
21748
21749 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21750
21751         [BZ #15327]
21752         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21753         arguments using __kernel_casinh.
21754         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21755         arguments using __kernel_casinhf.
21756         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21757         arguments using __kernel_casinhl.
21758         * math/libm-test.inc (cacosh_test): Add more tests.
21759         * sysdeps/i386/fpu/libm-test-ulps: Update.
21760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21761
21762 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21763
21764         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21766
21767         * bench/Makefile (bench): Add sin and slowsin.
21768         * benchtests/sin-inputs: New file.
21769         * benchtests/slowsin-inputs: New file.
21770         * benchtests/slowsin.c: New file.
21771
21772         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21773         (bench): Add slowexp and slowpow.
21774         (exp-ITER): Increase iterations.
21775         (pow-ITER): Likewise.
21776         * benchtests/exp-inputs: Change input.
21777         * benchtests/pow-inputs: Likewise.
21778         * benchtests/slowexp-inputs: New file.
21779         * benchtests/slowexp.c: New file.
21780         * benchtests/slowpow-inputs: New file.
21781         * benchtests/slowpow.c: New file.
21782
21783 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21784
21785         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21786         instructions.
21787         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21788         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21789         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21790         * benchtests/Makefile: Add rint benchtest.
21791         * benchtests/rint-inputs: Input for rint benchtest.
21792
21793 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21794
21795         * Versions.def (libm): Add GLIBC_2.18.
21796         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21797         hidden libm prototypes.
21798         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21799         * math/Makefile (libm-calls): Add s_issignaling.
21800         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21801         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21802         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21803         declaration.
21804         * math/math.h [__USE_GNU] (issignaling): New macro.
21805         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21806         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21807         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21808         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21809         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21810         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21811         * manual/arith.texi (issignaling): New section.
21812         * manual/libm-err-tab.pl (@all_functions): Update comment.
21813         * math/gen-libm-test.pl (parse_args): Apply special handling for
21814         issignaling.
21815         * math/libm-test.inc (print_float, issignaling_test): New
21816         functions.
21817         (check_float_internal): Add issignaling checks.
21818         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21819         default definition.
21820         * sysdeps/powerpc/math-tests.h: New file.
21821         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21822         tests.
21823         * math/test-snan.c (TEST_FUNC): Likewise.
21824
21825 2013-03-30  David S. Miller  <davem@davemloft.net>
21826
21827         * po/de.po: Update from translation team.
21828
21829 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21830
21831         [BZ #10357]
21832         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21833         imaginary part less than 1.0 and real part less than 0.5
21834         specially.
21835         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21836         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21837         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21838         (cacos_test): Add more tests.
21839         (casin_test): Likewise.
21840         (casinh_test): Likewise.
21841         * sysdeps/i386/fpu/libm-test-ulps: Update.
21842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21843
21844 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21845
21846         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21847         ONE with its value.
21848
21849         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21850         (__pow_mp): Replace ONE and MONE with their values.
21851         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21852         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21853         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21854         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21855         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21856         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21857
21858         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21859
21860         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21861         (__pow_mp): Replace ZERO and MZERO with their values.
21862         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21863         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21864         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21866         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21867         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21868         (__sqr): Likewise.
21869
21870         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21871
21872         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21873
21874 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21875
21876         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21877         Declare with __attribute__ ((weak)).
21878         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21879         Call __call_tls_dtors only if it's not NULL.
21880
21881 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21882
21883         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21884         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21885         magic __ehdr_start linker symbol if it's defined.
21886         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21887         them up here if it was already done.
21888
21889         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21890         (_dl_aux_init): Use const in cast when setting it.
21891         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21892         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21893         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21894
21895         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21896         Declare them here.
21897         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21898         * csu/libc-tls.c: Nor here.
21899         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21900
21901         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21902         (__libc_message): Never call vsyslog.
21903
21904 2013-03-28  Alan Modra  <amodra@gmail.com>
21905
21906         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21907         Define as empty.
21908         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21909         Likewise.
21910
21911 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21912
21913         [BZ #15214]
21914         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21915         underflow.
21916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21917
21918 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21919
21920         [BZ #15304]
21921         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21922         Don't add gid passed as argument.
21923
21924         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21925
21926 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21927
21928         [BZ #15307]
21929         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21930         imaginary part between 1.0 and 1.5 and real part less than 0.5
21931         specially.
21932         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21933         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21934         * math/libm-test.inc (cacos_test): Add more tests.
21935         (casin_test): Likewise.
21936         (casinh_test): Likewise.
21937         * sysdeps/i386/fpu/libm-test-ulps: Update.
21938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21939
21940 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21941
21942         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21943         constants.
21944         (norm): Likewise.
21945         (denorm): Likewise.
21946         (__dbl_mp): Likewise.
21947         (add_magnitudes): Likewise.
21948         (sub_magnitudes): Likewise.
21949         (__add): Likewise.
21950         (__sub): Likewise.
21951         (__mul): Likewise.
21952         (__sqr): Likewise.
21953         (__inv): Likewise.
21954         (__dvd): Likewise.
21955
21956         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21957         commented code.
21958         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21959         (__dubcos): Likewise.
21960         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21961         (__ieee754_acos): Likewise.
21962         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21963         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21964         (__exp1): Likewise.
21965         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21966         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21967         (log1): Likewise.
21968         (my_log2): Likewise.
21969         (checkint): Likewise.
21970         * sysdeps/ieee754/dbl-64/e_remainder.c
21971         (__ieee754_remainder): Likewise.
21972         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21973         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21974         (bsloww): Likewise.
21975         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21976
21977         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21978         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21979         MANTISSA_STORE_T to store computations on mantissa.  Use
21980         macros for rounding and division.
21981         (denorm): Likewise.
21982         (__dbl_mp): Likewise.
21983         (add_magnitudes): Likewise.
21984         (sub_magnitudes): Likewise.
21985         (__mul): Likewise.
21986         (__sqr): Likewise.
21987         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21988         powers of two in terms of TWOPOW macro.
21989         (mp_no): Make type of mantissa as MANTISSA_T.
21990         [!RADIXI]: Define RADIXI.
21991         [!TWO52]: Define TWO52.
21992         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21993
21994 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21995
21996         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21997         llroundl symbol when building for PPC32.
21998
21999 2013-03-24  Mark H Weaver  <mhw@netris.org>
22000
22001         * manual/arith.texi (Normalization Functions): Fix prototypes for
22002         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22003
22004 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22005
22006         [BZ #13889]
22007         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22008         high value to check if expl overflow.
22009         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22010         to check for underflow and overflow.
22011         * math/libm-test.inc: Add exp test.
22012
22013 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22014
22015         [BZ #11120]
22016         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22017         with NOT_IN_libc.
22018
22019 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22020
22021         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22022         symbol.
22023
22024 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22025
22026         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22027         wrap blocks consisting of several statements.
22028
22029         * sysdeps/generic/math-tests.h: New file.
22030         * sysdeps/i386/fpu/math-tests.h: Likewise.
22031         * math/test-snan.c: Include it.
22032         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22033
22034 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22035
22036         [BZ #15285]
22037         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22038         (__ieee754_j0l): Do not improve calculations using cos of twice
22039         input for inputs above LDBL_MAX / 2.0L.
22040         (__ieee754_y0l): Likewise.
22041         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22042         (__ieee754_j1l): Do not improve calculations using cos of twice
22043         input for inputs above LDBL_MAX / 2.0L.
22044         (__ieee754_y1l): Likewise.
22045         * math/libm-test.inc (j0_test): Add another test.
22046         (j1_test): Likewise.
22047         (y0_test): Likewise.
22048         (y1_test): Likewise.
22049         * sysdeps/i386/fpu/libm-test-ulps: Update.
22050
22051 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22052
22053         * Rules ($(objpfx)bench-%.c): Include code from a C source
22054         file.
22055
22056 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22057
22058         [BZ #15287]
22059         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22060         imaginary part 1.0 and real part less than 0.5 specially.
22061         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22062         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22063         * math/libm-test.inc (cacos_test): Add more tests.
22064         (casin_test): Likewise.
22065         (casinh_test): Likewise.
22066         * sysdeps/i386/fpu/libm-test-ulps: Update.
22067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22068
22069 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22070
22071         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22072         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22073
22074 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22075
22076         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22077         * config.make.in (config-cflags-sse4): Remove variable.
22078         (config-cflags-avx): Likewise.
22079         (config-cflags-sse2avx): Likewise.
22080         (config-cflags-novzeroupper): Likewise.
22081         (config-asflags-i686): Likewise.
22082         (have-mfma4): Likewise.
22083         (have-as-vis3): Likewise.
22084         (MIG): Likewise.
22085         * configure.in (MIG): Do not AC_SUBST.
22086         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22087         (libc_cv_cc_sse4): Do not AC_SUBST.
22088         (libc_cv_cc_avx): Likewise.
22089         (libc_cv_cc_sse2avx): Likewise.
22090         (libc_cv_cc_novzeroupper): Likewise.
22091         (libc_cv_cc_fma4): Likewise.
22092         (libc_cv_as_i686): Likewise.
22093         (libc_cv_sparc_as_vis3): Likewise.
22094         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22095         LIBC_CONFIG_VAR.
22096         (config-asflags-i686): Likewise.
22097         (config-cflags-avx): Likewise.
22098         (config-cflags-sse2avx): Likewise.
22099         (have-mfma4): Likewise.
22100         (config-cflags-novzeroupper): Likewise.
22101         * sysdeps/mach/configure.in (MIG): Likewise.
22102         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22103         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22104         LIBC_CONFIG_VAR.
22105         (config-cflags-avx): Likewise.
22106         (config-cflags-sse2avx): Likewise.
22107         (have-mfma4): Likewise.
22108         (config-cflags-novzeroupper): Likewise.
22109         * configure: Regenerated.
22110         * sysdeps/i386/configure: Likewise.
22111         * sysdeps/mach/configure: Likewise.
22112         * sysdeps/sparc/configure: Likewise.
22113         * sysdeps/x86_64/configure: Likewise.
22114
22115 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22116
22117         [BZ #14812]
22118         * locale/programs/localedef.c (options): Put N_ translation marker
22119         on argument names, not just descriptions.
22120
22121 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22122
22123         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22124
22125 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22126
22127         [BZ #14176]
22128         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22129
22130 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22131
22132         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22133         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22134         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22135         [!BEFORE_ABORT] (before_abort): New function.
22136         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22137         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22138         (writev_for_fatal): New function.
22139         (WRITEV_FOR_FATAL): New macro; call that.
22140         (backtrace_and_maps): New function.
22141         (BEFORE_ABORT): New macro; call that.
22142         (struct str_list): Type removed.
22143         (__libc_message, __libc_fatal): Functions removed.
22144         Include <sysdeps/posix/libc_fatal.c> instead.
22145
22146 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22147
22148         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22149         constants.
22150         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22151         double constants.
22152
22153 2013-03-19  Andreas Schwab  <schwab@suse.de>
22154
22155         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22156         * sysdeps/gnu/configure: Regenerate.
22157
22158         * configure.in: Substitute libc_cv_rtlddir.
22159         * configure: Regenerate.
22160         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22161         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22162         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22163         * elf/Makefile (install-others, CFLAGS-interp.c)
22164         (ldso_install, common-ldd-rewrite): Likewise.
22165         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22166         $(inst_slibdir)/$(rtld-installed-name).
22167         * scripts/rellns-sh: Add -p option.
22168         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22169         for source.
22170
22171 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22172
22173         * manual/nptl.texi: Renamed to ...
22174         * manual/threads.texi: ... this.
22175         * manual/Makefile (chapters): Update.
22176
22177 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22178
22179         [BZ #14812]
22180         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22181         on argument names, not just descriptions.
22182         * malloc/memusagestat.c (options): Likewise.
22183         * nss/getent.c (options): Likewise.
22184
22185 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22186
22187         [BZ #14812]
22188         * iconv/iconv_prog.c (options): Put N_ translation marker
22189         on argument names, not just descriptions.
22190         * iconv/iconvconfig.c (options): Likewise.
22191
22192 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22193
22194         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22195         implementation which is faster on all x86_64 architectures.
22196         Tested on AMD, Intel Nehalem, SNB, IVB.
22197         * sysdeps/x86_64/strnlen.S: Likewise.
22198
22199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22200         Remove all multiarch strlen and strnlen versions.
22201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22202         Remove strlen and strnlen related parts.
22203
22204         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22205         Inline strlen part.
22206         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22207
22208         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22209         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22210         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22211         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22212         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22213         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22214
22215 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22216
22217         * manual/memory.texi (Malloc Tunable Parameters):
22218         Sort parameters alphabetically. Add comments for missing entries.
22219
22220 2013-03-17  David S. Miller  <davem@davemloft.net>
22221
22222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22223
22224 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22225
22226         [BZ #15283]
22227         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22228         for arguments at most half maximum finite value.
22229         * math/libm-test.inc (j0_test): Add more tests.
22230         (j1_test): Likewise.
22231         (y0_test): Likewise.
22232         (y1_test): Likewise.
22233         * sysdeps/i386/fpu/libm-test-ulps: Update.
22234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22235
22236         [BZ #14155]
22237         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22238         1 / x and functions P and Q for arguments above 0x1p256L.
22239         (__ieee754_y0l): Likewise.
22240         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22241         (__ieee754_y1l): Likewise.
22242         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22243         (j1_test): Likewise.
22244         (y0_test): Likewise.
22245         (y1_test): Likewise.
22246
22247 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22248
22249         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22250         variable.
22251
22252 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22253
22254         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22255         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22256         zero since it's initialized to EXEC_PAGESIZE.
22257
22258         * sysdeps/unix/sysv/linux/ldsodefs.h
22259         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22260         * sysdeps/generic/ldsodefs.h: ... here.
22261
22262 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22263
22264         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22265
22266         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22267         math/test-snan.c.
22268         * math/test-snan.c: Renamed from
22269         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22270         * math/Makefile (tests): Add test-snan.
22271         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22272         test-powerpc-snan.
22273
22274         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22275         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22276         functions.
22277         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22278         __builtin_nan family of functions.
22279         * math/libm-test.inc (initialize): Initialize qnan_value with
22280         __builtin_nan family of functions.
22281         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22282         Remove variables.
22283         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22284         Remove functions.
22285         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22286         storage class.  Initialize qNaN_var and sNaN_var with
22287         __builtin_nan and __builtin_nans families of functions,
22288         respectively.
22289
22290         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22291         (sqrt_test): Remove duplicate test with qNaN input.
22292         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22293         (round_test, signbit_test, significand_test): Note missing +/-Inf
22294         as well as qNaN tests.
22295
22296         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22297         qNaN_var.  Fix a few strings, too.
22298         * math/libm-test.inc (nan_value): Rename to qnan_value.
22299         * math/gen-libm-test.pl (%beautify): Adjust to that.
22300         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22301         * math/test-misc.c (main): Likewise.
22302         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22303         to __qnan_bytes, and __qnan_union, respectively.
22304         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22305         Likewise.
22306         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22307         and lqnanval, respectively.
22308         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22309         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22310         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22311         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22312
22313         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22314         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22315         doubles.
22316
22317         * math/test-misc.c (main): Fix copy'n'pastos.
22318         * misc/tst-efgcvt.c (special): Likewise.
22319
22320         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22321         Remove declarations.
22322
22323 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22324
22325         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22326         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22327         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22328         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22329
22330 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22331
22332         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22333         macro to return vdso values correctly in IFUNC implementations.
22334         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22335         Optimization by using IFUNC.
22336
22337 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22338             Richard Henderson  <rth@redhat.com>
22339             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22340
22341         * Makefile.in (bench): New target.
22342         * NEWS: Mention the benchmark framework.
22343         * Rules (bench): Likewise.
22344         (binaries-bench): Generate binaries for functions to
22345         benchmark.
22346         * benchtests/Makefile: New makefile for benchmark tests.
22347         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22348         programs.
22349         * benchtests/exp-inputs: New input file for EXP function.
22350         * benchtests/pow-inputs: New input file for POW function.
22351         * scripts/bench.pl: New script to generate source files for
22352         benchmark programs.
22353
22354 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22355
22356         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22357         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22358         computations on mantissa.  Use macros for rounding and
22359         division.
22360         (denorm): Likewise.
22361         (__dbl_mp): Likewise.
22362         (add_magnitudes): Likewise.
22363         (sub_magnitudes): Likewise.
22364         (__mul): Likewise.
22365         (__sqr): Likewise.
22366         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22367         powers of two in terms of TWOPOW macro.
22368         (mp_no): Make type of mantissa as MANTISSA_T.
22369         [!RADIXI]: Define RADIXI.
22370         [!TWO52]: Define TWO52.
22371         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22372
22373         * manual/nptl.texi (cindex): Modify threads to pthreads.
22374
22375 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22376
22377         * sysdeps/x86_64/preconfigure: Regenerated.
22378
22379 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22380
22381         [BZ #14155]
22382         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22383         0x1p28 and above.
22384         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22385         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22386         0x1p28 and above.
22387         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22388         * math/libm-test.inc (j0_test): Do not allow one spurious
22389         underflow exception.
22390         (y1_test): Likewise.
22391
22392 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22393
22394         * manual/Makefile (chapters): Add nptl.
22395         * manual/debug.texi (Debugging Support): Add link to Threads
22396         chapter.
22397         * manual/nptl.texi: New file.
22398
22399         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22400
22401 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22402
22403         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22404         for non-NULL pointer before the memory validity test. Pointed
22405         out by Holger Brunck <holger.brunck@keymile.com>.
22406
22407 2013-03-13  Andreas Schwab  <schwab@suse.de>
22408
22409         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22410         instead of .os.
22411
22412 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22413
22414         * timezone/zic.c: Update from tzcode 2013b.
22415
22416 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22417
22418         * manual/install.texi (Configuring and compiling):
22419         Mention i686 and i586.
22420         * INSTALL: Regenerate.
22421
22422 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22423
22424         * sysdeps/init_array/elf-init.c: New file.
22425         * csu/elf-init.c
22426         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22427         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22428
22429         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22430         __gmon_start__ as global, but as static with a .preinit_array pointer.
22431         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22432         * sysdeps/init_array/crti.S: New file, empty except for comments.
22433         * sysdeps/init_array/crtn.S: Likewise.
22434
22435 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22436
22437         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22438         definining bcopy.
22439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22440         Remove Prefer_SSE_for_memop.
22441         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22442         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22443         HAS_PREFER_SSE_FOR_MEMOP.
22444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22445         memset-x86-64.
22446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22447         Remove bzero, memset ifunc support.
22448         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22449         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22450         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22451         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22452
22453 2013-03-11  Andreas Schwab  <schwab@suse.de>
22454
22455         [BZ #15234]
22456         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22457         by SHLIB_COMPAT.
22458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22459         (GLIBC_2.16): Remove pthread_atfork.
22460
22461 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22462
22463         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22464         (ptestcases.h): Likewise.
22465
22466 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22467
22468         * Makeconfig ($(common-objpfx)config.status): Depend on
22469         sysdeps/*/preconfigure{,.in} too.
22470
22471 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22472
22473         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22474         (__free_hook): Use void * instead of __malloc_ptr_t.
22475         (__malloc_hook): Likewise.
22476         (__realloc_hook): Likewise.
22477         (__memalign_hook): Likewise.
22478         (__after_morecore_hook): Likewise.
22479         * malloc/arena.c (save_malloc_hook): Likewise.
22480         (save_free_hook): Likewise.
22481         * malloc/hooks.c (malloc_hook_ini): Likewise.
22482         (realloc_hook_ini): Likewise.
22483         (memalign_hook_ini): Likewise.
22484         * malloc/malloc.c (malloc_hook_ini): Likewise.
22485         (realloc_hook_ini): Likewise.
22486         (memalign_hook_ini): Likewise.
22487         (__free_hook): Likewise.
22488         (__malloc_hook): Likewise.
22489         (__realloc_hook): Likewise.
22490         (__memalign_hook): Likewise.
22491         (__libc_malloc): Likewise.
22492         (__libc_free): Likewise.
22493         (__libc_realloc): Likewise.
22494         (__libc_memalign): Likewise.
22495         (__libc_valloc): Likewise.
22496         (__libc_pvalloc): Likewise.
22497         (__libc_calloc): Likewise.
22498         (__posix_memalign): Likewise.
22499         * malloc/morecore.c (__sbrk): Likewise.
22500         (__default_morecore): Likewise.
22501
22502         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22503
22504         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22505         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22506         __malloc_ptrdiff_t.
22507
22508         * malloc/malloc.h (__malloc_size_t): Remove macro.
22509         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22510         __malloc_size_t.
22511         (old_memalign_hook): Likewise.
22512         (old_realloc_hook): Likewise.
22513         (struct hdr): Likewise.
22514         (flood): Likewise.
22515         (mallochook): Likewise.
22516         (memalignhook): Likewise.
22517         (reallochook): Likewise.
22518         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22519         (tr_old_realloc_hook): Likewise.
22520         (tr_old_memalign_hook): Likewise.
22521         (tr_mallochook): Likewise.
22522         (tr_reallochook): Likewise.
22523         (tr_memalignhook): Likewise.
22524
22525 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22526
22527         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22528         default_ldbl_pack and using as default implementation.
22529         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22530         implementation.
22531         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22532         redundant definition.
22533         (ldbl_insert_mantissa): Likewise.
22534         (ldbl_canonicalize): Likewise.
22535         (ldbl_nearbyint): Likewise.
22536         (ldbl_pack): Rename to ldbl_pack_ppc.
22537         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22538         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22539         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22540
22541 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22542
22543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22544         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22545         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22546         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22548         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22549         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22550         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22551
22552 2013-03-07  Andreas Jaeger  <aj@suse.de>
22553
22554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22555         bits/mman-linux.h.
22556
22557 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22558
22559         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22560         Include mpa.h and declare __MPEXP.
22561         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22562         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22563         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22564         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22565         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22566         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22567         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22568
22569         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22570         (__slowpow): Use long double EXPL and LOGL functions to
22571         compute POW.
22572         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22573         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22574         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22575         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22576         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22577         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22578
22579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22580         intermediate variable to calculate exponent.
22581         (__sqr): Likewise.
22582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22583         Likewise.
22584         (__sqr): Likewise.
22585
22586         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22587         [!NO__SQR]: Define __sqr.
22588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22589         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22590         sysdeps/ieee754/dbl-64/mpa.c.
22591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22592
22593         [BZ #12723]
22594         * posix/Makefile (tests): Add tst-pathconf.
22595         * posix/tst-pathconf.c: New test case.
22596         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22597         _PC_PIPE_BUF.
22598         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22599
22600 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22601
22602         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22603
22604 2013-03-06  Andreas Jaeger  <aj@suse.de>
22605
22606         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22607         definition via __MAP_ANONYMOUS.
22608
22609         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22610         it's not part of Linux headers.
22611
22612         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22613         (MAP_HUGE_MASK): Define.
22614
22615         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22616         Define.
22617         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22618         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22619         Define.
22620         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22621         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22622         Define.
22623         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22624         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22625         Define.
22626         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22627
22628         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22629         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22630         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22631         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22632         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22633         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22634
22635         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22636         Handle f2fs.
22637
22638         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22639         Handle f2fs and efivarfs.
22640
22641         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22642         f2fs.
22643
22644         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22645         (EFIVARFS_MAGIC): Add.
22646         (F2FS_LINK_MAX): Add.
22647
22648 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22649
22650         * stdio-common/vfprintf.c: Replace __builtin_expect with
22651         __glibc_unlikely.
22652
22653 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22654
22655         [BZ #13550]
22656         * sysdeps/generic/bp-sym.h: Remove file.
22657         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22658         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22659         <bp-sym.h> and <bp-asm.h>.
22660         (__longjmp): Don't use BP_SYM.
22661         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22662         and <bp-asm.h>.
22663         (memcpy): Don't use BP_SYM.
22664         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22665         <bp-sym.h> and <bp-asm.h>.
22666         (memcpy): Don't use BP_SYM.
22667         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22668         <bp-asm.h>.
22669         (memcpy): Don't use BP_SYM.
22670         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22671         <bp-asm.h>.
22672         (memset): Don't use BP_SYM.
22673         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22674         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22675         (__bzero): Don't use BP_SYM.
22676         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22677         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22678         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22679         <bp-sym.h> and <bp-asm.h>.
22680         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22681         pointers.
22682         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22683         <bp-sym.h> and <bp-asm.h>.
22684         (memcpy): Don't use BP_SYM.
22685         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22686         <bp-sym.h> and <bp-asm.h>.
22687         (memset): Don't use BP_SYM.
22688         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22689         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22690         (__bzero): Don't use BP_SYM.
22691         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22692         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22693         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22694         <bp-sym.h> and <bp-asm.h>.
22695         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22696         pointers.
22697         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22698         <bp-sym.h> and <bp-asm.h>.
22699         (memcpy): Don't use BP_SYM.
22700         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22701         <bp-sym.h> and <bp-asm.h>.
22702         (memset): Don't use BP_SYM.
22703         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22704         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22705         (__bzero): Don't use BP_SYM.
22706         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22707         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22708         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22709         <bp-sym.h> and <bp-asm.h>.
22710         (__memchr): Don't use BP_SYM.
22711         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22712         <bp-sym.h> and <bp-asm.h>.
22713         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22714         pointers.
22715         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22716         <bp-sym.h> and <bp-asm.h>.
22717         (memcpy): Don't use BP_SYM.
22718         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22719         <bp-sym.h> and <bp-asm.h>.
22720         (__mempcpy): Don't use BP_SYM.
22721         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22722         <bp-sym.h> and <bp-asm.h>.
22723         (__memrchr): Don't use BP_SYM.
22724         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22725         <bp-sym.h> and <bp-asm.h>.
22726         (memset): Don't use BP_SYM.
22727         (__bzero): Likewise.
22728         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22729         <bp-sym.h> and <bp-asm.h>.
22730         (__rawmemchr): Don't use BP_SYM.
22731         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22732         <bp-sym.h> and <bp-asm.h>.
22733         (__STRCMP): Don't use BP_SYM.
22734         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22735         <bp-sym.h> and <bp-asm.h>.
22736         (strchr): Don't use BP_SYM.
22737         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22738         <bp-sym.h> and <bp-asm.h>.
22739         (__strchrnul): Don't use BP_SYM.
22740         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22741         <bp-sym.h> and <bp-asm.h>.
22742         (strlen): Don't use BP_SYM.
22743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22744         <bp-sym.h> and <bp-asm.h>.
22745         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22746         pointers.
22747         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22748         <bp-sym.h> and <bp-asm.h>.
22749         (__strnlen): Don't use BP_SYM.
22750         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22751         <bp-sym.h> and <bp-asm.h>.
22752         (__GI__setjmp): Don't use BP_SYM.
22753         (_setjmp): Likewise.
22754         (__sigsetjmp): Likewise.
22755         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22756         (L(start_addresses)): Don't use BP_SYM.
22757         (_start): Likewise.
22758         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22759         <bp-asm.h>.
22760         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22761         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22762         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22763         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22764         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22765         <bp-asm.h>.
22766         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22767         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22768         about bounded pointers.
22769         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22770         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22771         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22772         <bp-asm.h>.
22773         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22774         about bounded pointers.  Remove GKM FIXME comments.
22775         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22776         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22777         <bp-asm.h>.
22778         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22779         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22780         Remove GKM FIXME comments.
22781         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22782         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22783         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22784         <bp-asm.h>.
22785         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22786         about bounded pointers.  Remove GKM FIXME comment.
22787         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22788         and <bp-asm.h>.
22789         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22790         pointers.
22791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22792         <bp-sym.h> and <bp-asm.h>.
22793         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22795         <bp-sym.h> and <bp-asm.h>.
22796         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22797         comment.
22798
22799 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22800
22801         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22802         call free(NULL).
22803
22804 2013-03-05  David S. Miller  <davem@davemloft.net>
22805
22806         * po/es.po: Update from translation team.
22807
22808 2013-03-05  Andreas Jaeger  <aj@suse.de>
22809
22810         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22811         <bits/mman-linux.h>.
22812         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22813         is fine.
22814         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22815         <bits/mman-linux.h> to end of file.
22816         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22817         is fine.
22818         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22819         <bits/mman-linux.h> to end of file.
22820         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22821         is fine.
22822         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22823         <bits/mman-linux.h> to end of file.
22824
22825         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22826         (MCL_CURRENT, MCL_FUTURE): Define here.
22827
22828 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22829
22830         [BZ #15232]
22831         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22832         attribute_hidden.
22833         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22834
22835 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22836
22837         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22838         fourth parameter needed for rt_sigprocmask syscall.
22839         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22840         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22841         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22842         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22843         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22844         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22845
22846 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22847
22848         [BZ #13550]
22849         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22850         comment about bounded pointers.
22851         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22852         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22853
22854 2013-03-04  Andreas Jaeger  <aj@suse.de>
22855
22856         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22857         common definitions.
22858
22859         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22860         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22861         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22862         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22863         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22864         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22865
22866 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22867
22868         [BZ #15055]
22869         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22870         __ieee754_sqrl instead of __sqrl.
22871
22872 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22873
22874         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22875         * sysdeps/powerpc/fpu_control.h: ... here.
22876         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22877         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22878         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22879         * sysdeps/powerpc/bits/mathinline.h: ... here.
22880
22881 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22882
22883         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22884         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22885         to just [NEED_DL_SYSINFO_DSO].
22886         * elf/dl-support.c: Likewise.
22887         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22888         * elf/rtld.c (dl_main): Likewise.
22889         * elf/setup-vdso.h (setup_vdso): Likewise.
22890         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22891         * sysdeps/unix/sysv/linux/dl-sysdep.c
22892         (_dl_discover_osversion): Likewise.
22893
22894 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22895
22896         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22897         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22898
22899 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22900
22901         * NEWS: Mention libm performance improvements and non-x86 PI
22902         futex support.
22903
22904         * csu/libc-start.c (__pthread_initialize_minimal): Change
22905         function arguments.
22906         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22907
22908 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22909
22910         [BZ #13550]
22911         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22912         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22913         <bp-sym.h> and <bp-asm.h>.
22914         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22915         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22916         and <bp-asm.h>.
22917         (memcpy): Don't use BP_SYM.
22918         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22919         <bp-asm.h>.
22920         (__mpn_add_n): Don't use BP_SYM.
22921         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22922         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22923         and <bp-asm.h>.
22924         (__mpn_addmul_1): Don't use BP_SYM.
22925         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22926         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22927         <bp-sym.h>.
22928         (_setjmp): Don't use BP_SYM.
22929         (__novmx_setjmp): Likewise.
22930         (__GI__setjmp): Likewise.
22931         (__vmx_setjmp): Likewise.
22932         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22933         <bp-sym.h>.
22934         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22935         (__bzero): Don't use BP_SYM.
22936         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22937         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22938         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22939         <bp-sym.h> and <bp-asm.h>.
22940         (memcpy): Don't use BP_SYM.
22941         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22942         <bp-sym.h> and <bp-asm.h>.
22943         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22944         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22945         <bp-sym.h> and <bp-asm.h>.
22946         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22947         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22948         <bp-asm.h>.
22949         (__mpn_lshift): Don't use BP_SYM.
22950         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22951         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22952         <bp-asm.h>.
22953         (memset): Don't use BP_SYM.
22954         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22955         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22956         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22957         <bp-asm.h>.
22958         (__mpn_mul_1): Don't use BP_SYM.
22959         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22960         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22961         <bp-sym.h> and <bp-asm.h>.
22962         (memcmp): Don't use BP_SYM.
22963         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22964         <bp-sym.h> and <bp-asm.h>.
22965         (memcpy): Don't use BP_SYM.
22966         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22967         <bp-sym.h> and <bp-asm.h>.
22968         (memset): Don't use BP_SYM.
22969         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22970         <bp-sym.h> and <bp-asm.h>.
22971         (strncmp): Don't use BP_SYM.
22972         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22973         <bp-sym.h> and <bp-asm.h>.
22974         (memcpy): Don't use BP_SYM.
22975         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22976         <bp-sym.h> and <bp-asm.h>.
22977         (memset): Don't use BP_SYM.
22978         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22979         <bp-sym.h> and <bp-asm.h>.
22980         (__memchr): Don't use BP_SYM.
22981         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22982         <bp-sym.h> and <bp-asm.h>.
22983         (memcmp): Don't use BP_SYM.
22984         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22985         <bp-sym.h> and <bp-asm.h>.
22986         (memcpy): Don't use BP_SYM.
22987         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22988         <bp-sym.h> and <bp-asm.h>.
22989         (__mempcpy): Don't use BP_SYM.
22990         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22991         <bp-sym.h> and <bp-asm.h>.
22992         (__memrchr): Don't use BP_SYM.
22993         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22994         <bp-sym.h> and <bp-asm.h>.
22995         (memset): Don't use BP_SYM.
22996         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22997         <bp-sym.h> and <bp-asm.h>.
22998         (__rawmemchr): Don't use BP_SYM.
22999         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23000         <bp-sym.h> and <bp-asm.h>.
23001         (__STRCMP): Don't use BP_SYM.
23002         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23003         <bp-sym.h> and <bp-asm.h>.
23004         (strchr): Don't use BP_SYM.
23005         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23006         <bp-sym.h> and <bp-asm.h>.
23007         (__strchrnul): Don't use BP_SYM.
23008         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23009         <bp-sym.h> and <bp-asm.h>.
23010         (strlen): Don't use BP_SYM.
23011         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23012         <bp-sym.h> and <bp-asm.h>.
23013         (strncmp): Don't use BP_SYM.
23014         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23015         <bp-sym.h> and <bp-asm.h>.
23016         (__strnlen): Don't use BP_SYM.
23017         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23018         <bp-asm.h>.
23019         (__mpn_rshift): Don't use BP_SYM.
23020         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23021         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23022         <bp-sym.h> and <bp-asm.h>.
23023         (__sigsetjmp): Don't use BP_SYM.
23024         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23025         (L(start_addresses)): Don't use BP_SYM.
23026         (_start): Likewise.
23027         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23028         <bp-asm.h>.
23029         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23030         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23031         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23032         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23033         <bp-asm.h>.
23034         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23035         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23036         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23037         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23038         <bp-asm.h>.
23039         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23040         comments.
23041         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23042         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23043         <bp-asm.h>.
23044         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23045         FIXME comments.
23046         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23047         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23048         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23049         <bp-asm.h>.
23050         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23051         comment.
23052         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23053         and <bp-asm.h>.
23054         (strncmp): Don't use BP_SYM,
23055         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23056         <bp-asm.h>.
23057         (__mpn_sub_n): Don't use BP_SYM.
23058         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23059         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23060         and <bp-asm.h>.
23061         (__mpn_submul_1): Don't use BP_SYM.
23062         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23064         <bp-sym.h> and <bp-asm.h>.
23065         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23067         <bp-sym.h> and <bp-asm.h>.
23068         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23069         comment.
23070
23071 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23072
23073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23074         Use ZK to minimize writes to Z.
23075         (sub_magnitudes): Simplify code a bit.
23076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23077         Use ZK to minimize writes to Z.
23078         (sub_magnitudes): Simplify code a bit.
23079
23080 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23081
23082         * csu/gmon-start.c: Add special exception to license text.
23083
23084 2013-02-27  Richard Henderson  <rth@redhat.com>
23085
23086         * scripts/config.guess: Update from config.git.
23087         * scripts/config.sub: Likewise.
23088
23089 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23090
23091         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23092
23093         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23094
23095         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23096
23097         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23098
23099         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23100
23101 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23102
23103         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23104         [$(build-shared = yes].
23105
23106 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23107
23108         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23109         (__mul): Reduce iterations for calculating mantissa.
23110
23111         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23112         MPTWO.
23113         (__mpranred): Likewise.
23114
23115         [BZ #15160]
23116         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23117         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23118
23119 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23120
23121         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23122         Define __attribute__.
23123
23124 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23125
23126         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23127         unused.
23128         * posix/regex_internal.h (__attribute): Remove.
23129         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23130         (re_string_context_at): Likewise.
23131         (bitset_not): Use __attribute__ and mark function as possibly
23132         unused.
23133         (bitset_merge): Likewise.
23134         (bitset_mask): Likewise.
23135         (re_string_char_size_at): Likewise.
23136         (re_string_wchar_at): Likewise.
23137         (re_string_elem_size_at): Likewise.
23138
23139 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23140
23141         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23142         code.
23143         (cc32): Likewise.
23144
23145         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23146         (__acr): Likewise.
23147         (__cpy): Likewise.
23148         (norm): Likewise.
23149         (denorm): Likewise.
23150         (__dbl_mp): Likewise.
23151         (add_magnitudes): Likewise.
23152         (sub_magnitudes): Likewise.
23153         (__mul): Likewise.
23154         (__inv): Likewise.
23155
23156         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23157         style.
23158
23159         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23160         style.
23161
23162         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23163         code.
23164
23165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23166         up changes with default code.
23167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23168         Likewise.
23169
23170 2013-02-24  Allan McRae  <allan@archlinux.org>
23171
23172         * manual/socket.texi (The Internet Namespace): Order menu items
23173         to match that in the file.
23174
23175         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23176         node listing of the info page menu.
23177
23178 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23179
23180         [BZ #13550]
23181         * sysdeps/i386/bp-asm.h: Remove file.
23182         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23183         (PARMS): Do not use macros from bp-asm.h.
23184         (S1): Likewise.
23185         (S2): Likewise.
23186         (SIZE): Likewise.
23187         (__mpn_add_n): Do not use BP_SYM
23188         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23189         "bp-asm.h".
23190         (PARMS): Do not use macros from bp-asm.h.
23191         (S1): Likewise.
23192         (SIZE): Likewise.
23193         (__mpn_addmul_1): Do not use BP_SYM
23194         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23195         "bp-asm.h".
23196         (PARMS): Do not use macros from bp-asm.h.
23197         (SIGMSK): Likewise.
23198         (_setjmp): Likewise.  Do not use BP_SYM.
23199         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23200         "bp-asm.h".
23201         (PARMS): Do not use macros from bp-asm.h.
23202         (SIGMSK): Likewise.
23203         (setjmp): Likewise.  Do not use BP_SYM.
23204         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23205         "bp-asm.h".
23206         (PARMS): Do not use macros from bp-asm.h.
23207         (__frexp): Do not use BP_SYM.
23208         (frexp): Likewise.
23209         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23210         "bp-asm.h".
23211         (PARMS): Do not use macros from bp-asm.h.
23212         (__frexpf): Do not use BP_SYM.
23213         (frexpf): Likewise.
23214         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23215         "bp-asm.h".
23216         (PARMS): Do not use macros from bp-asm.h.
23217         (__frexpl): Do not use BP_SYM.
23218         (frexpl): Likewise.
23219         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23220         "bp-asm.h".
23221         (PARMS): Do not use macros from bp-asm.h.
23222         (__remquo): Do not use BP_SYM.
23223         (remquo): Likewise.
23224         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23225         "bp-asm.h".
23226         (PARMS): Do not use macros from bp-asm.h.
23227         (__remquof): Do not use BP_SYM.
23228         (remquof): Likewise.
23229         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23230         "bp-asm.h".
23231         (PARMS): Do not use macros from bp-asm.h.
23232         (__remquol): Do not use BP_SYM.
23233         (remquol): Likewise.
23234         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23235         "bp-asm.h".
23236         (PARMS): Do not use macros from bp-asm.h.
23237         (DEST): Likewise.
23238         (SRC): Likewise.
23239         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23240         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23241         "bp-asm.h".
23242         (PARMS): Do not use macros from bp-asm.h.
23243         (strlen): Do not use BP_SYM.
23244         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23245         "bp-asm.h".
23246         (PARMS): Do not use macros from bp-asm.h.
23247         (S1): Likewise.
23248         (S2): Likewise.
23249         (SIZE): Likewise.
23250         (__mpn_add_n): Do not use BP_SYM.
23251         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23252         "bp-asm.h".
23253         (PARMS): Do not use macros from bp-asm.h.
23254         (S1): Likewise.
23255         (SIZE): Likewise.
23256         (__mpn_addmul_1): Do not use BP_SYM.
23257         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23258         weak_alias.
23259         (bzero): Likewise.
23260         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23261         "bp-asm.h".
23262         (PARMS): Do not use macros from bp-asm.h.
23263         (S): Likewise.
23264         (SIZE): Likewise.
23265         (__mpn_lshift): Do not use BP_SYM.
23266         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23267         "bp-asm.h".
23268         (PARMS): Do not use macros from bp-asm.h.
23269         (DEST): Likewise.
23270         (SRC): Likewise.
23271         (LEN): Likewise.
23272         (memcpy): Likewise.  Do not use BP_SYM.
23273         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23274         libc_hidden_def and weak_alias.
23275         (mempcpy): Do not use BP_SYM in weak_alias.
23276         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23277         "bp-asm.h".
23278         (PARMS): Do not use macros from bp-asm.h.
23279         (DEST): Likewise.
23280         (LEN): Likewise.
23281         [!BZERO_P] (CHR): Likewise.
23282         (memset): Likewise.  Do not use BP_SYM.
23283         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23284         "bp-asm.h".
23285         (PARMS): Do not use macros from bp-asm.h.
23286         (S1): Likewise.
23287         (SIZE): Likewise.
23288         (__mpn_mul_1): Do not use BP_SYM.
23289         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23290         "bp-asm.h".
23291         (PARMS): Do not use macros from bp-asm.h.
23292         (S): Likewise.
23293         (SIZE): Likewise.
23294         (__mpn_rshift): Do not use BP_SYM.
23295         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23296         "bp-asm.h".
23297         (PARMS): Do not use macros from bp-asm.h.
23298         (STR): Likewise.
23299         (CHR): Likewise.
23300         (strchr): Likewise.  Do not use BP_SYM.
23301         (index): Do not use BP_SYM in weak_alias.
23302         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23303         "bp-asm.h".
23304         (PARMS): Do not use macros from bp-asm.h.
23305         (DEST): Likewise.
23306         (SRC): Likewise.
23307         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23308         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23309         "bp-asm.h".
23310         (PARMS): Do not use macros from bp-asm.h.
23311         (strlen): Do not use BP_SYM.
23312         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23313         "bp-asm.h".
23314         (PARMS): Do not use macros from bp-asm.h.
23315         (S1): Likewise.
23316         (S2): Likewise.
23317         (SIZE): Likewise.
23318         (__mpn_sub_n): Do not use BP_SYM.
23319         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23320         "bp-asm.h".
23321         (PARMS): Do not use macros from bp-asm.h.
23322         (S1): Likewise.
23323         (SIZE): Likewise.
23324         (__mpn_submul_1): Do not use BP_SYM.
23325         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23326         "bp-asm.h".
23327         (PARMS): Do not use macros from bp-asm.h.
23328         (S1): Likewise.
23329         (S2): Likewise.
23330         (SIZE): Likewise.
23331         (__mpn_add_n): Do not use BP_SYM.
23332         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23333         weak_alias.
23334         (bzero): Likewise.
23335         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23336         "bp-asm.h".
23337         (PARMS): Do not use macros from bp-asm.h.
23338         (BLK2): Likewise.
23339         (LEN): Likewise.
23340         (memcmp): Do not use BP_SYM.
23341         (bcmp): Do not use BP_SYM in weak_alias.
23342         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23343         "bp-asm.h".
23344         (PARMS): Do not use macros from bp-asm.h.
23345         (DEST): Likewise.
23346         (SRC): Likewise.
23347         (LEN): Likewise.
23348         (memcpy): Likewise.  Do not use BP_SYM.
23349         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23350         "bp-asm.h".
23351         (PARMS): Do not use macros from bp-asm.h.
23352         (DEST): Likewise.
23353         (SRC): Likewise.
23354         (LEN): Likewise.
23355         (memmove): Likewise.  Do not use BP_SYM.
23356         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23357         "bp-asm.h".
23358         (PARMS): Do not use macros from bp-asm.h.
23359         (DEST): Likewise.
23360         (SRC): Likewise.
23361         (LEN): Likewise.
23362         (__mempcpy): Likewise.  Do not use BP_SYM.
23363         (mempcpy): Do not use BP_SYM in weak_alias.
23364         * sysdeps/i386/i686/memset.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         (LEN): Likewise.
23369         [!BZERO_P] (CHR): Likewise.
23370         (memset): Likewise.  Do not use BP_SYM.
23371         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23372         "bp-asm.h".
23373         (PARMS): Do not use macros from bp-asm.h.
23374         (STR2): Likewise.
23375         (strcmp): Do not use BP_SYM.
23376         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23377         "bp-asm.h".
23378         (PARMS): Do not use macros from bp-asm.h.
23379         (STR): Likewise.
23380         (DELIM): Likewise.
23381         [USE_AS_STRTOK_R] (SAVE): Likewise.
23382         (FUNCTION): Likewise.  Do not use BP_SYM.
23383         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23384         aliases.
23385         (strtok_r): Likewise.
23386         (__GI___strtok_r): Likewise.
23387         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23388         (PARMS): Do not use macros from bp-asm.h.
23389         (S): Likewise.
23390         (SIZE): Likewise.
23391         (__mpn_lshift): Do not use BP_SYM.
23392         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23393         (PARMS): Do not use macros from bp-asm.h.
23394         (STR): Likewise.
23395         (CHR): Likewise.
23396         (__memchr): Do not use BP_SYM.
23397         (memchr): Do not use BP_SYM in weak_alias.
23398         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23399         (PARMS): Do not use macros from bp-asm.h.
23400         (BLK2): Likewise.
23401         (LEN): Likewise.
23402         (memcmp): Do not use BP_SYM.
23403         (bcmp): Do not use BP_SYM in weak_alias.
23404         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23405         (PARMS): Do not use macros from bp-asm.h.
23406         (S1): Likewise.
23407         (SIZE): Likewise.
23408         (__mpn_mul_1): Do not use BP_SYM.
23409         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23410         "bp-asm.h".
23411         (PARMS): Do not use macros from bp-asm.h.
23412         (STR): Likewise.
23413         (CHR): Likewise.
23414         (__rawmemchr): Do not use BP_SYM.
23415         (rawmemchr): Do not use BP_SYM in weak_alias.
23416         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23417         (PARMS): Do not use macros from bp-asm.h.
23418         (S): Likewise.
23419         (SIZE): Likewise.
23420         (__mpn_rshift): Do not use BP_SYM.
23421         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23422         (PARMS): Do not use macros from bp-asm.h.
23423         (SIGMSK): Likewise.
23424         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23425         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23426         (_start): Do not use BP_SYM.
23427         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23428         (PARMS): Do not use macros from bp-asm.h.
23429         (DEST): Likewise.
23430         (SRC): Likewise.
23431         (__stpcpy): Likewise.  Do not use BP_SYM.
23432         (stpcpy): Do not use BP_SYM in weak_alias.
23433         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23434         "bp-asm.h".
23435         (PARMS): Do not use macros from bp-asm.h.
23436         (DEST): Likewise.
23437         (SRC): Likewise.
23438         (LEN): Likewise.
23439         (__stpncpy): Likewise.  Do not use BP_SYM.
23440         (stpncpy): Do not use BP_SYM in weak_alias.
23441         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23442         (PARMS): Do not use macros from bp-asm.h.
23443         (STR): Likewise.
23444         (CHR): Likewise.
23445         (strchr): Likewise.  Do not use BP_SYM.
23446         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23447         "bp-asm.h".
23448         (PARMS): Do not use macros from bp-asm.h.
23449         (STR): Likewise.
23450         (CHR): Likewise.
23451         (__strchrnul): Likewise.  Do not use BP_SYM.
23452         (strchrnul): Do not use BP_SYM in weak_alias.
23453         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23454         "bp-asm.h".
23455         (PARMS): Do not use macros from bp-asm.h.
23456         (STOP): Likewise.
23457         (strcspn): Do not use BP_SYM.
23458         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23459         "bp-asm.h".
23460         (PARMS): Do not use macros from bp-asm.h.
23461         (STR): Likewise.
23462         (STOP): Likewise.
23463         (strpbrk): Likewise.  Do not use BP_SYM.
23464         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23465         "bp-asm.h".
23466         (PARMS): Do not use macros from bp-asm.h.
23467         (STR): Likewise.
23468         (CHR): Likewise.
23469         (strrchr): Likewise.  Do not use BP_SYM.
23470         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23471         (PARMS): Do not use macros from bp-asm.h.
23472         (SKIP): Likewise.
23473         (strspn): Do not use BP_SYM.
23474         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23475         (PARMS): Do not use macros from bp-asm.h.
23476         (STR): Likewise.
23477         (DELIM): Likewise.
23478         (SAVE): Likewise.
23479         (FUNCTION): Likewise.  Do not use BP_SYM.
23480         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23481         aliases.
23482         (strtok_r): Likewise.
23483         (__GI___strtok_r): Likewise.
23484         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23485         (PARMS): Do not use macros from bp-asm.h.
23486         (S1): Likewise.
23487         (S2): Likewise.
23488         (SIZE): Likewise.
23489         (__mpn_sub_n): Do not use BP_SYM.
23490         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23491         "bp-asm.h".
23492         (PARMS): Do not use macros from bp-asm.h.
23493         (S1): Likewise.
23494         (SIZE): Likewise.
23495         (__mpn_submul_1): Do not use BP_SYM.
23496         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23497         <bp-sym.h>.
23498         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23499         and <bp-asm.h>.
23500         (PARMS): Do not use macros from bp-asm.h.
23501         (FLAGS): Likewise.
23502         (PTID): Likewise.
23503         (TLS): Likewise.
23504         (CTID): Likewise.
23505         (__clone): Do not use BP_SYM.
23506         (clone): Do not use BP_SYM in weak_alias.
23507         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23508         and <bp-asm.h>.
23509         (PARMS): Do not use macros from bp-asm.h.
23510         (LEN): Likewise.
23511         (__mmap64): Do not use BP_SYM.
23512         (mmap64): Do not use BP_SYM in weak_alias.
23513         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23514         <bp-sym.h> and <bp-asm.h>.
23515         (PARMS): Do not use macros from bp-asm.h.
23516         (__posix_fadvise64_l64): Do not use BP_SYM.
23517         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23518         (PARMS): Do not use macros from bp-asm.h.
23519         (NSOPS): Likewise.
23520         (semtimedop): Do not use BP_SYM.
23521         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23522         and <bp-asm.h>.
23523
23524 2013-02-21  Allan McRae  <allan@archlinux.org>
23525
23526         * manual/message.texi (Charset conversion in gettext):
23527         Move @end statement to beginning of line.
23528
23529 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23530
23531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23532         static.
23533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23534         Likewise.
23535
23536         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23537         (denorm): Likewise.
23538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23540
23541 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23542
23543         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23544         tail-call to the resolved function if pltexit isn't needed.
23545
23546 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23547
23548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23549         or Y being zero as being unlikely.
23550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23551         Likewise.
23552
23553 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23554
23555         * manual/nss.texi (System Databases and Name Service Switch):
23556         Remove frobnicate @pxref.
23557
23558 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23559
23560         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23561         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23562
23563 2013-02-20  Petr Machata  <pmachata@redhat.com>
23564
23565         * elf/elf.h (R_ARM_TARGET1): New macro.
23566         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23567         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23568         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23569         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23570         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23571         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23572         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23573         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23574         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23575         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23576         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23577         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23578         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23579         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23580         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23581         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23582         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23583         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23584         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23585         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23586         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23587         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23588         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23589         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23590         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23591         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23592         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23593         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23594         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23595         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23596         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23597         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23598         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23599         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23600         (R_ARM_THM_GOT_BREL12): Likewise.
23601         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23602         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23603         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23604         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23605         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23606         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23607         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23608         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23609         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23610
23611 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23612
23613         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23614         __attribute_used__ to __attribute__ ((unused)).
23615
23616 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23617
23618         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23619         powerpc mpa.c.
23620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23621         comment formatting.
23622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23623
23624 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23625
23626         [BZ #13550]
23627         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23628         Remove macro.
23629         (ENTER): Remove both macro definitions.
23630         (LEAVE): Likewise.
23631         (CHECK_BOUNDS_LOW): Likewise.
23632         (CHECK_BOUNDS_HIGH): Likewise.
23633         (CHECK_BOUNDS_BOTH): Likewise.
23634         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23635         (RETURN_BOUNDED_POINTER): Likewise.
23636         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23637         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23638         (POP_ERRNO_LOCATION_RETURN): Likewise.
23639         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23640         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23641         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23642         macros.
23643         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23644         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23645         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23646         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23647         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23648         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23649         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23650         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23651         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23652         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23653         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23654         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23655         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23656         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23657         removed macros.
23658         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23659         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23660         macros.
23661         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23662         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23663         * sysdeps/i386/i586/memset.S (memset): Likewise.
23664         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23665         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23666         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23667         macros.
23668         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23669         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23670         Change uses of L(2) to L(out).
23671         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23672         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23673         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23674         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23675         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23676         removed macros.
23677         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23678         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23679         macros.
23680         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23681         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23682         (RETURN): Do not use macro LEAVE.
23683         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23684         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23685         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23686         * sysdeps/i386/i686/memset.S (memset): Likewise.
23687         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23688         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23689         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23690         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23691         Likewise.
23692         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23693         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23694         L(1_2) and L(1_3) into L(1).
23695         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23696         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23697         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23698         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23699         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23700         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23701         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23702         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23703         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23704         macros.
23705         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23706         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23707         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23708         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23709         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23710         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23711         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23712         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23713         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23714         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23715         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23716         * sysdeps/i386/strspn.S (strspn): Likewise.
23717         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23718         conditional code.
23719         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23720         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23721         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23722         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23723         L(1_3) into L(1_1).
23724         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23725         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23726         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23727         macros.
23728         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23729
23730 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23731
23732         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23733         macro.
23734
23735 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23736
23737         * math/atest-exp.c (exp_mpn): Remove ROUND.
23738         * math/atest-exp2.c (exp_mpn): Likewise.
23739         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23740
23741         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23742         * stdlib/tst-tls-atexit-lib.c: Likewise.
23743         * stdlib/tst-tls-atexit.c: Likewise.
23744
23745 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23746
23747         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23748         and __attribute_alloc_size__.
23749
23750 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23751
23752         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23753         __attribute_alloc_size__.
23754         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23755         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23756
23757 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23758
23759         * include/programs/xmalloc.h: New file.
23760         * catgets/gencat.c: Include it.
23761         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23762         * elf/pldd.c: Likewise.
23763         * iconv/iconv_charmap.c: Likewise.
23764         * iconv/iconvconfig.c: Likewise.
23765         * iconv/strtab.c: Likewise.
23766         * locale/programs/locale.c: Likewise.
23767         * locale/programs/localedef.h: Likewise.
23768         * locale/programs/simple-hash.c: Likewise.
23769         * nscd/nscd.h: Likewise.
23770         * nss/makedb.c: Likewise.
23771         * sysdeps/generic/ldconfig.h: Likewise.
23772
23773 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23774
23775         * Versions.def: Add GLIBC_2.18.
23776         * include/link.h (struct link_map): New member l_tls_dtor_count.
23777         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23778         (__call_tls_dtors): Likewise.
23779         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23780         __cxa_thread_atexit_impl.
23781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23782         Likewise.
23783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23784         Likewise.
23785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23786         Likewise.
23787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23788         Likewise.
23789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23791         Likewise.
23792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23793         Likewise.
23794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23796         Likewise.
23797         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23798         (tests): Add test case tst-tls-atexit.
23799         (modules-names): Add shared library for tst-tls-atexit.
23800         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23801         (GLIBC_PRIVATE): Add __call_tls_dtors.
23802         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23803         for libstdc++.
23804         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23805         * stdlib/tst-tls-atexit.c: New test case.
23806         * stdlib/tst-tls-atexit-lib.c: New test case.
23807
23808         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23809
23810         * elf/Versions (ld): Add _dl_find_dso_for_object.
23811         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23812         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23813         (dl_open_worker): Use _dl_find_dso_for_object.
23814         * elf/dl-sym.c (do_sym): Likewise.
23815         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23816
23817 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23818
23819         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23820         Syntactic changes only.
23821         (_dl_runtime_profile): Do a tail-call to the resolved function.
23822
23823 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23824
23825         [BZ #13550]
23826         * sysdeps/x86_64/bp-asm.h: Remove file.
23827         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23828         <bp-sym.h> and <bp-asm.h>.
23829         (__clone): Do not use BP_SYM.
23830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23831         <bp-sym.h> and <bp-asm.h>.
23832         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23833         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23834         "bp-asm.h".
23835         (_setjmp): Do not use BP_SYM.
23836         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23837         "bp-asm.h".
23838         (setjmp): Do not use BP_SYM.
23839         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23840         libc_hidden_def.
23841         (mempcpy): Do not use BP_SYM in weak_alias.
23842         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23843         "bp-asm.h".
23844         (strchr): Do not use BP_SYM.
23845         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23846         "bp-asm.h".
23847         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23848         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23849         (_start): Do not use BP_SYM.
23850         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23851         "bp-asm.h".
23852         (strcat): Do not use BP_SYM.
23853         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23854         "bp-asm.h".
23855         (STRCMP): Do not use BP_SYM.
23856         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23857         "bp-asm.h".
23858         (STRCPY): Do not use BP_SYM.
23859         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23860         "bp-asm.h".
23861         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23862         "bp-asm.h".
23863         (FUNCTION): Do not use BP_SYM.
23864         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23865         weak_alias.
23866         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23867
23868 2013-02-17  Andreas Jaeger  <aj@suse.de>
23869
23870         * time/Versions: Sort entries.
23871         * string/Versions: Likewise.
23872         * resolv/Versions: Likewise.
23873         * posix/Versions: Likewise.
23874         * iconv/Versions: Likewise.
23875         * elf/Versions: Likewise.
23876         * wcsmbs/Versions: Likewise.
23877
23878 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23879
23880         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23881         loop termination condition.
23882
23883         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23884         variable to calculate EZ.
23885         (__sqr): Likewise.
23886
23887         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23888         the lower precision input.
23889
23890 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23891
23892         [BZ #13550]
23893         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23894         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23895         (run-via-rtld-prefix): Do not handle %-bp tests.
23896         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23897         (all-object-suffixes): Remove .ob.
23898         (bppfx): Remove variable.
23899         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23900         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23901         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23902         [$(build-bounded) = yes] (libtype.ob): Likewise.
23903         * Makerules (elide-routines.ob): Remove variable.
23904         (do-tests-clean): Do not handle *-bp.out.
23905         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23906         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23907         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23908         (tests): Do not include $(tests-bp.out).
23909         (xtests): Do not include $(xtests-bp.out).
23910         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23911         [$(build-bounded) = yes] ($(addprefix
23912         $(objpfx),$(binaries-bounded))): Remove rule.
23913         ($(objpfx)%-bp.out): Remove rule.
23914         * config.make.in (build-bounded): Remove variable.
23915         * crypt/Makefile [$(build-bounded) = yes]
23916         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23917         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23918         append to variable.
23919         [$(build-bounded) = yes] (install-lib): Likewise.
23920         [$(build-bounded) = yes] (generated): Likewise.
23921         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23922         Remove rule.
23923         * intl/Makefile [$(build-bounded) = yes]
23924         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23925         * math/Makefile [$(build-bounded) = yes]
23926         ($(tests:%=$(objpfx)%-bp): Likewise.
23927         * misc/Makefile [$(build-bounded) = yes]
23928         ($(objpfx)tst-tsearch-bp): Likewise.
23929         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23930         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23931         Remove dependency.
23932         * string/Makefile (o-objects.ob): Remove variable.
23933         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23934         (CFLAGS-.ob): Remove variable.
23935         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23936         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23937         both definitions of variable.
23938         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23939         (ASFLAGS-.ob): Remove variable.
23940
23941 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23942
23943         [BZ #13550]
23944         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23945         Remove __BOUNDED_POINTERS__ from condition.
23946         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23947         * string/bits/string2.h [!__NO_STRING_INLINES &&
23948         !__BOUNDED_POINTERS__]: Likewise.
23949         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23950         Likewise.
23951         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23952         Remove conditional code.
23953         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23954         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23955         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23956         condition.
23957
23958         [BZ #13550]
23959         * csu/libc-start.c: Do not include <bp-sym.h>.
23960         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23961         * elf/dl-open.c: Do not include <bp-sym.h>.
23962         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23963         * math/fegetenv.c: Do not include <bp-sym.h>.
23964         (fegetenv): Do not use BP_SYM in versioned symbols.
23965         * nptl/sysdeps/pthread/bits/libc-lockP.h
23966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23967         <bp-sym.h>.
23968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23969         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23971         (__pthread_mutex_destroy): Likewise.
23972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23973         (__pthread_mutex_lock): Likewise.
23974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23975         (__pthread_mutex_trylock): Likewise.
23976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23977         (__pthread_mutex_unlock): Likewise.
23978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23979         (__pthread_mutexattr_init): Likewise.
23980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23981         (__pthread_mutexattr_destroy): Likewise.
23982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23983         (__pthread_mutexattr_settype): Likewise.
23984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23985         (__pthread_rwlock_init): Likewise.
23986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23987         (__pthread_rwlock_destroy): Likewise.
23988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23989         (__pthread_rwlock_rdlock): Likewise.
23990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23991         (__pthread_rwlock_tryrdlock): Likewise.
23992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23993         (__pthread_rwlock_wrlock): Likewise.
23994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23995         (__pthread_rwlock_trywrlock): Likewise.
23996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23997         (__pthread_rwlock_unlock): Likewise.
23998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23999         (__pthread_key_create): Likewise.
24000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24001         (__pthread_setspecific): Likewise.
24002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24003         (__pthread_getspecific): Likewise.
24004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24005         Likewise.
24006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24007         (_pthread_cleanup_push_defer): Likewise.
24008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24009         (_pthread_cleanup_pop_restore): Likewise.
24010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24011         (pthread_setcancelstate): Likewise.
24012         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24013         <bp-sym.h>.
24014         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24015         (memchr): Do not use BP_SYM in weak_alias.
24016         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24017         (fegetenv): Do not use BP_SYM in versioned symbols.
24018         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24019         (fesetenv): Do not use BP_SYM in versioned symbols.
24020         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24021         (feupdateenv): Do not use BP_SYM in versioned symbols.
24022         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24023         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24024         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24025         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24026         (open64): Do not use BP_SYM in weak_alias.
24027         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24028         (fegetenv): Do not use BP_SYM in versioned symbols.
24029         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24030         (fesetenv): Do not use BP_SYM in versioned symbols.
24031         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24032         (feupdateenv): Do not use BP_SYM in versioned symbols.
24033         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24034         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24035         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24036         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24037         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24038         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24039         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24040         <bp-sym.h>.
24041         (__libc_start_main): Do not use BP_SYM.
24042
24043 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24044
24045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24046         redundant return line.
24047         (norm): Likewise.
24048         (denorm): Likewise.
24049         (dbl_mp): Likewise.
24050         (sub_magnitudes): Likewise.
24051         (__add): Likewise.
24052         (__sub): Likewise.
24053         (__mul): Likewise.
24054         (__inv): Likewise.
24055         (__dvd): Likewise.
24056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24057         (norm): Likewise.
24058         (denorm): Likewise.
24059         (dbl_mp): Likewise.
24060         (sub_magnitudes): Likewise.
24061         (__add): Likewise.
24062         (__sub): Likewise.
24063         (__mul): Likewise.
24064         (__inv): Likewise.
24065         (__dvd): Likewise.
24066
24067         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24068         instead of __mul.
24069         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24070         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24071         (cc32): Likewise.
24072
24073         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24074         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24075         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24076         of __mul for squares.
24077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24078         function
24079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24080         Likewise.
24081         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24082         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24083
24084 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24085
24086         [BZ #13550]
24087         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24088         code.
24089         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24090         prototype or function definition.  Rename ubp_* variables and
24091         parameters.  Remove argv definitions conditional on
24092         [__BOUNDED_POINTERS__].
24093         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24094         * elf/dl-runtime.c (_dl_fixup): Likewise.
24095         * include/set-hooks.h (RUN_HOOK): Likewise.
24096         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24097         definition.
24098         * string/strcpy.c (strcpy): Do not use __unbounded.
24099         * sysdeps/generic/frame.h (struct layout): Likewise.
24100         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24101         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24102         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24103         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24104         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24105         (__backtrace): Likewise.
24106         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24107         use __ptrvalue.
24108         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24109         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24110         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24111         Likewise.
24112         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24113         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24114         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24115         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24116         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24117         Do not use __unbounded.
24118         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24119         Rename __unboundedrlimits parameter to rlimits in prototype.
24120         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24121         Do not use __unbounded.
24122         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24123         not use __ptrvalue.
24124         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24125         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24126         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24127         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24128         __ptrvalue or __unbounded.
24129         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24130         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24131         use __unbounded.
24132         (__new_msgctl): Do not use __ptrvalue.
24133         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24134         __unbounded.
24135         (__libc_msgrcv): Do not use __ptrvalue.
24136         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24137         startup_info): Do not use __unbounded.
24138         (__libc_start_main): Likewise.  Rename ubp_* variables and
24139         parameters.  Remove argv definitions conditional on
24140         [__BOUNDED_POINTERS__].
24141         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24142         __ptrvalue.
24143         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24144         use __unbounded.
24145         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24146         or __ptrvalue.
24147         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24148         use __unbounded.
24149         (__new_shmctl): Do not use __ptrvalue.
24150         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24151         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24152         Likewise.
24153         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24154         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24155         (__libc_sigaction): Likewise.
24156         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24157         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24158         Likewise.
24159         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24160
24161 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24162
24163         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24164
24165         * string/mempcpy.c: Implement by calling memcpy.
24166
24167 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24168
24169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24170
24171         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24172         evaluation.
24173
24174         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24175         values in the mantissa.
24176
24177         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24178         minimize writes to Z.
24179         (sub_magnitudes): Simplify code a bit.
24180
24181 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24182
24183         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24184         from the message.  The linker prefixes all warnings with that already.
24185
24186 2013-02-12  Andreas Schwab  <schwab@suse.de>
24187
24188         [BZ #15078]
24189         * posix/regexec.c (extend_buffers): Add parameter min_len.
24190         (check_matching): Pass minimum needed length.
24191         (clean_state_log_if_needed): Likewise.
24192         (get_subexp): Likewise.
24193         * posix/Makefile (tests): Add bug-regex34.
24194         (bug-regex34-ENV): Define.
24195         * posix/bug-regex34.c: New file.
24196
24197         [BZ #11561]
24198         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24199         elements compare against the byte sequence of it, not its name.
24200         * posix/Makefile (tests): Add bug-regex35.
24201         (bug-regex35-ENV): Define.
24202         * posix/bug-regex35.c: New file.
24203
24204 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24205
24206         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24207         comment.
24208         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24209         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24210         (CHECK_EOL): Add undef.
24211
24212 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24213
24214         * bits/stdlib-bsearch.h: New file.
24215         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24216         * stdlib/stdlib.h: Likewise.
24217
24218 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24219
24220         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24221         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24222         declaration.
24223         * manual/search.texi (Array Search Function): Add missing const in
24224         lfind prototype.
24225         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24226         declaration to use rlim_t.
24227         (Basic Scheduling Functions): Remove erroneous const from
24228         sched_getparam prototype.  Remove erroneous * from
24229         sched_get_priority_max and sched_get_priority_min prototypes.
24230         (Resource Usage): Fix summary @comment on vtimes to refer to
24231         sys/vtimes.h rather than vtimes.h.
24232         Add missing *s in vtimes prototype.
24233         (Limits on Resources): Fix ulimit prototype to return long int.
24234         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24235         prototypes to use long int rather than double.
24236         (BSD Random): Fix initstate and setstate to use char *, not void *.
24237         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24238         prototype to make second argument 'struct aiocb64 *const[]'.
24239         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24240         (Status of AIO Operations): Remove erroneous const in aio_return and
24241         aio_return64 prototypes.
24242         (Synchronizing I/O): Fix sync prototype to return void.
24243         * manual/startup.texi (Suboptions): Remove an erroneous const in
24244         getsubopt prototype.
24245         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24246         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24247         use size_t rather than int.
24248         (Scanning All Users): Likewise for getpwent_r.
24249         (Setting Groups): Add missing const to setgroups prototype.
24250         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24251         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24252         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24253         'const void *' rather than 'const char *'.
24254         (Host Address Functions): Likewise for inet_ntop.
24255         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24256         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24257         ssize_t for return value.
24258         (Sending Data): Likewise for send, sendto, sendmsg.
24259         (Socket Option Functions): Add a missing const in setsockopt prototype.
24260         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24261         use wchar_t for the argument.
24262         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24263         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24264         take no arguments.
24265         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24266         double/float/long double for second argument.
24267         Fix return types of significand, significandf, significandl.
24268         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24269         argument in fchmod prototype.
24270         (File Owner): Use uid_t and gid_t in fchown prototype.
24271         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24272         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24273         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24274         use 'const struct dirent **' as argument types to CMP function pointer
24275         argument.
24276         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24277         (File Times): Fix summary magic @comment for struct utimbuf and utime
24278         to refer to utime.h, not time.h.
24279         * manual/string.texi (Argz Functions): Add missing const in
24280         argz_extract and argz_next prototypes.
24281         (Finding Tokens in a String): Likewise for basename.
24282         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24283         (Copying and Concatenation): Fix typo in wmemmove prototype.
24284         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24285         (Signal Stack): Remove erroneous const in sigstack prototype.
24286         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24287         prototype.
24288         (Simple Calendar Time): Likewise for stime.
24289         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24290         prototype.
24291         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24292         say sys/sysctl.h instead.
24293         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24294         and vsyslog prototypes.
24295
24296 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24297
24298         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24299         Remove.
24300
24301 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24302
24303         * misc/sys/mman.h: Fix typo in mremap comment.
24304
24305 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24306
24307         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24308         the '\0' terminator.
24309
24310 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24311
24312         [BZ #13550]
24313         * debug/segfault.c: Don't include <bp-checks.h>.
24314         * sysdeps/generic/bp-checks.h: Remove file.
24315         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24316         (__GETDENTS): Don't use CHECK_N.
24317         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24318         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24319         (__getgroups): Don't use CHECK_N.
24320         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24321         (setgroups): Don't use CHECK_N.
24322         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24323         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24324         (__libc_msgrcv): Don't use CHECK_N.
24325         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24326         (__libc_msgsnd): Don't use CHECK_N.
24327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24328         <bp-checks.h>.
24329         (__libc_pread): Don't use CHECK_N.
24330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24331         include <bp-checks.h>.
24332         (__libc_pread64): Don't use CHECK_N.
24333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24334         include <bp-checks.h>.
24335         (__libc_pwrite): Don't use CHECK_N.
24336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24337         include <bp-checks.h>.
24338         (__libc_pwrite64): Don't use CHECK_N.
24339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24340         <bp-checks.h>.
24341         (__libc_pread): Don't use CHECK_N.
24342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24343         include <bp-checks.h>.
24344         (__libc_pread64): Don't use CHECK_N.
24345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24346         include <bp-checks.h>.
24347         (__libc_pwrite): Don't use CHECK_N.
24348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24349         include <bp-checks.h>.
24350         (__libc_pwrite64): Don't use CHECK_N.
24351         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24352         (do_pread): Don't use CHECK_N.
24353         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24354         (do_pread64): Don't use CHECK_N.
24355         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24356         (do_pwrite): Don't use CHECK_N.
24357         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24358         (do_pwrite64): Don't use CHECK_N.
24359         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24360         (__libc_readv): Don't use CHECK_N.
24361         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24362         (semop): Don't use CHECK_N.
24363         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24364         <bp-checks.h>.
24365         (semtimedop): Don't use CHECK_N.
24366         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24367         (__libc_pread): Don't use CHECK_N.
24368         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24369         <bp-checks.h>.
24370         (__libc_pread64): Don't use CHECK_N.
24371         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24372         <bp-checks.h>.
24373         (__libc_pwrite): Don't use CHECK_N.
24374         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24375         <bp-checks.h>.
24376         (__libc_pwrite64): Don't use CHECK_N.
24377         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24378         <bp-checks.h>.
24379         (__libc_msgrcv): Don't use CHECK_N.
24380         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24381         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24382         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24383         (__libc_writev): Don't use CHECK_N.
24384
24385 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24386
24387         * string/strcpy.c: Removed unused variable.
24388
24389         * Makeconfig (+sysdep-includes): Define with := rather than =.
24390         Use an existing include/ subdir of each sysdeps dir before it.
24391
24392 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24393
24394         * nscd/connection.c (register_traced_file): Comment function.
24395         [HAVE_INOTIFY] (union __inev): Define.
24396         [HAVE_INOTIFY] (inotify_check_files): New function.
24397         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24398         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24399         clear_db_cache.
24400         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24401
24402 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24403
24404         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24405         loaded if not already and that a failure is permanent.
24406
24407 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24408
24409         [BZ #15006]
24410         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24411         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24412
24413 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24414
24415         [BZ #13550]
24416         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24417         (CHECK_1_NULL_OK): Likewise.
24418         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24419         (__fxstat): Do not use CHECK_1.
24420         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24421         <bp-checks.h>.
24422         (___fxstat64): Do not use CHECK_1.
24423         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24424         <bp-checks.h>.
24425         (__fxstatat): Do not use CHECK_1.
24426         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24427         <bp-checks.h>.
24428         (__fxstatat64): Do not use CHECK_1.
24429         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24430         <bp-checks.h>.
24431         (__fxstat): Do not use CHECK_1.
24432         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24433         <bp-checks.h>.
24434         (__fxstatat): Do not use CHECK_1.
24435         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24436         <bp-checks.h>.
24437         (__getresgid): Do not use CHECK_1.
24438         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24439         <bp-checks.h>.
24440         (__getresuid): Do not use CHECK_1.
24441         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24442         <bp-checks.h>.
24443         (__lxstat): Do not use CHECK_1.
24444         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24445         <bp-checks.h>.
24446         (__old_msgctl): Do not use CHECK_1.
24447         (__new_msgctl): Likewise.
24448         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24449         <bp-checks.h>.
24450         (__new_setrlimit): Do not use CHECK_1.
24451         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24452         <bp-checks.h>.
24453         (__old_shmctl): Do not use CHECK_1.
24454         (__new_shmctl): Likewise.
24455         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24456         <bp-checks.h>.
24457         (__xstat): Do not use CHECK_1.
24458         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24459         (__lxstat): Do not use CHECK_1.
24460         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24461         <bp-checks.h>.
24462         (___lxstat64): Do not use CHECK_1.
24463         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24464         (__old_msgctl): Do not use CHECK_1.
24465         (__new_msgctl): Likewise.
24466         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24467         <bp-checks.h>.
24468         (__gettimeofday): Do not use CHECK_1.
24469         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24470         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24471         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24472         <bp-checks.h>.
24473         (__gettimeofday): Do not use CHECK_1.
24474         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24475         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24476         (__new_shmctl): Do not use CHECK_1.
24477         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24478         <bp-checks.h>.
24479         (do_sigtimedwait): Do not use CHECK_1.
24480         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24481         <bp-checks.h>.
24482         (do_sigwaitinfo): Do not use CHECK_1.
24483         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24484         <bp-checks.h>.
24485         (msgctl): Do not use CHECK_1.
24486         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24487         <bp-checks.h>.
24488         (shmctl): Do not use CHECK_1.
24489         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24490         (ustat): Do not use CHECK_1.
24491         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24492         <bp-checks.h>.
24493         (__fxstat): Do not use CHECK_1.
24494         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24495         <bp-checks.h>.
24496         (__fxstatat): Do not use CHECK_1.
24497         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24498         <bp-checks.h>.
24499         (__lxstat): Do not use CHECK_1.
24500         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24501         <bp-checks.h>.
24502         (__xstat): Do not use CHECK_1.
24503         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24504         (__xstat): Do not use CHECK_1.
24505         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24506         (___xstat64): Do not use CHECK_1.
24507
24508         [BZ #13550]
24509         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24510         definitions.
24511         (CHECK_BOUNDS_HIGH): Likewise.
24512         * string/strcpy.c: Do not include <bp-checks.h>.
24513         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24514
24515 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24516
24517         * nscd/nscd-client.h (__nscd_drop_map_ref):
24518         Add __attribute__ ((unused)).
24519         * nis/nss-nisplus.h (niserr2nss): Likewise.
24520
24521         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24522         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24523
24524         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24525         Remove inline keyword.
24526         * include/rounding-mode.h (round_away): Likewise.
24527         * libio/wfileops.c (adjust_wide_data): Likewise.
24528         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24529         (__m128i_strloadu_tolower): Likewise.
24530         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24531         (__m128i_strloadu_tolower): Likewise.
24532         * time/mktime.c (ydhms_diff): Likewise.
24533         * locale/elem-hash.h (elem_hash): Likewise.
24534         * locale/setlocale.c (setdata): Likewise.
24535         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24536         (re_string_wchar_at): Likewise.
24537         (bitset_not, bitset_merge, bitset_mask): Likewise.
24538         [!(__GNUC__ > 3)] (inline): Remove macro.
24539         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24540         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24541         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24542         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24543         * string/memcmp.c (memcmp_bytes): Likewise.
24544         * locale/programs/locarchive.c (compute_hashval): Likewise.
24545         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24546         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24547         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24548         * nss/getent.c (print_rpc, print_protocols): Likewise.
24549         (print_passwd, print_group, print_aliases): Likewise.
24550         * nis/nss-nisplus.h (niserr2nss): Likewise.
24551         * nscd/connections.c (restart_p): Likewise.
24552         Change return type to bool.
24553
24554 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24555
24556         * Makeconfig (all-Depend-files): Add existing
24557         $(sorted-subdirs:=/Depend) files.
24558         (all-subdirs): Remove nss.
24559         * sysdeps/unix/inet/Subdirs: Add it here instead.
24560         * hesiod/Depend: New file.
24561
24562         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24563         instead of calling alloca.
24564
24565         * io/lseek.c (__lseek): Rename to __libc_lseek.
24566         Define __lseek as an alias.
24567
24568         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24569
24570 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24571
24572         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24573         else clause and remove check for non-standard endianness.
24574
24575 2013-02-04  David S. Miller  <davem@davemloft.net>
24576
24577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24578
24579 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24580
24581         [BZ #13550]
24582         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24583         (__ubp_memchr): Remove prototype.
24584         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24585         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24586         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24587         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24588         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24589         Remove alias.
24590         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24591         (__ubp_memchr): Likewise.
24592         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24593         (__ubp_memchr): Likewise.
24594         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24595         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24596         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24597         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24598         CHECK_STRING.
24599         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24600         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24601         (__getcwd): Do not use CHECK_STRING.
24602         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24603         <bp-checks.h>.
24604         (__real_chown): Do not use CHECK_STRING.
24605         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24606         <bp-checks.h>.
24607         (fchownat): Do not use CHECK_STRING.
24608         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24609         CHECK_STRING.
24610         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24611         <bp-checks.h>.
24612         (__lchown): Do not use CHECK_STRING.
24613         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24614         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24615         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24616         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24618         include <bp-checks.h>.
24619         (truncate64): Do not use CHECK_STRING.
24620         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24621         <bp-checks.h>.
24622         (__real_chown): Do not use CHECK_STRING.
24623         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24624         <bp-checks.h>.
24625         (__lchown): Do not use CHECK_STRING.
24626         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24627         <bp-checks.h>.
24628         (__chown): Do not use CHECK_STRING.
24629         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24630         <bp-checks.h>.
24631         (truncate64): Do not use CHECK_STRING.
24632         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24633         Likewise.
24634         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24635         (__xmknod): Do not use CHECK_STRING.
24636         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24637         <bp-checks.h>.
24638         (__xmknodat): Do not use CHECK_STRING.
24639         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24640         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24641
24642 2013-02-04  Andreas Schwab  <schwab@suse.de>
24643
24644         [BZ #14142]
24645         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24646         * include/netdb.h: Likewise for h_errno.
24647         * elf/tst-stackguard1.c: Include <tls.h>.
24648
24649 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24650
24651         * elf/link.h (struct link_map): Extend the l_addr comment.
24652         * include/link.h (struct link_map): Likewise.
24653
24654 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24655
24656         [BZ #13550]
24657         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24658         (BOUNDED_1): Remove macro.
24659         * debug/backtrace.c: Don't include <bp-checks.h>.
24660         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24661         (__backtrace): Likewise.
24662         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24663         <bp-checks.h>.
24664         (__backtrace): Don't use BOUNDED_1.
24665         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24666         <bp-checks.h>.
24667         (__backtrace): Don't use BOUNDED_1.
24668         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24669         (__backtrace): Don't use BOUNDED_1.
24670         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24671         (shmat): Don't use BOUNDED_N.
24672
24673 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24674
24675         [BZ #13550]
24676         * sysdeps/generic/bp-start.h: Remove file.
24677         * csu/libc-start.c: Don't include <bp-start.h>.
24678         (LIBC_START_MAIN): Set up __environ directly instead of using
24679         INIT_ARGV_and_ENVIRON.
24680         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24681         <bp-start.h>.
24682
24683         [BZ #13550]
24684         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24685         definitions.
24686         (CHECK_FCNTL): Likewise.
24687         (CHECK_N_PAGES): Likewise.
24688
24689         [BZ #13550]
24690         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24691         definitions.
24692         (CHECK_SIGSET_NULL_OK): Likewise.
24693         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24694         <bp-checks.h>.
24695         (sigpending): Don't use CHECK_SIGSET.
24696         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24697         <bp-checks.h>.
24698         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24699         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24700         <bp-checks.h>.
24701         (do_sigsuspend): Don't use CHECK_SIGSET.
24702         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24703         use CHECK_SIGSET.
24704         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24705         (do_sigwait): Don't use CHECK_SIGSET.
24706         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24707         use CHECK_SIGSET.
24708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24709         include <bp-checks.h>.
24710         (sigpending): Don't use CHECK_SIGSET.
24711         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24712         include <bp-checks.h>.
24713         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24714         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24715         <bp-checks.h>.
24716         (sigpending): Don't use CHECK_SIGSET.
24717         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24718         <bp-checks.h>.
24719         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24720
24721         [BZ #13550]
24722         * sysdeps/generic/bp-semctl.h: Remove file.
24723         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24724         <bp-checks.h> and <bp-semctl.h>.
24725         (__old_semctl): Don't use CHECK_SEMCTL.
24726         (__new_semctl): Likewise.
24727         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24728         and <bp-semctl.h>.
24729         (__old_semctl): Don't use CHECK_SEMCTL.
24730         (__new_semctl): Likewise.
24731         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24732         <bp-checks.h> and <bp-semctl.h>.
24733         (__old_semctl): Don't use CHECK_SEMCTL.
24734         (__new_semctl): Likewise.
24735         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24736         <bp-checks.h> and <bp-semctl.h>.
24737         (semctl): Don't use CHECK_SEMCTL.
24738
24739         [BZ #13550]
24740         * Makerules (elide-bp-thunks): Remove variable.
24741         (elide-routines.oS): Don't use $(elide-bp-thunks).
24742         (elide-routines.os): Likewise.
24743         (elide-routines.o): Likewise.
24744         (elide-routines.op): Likewise.
24745         (elide-routines.og): Likewise.
24746         (objects): Don't use $(bp-thunks).
24747         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24748         include.
24749         (common-generated): Do not add s-proto-bp.d.
24750         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24751         (int): Likewise.
24752         (typ): Likewise.
24753         Do not generate makefile rules for bounded-pointer thunks.
24754         * sysdeps/generic/bp-thunks.h: Remove file.
24755         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24756         * sysdeps/unix/s-proto-bp.S: Likewise.
24757
24758         [BZ #15062]
24759         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24760         parts of result separately when argument is not close to line from
24761         -i to i and one part of argument is small.
24762         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24763         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24764         * math/libm-test.inc (cacos_test): Add more tests.
24765         (casin_test): Likewise.
24766         (casinh_test): Likewise.
24767         * sysdeps/i386/fpu/libm-test-ulps: Update.
24768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24769
24770 2013-01-31  David S. Miller  <davem@davemloft.net>
24771
24772         * po/de.po: Update from translation team.
24773
24774 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24775
24776         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24777
24778 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24779
24780         * configure.in (_AC_PROG_CC_C89): New definition.
24781         * configure: Regenerate.
24782
24783         * configure.in (AC_PROG_CPP): New definition.
24784         * configure: Regenerate.
24785
24786 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24787
24788         * debug/tst-backtrace.h: New file.
24789         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24790         (ret): Remove variable.
24791         (x): Likewise.
24792         (FAIL): Remove macro.
24793         (NO_INLINE): Likewise.
24794         (fn1): Use match function instead of strstr.
24795         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24796         (ret): Remove variable.
24797         (x): Likewise.
24798         (FAIL): Remove macro.
24799         (NO_INLINE): Likewise.
24800         (fn): Use match function instead of strstr.
24801         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24802         (ret): Remove variable.
24803         (x): Likewise.
24804         (FAIL): Remove macro.
24805         (NO_INLINE): Likewise.
24806         (handle_signal): Use match function instead of strstr.
24807         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24808         (ret): Remove variable.
24809         (x): Likewise.
24810         (FAIL): Remove macro.
24811         (NO_INLINE): Likewise.
24812         (handle_signal): Use match function instead of strstr.
24813
24814 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24815
24816         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24817
24818 2013-01-23  David S. Miller  <davem@davemloft.net>
24819
24820         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24821         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24822         argument of CAS if possible.
24823         * sysdeps/sparc/sparc64/bits/atomic.h
24824         (__arch_compare_and_exchange_val_32_acq): Likewise.
24825         (__arch_compare_and_exchange_val_64_acq): Likewise.
24826
24827 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24828
24829         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24830         * sysdeps/posix/ulimit.c: ... this.
24831         Include <limits.h>.
24832         * sysdeps/unix/bsd/ulimit.c: Remove file.
24833
24834 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24835
24836         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24837         (LDFLAGS-tst-array5): Likewise.
24838
24839 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24840
24841         [BZ #15036]
24842         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24843         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24844         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24845         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24846
24847 2013-01-21  David S. Miller  <davem@davemloft.net>
24848
24849         * sysdeps/sparc/backtrace.c: New file.
24850         * sysdeps/sparc/sparc32/backtrace.h: New file.
24851         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24852         * sysdeps/sparc/sparc64/backtrace.h: New file.
24853         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24854         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24855         -funwind-tables.
24856
24857 2013-01-21  Andreas Schwab  <schwab@suse.de>
24858
24859         [BZ #15020]
24860         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24861         closed its stdout.
24862
24863 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24864
24865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24866         "mpa2.h".
24867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24868
24869 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24870             Mark Mitchell  <mark@codesourcery.com>
24871             Tom de Vries  <tom@codesourcery.com>
24872             Paul Pluzhnikov  <ppluzhnikov@google.com>
24873
24874         * debug/tst-backtrace2.c: New file.
24875         * debug/tst-backtrace3.c: Likewise.
24876         * debug/tst-backtrace4.c: Likewise.
24877         * debug/tst-backtrace5.c: Likewise.
24878         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24879         (CFLAGS-tst-backtrace3.c): Likewise.
24880         (CFLAGS-tst-backtrace4.c): Likewise.
24881         (CFLAGS-tst-backtrace5.c): Likewise.
24882         (LDFLAGS-tst-backtrace2): Likewise.
24883         (LDFLAGS-tst-backtrace3): Likewise.
24884         (LDFLAGS-tst-backtrace4): Likewise.
24885         (LDFLAGS-tst-backtrace5): Likewise.
24886         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24887         tst-backtrace4 and tst-backtrace5.
24888
24889 2013-01-18  Anton Blanchard  <anton@samba.org>
24890             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24891
24892         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24893         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24894         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24895         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24897         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24898         "+r" and remove output regs list as redundant.  Add explicit inline
24899         asm to specify register of return val to work around compiler codegen
24900         bug.  Remove (int) cast on return value.  Add return type parameter to
24901         use in macro so that this macro does not truncate return value for
24902         64-bit values.
24903         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24904         pass to INTERNAL_VSYSCALL_NCS.
24905         (INLINE_VSYSCALL): Add 'long int' as return type to
24906         INTERNAL_VSYSCALL_NCS macro invocation.
24907         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24908         INTERNAL_VSYSCALL_NCS macro invocation.
24909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24910
24911 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24912
24913         [BZ #14496]
24914         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24915         Fix application of SIMD FP exception mask.
24916
24917         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24918         mp_no from a power of two.
24919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24920         __mpexp_twomm1.  Use __pow_mp.
24921
24922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24923         multiplication.
24924
24925 2013-01-17  David S. Miller  <davem@davemloft.net>
24926
24927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24928
24929 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24930
24931         [BZ #15023]
24932         * include/complex.h: Condition contents on [!_COMPLEX_H].
24933         (__kernel_casinhf): New prototype.
24934         (__kernel_casinh): Likewise.
24935         (__kernel_casinhl): Likewise.
24936         * math/Makefile (libm_calls): Add k_casinh.
24937         * math/k_casinh.c: New file.
24938         * math/k_casinhf.c: Likewise.
24939         * math/k_casinhl.c: Likewise.
24940         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24941         finite nonzero arguments.
24942         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24943         finite nonzero arguments.
24944         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24945         finite nonzero arguments.
24946         * math/s_casinh.c: Do not include <float.h>.
24947         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24948         * math/s_casinhf.c: Do not include <float.h>.
24949         (__casinhf): Move code for finite nonzero arguments to
24950         k_casinhf.c.
24951         * math/s_casinhl.c: Do not include <float.h>.
24952         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24953         redefine.
24954         (__casinhl): Move code for finite nonzero arguments to
24955         k_casinhl.c.
24956         * math/libm-test.inc (cacos_test): Add more tests.
24957         * sysdeps/i386/fpu/libm-test-ulps: Update.
24958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24959
24960 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24961
24962         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24963         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24964         [!HAVE_MREMAP]: Remove [defined linux] case.
24965         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24966
24967 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24968
24969         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24970
24971 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24972
24973         * elf/elf.h (R_386_SIZE32): New relocation.
24974         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24975         R_386_SIZE32.
24976         (elf_machine_rela): Likewise.
24977         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24978         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24979
24980 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24981
24982         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24983         (FP_FAST_FMA): Do not define.
24984         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24985         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24986         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24987         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24988         !_SOFT_FLOAT]: Likewise.
24989         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24990         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24991         value.
24992         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24993         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24994         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24995         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24996         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24997         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24998         file.
24999
25000 2013-01-16  Andreas Schwab  <schwab@suse.de>
25001
25002         [BZ #14327]
25003         * include/stdlib.h (__mktemp): Add declaration.
25004         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25005         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25006
25007 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25008
25009         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25010         definitions.
25011         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25012         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25013         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25014         definitions here.
25015         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25016         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25017         definitions.
25018         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25019         and ONE.
25020         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25021         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25022         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25023         definitions.
25024         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25025         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25026         definitions.
25027         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25028
25029         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25030
25031 2013-01-15  David S. Miller  <davem@davemloft.net>
25032
25033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25034         trunc{,f} to libm-sysdep_routes.
25035         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25037         file.
25038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25040         file.
25041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25042         file.
25043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25045         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25046         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25047         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25048         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25049         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25050         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25051
25052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25053         nearbyint{,f} to libm-sysdep_routes.
25054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25056         New file.
25057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25058         file.
25059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25060         New file.
25061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25062         file.
25063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25065         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25066         file.
25067         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25068         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25069         file.
25070         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25071         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25072         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25073
25074         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25075         libc_feholdexcept and libc_fesetenv.
25076
25077 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25078
25079         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25080
25081 2013-01-14  David S. Miller  <davem@davemloft.net>
25082
25083         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25084         (SPARC_ASM_VIS2_IFUNC): Likewise.
25085         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25087         use of 'siam' instruction.
25088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25089         Likewise.
25090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25091         Likewise.
25092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25093         Likewise.
25094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25095         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25096         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25097         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25099         file.
25100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25101         file.
25102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25103         file.
25104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25105         file.
25106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25111         new VIS2 routines.
25112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25115         Likewise.
25116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25121         routines to libm-sysdep_routines.
25122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25123
25124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25125         fdim/fdimf to libm-sysdep_routines.
25126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25127         file.
25128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25130         file.
25131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25134         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25135         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25136         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25137         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25138
25139 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25140
25141         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25142         to optimize copies.
25143
25144         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25147
25148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25149         local variable MPTWO.
25150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25151         Likewise.
25152
25153 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25154
25155         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25156         GLOB_NOESCAPE.
25157
25158 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25159
25160         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25161
25162 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25163
25164         * manual/pattern.texi (glob_t): Document gl_flags.
25165         (glob64_t): Likewise.
25166
25167 2013-01-11  David S. Miller  <davem@davemloft.net>
25168
25169         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25170         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25171         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25172         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25173         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25174         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25175         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25176         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25177         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25178         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25179         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25180         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25181         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25182
25183         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25184         sparc V9 rather than using V8 code.
25185         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25186         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25187
25188         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25189         Move to...
25190         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25191         Here.
25192
25193 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25194
25195         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25196         not in the main loop.
25197         * configure: Regenerated.
25198
25199 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25200
25201         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25202         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25203         to just #else.
25204         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25205         [!__GLIBC_HAVE_LONG_LONG] case.
25206         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25207         condition to just #else.
25208         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25209         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25210         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25211         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25212         unconditional.
25213         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25214         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25215         #elif condition to just #else.
25216         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25217         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25218         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25219         #elif condition to just #else.
25220
25221 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25222
25223         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25224         (EF_MIPS_ARCH_64): Fix value.
25225         (EF_MIPS_ARCH_32R2): New.
25226         (EF_MIPS_ARCH_64R2): New.
25227
25228 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25229
25230         * Makeconfig (+link-pie-before-libc): New.
25231         (+link-pie-after-libc): Likewise.
25232         (+link-pie-tests): Likewise.
25233         (+link-pie): Rewritten.
25234         (link-before-libc): Remove $(config-LDFLAGS).
25235         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25236         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25237         (config-LDFLAGS): Renamed to ...
25238         (rtld-LDFLAGS): This.
25239         (rtld-tests-LDFLAGS): New macro.
25240         (link-libc-rpath-link): Likewise.
25241         (link-libc-tests-rpath-link): Likewise.
25242         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25243         (link-libc): Prepand $(link-libc-rpath-link).
25244         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25245         (test-program-prefix): New macro.
25246         (test-via-rtld-prefix): Likewise.
25247         (test-program-cmd): Likewise.
25248         (host-test-program-cmd): Likewise.
25249         * Makefile ($(common-objpfx)testrun.sh): Replace
25250         $(run-program-prefix) with $(test-program-prefix).
25251         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25252         $(rtld-LDFLAGS).
25253         ($(common-objpfx)shlib.lds): Likewise.
25254         (build-module-helper): Likewise.
25255         ($(common-objpfx)format.lds): Likewise.
25256         * Rules (binaries-pie-tests): New.
25257         (binaries-pie-notests): Likewise.
25258         (binaries-pie): Rewritten.
25259         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25260         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25261         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25262         (make-test-out): Replace $(host-built-program-cmd) with
25263         $(host-test-program-cmd).
25264         * config.make.in (build-hardcoded-path-in-tests): New variable.
25265         * configure.in (--enable-hardcoded-path-in-tests): New configure
25266         option.
25267         (hardcoded_path_in_tests): New AC_SUBST.
25268         * configure: Regenerated.
25269         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25270         $(built-program-cmd) with $(test-program-cmd).
25271         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25272         (test_program_cmd): This.
25273         * elf/Makefile ($(objpfx)order.out): Run test with
25274         $(test-program-prefix).
25275         ($(objpfx)order2.out): Likewise.
25276         ($(objpfx)tst-initorder.out): Likewise.
25277         ($(objpfx)tst-initorder2.out): Likewise.
25278         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25279         $(test-program-cmd).
25280         ($(objpfx)tst-array1-static.out): Likewise.
25281         ($(objpfx)tst-array2.out): Likewise.
25282         ($(objpfx)tst-array3.out): Likewise.
25283         ($(objpfx)tst-array4.out): Likewise.
25284         ($(objpfx)tst-array5.out): Likewise.
25285         ($(objpfx)tst-array5-static.out): Likewise.
25286         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25287         $(test-program-cmd).
25288         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25289         $(run-program-prefix) with $(test-program-prefix).
25290         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25291         (test_program_prefix): This.
25292         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25293         $(run-program-prefix) with $(test-program-prefix).
25294         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25295         (test_program_prefix): This.
25296         * iconvdata/tst-tables.sh: Likewise.
25297         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25298         $(run-program-prefix) with $(test-program-prefix).
25299         ($(objpfx)tst-translit.out): Likewise.
25300         ($(objpfx)tst-gettext2.out): Likewise.
25301         ($(objpfx)tst-gettext4.out): Likewise.
25302         ($(objpfx)tst-gettext6.out): Likewise.
25303         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25304         (test_program_prefix): This.
25305         * intl/tst-gettext2.sh: Likewise.
25306         * intl/tst-gettext4.sh  Likewise.
25307         * intl/tst-gettext6.sh: Likewise.
25308         * intl/tst-translit.sh: Likewise.
25309         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25310         with $(test-program-cmd).
25311         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25312         $(run-program-prefix) with $(test-program-prefix).
25313         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25314         (test_program_prefix): This.
25315         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25316         $(run-program-prefix) with $(test-program-prefix).
25317         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25318         (test_program_prefix): This.
25319         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25320         * posix/Makefile ($(objpfx)globtest.out): Replace
25321         $(run-via-rtld-prefix) and $(test-wrapper) with
25322         $(test-program-prefix) and $(test-via-rtld-prefix).
25323         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25324         $(test-program-prefix).
25325         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25326         $(host-test-program-cmd).
25327         (tst-spawn-ARGS): Likewise.
25328         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25329         $(test-program-prefix).
25330         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25331         (test_via_rtld_prefix): This.
25332         (test_wrapper): Renamed to ...
25333         (test_program_prefix): This.
25334         (run_program_prefix): Replaced by test_program_prefix.
25335         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25336         (test_program_prefix): This.
25337         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25338         with $(host-test-program-cmd).
25339         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25340         $(run-program-prefix) with $(test-program-prefix).
25341         ($(objpfx)tst-printf.out): Likewise.
25342         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25343         $(test-program-cmd).
25344         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25345         (test_program_prefix): This.
25346         * stdio-common/tst-unbputc.sh: Likewise.
25347         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25348         $(run-program-prefix) with $(test-program-prefix).
25349         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25350         (test_program_prefix): This.
25351         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25352         $(built-program-cmd) with $(test-program-cmd).
25353
25354 2013-01-11  Andreas Jaeger  <aj@suse.de>
25355
25356         [BZ #15003]
25357         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25358         value. Sync with Linux 3.7.
25359
25360 2013-01-10  David S. Miller  <davem@davemloft.net>
25361
25362         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25363         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25364         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25365
25366 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25367
25368         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25369         never set.
25370         * configure: Regenerated.
25371
25372 2013-01-10  David S. Miller  <davem@davemloft.net>
25373
25374         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25375         sparc V9 rather than using V8 code.
25376         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25377         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25378
25379 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25380
25381         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25382         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25383         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25384         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25385         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25386         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25387         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25388         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25389         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25390         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25391         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25392         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25393         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25394         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25395         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25396         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25397         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25398         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25399         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25400         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25401         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25402         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25403         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25404         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25405         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25406         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25407         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25408
25409 2013-01-10  David S. Miller  <davem@davemloft.net>
25410
25411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25412
25413 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25414
25415         * posix/Makefile (tests-static): New variable.
25416         (tests): Add $(tests-static).
25417         (tst-exec-static-ARGS): New variable.
25418         (tst-spawn-static-ARGS): Likewise.
25419         * posix/tst-exec-static.c: New file.
25420         * posix/tst-spawn-static.c: Likewise.
25421         * posix/tst-exec.c: Support run directly.
25422         * posix/tst-spawn.c: Likewise.
25423
25424 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25425
25426         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25427         long.
25428         * math/bits/mathcalls.h (llrint): Likewise.
25429         (llround): Likewise.
25430         * stdlib/stdlib.h (struct drand48_data): Likewise.
25431         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25432         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25433         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25434         Likewise.
25435         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25436         Likewise.
25437         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25438         (elf_greg_t): Likewise.
25439         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25440         (__jmp_buf): Likewise.
25441         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25442         definitions.
25443         (llrint): Likewise, for all definitions.
25444         (llrintl): Likewise.
25445
25446         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25447         Remove [__GNUC__] condition.
25448         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25449         condition to just [__USE_ISOC99].
25450         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25451
25452 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25453
25454         [BZ #14200]
25455         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25456         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25457         defined.
25458         (_POSIX_V6_ILP32_OFF32): Likewise.
25459         (_XBS5_ILP32_OFF32): Likewise.
25460         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25461         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25462
25463 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25464
25465         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25466
25467         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25468         doubles __mpexp_twomm1.  Adjust usage.
25469         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25470         Remove.
25471
25472 2013-01-10  Andreas Schwab  <schwab@suse.de>
25473
25474         [BZ #14964]
25475         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25476         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25477
25478 2013-01-09  David S. Miller  <davem@davemloft.net>
25479
25480         [BZ #15003]
25481         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25482         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25483         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25484         (TCP_FASTOPEN): Define.
25485         (tcp_repair_opt): New structure.
25486         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25487         enum values.
25488         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25489         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25490         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25491         (tcp_cookie_transactions): New structure.
25492
25493 2013-01-09  Anton Blanchard  <anton@samba.org>
25494
25495         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25496         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25497         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25498         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25499
25500 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25501
25502         * include/features.h (__USE_ANSI): Remove.
25503
25504 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25505
25506         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25507
25508         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25509
25510 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25511
25512         * sysdeps/s390/fpu/libm-test-ulps: Update.
25513
25514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25515
25516         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25517         (__acr): Likewise.
25518         (__cpy): Likewise.
25519         (norm): Likewise.
25520         (denorm): Likewise.
25521         (__mp_dbl): Likewise.
25522         (__dbl_mp): Likewise.
25523         (add_magnitudes): Likewise.
25524         (sub_magnitudes): Likewise.
25525         (__add): Likewise.
25526         (__sub): Likewise.
25527         (__mul): Likewise.
25528         (__inv): Likewise.
25529         (__dvd): Likewise.
25530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25531         (__acr): Likewise.
25532         (__cpy): Likewise.
25533         (norm): Likewise.
25534         (denorm): Likewise.
25535         (__mp_dbl): Likewise.
25536         (__dbl_mp): Likewise.
25537         (add_magnitudes): Likewise.
25538         (sub_magnitudes): Likewise.
25539         (__add): Likewise.
25540         (__sub): Likewise.
25541         (__mul): Likewise.
25542         (__inv): Likewise.
25543         (__dvd): Likewise.
25544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25545         (__acr): Likewise.
25546         (__cpy): Likewise.
25547         (norm): Likewise.
25548         (denorm): Likewise.
25549         (__mp_dbl): Likewise.
25550         (__dbl_mp): Likewise.
25551         (add_magnitudes): Likewise.
25552         (sub_magnitudes): Likewise.
25553         (__add): Likewise.
25554         (__sub): Likewise.
25555         (__mul): Likewise.
25556         (__inv): Likewise.
25557         (__dvd): Likewise.
25558
25559 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25560
25561         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25562         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25563         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25564         2 && __USE_EXTERN_INLINES]: Likewise.
25565
25566 2013-01-08  Andreas Jaeger  <aj@suse.de>
25567
25568         [BZ# 14985]
25569         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25570         Remove.
25571         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25572         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25573
25574 2013-01-07  Anton Blanchard  <anton@samba.org>
25575
25576         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25577         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25578         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25579         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25580         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25581         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25582         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25583         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25585         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25586         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25587         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25588         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25589         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25590         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25591         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25592         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25593         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25594         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25595         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25596         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25597         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25598         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25599         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25600         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25601         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25602         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25603         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25604         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25605         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25606         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25608         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25609         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25610         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25611         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25612         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25613         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25614         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25615         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25616         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25617         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25618         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25619
25620 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25621
25622         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25623         (__MALLOC_PMT): Likewise.
25624         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25625         [__GNUC__], only on [_LIBC].
25626         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25627         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25628         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25629         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25630         forward declaration.
25631         (realloc_hook_ini): Likewise.
25632         (memalign_hook_ini): Likewise.
25633         (__libc_memalign): Do not use __MALLOC_PMT in variable
25634         declaration.
25635         (__libc_valloc): Likewise.
25636         (__libc_pvalloc): Likewise.
25637         (__libc_calloc): Likewise.
25638         (__posix_memalign): Likewise.
25639
25640         [BZ #14996]
25641         * math/s_casinh.c: Include <float.h>.
25642         (__casinh): Do not do computation with squaring and square root
25643         for large arguments.
25644         * math/s_casinhf.c: Include <float.h>.
25645         (__casinhf): Do not do computation with squaring and square root
25646         for large arguments.
25647         * math/s_casinhl.c: Include <float.h>.
25648         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25649         (__casinhl): Do not do computation with squaring and square root
25650         for large arguments.
25651         * math/libm-test.inc (casin_test): Add more tests.
25652         (casinh_test): Likewise.
25653         * sysdeps/i386/fpu/libm-test-ulps: Update.
25654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25655
25656 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25657
25658         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25659         (__x86_64_raw_data_cache_size): Likewise.
25660         (__x86_64_data_cache_size_half): Likewise.
25661         (__x86_64_raw_data_cache_size_half): Likewise.
25662         (__x86_64_shared_cache_size): Likewise.
25663         (__x86_64_raw_shared_cache_size): Likewise.
25664         (__x86_64_shared_cache_size_half): Likewise.
25665         (__x86_64_raw_shared_cache_size_half): Likewise.
25666         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25667         to ...
25668         (__x86_data_cache_size): This.
25669         (__x86_64_raw_data_cache_size): Renamed to ...
25670         (__x86_raw_data_cache_size): This.
25671         (__x86_64_data_cache_size_half): Renamed to ...
25672         (__x86_data_cache_size_half): This.
25673         (__x86_64_raw_data_cache_size_half): Renamed to ...
25674         (__x86_raw_data_cache_size_half): This.
25675         (__x86_64_shared_cache_size): Renamed to ...
25676         (__x86_shared_cache_size): This.
25677         (__x86_64_raw_shared_cache_size): Renamed to ...
25678         (__x86_raw_shared_cache_size): This.
25679         (__x86_64_shared_cache_size_half): Renamed to ...
25680         (__x86_shared_cache_size_half): This.
25681         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25682         (__x86_raw_shared_cache_size_half): This.
25683         * sysdeps/x86_64/memcpy.S: Updated.
25684         * sysdeps/x86_64/memset.S: Likewise.
25685         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25686         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25687         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25688
25689 2013-01-04  David S. Miller  <davem@davemloft.net>
25690
25691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25692
25693 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25694
25695         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25696         1 to avoid redefinition warning.
25697         (__USE_GNU): Don't define.
25698         (init_signaling_nan): Protoize.
25699
25700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25701
25702 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25703
25704         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25706         (__cpymn): Likewise.
25707         (norm): Remove commented code.
25708         (denorm): Likewise.
25709         (__mp_dbl): Likewise.
25710         (__inv): Likewise.
25711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25712         (__cpymn): Likewise.
25713         (norm): Remove commented code.
25714         (denorm): Likewise.
25715         (__mp_dbl): Likewise.
25716         (__inv): Likewise.
25717
25718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25719         mp_no value for 1.0 and 2.0.
25720         (norm): Use RADIXI instead of radixi.d.
25721         (denorm): Likewise.
25722         (__mul): Use 0.0 instead of zero.d.
25723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25724         mp_no value for 1.0 and 2.0.
25725         (norm): Use RADIXI instead of radixi.d.
25726         (denorm): Likewise.
25727         (__mul): Use 0.0 instead of zero.d.
25728
25729 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25730
25731         [BZ #14994]
25732         * math/s_casinh.c (__casinh): Reduce finite argument to first
25733         quadrant then set signs of results at the end.
25734         * math/s_casinhf.c (__casinhf): Likewise.
25735         * math/s_casinhl.c (__casinhl): Likewise.
25736         * math/libm-test.inc (casin_test): Add more tests.
25737         (casinh_test): Likewise.
25738         * sysdeps/i386/fpu/libm-test-ulps: Update.
25739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25740
25741 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25742
25743         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25744
25745         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25746
25747         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25748         declarations.
25749         (denorm): Likewise.
25750         (__mp_dbl): Likewise.
25751         (__inv): Likewise.
25752
25753         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25754         and adjust the header comment.
25755
25756         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25757         variable name from declaration.
25758
25759 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25760
25761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25762         Initialize COMMON_CPUID_INDEX_7 element.
25763         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25764         (CPUID_RTM): Likewise.
25765         (HAS_RTM): Likewise.
25766         (COMMON_CPUID_INDEX_7): New enum.
25767
25768 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25769
25770         [BZ #14981]
25771         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25772         size is zero, record memory as freed.
25773
25774 2013-01-03  Andreas Jaeger  <aj@suse.de>
25775
25776         * po/ia.po: Add new Interlingua translation.
25777
25778 2012-01-03  Allan McRae  <allan@archlinux.org>
25779
25780         * locale/programs/localedef.c: Fix description of '--posix' flag.
25781
25782 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25783
25784         * NEWS: Update dates in second copyright notice.
25785         * README: Update copyright dates in example.
25786         * manual/libc.texinfo: Update copyright dates.
25787         * scripts/test-installation.pl: Update copyright date in --version
25788         output.
25789
25790         * hurd/ctty-input.c: Fix copyright notice formatting.
25791         * hurd/ctty-output.c: Likewise.
25792         * hurd/dtable.c: Likewise.
25793         * hurd/hurd-raise.c: Likewise.
25794         * hurd/hurdprio.c: Likewise.
25795         * hurd/msgportdemux.c: Likewise.
25796         * misc/sys/file.h: Likewise.
25797         * misc/sys/ioctl.h: Likewise.
25798         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25799         * sysdeps/mach/hurd/chdir.c: Likewise.
25800         * sysdeps/mach/hurd/fchdir.c: Likewise.
25801         * sysdeps/mach/hurd/rename.c: Likewise.
25802         * sysdeps/mach/hurd/rmdir.c: Likewise.
25803         * sysdeps/mach/hurd/seekdir.c: Likewise.
25804         * sysdeps/mach/hurd/setsid.c: Likewise.
25805         * sysdeps/posix/wait3.c: Likewise.
25806
25807         * All files with FSF copyright notices: Update copyright dates
25808         using scripts/update-copyrights.
25809         * intl/plural.c: Regenerated.
25810         * locale/programs/charmap-kw.h: Likewise.
25811         * locale/programs/locfile-kw.h: Likewise.
25812
25813 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25814
25815         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25816         four values.
25817
25818         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25819         calculation loop and add branch prediction.
25820
25821         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25822         check access beyond bounds of m1np.
25823
25824         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25825         MPTWO.
25826         (__inv): Remove local variable MPTWO to use the global
25827         constant.
25828         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25829         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25830         variable MPTWO.
25831         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25832         MP3HALFS static const.
25833
25834 2013-01-01  David S. Miller  <davem@davemloft.net>
25835
25836         * po/ca.po: Update from translation team.
25837
25838 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25839
25840         * scripts/update-copyrights: New file.
25841         * Makeconfig: Reformat copyright notice.
25842         * ctype/ctype.h: Likewise.
25843         * debug/swprintf_chk.c: Likewise.
25844         * elf/dl-cache.c: Likewise.
25845         * elf/dl-debug.c: Likewise.
25846         * elf/dl-object.c: Likewise.
25847         * grp/initgroups.c: Likewise.
25848         * hurd/Makefile: Likewise.
25849         * hurd/hurd/signal.h: Likewise.
25850         * hurd/hurdfault.c: Likewise.
25851         * hurd/hurdioctl.c: Likewise.
25852         * hurd/hurdlookup.c: Likewise.
25853         * hurd/intr-msg.c: Likewise.
25854         * iconv/gconv_open.c: Likewise.
25855         * libio/swprintf.c: Likewise.
25856         * locale/lc-ctype.c: Likewise.
25857         * locale/nl_langinfo.c: Likewise.
25858         * mach/Machrules: Likewise.
25859         * mach/Makefile: Likewise.
25860         * malloc/obstack.h: Likewise.
25861         * manual/Makefile: Likewise.
25862         * manual/tsort.awk: Likewise.
25863         * misc/bits/stab.def: Likewise.
25864         * nis/nis_print_group_entry.c: Likewise.
25865         * nis/nis_table.c: Likewise.
25866         * nis/nss_compat/compat-pwd.c: Likewise.
25867         * nis/nss_compat/compat-spwd.c: Likewise.
25868         * po/Makefile: Likewise.
25869         * posix/fnmatch.c: Likewise.
25870         * posix/regex.h: Likewise.
25871         * resolv/Makefile: Likewise.
25872         * resolv/nss_dns/dns-network.c: Likewise.
25873         * resolv/res_hconf.c: Likewise.
25874         * scripts/gen-sorted.awk: Likewise.
25875         * soft-fp/soft-fp.h: Likewise.
25876         * stdio-common/printf.h: Likewise.
25877         * stdlib/monetary.h: Likewise.
25878         * stdlib/random.c: Likewise.
25879         * stdlib/random_r.c: Likewise.
25880         * sysdeps/generic/Makefile: Likewise.
25881         * sysdeps/gnu/Makefile: Likewise.
25882         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25883         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25884         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25885         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25886         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25887         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25888         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25889         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25892         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25893         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25894         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25895         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25896         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25897         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25898         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25899         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25900         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25901         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25902         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25903         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25904         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25905         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25906         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25907         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25908         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25909         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25910         * sysdeps/mach/hurd/errnos.awk: Likewise.
25911         * sysdeps/mach/hurd/fork.c: Likewise.
25912         * sysdeps/mach/hurd/getcwd.c: Likewise.
25913         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25914         * sysdeps/mach/hurd/mmap.c: Likewise.
25915         * sysdeps/mach/hurd/utimes.c: Likewise.
25916         * sysdeps/mach/hurd/xmknod.c: Likewise.
25917         * sysdeps/posix/profil.c: Likewise.
25918         * sysdeps/posix/readdir_r.c: Likewise.
25919         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25920         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25921         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25922         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25924         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25925         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25926         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25928         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25929         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25930         * sysdeps/pthread/lio_listio.c: Likewise.
25931         * sysdeps/sparc/dl-procinfo.h: Likewise.
25932         * sysdeps/unix/i386/sysdep.S: Likewise.
25933         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25934         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25935         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25936         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25938         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25939         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25940         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25941         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25942         * sysdeps/wordsize-32/divdi3.c: Likewise.
25943         * time/sys/time.h: Likewise.
25944         * wcsmbs/Makefile: Likewise.
25945
25946 2013-01-01  David S. Miller  <davem@davemloft.net>
25947
25948         * po/fr.po: Update from translation team.
25949
25950         * catgets/gencat.c: Update copyright year.
25951         * csu/version.c: Likewise.
25952         * debug/catchsegv.sh: Likewise.
25953         * debug/pcprofiledump.c: Likewise.
25954         * debug/xtrace.sh: Likewise.
25955         * elf/ldconfig.c: Likewise.
25956         * elf/ldd.bash.in: Likewise.
25957         * elf/pldd.c: Likewise.
25958         * elf/sotruss.ksh: Likewise.
25959         * elf/sprof.c: Likewise.
25960         * iconv/iconv_prog.c: Likewise.
25961         * iconv/iconvconfig.c: Likewise.
25962         * locale/programs/locale.c: Likewise.
25963         * locale/programs/localedef.c: Likewise.
25964         * login/programs/pt_chown.c: Likewise.
25965         * malloc/memusage.sh: Likewise.
25966         * malloc/memusagestat.c: Likewise.
25967         * malloc/mtrace.pl: Likewise.
25968         * nscd/nscd.c: Likewise.
25969         * nss/getent.c: Likewise.
25970         * nss/makedb.c: Likewise.
25971         * posix/getconf.c: Likewise.
25972
25973 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25974
25975         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25976         numbers.
25977
25978 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25979
25980         * math/bits/mathcalls.h (modf): Use __nonnull.
25981
25982 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25983
25984         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25985         (split): Use macro CN instead of the bare value.
25986         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25987         could be used.
25988         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25989         instead of the bare value.
25990         (power1): Likewise.
25991
25992 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25993
25994         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25995         __ATAN_TWOM.
25996         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25997
25998         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25999         their values.
26000         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26001         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26002         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26003         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26004
26005 2012-12-28  Andreas Jaeger  <aj@suse.de>
26006
26007         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26008         values are from Linux 3.7.
26009
26010         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26011         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26012
26013 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26014
26015         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26016         TRUE case.
26017
26018         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26019         (norm): Likewise.
26020         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26021         variables with preprocessor constants.
26022         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26023         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26024         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26025
26026 2012-12-27  Bruno Haible  <bruno@clisp.org>
26027
26028         [BZ #14317]
26029         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26030         only if needed.
26031
26032 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26033
26034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26035         and use variable directly.
26036         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26037
26038         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26039         MPONE.
26040         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26042         variable MPONE.
26043         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26045         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26046         include directive.  Remove local variable MPONE.
26047         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26048         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26049         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26050
26051 2012-12-25  David S. Miller  <davem@davemloft.net>
26052
26053         * version.h (RELEASE): Set to "development".
26054         (VERSION): Set to "2.17.90".
26055         * NEWS: Add 2.18 section.
26056
26057 2012-12-21  David S. Miller  <davem@davemloft.net>
26058
26059         * po/hr.po: Update from translation team.
26060
26061 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26062
26063         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26064
26065 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26066
26067         * NEWS:  Mention new memcpy for MIPS.
26068
26069 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26070
26071         * manual/contrib.texi (Contributors): Spelling correction.
26072
26073 2012-12-15  David S. Miller  <davem@davemloft.net>
26074
26075         * po/ru.po: Update from translation team.
26076
26077 2012-12-13  David S. Miller  <davem@davemloft.net>
26078
26079         * NEWS: Mention IFUNC testsuite enhancements.
26080
26081         * po/pl.po: Update from translation team.
26082         * po/bg.po: Likewise.
26083
26084         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26085         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26086
26087 2012-12-11  David S. Miller  <davem@davemloft.net>
26088
26089         * po/sv.po: Update from translation team.
26090
26091         * po/vi.po: Update from translation team.
26092
26093         * po/cs.po: Update from translation team.
26094
26095         * po/de.po: Update from translation team.
26096         * po/eo.po: Likewise.
26097         * po/nl.po: Likewise.
26098
26099 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26100
26101         [BZ #14246]
26102         * manual/argp.texi (Argp Helper Functions): Move node to follow
26103         Argp Parsing State.
26104
26105         [BZ #14872]
26106         * manual/conf.texi (Limits on File System Capacity): Mention if
26107         terminating null is included in the max size.
26108
26109 2012-12-10  Andreas Jaeger  <aj@suse.de>
26110
26111         * po/cs.po: Update from translation team.
26112
26113 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26114
26115         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26116         void pointer and cast to uintptr_t.
26117         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26118         path.
26119         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26120         * sysdeps/s390/s390-64/memset.S: Likewise.
26121
26122 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26123
26124         [BZ #14833]
26125         * menual/message.texi (Message Translation): Fix typos.
26126         (Helper programs for gettext): Likewise.
26127
26128 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26129
26130         [BZ #14898]
26131         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26132         Change to -1.
26133
26134 2012-12-07  David S. Miller  <davem@davemloft.net>
26135
26136         * po/libc.pot: Update.
26137
26138 2012-12-07  Richard Henderson  <rth@redhat.com>
26139
26140         [BZ #10114]
26141         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26142         normal/normal case to before the switch.
26143         (_FP_DIV): Likewise.
26144
26145 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26146             Mike Frysinger  <vapier@gentoo.org>
26147
26148         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26149         check for __NR_fadvise64_64.
26150
26151 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26152
26153         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26154         0, not just to plain "0" as a statement.
26155         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26156         with cw.
26157
26158 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26159
26160         * NEWS: Use sourceware.org in Bugzilla URL.
26161
26162 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26163
26164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26165         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26166
26167         * stdio-common/tst-put-error.c (do_test): Add newline to the
26168         padded test to ensure flush.
26169
26170 2012-12-05  Jeff Law  <law@redhat.com>
26171
26172         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26173
26174 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26175
26176         * README: Don't refer to ports add-on as distributed separately.
26177         Mention AArch64 in list of systems supported in the ports add-on.
26178
26179         * LICENSES: Add more non-FSF copyright and license notices.
26180
26181         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26182         ((unused)).
26183
26184         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26185
26186         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26187         10000 as width of padded output.
26188
26189 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26190
26191         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26192
26193         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26194         variable LX with __attribute__ ((unused)).
26195         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26196         Likewise.
26197         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26198         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26199         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26200         with __attribute__ ((unused)).
26201
26202 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26203
26204         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26205
26206 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26207
26208         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26209         (CFLAGS-nldbl-acos.c): New variable.
26210         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26211         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26212         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26213         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26214         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26215         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26216         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26217         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26218         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26219         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26220         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26221         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26222         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26223         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26224         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26225         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26226         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26227         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26228         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26229         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26230         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26231         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26232         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26233         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26234         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26235         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26236         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26237         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26238         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26239         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26240         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26241         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26242         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26243         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26244         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26245         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26246         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26247         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26248         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26249         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26250         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26251         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26252         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26253         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26254         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26255         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26256         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26257         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26258         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26259         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26260         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26261         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26262         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26263         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26264         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26265         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26266         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26267         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26268         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26269         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26270         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26271         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26272         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26273         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26274         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26275         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26276         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26277         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26278         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26279         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26280         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26281         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26282         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26283         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26284         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26285         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26286         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26287         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26288         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26289         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26290         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26291         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26292         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26293         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26294         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26295         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26296         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26297         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26298         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26299         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26300         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26301         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26302         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26303         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26304         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26305         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26306         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26307
26308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26309         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26310
26311         [BZ #14914]
26312         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26313         whole low double instead of just low 47 bits when splitting values
26314         into two parts.
26315
26316 2012-12-03  Allan McRae  <allan@archlinux.org>
26317
26318         * manual/stdio.texi (Predefined Printf Handlers): Remove
26319         @hsep and @vsep usage.
26320
26321 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26322
26323         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26324         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26325
26326 2012-12-03  Jeff Law  <law@redhat.com>
26327
26328         * time/sys/time.h (settimeofday): Do not mark TV argument
26329         as __nonnull.
26330
26331 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26332
26333         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26334         when currently writing and seek to current position when not.
26335         * libio/Makefile (tests): Remove bug-fclose1.
26336         * libio/bug-fclose1.c: Delete.
26337
26338 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26339
26340         * manual/arith.texi (feenableexcept): Fix typo.
26341         (fedisableexcept): Likewise.
26342
26343 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26344
26345         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26346         second, differently-typed declaration, rather than a cast.
26347
26348 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26349
26350         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26351         * include/rpc/svc.h: ... here.
26352
26353 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26354
26355         [BZ #13013]
26356         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26357         depending n and resplen2 to catch cases where answer
26358         equals answerp2.
26359
26360 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26361
26362         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26363         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26364
26365 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26366
26367         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26368
26369 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26370
26371         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26372
26373 2012-11-28  Jeff Law  <law@redhat.com>
26374
26375         [BZ #13761]
26376         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26377         dataset_temporary.  Track alloca usage into alloca_used.
26378         If dataset is large allocate and release it via malloc/free.
26379
26380 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26381
26382         [BZ #14197]
26383         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26384
26385 2012-11-28  David S. Miller  <davem@davemloft.net>
26386
26387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26388
26389 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26390
26391         [BZ #14803]
26392         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26393         of pi/2 rounded to nearest to 64 bits.
26394         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26395         nearest to 64 bits.
26396         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26397         bits.
26398
26399 2012-11-28  Jeff Law <law@redhat.com>
26400             Martin Osvald <mosvald@redhat.com>
26401
26402         [BZ #14889]
26403         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26404         * sunrpc/svc.c: Include time.h.
26405         (__svc_accept_failed): New function.
26406         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26407         any reason other than EINTR, call __svc_accept_failed.
26408         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26409         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26410
26411 2012-11-28  Andreas Schwab  <schwab@suse.de>
26412
26413         * scripts/abilist.awk: Also handle indirect functions in .opd
26414         section.
26415
26416 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26417
26418         [BZ #13881]
26419         * sysdeps/x86/fpu/powl_helper.c: New file.
26420         * sysdeps/x86/fpu/Makefile: Likewise.
26421         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26422         (p3): New object.
26423         (__ieee754_powl): Use __powl_helper for finite arguments except
26424         integer exponents below 8.
26425         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26426         (p3): New object.
26427         (__ieee754_powl): Use __powl_helper for finite arguments except
26428         integer exponents below 8.
26429         * math/libm-test.inc (pow_test): Add more tests and enable some
26430         previously disabled tests.
26431         * sysdeps/i386/fpu/libm-test-ulps: Update.
26432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26433
26434 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26435             Carlos O'Donell  <carlos_odonell@mentor.com>
26436
26437         * nss/makedb.c (is_prime): Assert that input is odd and greater
26438         than 4.  Note that fact in a comment too.
26439         (next_prime): Add 4 to input.
26440
26441 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26442
26443         [BZ #11741]
26444         * libio/Makefile (tests): Add test case tst-fwrite-error.
26445         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26446         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26447         * libio/tst-fwrite-error.c: New test case.
26448
26449 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26450
26451         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26452         before casting to void *.
26453         * include/libc-internal.h (__pointer_type): New macro.
26454         (__integer_if_pointer_type_sub): Likewise.
26455         (__integer_if_pointer_type): Likewise.
26456         (cast_to_integer): Likewise.
26457         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26458         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26459         before casting to atomic64_t.
26460         (atomic_exchange_acq): Likewise.
26461         (__arch_exchange_and_add_body): Likewise.
26462         (__arch_add_body): Likewise.
26463         (atomic_add_negative): Likewise.
26464         (atomic_add_zero): Likewise.
26465
26466 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26467
26468         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26469         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26470         (add_fdes): Likewise.
26471         (linear_search_fdes): Likewise.
26472         (binary_search_unencoded_fdes): Likewise.
26473
26474 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26475
26476         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26477
26478 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26479
26480         * configure.in: Autodetect C++ header directories.
26481         * configure: Regenerated.
26482
26483 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26484
26485         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26486
26487 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26488
26489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26490
26491 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26492
26493         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26494         LDBL_MANT_DIG == 106]: Disable some tests.
26495         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26496         Likewise.
26497         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26498         Likewise.
26499
26500         [BZ #14871]
26501         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26502         input for small inputs.  Return +/- pi/2 for large inputs.
26503         * math/libm-test.inc (atan_test): Add more tests.
26504
26505         * sysdeps/generic/unwind-dw2-fde-glibc.c
26506         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26507         __attribute__ ((unused)).
26508
26509         [BZ #14645]
26510         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26511         x * y if x and y are nonzero and z is zero.
26512
26513         [BZ #14811]
26514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26515         nonzero exponents with absolute value below 0x1p-117 to +/-
26516         0x1p-117.
26517
26518         [BZ #14869]
26519         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26520         up arguments below 2**-450, not just those below 2**-500.
26521         * math/libm-test.inc (hypot_test): Add another test.
26522
26523         [BZ #14868]
26524         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26525         Return a+b for ratio over 2**120, not 2**60.
26526         * math/libm-test.inc (hypot_test): Add another test.
26527
26528         * math/libm-test.inc (clog_test): Use
26529         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26530         (clog10_test): Likewise.
26531
26532         [BZ #6778]
26533         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26534
26535 2012-11-22  Andreas Schwab  <schwab@suse.de>
26536
26537         * sysdeps/i386/fpu/libm-test-ulps: Update.
26538
26539 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26540
26541         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26542         printf output with newline.
26543
26544 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26545
26546         [BZ #14865]
26547         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26548         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26549         -z nodlopen, -z initfirst and -z execstack support.
26550         * configure: Regenerated.
26551
26552         * elf/elf.h (DF_1_NODIRECT): New macro.
26553         (DF_1_IGNMULDEF): Likewise.
26554         (DF_1_NOKSYMS): Likewise.
26555         (DF_1_NOHDR): Likewise.
26556         (DF_1_EDITED): Likewise.
26557         (DF_1_NORELOC): Likewise.
26558         (DF_1_SYMINTPOSE): Likewise.
26559         (DF_1_GLOBAUDIT): Likewise.
26560         (DF_1_SINGLETON): Likewise.
26561         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26562         DT_1_SUPPORTED_MASK bits.
26563         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26564
26565 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26566
26567         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26568
26569 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26570
26571         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26572         macro.
26573
26574         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26575         (sendmmsg): Move declarations...
26576         * socket/sys/socket.h: ... here.
26577         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26578         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26579         include it from...
26580         * socket/recvmmsg.c: ... this new file.
26581         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26582         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26583         definition of __sendmmsg hidden.
26584         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26585         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26586         Move ENOSYS stub into and include it from...
26587         * socket/sendmmsg.c: ... this new file.
26588         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26589         (sysdep_routines): Move recvmmsg and sendmmsg...
26590         * socket/Makefile (routines): ... here.
26591         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26592         (GLIBC_PRIVATE): Add __sendmmsg.
26593         * include/sys/socket.h (__sendmmsg): Add declarations.
26594         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26595         sendmmsg.
26596
26597 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26598
26599         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26600         variable I1 with __attribute__ ((unused)).
26601         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26602
26603 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26604
26605         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26606         DUMMY variables with __attribute__ ((unused)).
26607
26608         * bits/byteswap.h: Include <bits/types.h>.
26609         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26610
26611 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26612
26613         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26614         string_t.  Do not manually set errno.
26615         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26616         length with __strnlen.  Make sure to both set errno and return it on
26617         failure.
26618
26619 2012-11-19  David S. Miller  <davem@davemloft.net>
26620
26621         With help from Joseph Myers.
26622         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26623         very large arguments properly.
26624         * math/libm-test.inc (atan_test): New tests.
26625         (atan2_test): New tests.
26626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26628
26629 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26630
26631         [BZ #14856]
26632         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26633         Define to 3.
26634
26635         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26636         [POSIX] (EADDRNOTAVAIL): Likewise.
26637         [POSIX] (EAFNOSUPPORT): Likewise.
26638         [POSIX] (EALREADY): Likewise.
26639         [POSIX] (ECONNABORTED): Likewise.
26640         [POSIX] (ECONNREFUSED): Likewise.
26641         [POSIX] (ECONNRESET): Likewise.
26642         [POSIX] (EDESTADDRREQ): Likewise.
26643         [POSIX] (EDQUOT): Likewise.
26644         [POSIX] (EHOSTUNREACH): Likewise.
26645         [POSIX] (EIDRM): Likewise.
26646         [POSIX] (EISCONN): Likewise.
26647         [POSIX] (ELOOP): Likewise.
26648         [POSIX] (EMULTIHOP): Likewise.
26649         [POSIX] (ENETDOWN): Likewise.
26650         [POSIX] (ENETUNREACH): Likewise.
26651         [POSIX] (ENOBUFS): Likewise.
26652         [POSIX] (ENODATA): Likewise.
26653         [POSIX] (ENOLINK): Likewise.
26654         [POSIX] (ENOMSG): Likewise.
26655         [POSIX] (ENOPROTOOPT): Likewise.
26656         [POSIX] (ENOSR): Likewise.
26657         [POSIX] (ENOSTR): Likewise.
26658         [POSIX] (ENOTCONN): Likewise.
26659         [POSIX] (ENOTSOCK): Likewise.
26660         [POSIX] (EOPNOTSUPP): Likewise.
26661         [POSIX] (EOVERFLOW): Likewise.
26662         [POSIX] (EPROTO): Likewise.
26663         [POSIX] (EPROTONOSUPPORT): Likewise.
26664         [POSIX] (EPROTOTYPE): Likewise.
26665         [POSIX] (ESTALE): Likewise.
26666         [POSIX] (ETIME): Likewise.
26667         [POSIX] (ETXTBSY): Likewise.
26668         [POSIX] (EWOULDBLOCK): Likewise.
26669         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26670         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26671         [POSIX] (SEEK_CUR): Likewise.
26672         [POSIX] (SEEK_END): Likewise.
26673         [POSIX || UNIX98] (mode_t): Do not require.
26674         [POSIX] (off_t): Likewise.
26675         [POSIX] (pid_t): Likewise.
26676         [POSIX] (sys/stat.h): Do not allow header.
26677         [POSIX] (unistd.h): Likewise.
26678         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26679         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26680         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26681         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26682         require.
26683         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26684         sigevent): Specify elements.
26685         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26686         entry.
26687         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26688         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26689
26690         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26691         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26692         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26693         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26694         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26695         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26696         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26697         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26698         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26699         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26700         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26701         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26702         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26703         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26704         Likewise.
26705         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26706         Likewise.
26707         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26708         Likewise.
26709         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26710         Likewise.
26711         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26712         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26713         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26714         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26715         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26716         Specify lower bound on value.
26717         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26718         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26719         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26720         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26721         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26722         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26723         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26724         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26725         value.
26726         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26727         as optional.
26728         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26729         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26730         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26731         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26732         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26733         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26734         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26735         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26736         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26737         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26738         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26739         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26740         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26741         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26742         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26743         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26744         entry.
26745         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26746         optional.
26747         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26748         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26749         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26750         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26751         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26752         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26753         Likewise.
26754         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26755         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26756         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26757         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26758         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26759         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26760         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26761         as optional.
26762         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26763         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26764         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26765         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26766         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26767         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26768         specify as optional.
26769         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26770         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26771         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26772         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26773         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26774         [XPG3] (NL_LANGMAX): Likewise.
26775         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26776         [POSIX || XPG3] (NL_NMAX): Likewise.
26777         [POSIX || XPG3] (NL_SETMAX): Likewise.
26778         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26779         [XPG3] (NZERO): Likewise.
26780         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26781         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26782         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26783         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26784         (REG_ERANGE): Expect.
26785         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26786         optional-constant.
26787         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26788         Use (void) in prototype.
26789         [POSIX] (*_t): Allow.
26790         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26791         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26792         (WRDE_BADVAL): Expect.
26793
26794         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26795         expect.
26796         [XPG3 || XPG4] (O_RSYNC): Likewise.
26797         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26798         Likewise.
26799         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26800         [XPG3 || XPG4] (sigqueue): Likewise.
26801         [XPG3 || XPG4] (sigtimedwait): Likewise.
26802         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26803         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26804         [XPG3 || XPG4] (vsnprintf): Likewise.
26805         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26806         Likewise.
26807         [XPG3 || XPG4] (blksize_t): Likewise.
26808         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26809         Likewise.
26810         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26811         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26812         [XPG3 || XPG4] (struct itimerspec): Likewise.
26813         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26814         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26815         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26816         [XPG3 || XPG4] (clockid_t): Likewise.
26817         [XPG3 || XPG4] (timer_t): Likewise.
26818         [XPG3 || XPG4] (clock_getres): Likewise.
26819         [XPG3 || XPG4] (clock_gettime): Likewise.
26820         [XPG3 || XPG4] (clock_settime): Likewise.
26821         [XPG3 || XPG4] (nanosleep): Likewise.
26822         [XPG3 || XPG4] (timer_create): Likewise.
26823         [XPG3 || XPG4] (timer_delete): Likewise.
26824         [XPG3 || XPG4] (timer_gettime): Likewise.
26825         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26826         [XPG3 || XPG4] (timer_settime): Likewise.
26827         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26828         [XPG3 || XPG4] (getlogin_r): Likewise.
26829         [XPG3 || XPG4] (pread): Likewise.
26830         [XPG3 || XPG4] (pthread_atfork): Likewise.
26831         [XPG3 || XPG4] (pwrite): Likewise.
26832
26833         [BZ #14835]
26834         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26835         <bits/siginfo.h>.
26836
26837 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26838
26839         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26840         finalizing MALLSTREAM.
26841
26842         * sysdeps/mach/hurd/syncfs.c: New file.
26843
26844 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26845
26846         [BZ #14719]
26847         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26848         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26849         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26850         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26851         (_nss_dns_gethostbyname4_r): Likewise.
26852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26853         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26854
26855 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26856
26857         [BZ #13763]
26858         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26859
26860 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26861
26862         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26863         * elf/cache.c (print_entry): Print ",AArch64" for
26864         FLAG_AARCH64_LIB64
26865
26866         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26867         * elf/cache.c (print_entry): Print ",hard-float" for
26868         FLAG_ARM_LIBHF.
26869
26870 2012-11-18  David S. Miller  <davem@davemloft.net>
26871
26872         With help from Joseph Myers.
26873         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26874         cutoff to 2**-13.
26875         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26876         cutoff to 2**-25.
26877         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26878         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26879         small.
26880         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26881         * math/libm-test.inc (y0_test): New tests.
26882         (y1_test): New tests.
26883         * sysdeps/i386/fpu/libm-test-ulps: Update.
26884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26886
26887 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26888
26889         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26890         64-bit targets.
26891         * configure: Regenerated.
26892
26893 2012-11-17  David S. Miller  <davem@davemloft.net>
26894
26895         [BZ #14811]
26896         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26897         nonzero exponents with absolute value below 0x1p-128 to +/-
26898         0x1p-128.
26899
26900 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26901
26902         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26903
26904         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26905
26906         * posix/getconf-speclist.c: New file.
26907         * posix/posix-envs.def: Likewise.
26908         * posix/confstr.c (START_ENV_GROUP): New macro.
26909         (END_ENV_GROUP): Likewise.
26910         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26911         (KNOWN_PRESENT_ENV_STRING): Likewise.
26912         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26913         (UNKNOWN_ENVIRONMENT): Likewise.
26914         (confstr): Include posix-envs.def instead of handling
26915         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26916         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26917         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26918         (END_ENV_GROUP): Likewise.
26919         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26920         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26921         (UNKNOWN_ENVIRONMENT): Likewise.
26922         (__sysconf): Include posix-envs.def instead of handling associated
26923         cases directly here.
26924         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26925         preprocessing getconf-speclist.c rather than running getconf or
26926         generating empty file.
26927
26928 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26929
26930         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26931
26932 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26933
26934         [BZ #14672]
26935         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26936
26937 2012-11-16  David S. Miller  <davem@davemloft.net>
26938
26939         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26940         smaller than LDBL_EPSILON/2.0L, just return xm1.
26941
26942 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26943
26944         * elf/tst-array1.c (init): Set constructor priority to 1000.
26945         (fini): Set destructor priority to 1000.
26946         * elf/tst-array2dep.c: Likewise.
26947
26948 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26949
26950         [BZ #11741]
26951         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26952         (_IO_new_file_xsputn): Also return EOF if none of the input
26953         data was written when overflow failed.
26954         * libio/iopadn.c (_IO_padn): Likewise.
26955         * libio/iowpadn.c (_IO_wpadn): Likewise.
26956         * stdio-common/tst-put-error.c: Add copyright notice.
26957         (do_test): Add case for printing padded string.
26958         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26959         _IO_padn returned error.
26960         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26961         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26962         return EOF.
26963
26964 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26965
26966         * libio/libioP.h: Add comment note that the references to C++
26967         bits are now obsolete.
26968
26969 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26970
26971         * math/libm-test.inc (check_complex): Use asprintf.
26972
26973 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26974
26975         * debug/pcprofiledump.c (print_version): Update copyright year.
26976         * malloc/memusagestat.c (print_version): Likewise.
26977
26978 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26979
26980         [BZ #14831]
26981         * elf/Makefile (tests): Add tst-audit8.
26982         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26983         ($(objpfx)tst-audit8.out): New target.
26984         (tst-audit8-ENV): New variable.
26985         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26986         audit if l_reloc_result is NULL.
26987         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26988         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26989         * elf/tst-audit8.c: New file.
26990
26991 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26992
26993         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26994         * misc/Makefile (CFLAGS-select.c): Define.
26995         * posix/Makefile (CFLAGS-pause.c): Define.
26996
26997 2012-11-13  David S. Miller  <davem@davemloft.net>
26998
26999         * crypt/Makefile: Move test targets after toplevel Rules
27000         inclusion.  Grab any necessary sysdep routines when linking.
27001         * crypt/md5.c (md5_process_block): Remove define, we will always
27002         name it __md5_process_block.
27003         (md5_finish_ctx): Update md5_process_block call.
27004         (md5_stream): Likewise.
27005         (md5_process_bytes): Likewise.
27006         (md5_process_block): Rename to __md5_process_block and move to ...
27007         * crypt/md5-block.c: ... here.
27008         * crypt/sha256.c (sha256_process_block): Move to ...
27009         * crypt/sha256-block.c: ... here.
27010         * crypt/sha512.c (sha512_process_block): Move to ...
27011         * crypt/sha512-block.c: ... here.
27012         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27013         path.
27014         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27015         * sysdeps/sparc/sparc64/multiarch/Makefile
27016         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27017         crypt subdir.
27018         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27019         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27020         multiarch changes.
27021         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27022         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27023         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27024         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27025         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27026         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27027         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27028         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27029         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27030         file.
27031         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27032         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27033         file.
27034         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27035
27036 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27037
27038         * timezone/tzselect.ksh: Update from tzcode git revision
27039         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27040         * timezone/zdump.c: Likewise.
27041         * timezone/zic.c: Likewise.
27042         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27043         in TZVERSION setting, not $(PKGVERSION).
27044         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27045         REPORT_BUGS_TO settings.
27046
27047         [BZ #14838]
27048         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27049         macro.
27050
27051 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27052
27053         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27054         detection to immediately after _FP_ROUND().
27055         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27056         bits are 0.
27057
27058 2012-11-11  David S. Miller  <davem@davemloft.net>
27059
27060         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27061         inttypes.h
27062         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27063         __close rather than their public counterparts.
27064
27065 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27066
27067         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27068         file.
27069         [UNIX98] (sem_timedwait): Do not expect.
27070         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27071         [XPG4 || UNIX98] (sockatmark): Do not expect.
27072         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27073         (clock_getcpuclockid): Do not expect.
27074         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27075         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27076         Do not expect.
27077         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27078         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27079         [UNIX98] (vwscanf): Likewise.
27080         [UNIX98] (vswscanf): Likewise.
27081
27082 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27083
27084         * timezone/version.h: Remove file.
27085         * timezone/README: Do not refer to version.h.
27086         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27087         $(objpfx)version.h.
27088         ($(objpfx)zdump.o): Likewise.
27089         ($(objpfx)version.h): New target.
27090
27091         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27092         2012i.
27093         * timezone/README: Don't mention modification to tzselect.ksh.
27094         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27095         work on unmodified tzselect.ksh.  Substitute version numbers in
27096         tzselect.ksh.
27097
27098         * Makefile (format-me): Remove.
27099         (INSTALL): Adjust indentation.  Use commands directly instead of
27100         using $(format-me).
27101
27102         * aclocal.m4 (ACX_PKGVERSION): New macro.
27103         (ACX_BUGURL): Likewise.
27104         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27105         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27106         (REPORT_BUGS_TO): Likewise.
27107         * configure: Regenerated.
27108         * config.h.in (PKGVERSION): New macro.
27109         (REPORT_BUGS_TO): Likewise.
27110         * config.make.in (PKGVERSION): New variable.
27111         (PKGVERSION_TEXI): Likewise.
27112         (REPORT_BUGS_TO): Likewise.
27113         (REPORT_BUGS_TEXI): Likewise.
27114         * Makefile (format-me): Use -I$(common-objpfx)manual.
27115         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27116         ($(common-objpfx)manual/%): New target.
27117         (manual/%): Remove target.
27118         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27119         (print_version): Use PKGVERSION.
27120         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27121         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27122         and REPORT_BUGS_TO.
27123         ($(objpfx)xtrace): Likewise.
27124         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27125         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27126         (print_version): Use PKGVERSION.
27127         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27128         (do_version): Use PKGVERSION.
27129         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27130         REPORT_BUGS_TO.
27131         (common-ldd-rewrite): Likewise.
27132         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27133         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27134         (print_version): Use PKGVERSION.
27135         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27136         * elf/pldd.c (argp_program_bug_address): Remove variable.
27137         (more_help): New function.
27138         (argp): Use more_help.
27139         (print_version): Use PKGVERSION.
27140         * elf/sln.c (main): Use PKGVERSION.
27141         (usage): Use REPORT_BUGS_TO.
27142         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27143         (top level): Use PKGVERSION.
27144         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27145         (print_version): Use PKGVERSION.
27146         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27147         (print_version): Use PKGVERSION.
27148         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27149         (print_version): Use PKGVERSION.
27150         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27151         (print_version): Use PKGVERSION.
27152         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27153         (print_version): Use PKGVERSION.
27154         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27155         (print_version): Use PKGVERSION.
27156         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27157         and BUGURL.
27158         ($(objpfx)memusage): Likewise.
27159         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27160         (do_version): Use PKGVERSION.
27161         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27162         (print_version): Use PKGVERSION.
27163         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27164         ($PKGVERSION): New variable.
27165         ($REPORT_BUGS_TO): Likewise.
27166         (usage): Use $REPORT_BUGS_TO.
27167         (top level): Use $PKGVERSION.
27168         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27169         ($(objpfx)pkgvers.texi): New rule.
27170         ($(objpfx)stamp-pkgvers): Likewise.
27171         * manual/install.texi: Include pkgvers.texi.
27172         (--with-pkgversion): Document new configure option.
27173         (--with-bugurl): Likewise.
27174         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27175         than necessarily for this particular distribution.  Use
27176         REPORT_BUGS_TO for where to report bugs.
27177         * INSTALL: Regenerated.
27178         * manual/libc.texinfo: Include pkgvers.texi.
27179         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27180         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27181         (print_version): Use PKGVERSION.
27182         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27183         (print_version): Use PKGVERSION.
27184         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27185         (print_version): Use PKGVERSION.
27186         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27187         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27188         macro.
27189         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27190         (print_version): Use PKGVERSION.
27191         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27192         (print_version): Use PKGVERSION.
27193         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27194         and PKGVERSION.
27195
27196         * timezone/checktab.awk: Update from tzcode 2012i.
27197         * timezone/ialloc.c: Likewise.
27198         * timezone/private.h: Likewise.
27199         * timezone/scheck.c: Likewise.
27200         * timezone/tzfile.h: Likewise.
27201         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27202         (TZVERSION): Hardcode tzcode version number.
27203         * timezone/zdump.c: Update from tzcode 2012i.
27204         * timezone/zic.c: Likewise.
27205         * timezone/version.h: New file.
27206         * timezone/README: Describe version.h.  Update upstream location.
27207
27208         [BZ #14824]
27209         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27210         (mktemp): Enable declaration.
27211         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27212         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27213         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27214         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27215         Likewise.
27216         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27217         Likewise.
27218         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27219         Likewise.
27220         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27221         Likewise.
27222         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27223         Likewise.
27224         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27225         Likewise.
27226
27227         [BZ #14821]
27228         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27229         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27230         for copies of such integer values.
27231         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27232         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27233
27234 2012-11-09  Andreas Jaeger  <aj@suse.de>
27235
27236         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27237         definitions and declarations that are provided by
27238         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27239
27240 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27241
27242         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27243         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27244         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27245         definition.
27246
27247 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27248
27249         * elf/elf.h: Update comment before AArch64 relocations.
27250
27251 2012-11-07  David S. Miller  <davem@davemloft.net>
27252
27253         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27254         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27255         (__start_context): Declare.
27256         (__makecontext_ret): Delete.
27257         (__makecontext): Hook up __start_context instead of
27258         __makecontext_ret.
27259         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27260         (sysdep_routines): Add __start_context when in stdlib.
27261
27262 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27263
27264         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27265         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27266         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27267         hardcoded "nm".
27268         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27269         (READELF): New variable.  Use it instead of hardcoded "readelf".
27270
27271 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27272
27273         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27274         * sysdeps/x86/Makefile: Here.
27275         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27276         * sysdeps/x86/tst-xmmymm.sh: This.
27277
27278 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27279
27280         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27281         expectations.
27282         [UNIX98] (pthread_barrier_t): Do not expect.
27283         [UNIX98] (pthread_barrierattr_t): Likewise.
27284         [UNIX98] (pthread_spinlock_t): Likewise.
27285         [UNIX98] (pthread_barrier_destroy): Likewise.
27286         [UNIX98] (pthread_barrier_init): Likewise.
27287         [UNIX98] (pthread_barrier_wait): Likewise.
27288         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27289         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27290         [UNIX98] (pthread_barrierattr_init): Likewise.
27291         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27292         [UNIX98] (pthread_getcpuclockid): Likewise.
27293         [UNIX98] (pthread_mutex_timedlock): Likewise.
27294         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27295         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27296         [UNIX98] (pthread_sigmask): Likewise.
27297         [UNIX98] (pthread_spin_destroy): Likewise.
27298         [UNIX98] (pthread_spin_init): Likewise.
27299         [UNIX98] (pthread_spin_lock): Likewise.
27300         [UNIX98] (pthread_spin_trylock): Likewise.
27301         [UNIX98] (pthread_spin_unlock): Likewise.
27302         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27303         Do not expect.
27304         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27305         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27306         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27307         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27308         [XPG3 || XPG4] (pthread_key_t): Likewise.
27309         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27310         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27311         [XPG3 || XPG4] (pthread_once_t): Likewise.
27312         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27313         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27314         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27315         [XPG3 || XPG4] (pthread_t): Likewise.
27316
27317         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27318         not expect.
27319         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27320
27321         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27322         Change function return type to int.
27323
27324         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27325         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27326         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27327         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27328         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27329         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27330         [!POSIX] (posix_madvise): Likewise.
27331         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27332         && !UNIX98].
27333         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27334         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27335         (mode_t): Likewise.
27336         (posix_mem_offset): Likewise.
27337         (posix_typed_mem_get_info): Likewise.
27338         (posix_typed_mem_open): Likewise.
27339
27340         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27341         Change condition to [XOPEN2K8].
27342
27343         * conform/conformtest.pl: Preprocess allow-header data with -x c
27344         instead of from stdin.
27345         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27346         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27347         [C99-based standards] (cerfc): Likewise.
27348         [C99-based standards] (cexp2): Likewise.
27349         [C99-based standards] (cexpm1): Likewise.
27350         [C99-based standards] (clog10): Likewise.
27351         [C99-based standards] (clog1p): Likewise.
27352         [C99-based standards] (clog2): Likewise.
27353         [C99-based standards] (clgamma): Likewise.
27354         [C99-based standards] (ctgamma): Likewise.
27355         [C99-based standards] (cerff): Likewise.
27356         [C99-based standards] (cerfcf): Likewise.
27357         [C99-based standards] (cexp2f): Likewise.
27358         [C99-based standards] (cexpm1f): Likewise.
27359         [C99-based standards] (clog10f): Likewise.
27360         [C99-based standards] (clog1pf): Likewise.
27361         [C99-based standards] (clog2f): Likewise.
27362         [C99-based standards] (clgammaf): Likewise.
27363         [C99-based standards] (ctgammaf): Likewise.
27364         [C99-based standards] (cerfl): Likewise.
27365         [C99-based standards] (cerfcl): Likewise.
27366         [C99-based standards] (cexp2l): Likewise.
27367         [C99-based standards] (cexpm1l): Likewise.
27368         [C99-based standards] (clog10l): Likewise.
27369         [C99-based standards] (clog1pl): Likewise.
27370         [C99-based standards] (clog2l): Likewise.
27371         [C99-based standards] (clgammal): Likewise.
27372         [C99-based standards] (ctgammal): Likewise.
27373         * conform/data/inttypes.h-data [C99-based standards]: Include
27374         stdint.h-data.  Remove all expectations for stdint.h contents.
27375         [C99-based standards] (PRI*): Do not allow.
27376         [C99-based standards] (SCN*): Likewise.
27377         [C99-based standards] (*_t): Likewise.
27378         [C99-based-standards] (PRId8): Expect macro.
27379         [C99-based-standards] (PRIi8): Likewise.
27380         [C99-based-standards] (PRIo8): Likewise.
27381         [C99-based-standards] (PRIu8): Likewise.
27382         [C99-based-standards] (PRIx8): Likewise.
27383         [C99-based-standards] (PRIX8): Likewise.
27384         [C99-based-standards] (SCNd8): Likewise.
27385         [C99-based-standards] (SCNi8): Likewise.
27386         [C99-based-standards] (SCNo8): Likewise.
27387         [C99-based-standards] (SCNu8): Likewise.
27388         [C99-based-standards] (SCNx8): Likewise.
27389         [C99-based-standards] (PRIdLEAST8): Likewise.
27390         [C99-based-standards] (PRIiLEAST8): Likewise.
27391         [C99-based-standards] (PRIoLEAST8): Likewise.
27392         [C99-based-standards] (PRIuLEAST8): Likewise.
27393         [C99-based-standards] (PRIxLEAST8): Likewise.
27394         [C99-based-standards] (PRIXLEAST8): Likewise.
27395         [C99-based-standards] (SCNdLEAST8): Likewise.
27396         [C99-based-standards] (SCNiLEAST8): Likewise.
27397         [C99-based-standards] (SCNoLEAST8): Likewise.
27398         [C99-based-standards] (SCNuLEAST8): Likewise.
27399         [C99-based-standards] (SCNxLEAST8): Likewise.
27400         [C99-based-standards] (PRIdFAST8): Likewise.
27401         [C99-based-standards] (PRIiFAST8): Likewise.
27402         [C99-based-standards] (PRIoFAST8): Likewise.
27403         [C99-based-standards] (PRIuFAST8): Likewise.
27404         [C99-based-standards] (PRIxFAST8): Likewise.
27405         [C99-based-standards] (PRIXFAST8): Likewise.
27406         [C99-based-standards] (SCNdFAST8): Likewise.
27407         [C99-based-standards] (SCNiFAST8): Likewise.
27408         [C99-based-standards] (SCNoFAST8): Likewise.
27409         [C99-based-standards] (SCNuFAST8): Likewise.
27410         [C99-based-standards] (SCNxFAST8): Likewise.
27411         [C99-based-standards] (PRId16): Likewise.
27412         [C99-based-standards] (PRIi16): Likewise.
27413         [C99-based-standards] (PRIo16): Likewise.
27414         [C99-based-standards] (PRIu16): Likewise.
27415         [C99-based-standards] (PRIx16): Likewise.
27416         [C99-based-standards] (PRIX16): Likewise.
27417         [C99-based-standards] (SCNd16): Likewise.
27418         [C99-based-standards] (SCNi16): Likewise.
27419         [C99-based-standards] (SCNo16): Likewise.
27420         [C99-based-standards] (SCNu16): Likewise.
27421         [C99-based-standards] (SCNx16): Likewise.
27422         [C99-based-standards] (PRIdLEAST16): Likewise.
27423         [C99-based-standards] (PRIiLEAST16): Likewise.
27424         [C99-based-standards] (PRIoLEAST16): Likewise.
27425         [C99-based-standards] (PRIuLEAST16): Likewise.
27426         [C99-based-standards] (PRIxLEAST16): Likewise.
27427         [C99-based-standards] (PRIXLEAST16): Likewise.
27428         [C99-based-standards] (SCNdLEAST16): Likewise.
27429         [C99-based-standards] (SCNiLEAST16): Likewise.
27430         [C99-based-standards] (SCNoLEAST16): Likewise.
27431         [C99-based-standards] (SCNuLEAST16): Likewise.
27432         [C99-based-standards] (SCNxLEAST16): Likewise.
27433         [C99-based-standards] (PRIdFAST16): Likewise.
27434         [C99-based-standards] (PRIiFAST16): Likewise.
27435         [C99-based-standards] (PRIoFAST16): Likewise.
27436         [C99-based-standards] (PRIuFAST16): Likewise.
27437         [C99-based-standards] (PRIxFAST16): Likewise.
27438         [C99-based-standards] (PRIXFAST16): Likewise.
27439         [C99-based-standards] (SCNdFAST16): Likewise.
27440         [C99-based-standards] (SCNiFAST16): Likewise.
27441         [C99-based-standards] (SCNoFAST16): Likewise.
27442         [C99-based-standards] (SCNuFAST16): Likewise.
27443         [C99-based-standards] (SCNxFAST16): Likewise.
27444         [C99-based-standards] (PRId32): Likewise.
27445         [C99-based-standards] (PRIi32): Likewise.
27446         [C99-based-standards] (PRIo32): Likewise.
27447         [C99-based-standards] (PRIu32): Likewise.
27448         [C99-based-standards] (PRIx32): Likewise.
27449         [C99-based-standards] (PRIX32): Likewise.
27450         [C99-based-standards] (SCNd32): Likewise.
27451         [C99-based-standards] (SCNi32): Likewise.
27452         [C99-based-standards] (SCNo32): Likewise.
27453         [C99-based-standards] (SCNu32): Likewise.
27454         [C99-based-standards] (SCNx32): Likewise.
27455         [C99-based-standards] (PRIdLEAST32): Likewise.
27456         [C99-based-standards] (PRIiLEAST32): Likewise.
27457         [C99-based-standards] (PRIoLEAST32): Likewise.
27458         [C99-based-standards] (PRIuLEAST32): Likewise.
27459         [C99-based-standards] (PRIxLEAST32): Likewise.
27460         [C99-based-standards] (PRIXLEAST32): Likewise.
27461         [C99-based-standards] (SCNdLEAST32): Likewise.
27462         [C99-based-standards] (SCNiLEAST32): Likewise.
27463         [C99-based-standards] (SCNoLEAST32): Likewise.
27464         [C99-based-standards] (SCNuLEAST32): Likewise.
27465         [C99-based-standards] (SCNxLEAST32): Likewise.
27466         [C99-based-standards] (PRIdFAST32): Likewise.
27467         [C99-based-standards] (PRIiFAST32): Likewise.
27468         [C99-based-standards] (PRIoFAST32): Likewise.
27469         [C99-based-standards] (PRIuFAST32): Likewise.
27470         [C99-based-standards] (PRIxFAST32): Likewise.
27471         [C99-based-standards] (PRIXFAST32): Likewise.
27472         [C99-based-standards] (SCNdFAST32): Likewise.
27473         [C99-based-standards] (SCNiFAST32): Likewise.
27474         [C99-based-standards] (SCNoFAST32): Likewise.
27475         [C99-based-standards] (SCNuFAST32): Likewise.
27476         [C99-based-standards] (SCNxFAST32): Likewise.
27477         [C99-based-standards] (PRId64): Likewise.
27478         [C99-based-standards] (PRIi64): Likewise.
27479         [C99-based-standards] (PRIo64): Likewise.
27480         [C99-based-standards] (PRIu64): Likewise.
27481         [C99-based-standards] (PRIx64): Likewise.
27482         [C99-based-standards] (PRIX64): Likewise.
27483         [C99-based-standards] (SCNd64): Likewise.
27484         [C99-based-standards] (SCNi64): Likewise.
27485         [C99-based-standards] (SCNo64): Likewise.
27486         [C99-based-standards] (SCNu64): Likewise.
27487         [C99-based-standards] (SCNx64): Likewise.
27488         [C99-based-standards] (PRIdLEAST64): Likewise.
27489         [C99-based-standards] (PRIiLEAST64): Likewise.
27490         [C99-based-standards] (PRIoLEAST64): Likewise.
27491         [C99-based-standards] (PRIuLEAST64): Likewise.
27492         [C99-based-standards] (PRIxLEAST64): Likewise.
27493         [C99-based-standards] (PRIXLEAST64): Likewise.
27494         [C99-based-standards] (SCNdLEAST64): Likewise.
27495         [C99-based-standards] (SCNiLEAST64): Likewise.
27496         [C99-based-standards] (SCNoLEAST64): Likewise.
27497         [C99-based-standards] (SCNuLEAST64): Likewise.
27498         [C99-based-standards] (SCNxLEAST64): Likewise.
27499         [C99-based-standards] (PRIdFAST64): Likewise.
27500         [C99-based-standards] (PRIiFAST64): Likewise.
27501         [C99-based-standards] (PRIoFAST64): Likewise.
27502         [C99-based-standards] (PRIuFAST64): Likewise.
27503         [C99-based-standards] (PRIxFAST64): Likewise.
27504         [C99-based-standards] (PRIXFAST64): Likewise.
27505         [C99-based-standards] (SCNdFAST64): Likewise.
27506         [C99-based-standards] (SCNiFAST64): Likewise.
27507         [C99-based-standards] (SCNoFAST64): Likewise.
27508         [C99-based-standards] (SCNuFAST64): Likewise.
27509         [C99-based-standards] (SCNxFAST64): Likewise.
27510         [C99-based-standards] (PRIdMAX): Likewise.
27511         [C99-based-standards] (PRIiMAX): Likewise.
27512         [C99-based-standards] (PRIoMAX): Likewise.
27513         [C99-based-standards] (PRIuMAX): Likewise.
27514         [C99-based-standards] (PRIxMAX): Likewise.
27515         [C99-based-standards] (PRIXMAX): Likewise.
27516         [C99-based-standards] (SCNdMAX): Likewise.
27517         [C99-based-standards] (SCNiMAX): Likewise.
27518         [C99-based-standards] (SCNoMAX): Likewise.
27519         [C99-based-standards] (SCNuMAX): Likewise.
27520         [C99-based-standards] (SCNxMAX): Likewise.
27521         [C99-based-standards] (PRIdPTR): Likewise.
27522         [C99-based-standards] (PRIiPTR): Likewise.
27523         [C99-based-standards] (PRIoPTR): Likewise.
27524         [C99-based-standards] (PRIuPTR): Likewise.
27525         [C99-based-standards] (PRIxPTR): Likewise.
27526         [C99-based-standards] (PRIXPTR): Likewise.
27527         [C99-based-standards] (SCNdPTR): Likewise.
27528         [C99-based-standards] (SCNiPTR): Likewise.
27529         [C99-based-standards] (SCNoPTR): Likewise.
27530         [C99-based-standards] (SCNuPTR): Likewise.
27531         [C99-based-standards] (SCNxPTR): Likewise.
27532         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27533         allow.
27534         * conform/data/stdint.h-data: Update comments to clarify
27535         requirements.
27536         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27537         type.
27538         [C99-based standards] (INT8_MAX): Likewise.
27539         [C99-based standards] (INT16_MIN): Likewise.
27540         [C99-based standards] (INT16_MAX): Likewise.
27541         [C99-based standards] (INT32_MIN): Likewise.
27542         [C99-based standards] (INT32_MAX): Likewise.
27543         [C99-based standards] (INT64_MIN): Likewise.
27544         [C99-based standards] (INT64_MAX): Likewise.
27545         [C99-based standards] (UINT8_MAX): Likewise.
27546         [C99-based standards] (UINT16_MAX): Likewise.
27547         [C99-based standards] (UINT32_MAX): Likewise.
27548         [C99-based standards] (UINT64_MAX): Likewise.
27549         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27550         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27551         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27552         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27553         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27554         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27555         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27556         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27557         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27558         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27559         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27560         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27561         [C99-based standards] (INT_FAST8_MIN): Likewise.
27562         [C99-based standards] (INT_FAST8_MAX): Likewise.
27563         [C99-based standards] (INT_FAST16_MIN): Likewise.
27564         [C99-based standards] (INT_FAST16_MAX): Likewise.
27565         [C99-based standards] (INT_FAST32_MIN): Likewise.
27566         [C99-based standards] (INT_FAST32_MAX): Likewise.
27567         [C99-based standards] (INT_FAST64_MIN): Likewise.
27568         [C99-based standards] (INT_FAST64_MAX): Likewise.
27569         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27570         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27571         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27572         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27573         [C99-based standards] (INTPTR_MIN): Likewise.
27574         [C99-based standards] (INTPTR_MAX): Likewise.
27575         [C99-based standards] (UINTPTR_MAX): Likewise.
27576         [C99-based standards] (INTMAX_MIN): Likewise.
27577         [C99-based standards] (INTMAX_MAX): Likewise.
27578         [C99-based standards] (UINTMAX_MAX): Likewise.
27579         [C99-based standards] (PTRDIFF_MIN): Likewise.
27580         [C99-based standards] (PTRDIFF_MAX): Likewise.
27581         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27582         [C99-based standards] (SIZE_MAX): Likewise.
27583         [C99-based standards] (WCHAR_MAX): Likewise.
27584         [C99-based standards] (WINT_MAX): Likewise.
27585         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27586         constraint on value.
27587         [C99-based standards] (WCHAR_MIN): Likewise.
27588         [C99-based standards] (WINT_MIN): Likewise.
27589         [C99-based standards] (*_t): Allow.
27590         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27591         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27592         Include math.h-data and complex.h-data.  Remove all expectations
27593         of math.h and complex.h contents.
27594         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27595         at end of line.
27596         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27597         (struct tm): Expect tag.
27598         [C99-based-standards] (wcstof): Expect function.
27599         [C99-based-standards] (wcstold): Likewise.
27600         [C99-based-standards] (wcstoll): Likewise.
27601         [C99-based-standards] (wcstoull): Likewise.
27602         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27603         macro-int-constant.  Specify type.
27604         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27605         constraint on value.
27606         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27607         Specify type.
27608         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27609         Specify value.
27610         [ISO C standards]: Do not allow headers.
27611         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27612         wcs[abcdefghijklmnopqrstuvwxyz]*.
27613         [ISO C standards] (*_t): Do not allow.
27614         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27615         Expect function.
27616         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27617         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27618         Specify type.
27619         [ISO C standards]: Do not allow headers.
27620         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27621         is[abcdefghijklmnopqrstuvwxyz]*.
27622         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27623         to[abcdefghijklmnopqrstuvwxyz]*.
27624         [ISO C standards] (*_t): Do not allow.
27625         * conform/data/stdalign.h-data: New file.
27626         * conform/data/stdbool.h-data: Likewise.
27627         * conform/data/stdnoreturn.h-data: Likewise.
27628
27629 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27630
27631         [BZ #14815]
27632         * manual/filesys.texi (Directory Entries): Typo fix.
27633         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27634
27635 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27636
27637         * elf/elf.h (EM_AARCH64): New macro.
27638         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27639         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27640         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27641         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27642         (R_AARCH64_TLSDESC): Likewise.
27643         (NT_ARM_TLS): Likewise.
27644         (NT_ARM_HW_BREAK): Likewise.
27645         (NT_ARM_HW_WATCH): Likewise.
27646
27647 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27648
27649         [BZ #14811]
27650         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27651         (__ieee754_powl): Saturate nonzero exponents with absolute value
27652         below 0x1p-79 to +/- 0x1p-79.
27653         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27654         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27655         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27656         nonzero exponents with absolute value below 0x1p-32 to +/-
27657         0x1p-32.
27658         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27659         (__ieee754_powl): Saturate nonzero exponents with absolute value
27660         below 0x1p-79 to +/- 0x1p-79.
27661         * math/libm-test.inc (pow_test): Add more tests.
27662
27663 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27664
27665         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27666         _dl_s390_cap_flags with kernel. Increase string length.
27667         (_dl_s390_platforms): Add z196 and zEC12.
27668
27669 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27670
27671         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27672         Change XOPEN21K to XOPEN2K.
27673
27674 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27675
27676         * string/memmove.c: Use memcpy when possible.
27677
27678 2012-11-06  Andreas Jaeger  <aj@suse.de>
27679
27680         * po/eo.po: Update from translation team.
27681
27682 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27683
27684         [BZ #14793]
27685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27686         exponent and small x and y exponents, scale x or y up.  Increase
27687         by 2 the exponent used in scaling up.
27688         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27689         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27690         * math/libm-test.inc (fma_test): Add more tests.
27691         (fma_test_towardzero): Likewise.
27692         (fma_test_downward): Likewise.
27693         (fma_test_upward): Likewise.
27694
27695 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27696
27697         [BZ #14805]
27698         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27699         fenv_t *.
27700
27701         [BZ #14801]
27702         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27703         namespace for names of struct fields.
27704         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27705         fenv_t fields.
27706         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27707         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27708
27709 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27710
27711         [BZ #3665]
27712         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27713
27714 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27715
27716         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27717         PTR_DEMANGLE.
27718
27719         [BZ #5246]
27720         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27721         PTR_DEMANGLE.
27722
27723 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27724
27725         [BZ #14797]
27726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27727         definitely overflow as x * y not x * y + z.
27728         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27729         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27730         * math/libm-test.inc (fma_test): Add more tests.
27731         (fma_test_towardzero): Likewise.
27732         (fma_test_downward): Likewise.
27733         (fma_test_upward): Likewise.
27734
27735 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27736
27737         [BZ #157]
27738
27739         * include/stub-tag.h: Remove file.
27740         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27741         '#include' of it.
27742         * manual/maint.texi (Porting): Don't reference it.
27743         * Makerules ($(objpfx)stubs): Likewise.
27744         * dirent/closedir.c: Don't include <stub-tag.h>.
27745         * dirent/dirfd.c: Likewise.
27746         * dirent/fdopendir.c: Likewise.
27747         * dirent/getdents.c: Likewise.
27748         * dirent/getdents64.c: Likewise.
27749         * dirent/opendir.c: Likewise.
27750         * dirent/readdir.c: Likewise.
27751         * dirent/readdir64.c: Likewise.
27752         * dirent/readdir64_r.c: Likewise.
27753         * dirent/readdir_r.c: Likewise.
27754         * dirent/rewinddir.c: Likewise.
27755         * dirent/seekdir.c: Likewise.
27756         * dirent/telldir.c: Likewise.
27757         * gmon/profil.c: Likewise.
27758         * grp/setgroups.c: Likewise.
27759         * inet/if_index.c: Likewise.
27760         * io/access.c: Likewise.
27761         * io/chdir.c: Likewise.
27762         * io/chmod.c: Likewise.
27763         * io/chown.c: Likewise.
27764         * io/close.c: Likewise.
27765         * io/dup.c: Likewise.
27766         * io/dup2.c: Likewise.
27767         * io/dup3.c: Likewise.
27768         * io/euidaccess.c: Likewise.
27769         * io/faccessat.c: Likewise.
27770         * io/fchdir.c: Likewise.
27771         * io/fchmod.c: Likewise.
27772         * io/fchmodat.c: Likewise.
27773         * io/fchown.c: Likewise.
27774         * io/fchownat.c: Likewise.
27775         * io/fcntl.c: Likewise.
27776         * io/flock.c: Likewise.
27777         * io/fstatfs.c: Likewise.
27778         * io/fstatfs64.c: Likewise.
27779         * io/fstatvfs.c: Likewise.
27780         * io/fstatvfs64.c: Likewise.
27781         * io/futimens.c: Likewise.
27782         * io/fxstat.c: Likewise.
27783         * io/fxstat64.c: Likewise.
27784         * io/fxstatat.c: Likewise.
27785         * io/fxstatat64.c: Likewise.
27786         * io/getcwd.c: Likewise.
27787         * io/isatty.c: Likewise.
27788         * io/lchmod.c: Likewise.
27789         * io/lchown.c: Likewise.
27790         * io/link.c: Likewise.
27791         * io/linkat.c: Likewise.
27792         * io/lseek.c: Likewise.
27793         * io/lseek64.c: Likewise.
27794         * io/lxstat64.c: Likewise.
27795         * io/mkdir.c: Likewise.
27796         * io/mkdirat.c: Likewise.
27797         * io/mkfifo.c: Likewise.
27798         * io/mkfifoat.c: Likewise.
27799         * io/open.c: Likewise.
27800         * io/open64.c: Likewise.
27801         * io/openat.c: Likewise.
27802         * io/openat64.c: Likewise.
27803         * io/pipe.c: Likewise.
27804         * io/pipe2.c: Likewise.
27805         * io/poll.c: Likewise.
27806         * io/posix_fadvise.c: Likewise.
27807         * io/posix_fadvise64.c: Likewise.
27808         * io/posix_fallocate.c: Likewise.
27809         * io/posix_fallocate64.c: Likewise.
27810         * io/read.c: Likewise.
27811         * io/readlink.c: Likewise.
27812         * io/readlinkat.c: Likewise.
27813         * io/rmdir.c: Likewise.
27814         * io/sendfile.c: Likewise.
27815         * io/sendfile64.c: Likewise.
27816         * io/statfs.c: Likewise.
27817         * io/statfs64.c: Likewise.
27818         * io/statvfs.c: Likewise.
27819         * io/statvfs64.c: Likewise.
27820         * io/symlink.c: Likewise.
27821         * io/symlinkat.c: Likewise.
27822         * io/ttyname.c: Likewise.
27823         * io/ttyname_r.c: Likewise.
27824         * io/umask.c: Likewise.
27825         * io/unlink.c: Likewise.
27826         * io/unlinkat.c: Likewise.
27827         * io/utime.c: Likewise.
27828         * io/utimensat.c: Likewise.
27829         * io/write.c: Likewise.
27830         * io/xmknod.c: Likewise.
27831         * io/xmknodat.c: Likewise.
27832         * io/xstat.c: Likewise.
27833         * io/xstat64.c: Likewise.
27834         * login/getpt.c: Likewise.
27835         * login/grantpt.c: Likewise.
27836         * login/unlockpt.c: Likewise.
27837         * math/e_acoshl.c: Likewise.
27838         * math/e_acosl.c: Likewise.
27839         * math/e_asinl.c: Likewise.
27840         * math/e_atan2l.c: Likewise.
27841         * math/e_atanhl.c: Likewise.
27842         * math/e_coshl.c: Likewise.
27843         * math/e_expl.c: Likewise.
27844         * math/e_fmodl.c: Likewise.
27845         * math/e_gammal_r.c: Likewise.
27846         * math/e_hypotl.c: Likewise.
27847         * math/e_j0l.c: Likewise.
27848         * math/e_j1l.c: Likewise.
27849         * math/e_jnl.c: Likewise.
27850         * math/e_lgammal_r.c: Likewise.
27851         * math/e_log10l.c: Likewise.
27852         * math/e_log2l.c: Likewise.
27853         * math/e_logl.c: Likewise.
27854         * math/e_powl.c: Likewise.
27855         * math/e_rem_pio2l.c: Likewise.
27856         * math/e_sinhl.c: Likewise.
27857         * math/e_sqrtl.c: Likewise.
27858         * math/fclrexcpt.c: Likewise.
27859         * math/fedisblxcpt.c: Likewise.
27860         * math/feenablxcpt.c: Likewise.
27861         * math/fegetenv.c: Likewise.
27862         * math/fegetexcept.c: Likewise.
27863         * math/fegetround.c: Likewise.
27864         * math/feholdexcpt.c: Likewise.
27865         * math/fesetenv.c: Likewise.
27866         * math/fesetround.c: Likewise.
27867         * math/feupdateenv.c: Likewise.
27868         * math/fgetexcptflg.c: Likewise.
27869         * math/fraiseexcpt.c: Likewise.
27870         * math/fsetexcptflg.c: Likewise.
27871         * math/ftestexcept.c: Likewise.
27872         * math/k_cosl.c: Likewise.
27873         * math/k_rem_pio2l.c: Likewise.
27874         * math/k_sinl.c: Likewise.
27875         * math/k_tanl.c: Likewise.
27876         * math/s_asinhl.c: Likewise.
27877         * math/s_atanl.c: Likewise.
27878         * math/s_cbrtl.c: Likewise.
27879         * math/s_erfl.c: Likewise.
27880         * math/s_expm1l.c: Likewise.
27881         * math/s_log1pl.c: Likewise.
27882         * math/s_tanhl.c: Likewise.
27883         * misc/acct.c: Likewise.
27884         * misc/brk.c: Likewise.
27885         * misc/chflags.c: Likewise.
27886         * misc/chroot.c: Likewise.
27887         * misc/fchflags.c: Likewise.
27888         * misc/fgetxattr.c: Likewise.
27889         * misc/flistxattr.c: Likewise.
27890         * misc/fremovexattr.c: Likewise.
27891         * misc/fsetxattr.c: Likewise.
27892         * misc/fsync.c: Likewise.
27893         * misc/ftruncate.c: Likewise.
27894         * misc/futimes.c: Likewise.
27895         * misc/futimesat.c: Likewise.
27896         * misc/getdomain.c: Likewise.
27897         * misc/getdtsz.c: Likewise.
27898         * misc/gethostid.c: Likewise.
27899         * misc/gethostname.c: Likewise.
27900         * misc/getloadavg.c: Likewise.
27901         * misc/getpagesize.c: Likewise.
27902         * misc/getsysstats.c: Likewise.
27903         * misc/getxattr.c: Likewise.
27904         * misc/gtty.c: Likewise.
27905         * misc/ioctl.c: Likewise.
27906         * misc/lgetxattr.c: Likewise.
27907         * misc/listxattr.c: Likewise.
27908         * misc/llistxattr.c: Likewise.
27909         * misc/lremovexattr.c: Likewise.
27910         * misc/lsetxattr.c: Likewise.
27911         * misc/lutimes.c: Likewise.
27912         * misc/madvise.c: Likewise.
27913         * misc/mincore.c: Likewise.
27914         * misc/mlock.c: Likewise.
27915         * misc/mlockall.c: Likewise.
27916         * misc/mmap.c: Likewise.
27917         * misc/mprotect.c: Likewise.
27918         * misc/msync.c: Likewise.
27919         * misc/munlock.c: Likewise.
27920         * misc/munlockall.c: Likewise.
27921         * misc/munmap.c: Likewise.
27922         * misc/preadv.c: Likewise.
27923         * misc/preadv64.c: Likewise.
27924         * misc/ptrace.c: Likewise.
27925         * misc/pwritev.c: Likewise.
27926         * misc/pwritev64.c: Likewise.
27927         * misc/readv.c: Likewise.
27928         * misc/reboot.c: Likewise.
27929         * misc/remap_file_pages.c: Likewise.
27930         * misc/removexattr.c: Likewise.
27931         * misc/revoke.c: Likewise.
27932         * misc/select.c: Likewise.
27933         * misc/setdomain.c: Likewise.
27934         * misc/setegid.c: Likewise.
27935         * misc/seteuid.c: Likewise.
27936         * misc/sethostid.c: Likewise.
27937         * misc/sethostname.c: Likewise.
27938         * misc/setregid.c: Likewise.
27939         * misc/setreuid.c: Likewise.
27940         * misc/setxattr.c: Likewise.
27941         * misc/sstk.c: Likewise.
27942         * misc/stty.c: Likewise.
27943         * misc/swapoff.c: Likewise.
27944         * misc/swapon.c: Likewise.
27945         * misc/sync.c: Likewise.
27946         * misc/syncfs.c: Likewise.
27947         * misc/syscall.c: Likewise.
27948         * misc/truncate.c: Likewise.
27949         * misc/ualarm.c: Likewise.
27950         * misc/usleep.c: Likewise.
27951         * misc/ustat.c: Likewise.
27952         * misc/utimes.c: Likewise.
27953         * misc/vhangup.c: Likewise.
27954         * misc/writev.c: Likewise.
27955         * posix/_exit.c: Likewise.
27956         * posix/alarm.c: Likewise.
27957         * posix/execve.c: Likewise.
27958         * posix/fexecve.c: Likewise.
27959         * posix/fork.c: Likewise.
27960         * posix/fpathconf.c: Likewise.
27961         * posix/getaddrinfo.c: Likewise.
27962         * posix/getegid.c: Likewise.
27963         * posix/geteuid.c: Likewise.
27964         * posix/getgid.c: Likewise.
27965         * posix/getgroups.c: Likewise.
27966         * posix/getlogin.c: Likewise.
27967         * posix/getlogin_r.c: Likewise.
27968         * posix/getpgid.c: Likewise.
27969         * posix/getpid.c: Likewise.
27970         * posix/getppid.c: Likewise.
27971         * posix/getresgid.c: Likewise.
27972         * posix/getresuid.c: Likewise.
27973         * posix/getsid.c: Likewise.
27974         * posix/getuid.c: Likewise.
27975         * posix/glob64.c: Likewise.
27976         * posix/nanosleep.c: Likewise.
27977         * posix/pathconf.c: Likewise.
27978         * posix/pause.c: Likewise.
27979         * posix/posix_madvise.c: Likewise.
27980         * posix/pread.c: Likewise.
27981         * posix/pread64.c: Likewise.
27982         * posix/pwrite.c: Likewise.
27983         * posix/pwrite64.c: Likewise.
27984         * posix/sched_getaffinity.c: Likewise.
27985         * posix/sched_getp.c: Likewise.
27986         * posix/sched_gets.c: Likewise.
27987         * posix/sched_primax.c: Likewise.
27988         * posix/sched_primin.c: Likewise.
27989         * posix/sched_rr_gi.c: Likewise.
27990         * posix/sched_setaffinity.c: Likewise.
27991         * posix/sched_setp.c: Likewise.
27992         * posix/sched_sets.c: Likewise.
27993         * posix/sched_yield.c: Likewise.
27994         * posix/setgid.c: Likewise.
27995         * posix/setlogin.c: Likewise.
27996         * posix/setpgid.c: Likewise.
27997         * posix/setresgid.c: Likewise.
27998         * posix/setresuid.c: Likewise.
27999         * posix/setsid.c: Likewise.
28000         * posix/setuid.c: Likewise.
28001         * posix/sleep.c: Likewise.
28002         * posix/spawni.c: Likewise.
28003         * posix/sysconf.c: Likewise.
28004         * posix/times.c: Likewise.
28005         * posix/wait.c: Likewise.
28006         * posix/wait3.c: Likewise.
28007         * posix/wait4.c: Likewise.
28008         * posix/waitpid.c: Likewise.
28009         * resolv/gai_sigqueue.c: Likewise.
28010         * resource/getpriority.c: Likewise.
28011         * resource/getrlimit.c: Likewise.
28012         * resource/getrusage.c: Likewise.
28013         * resource/nice.c: Likewise.
28014         * resource/setpriority.c: Likewise.
28015         * resource/setrlimit.c: Likewise.
28016         * resource/ulimit.c: Likewise.
28017         * rt/aio_cancel.c: Likewise.
28018         * rt/aio_fsync.c: Likewise.
28019         * rt/aio_read.c: Likewise.
28020         * rt/aio_sigqueue.c: Likewise.
28021         * rt/aio_suspend.c: Likewise.
28022         * rt/aio_write.c: Likewise.
28023         * rt/clock_getres.c: Likewise.
28024         * rt/clock_gettime.c: Likewise.
28025         * rt/clock_nanosleep.c: Likewise.
28026         * rt/clock_settime.c: Likewise.
28027         * rt/lio_listio.c: Likewise.
28028         * rt/mq_close.c: Likewise.
28029         * rt/mq_getattr.c: Likewise.
28030         * rt/mq_notify.c: Likewise.
28031         * rt/mq_open.c: Likewise.
28032         * rt/mq_receive.c: Likewise.
28033         * rt/mq_send.c: Likewise.
28034         * rt/mq_setattr.c: Likewise.
28035         * rt/mq_timedreceive.c: Likewise.
28036         * rt/mq_timedsend.c: Likewise.
28037         * rt/mq_unlink.c: Likewise.
28038         * rt/shm_open.c: Likewise.
28039         * rt/shm_unlink.c: Likewise.
28040         * rt/timer_create.c: Likewise.
28041         * rt/timer_delete.c: Likewise.
28042         * rt/timer_getoverr.c: Likewise.
28043         * rt/timer_gettime.c: Likewise.
28044         * rt/timer_settime.c: Likewise.
28045         * setjmp/__longjmp.c: Likewise.
28046         * setjmp/setjmp.c: Likewise.
28047         * signal/kill.c: Likewise.
28048         * signal/killpg.c: Likewise.
28049         * signal/raise.c: Likewise.
28050         * signal/sigaction.c: Likewise.
28051         * signal/sigaltstack.c: Likewise.
28052         * signal/sigblock.c: Likewise.
28053         * signal/sigignore.c: Likewise.
28054         * signal/sigintr.c: Likewise.
28055         * signal/signal.c: Likewise.
28056         * signal/sigpause.c: Likewise.
28057         * signal/sigpending.c: Likewise.
28058         * signal/sigqueue.c: Likewise.
28059         * signal/sigreturn.c: Likewise.
28060         * signal/sigset.c: Likewise.
28061         * signal/sigsetmask.c: Likewise.
28062         * signal/sigstack.c: Likewise.
28063         * signal/sigsuspend.c: Likewise.
28064         * signal/sigtimedwait.c: Likewise.
28065         * signal/sigvec.c: Likewise.
28066         * signal/sigwait.c: Likewise.
28067         * signal/sigwaitinfo.c: Likewise.
28068         * signal/sysv_signal.c: Likewise.
28069         * socket/accept.c: Likewise.
28070         * socket/accept4.c: Likewise.
28071         * socket/bind.c: Likewise.
28072         * socket/connect.c: Likewise.
28073         * socket/getpeername.c: Likewise.
28074         * socket/getsockname.c: Likewise.
28075         * socket/getsockopt.c: Likewise.
28076         * socket/isfdtype.c: Likewise.
28077         * socket/listen.c: Likewise.
28078         * socket/recv.c: Likewise.
28079         * socket/recvfrom.c: Likewise.
28080         * socket/recvmsg.c: Likewise.
28081         * socket/send.c: Likewise.
28082         * socket/sendmsg.c: Likewise.
28083         * socket/sendto.c: Likewise.
28084         * socket/setsockopt.c: Likewise.
28085         * socket/shutdown.c: Likewise.
28086         * socket/sockatmark.c: Likewise.
28087         * socket/socket.c: Likewise.
28088         * socket/socketpair.c: Likewise.
28089         * stdio-common/ctermid.c: Likewise.
28090         * stdio-common/cuserid.c: Likewise.
28091         * stdio-common/remove.c: Likewise.
28092         * stdio-common/rename.c: Likewise.
28093         * stdio-common/renameat.c: Likewise.
28094         * stdio-common/tempname.c: Likewise.
28095         * stdlib/getcontext.c: Likewise.
28096         * stdlib/makecontext.c: Likewise.
28097         * stdlib/setcontext.c: Likewise.
28098         * stdlib/swapcontext.c: Likewise.
28099         * stdlib/system.c: Likewise.
28100         * streams/fattach.c: Likewise.
28101         * streams/fdetach.c: Likewise.
28102         * streams/getmsg.c: Likewise.
28103         * streams/getpmsg.c: Likewise.
28104         * streams/putmsg.c: Likewise.
28105         * streams/putpmsg.c: Likewise.
28106         * sysdeps/unix/bsd/getpt.c: Likewise.
28107         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28108         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28109         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28111         Likewise.
28112         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28113         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28114         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28115         * sysvipc/msgctl.c: Likewise.
28116         * sysvipc/msgget.c: Likewise.
28117         * sysvipc/msgrcv.c: Likewise.
28118         * sysvipc/msgsnd.c: Likewise.
28119         * sysvipc/semctl.c: Likewise.
28120         * sysvipc/semget.c: Likewise.
28121         * sysvipc/semop.c: Likewise.
28122         * sysvipc/semtimedop.c: Likewise.
28123         * sysvipc/shmat.c: Likewise.
28124         * sysvipc/shmctl.c: Likewise.
28125         * sysvipc/shmdt.c: Likewise.
28126         * sysvipc/shmget.c: Likewise.
28127         * termios/tcdrain.c: Likewise.
28128         * termios/tcflow.c: Likewise.
28129         * termios/tcflush.c: Likewise.
28130         * termios/tcgetattr.c: Likewise.
28131         * termios/tcgetpgrp.c: Likewise.
28132         * termios/tcsendbrk.c: Likewise.
28133         * termios/tcsetattr.c: Likewise.
28134         * termios/tcsetpgrp.c: Likewise.
28135         * time/adjtime.c: Likewise.
28136         * time/clock.c: Likewise.
28137         * time/getitimer.c: Likewise.
28138         * time/gettimeofday.c: Likewise.
28139         * time/setitimer.c: Likewise.
28140         * time/settimeofday.c: Likewise.
28141         * time/stime.c: Likewise.
28142         * time/time.c: Likewise.
28143
28144 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28145
28146         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28147         /usr/old/bin.
28148
28149         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28150         instead of spaces.
28151         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28152
28153 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28154
28155         [BZ #14796]
28156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28157         FE_TONEAREST before applying Dekker multiplication and Knuth
28158         addition.  Clear inexact exceptions and check for exact zero
28159         results afterwards.
28160         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28161         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28162         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28163         * math/libm-test.inc (fma_test): Add more tests.
28164         (fma_test_towardzero): Likewise.
28165         (fma_test_downward): Likewise.
28166         (fma_test_upward): Likewise.
28167         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28168         function.
28169         (libc_fesetround): New macro.
28170         (libc_fesetroundf): Likewise.
28171         (libc_fesetroundl): Likewise.
28172         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28173         function.
28174         (libc_fesetround_387): Likewise.
28175         (libc_fesetroundf): New macro.
28176         (libc_fesetround): Likewise.
28177         (libc_fesetroundl): Likewise.
28178         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28179         function.
28180         (libc_fesetroundf): New macro.
28181         (libc_fesetround): Likewise.
28182         (libc_fesetroundl): Likewise.
28183         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28184         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28185         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28186         libm_hidden_ver.
28187         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28188         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28189         libm_hidden_def.
28190         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28191         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28192         libm_hidden_ver.
28193         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28194         libm_hidden_def.
28195
28196         [BZ #3439]
28197         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28198         integer constant usable in #if and use that to give value to enum
28199         constant.
28200         (FE_DIVBYZERO): Likewise.
28201         (FE_UNDERFLOW): Likewise.
28202         (FE_OVERFLOW): Likewise.
28203         (FE_INVALID): Likewise.
28204         (FE_INVALID_SNAN): Likewise.
28205         (FE_INVALID_ISI): Likewise.
28206         (FE_INVALID_IDI): Likewise.
28207         (FE_INVALID_ZDZ): Likewise.
28208         (FE_INVALID_IMZ): Likewise.
28209         (FE_INVALID_COMPARE): Likewise.
28210         (FE_INVALID_SOFTWARE): Likewise.
28211         (FE_INVALID_SQRT): Likewise.
28212         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28213         (FE_TONEAREST): Likewise.
28214         (FE_TOWARDZERO): Likewise.
28215         (FE_UPWARD): Likewise.
28216         (FE_DOWNWARD): Likewise.
28217         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28218         (FE_DIVBYZERO): Likewise.
28219         (FE_OVERFLOW): Likewise.
28220         (FE_UNDERFLOW): Likewise.
28221         (FE_INEXACT): Likewise.
28222         (FE_TONEAREST): Likewise.
28223         (FE_DOWNWARD): Likewise.
28224         (FE_UPWARD): Likewise.
28225         (FE_TOWARDZERO): Likewise.
28226         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28227         (FE_UNDERFLOW): Likewise.
28228         (FE_OVERFLOW): Likewise.
28229         (FE_DIVBYZERO): Likewise.
28230         (FE_INVALID): Likewise.
28231         (FE_TONEAREST): Likewise.
28232         (FE_TOWARDZERO): Likewise.
28233         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28234         (FE_OVERFLOW): Likewise.
28235         (FE_UNDERFLOW): Likewise.
28236         (FE_DIVBYZERO): Likewise.
28237         (FE_INEXACT): Likewise.
28238         (FE_TONEAREST): Likewise.
28239         (FE_TOWARDZERO): Likewise.
28240         (FE_UPWARD): Likewise.
28241         (FE_DOWNWARD): Likewise.
28242         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28243         (FE_DIVBYZERO): Likewise.
28244         (FE_OVERFLOW): Likewise.
28245         (FE_UNDERFLOW): Likewise.
28246         (FE_INEXACT): Likewise.
28247         (FE_TONEAREST): Likewise.
28248         (FE_DOWNWARD): Likewise.
28249         (FE_UPWARD): Likewise.
28250         (FE_TOWARDZERO): Likewise.
28251
28252 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28253
28254         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28255
28256 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28257
28258         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28259         commands.  Quote $PWD.
28260         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28261         -x" by "export".
28262         (remove_newlines): Remove.
28263
28264 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28265
28266         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28267         * stdlib/stdlib.h (atof): Moved to ...
28268         * include/bits/stdlib-float.h: Here.  New file.
28269         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28270         * stdlib/bits/stdlib-float.h: New file.
28271         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28272         -mno-sse -mno-mmx.
28273         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28274         <xmmintrin.h>.
28275
28276 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28277
28278         * conform/conformtest.pl (@headers): Add fenv.h.
28279         * conform/data/fenv.h-data: New file.
28280         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28281         include of <math/fenv.h>.
28282
28283         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28284         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28285         && !UNIX98].  Enables tests for XOPEN2K8.
28286         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28287         POSIX2008]: Likewise.
28288
28289         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28290         (struct rusage): Do not expect type or its members.
28291
28292         [BZ #3439]
28293         * math/math.h (FP_NAN): Define macro to integer constant usable in
28294         #if and use that to give value to enum constant.
28295         (FP_INFINITE): Likewise.
28296         (FP_ZERO): Likewise.
28297         (FP_SUBNORMAL): Likewise.
28298         (FP_NORMAL): Likewise.
28299
28300 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28301
28302         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28303         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28304         arguments.
28305
28306 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28307
28308         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28309         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28310         autoconf-time if not.
28311         * configure.in: Remove AC_PREREQ.
28312
28313 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28314
28315         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28316         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28317         of the internal implementation.
28318
28319 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28320
28321         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28322         except include of <misc/sys/syslog.h>.
28323
28324 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28325
28326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28327         function returns with a NULL context exit with zero.
28328
28329 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28330
28331         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28332
28333 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28334
28335         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28336         (run_program_cmd): This.
28337         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28338         (tst_langinfo): New variable.  Use it.
28339
28340 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28341
28342         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28343         floating point opcodes.
28344
28345 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28346
28347         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28348         variable.
28349
28350         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28351
28352         * sysdeps/mach/hurd/powerpc: Remove directory.
28353         * sysdeps/mach/powerpc: Likewise.
28354
28355 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28356
28357         * scripts/check-local-headers.sh: Ignore c++ headers.
28358
28359 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28360
28361         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28362         __libc_cleanup_region_start argument.
28363
28364 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28365
28366         [BZ #14784]
28367         [BZ #14785]
28368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28369         x * y using scaling, not as x * y + z.
28370         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28371         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28372         * math/libm-test.inc (fma_test): Add more tests.
28373         (fma_test_towardzero): Likewise.
28374         (fma_test_downward): Likewise.
28375         (fma_test_upward): Likewise.
28376
28377 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28378
28379         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28380
28381 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28382
28383         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28384         New variable.
28385
28386 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28387
28388         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28389
28390 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28391
28392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28393         Fix sort order.
28394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28395         Likewise.
28396
28397 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28398
28399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28400         Fix the order of the list for glibc 2.17.
28401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28402         Likewise.
28403
28404 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28405
28406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28407
28408 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28409
28410         [BZ #14610]
28411         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28412         for low part of x being zero before using __atanl (y).
28413         * math/libm-test.inc (atan2_test): Add another test.
28414
28415         * manual/install.texi (Configuring and compiling): Document
28416         general use of test-wrapper and test-wrapper-env.
28417         * INSTALL: Regenerated.
28418
28419         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28420         (__fma): Do not extract and scale down low bits on after-rounding
28421         systems when result rounded to normal precision would have normal
28422         exponent.
28423         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28424         (__fmal): Do not extract and scale down low bits on after-rounding
28425         systems when result rounded to normal precision would have normal
28426         exponent.
28427         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28428         (__fmal): Do not extract and scale down low bits on after-rounding
28429         systems when result rounded to normal precision would have normal
28430         exponent.
28431         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28432         macro.
28433         (fma_test): Add more tests.
28434         (fma_test_towardzero): Likewise.
28435         (fma_test_downward): Likewise.
28436         (fma_test_upward): Likewise.
28437
28438 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28439
28440         * sysdeps/i386/tininess.h: Renamed to ...
28441         * sysdeps/x86/tininess.h: This.
28442         * sysdeps/x86_64/tininess.h: Removed.
28443
28444 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28445
28446         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28447         input.  Use $(build-program-cmd).
28448         ($(objpfx)tst-array1-static.out): Likewise.
28449         ($(objpfx)tst-array2.out): Likewise.
28450         ($(objpfx)tst-array3.out): Likewise.
28451         ($(objpfx)tst-array4.out): Likewise.
28452         ($(objpfx)tst-array5.out): Likewise.
28453         ($(objpfx)tst-array5-static.out): Likewise.
28454
28455 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28456
28457         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28458         if defined.
28459
28460         * nss/nsswitch.h (nss_interface_function): Provide new
28461         macro for use with NSS functions.
28462         * grp/initgroups.c: Use new macro.
28463         * nss/getXXbyYY.c: Likewise.
28464         * nss/getXXbyYY_r.c: Likewise.
28465         * nss/getXXent.c: Likewise.
28466         * nss/getXXent_r.c: Likewise.
28467         * sysdeps/posix/getaddrinfo.c: Likewise.
28468
28469 2012-10-30  Andreas Jaeger  <aj@suse.de>
28470
28471         * po/ru.po: Update Russion translation from translation project.
28472
28473 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28474
28475         [BZ #14152]
28476         [BZ #14783]
28477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28478         result and shift together with sticky bit instead of replicating
28479         round-to-nearest rounding.
28480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28482         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28483         missing underflow exceptions.
28484         (fma_test_towardzero): Add more tests.
28485         (fma_test_downward): Likewise.
28486         (fma_test_upward): Likewise.
28487
28488         [BZ #14047]
28489         * sysdeps/generic/tininess.h: New file.
28490         * sysdeps/i386/tininess.h: Likewise.
28491         * sysdeps/sh/tininess.h: Likewise.
28492         * sysdeps/x86_64/tininess.h: Likewise.
28493         * stdlib/tst-strtod-underflow.c: Likewise.
28494         * stdlib/tst-tininess.c: Likewise.
28495         * stdlib/strtod_l.c: Include <tininess.h>.
28496         (round_and_return): Do not set errno for exact underflow cases.
28497         Force an underflow exception when setting errno for underflow.
28498         Determine underflow based on rounding to normal precision if
28499         TININESS_AFTER_ROUNDING.
28500         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28501         ERANGE for exact underflow cases.
28502         * stdlib/Makefile (tests): Add tst-tininess and
28503         tst-strtod-underflow.
28504         ($(objpfx)tst-tininess): Use $(link-libm).
28505         ($(objpfx)tst-strtod-underflow): Likewise.
28506
28507 2012-10-30  Andreas Jaeger  <aj@suse.de>
28508
28509         [BZ#14767]
28510         * elf/Makefile (tests): Remove conditional for have-initfini-array
28511         since this is now always required and the variable does not exist
28512         anymore.
28513         (tests-static): Likewise.
28514         (modules-names): Likewise.
28515
28516         * po/eo.po: Add Esperanto translation from translation project.
28517
28518         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28519         merged with constructor/destructor.
28520         (init_array): Likewise.
28521         * elf/tst-array2dep.c (fini_array): Likewise.
28522         (init_array): Likewise.
28523
28524 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28525
28526         * manual/message.texi: Delete @cartouche tags.
28527
28528 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28529
28530         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28531         EOPNOTSUPP.
28532         * sysdeps/mach/hurd/fsync.c: Likewise.
28533
28534         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28535         [_POSIX_REALTIME_SIGNALS]: Change condition to
28536         [_POSIX_REALTIME_SIGNALS > 0].
28537
28538 2012-10-27  Andreas Jaeger  <aj@suse.de>
28539
28540         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28541         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28542         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28543         [__WORDSIZE != 64]: Likewise.
28544
28545 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28546
28547         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28548         *  iconvdata/tst-tables.sh: Likewise.
28549
28550 2012-10-25  David S. Miller  <davem@davemloft.net>
28551
28552         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28553         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28554         of strtoull.
28555
28556         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28557         ifunc-impl-list.c
28558         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28559         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28560         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28561         file.
28562
28563 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28564
28565         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28566         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28567         __getdirentries.
28568
28569 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28570             Jim Blandy  <jimb@codesourcery.com>
28571
28572         * scripts/cross-test-ssh.sh: New file.
28573         * manual/install.texi (Configuring and compiling): Document use of
28574         cross-test-ssh.sh.
28575         * INSTALL: Regenerated.
28576
28577 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28578
28579         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28580         EOPNOTSUPP.
28581
28582 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28583
28584         * Makeconfig (run-program-prefix): Fix comment.
28585
28586 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28587             Jim Blandy  <jimb@codesourcery.com>
28588
28589         * Makeconfig (test-wrapper): New variable,
28590         (test-wrapper-env): Likewise.
28591         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28592         (run-built-tests): Define to yes.
28593         (run-program-prefix): Use $(test-wrapper).
28594         (built-program-cmd): Likewise.
28595         * Rules (make-test-out): Use $(test-wrapper-env) and
28596         $(host-built-program-cmd).
28597         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28598         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28599         tst-pathopt.sh.
28600         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28601         $(test-wrapper-env) to tst-rtld-load-self.sh.
28602         ($(objpfx)order2.out): Use $(test-wrapper).
28603         ($(objpfx)tst-initorder.out): Likewise.
28604         ($(objpfx)tst-initorder2.out): Likewise.
28605         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28606         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28607         (test_wrapper_env): New variable.  Use it to run ld.so.
28608         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28609         Use it to run ld.so.
28610         (test_wrapper_env): Likewise.
28611         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28612         $(test-wrapper) to run-iconv-test.sh.
28613         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28614         (ICONV): Use $test_wrapper.
28615         * posix/Makefile ($(objpfx)globtest.out): Pass
28616         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28617         globtest.sh, not $(run-program-prefix).
28618         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28619         (test_wrapper): Likewise.
28620         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28621         set together with run_via_rtld_prefix.
28622         (run_program_prefix): Define in terms of test_wrapper and
28623         run_via_rtld_prefix.
28624
28625 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28626
28627         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28628         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28629         Targets removed.
28630
28631         [BZ #14743]
28632         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28633         Declare __clock_getres, __clock_gettime, __clock_settime,
28634         __clock_nanosleep, and __clock_getcpuclockid.
28635         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28636         Remove librt_hidden_def (clock_gettime).
28637         * sysdeps/unix/clock_gettime.c: Likewise.
28638         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28639         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28640         * rt/clock_getres.c: Define __clock_getres as an alias.
28641         * sysdeps/posix/clock_getres.c: Likewise.
28642         * rt/clock_settime.c: Define __clock_settime as an alias.
28643         * sysdeps/unix/clock_settime.c: Likewise.
28644         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28645         * sysdeps/unix/clock_nanosleep.c: Likewise.
28646         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28647         * rt/clock-compat.c: New file.
28648         * rt/Makefile (librt-routines): Add clock-compat and move
28649         $(clock-routines) to ...
28650         (routines): ... here, new variable.
28651         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28652         Don't add get_clockfreq here.
28653         * rt/Versions (libc: GLIBC_2.17): New version set.
28654         Add clock_* symbols here.
28655         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28656         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28657         (GLIBC_2.17): Add clock_* symbols.
28658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28660         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28662         Likewise.
28663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28664         Likewise.
28665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28669         * NEWS: Mention the move.
28670
28671         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28672         Use __open, __read, __close rather than their public counterparts.
28673         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28674         (__get_clockfreq_via_cpuinfo): Likewise.
28675         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28676         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28677
28678         * config.h.in (HAVE_IFUNC): New #undef.
28679         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28680         was successful.
28681         * configure: Regenerated.
28682
28683 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28684
28685         * configure.in: Move READELF check to start of file.
28686         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28687         libc_cv_asm_gnu_indirect_function in the process.
28688         * configure: Regenerated.
28689
28690 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28691
28692         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28693         send the output to /dev/null.
28694         (libc_cv_cc_with_libunwind): Likewise.
28695         (libc_cv_as_noexecstack): Likewise.
28696         * configure: Regenerate.
28697
28698 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28699
28700         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28701
28702         * posix/globtest.sh (TMPDIR): Do not set.
28703         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28704         (testout): Likewise.
28705
28706 2012-10-24  Andreas Jaeger  <aj@suse.de>
28707
28708         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28709         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28710         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28711         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28712         posix_fadvise64, posix_fallocate64.
28713
28714         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28715         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28716         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28717         Likewise.
28718         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28719         Likewise.
28720         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28721
28722         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28723         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28724         <bits/fcntl-linux.h>.
28725         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28726
28727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28728         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28729         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28730         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28731         [__WORDSIZE != 64]: Likewise.
28732
28733 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28734
28735         * Makeconfig (run-built-tests): New variable.
28736         * Rules [$(cross-compiling) = yes]: Change condition to
28737         [$(run-built-tests) = no].
28738         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28739         to [$(run-built-tests) = yes].
28740         * elf/Makefile [$(cross-compiling) = no]: Likewise
28741         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28742         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28743         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28744         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28745         * io/Makefile [$(cross-compiling) = no]: Likewise.
28746         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28747         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28748         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28749         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28750         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28751         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28752         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28753         * string/Makefile [$(cross-compiling) = no]: Likewise.
28754
28755         * posix/Makefile ($(objpfx)globtest.out): Pass
28756         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28757         $(rtld-installed-name).
28758         * posix/globtest.sh (elf_objpfx): Remove variable.
28759         (rtld_installed_name): Likewise.
28760         (library_path): Likewise.
28761         (run_program_prefix): New variable.  Use for running globtest
28762         binary.
28763
28764 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28765             Joseph Myers  <joseph@codesourcery.com>
28766
28767         * Makeconfig (host-built-program-cmd): New variable.
28768         * elf/Makefile (tst-stackguard1-ARGS): Use
28769         $(host-built-program-cmd).
28770         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28771         (tst-spawn-ARGS): Likewise.
28772         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28773
28774 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28775             Jim Blandy  <jimb@codesourcery.com>
28776
28777         * Makeconfig (run-via-rtld-prefix): New variable.
28778         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28779         (built-program-cmd): Likewise.
28780
28781 2012-10-22  Andreas Jaeger  <aj@suse.de>
28782
28783         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28784         __O_RSYNC if it exists, otherwise to O_SYNC.
28785
28786 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28787             Joseph Myers  <joseph@codesourcery.com>
28788
28789         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28790         /dev/null.
28791         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28792         from /dev/null
28793         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28794         /dev/null.
28795
28796 2012-10-22  Andreas Jaeger  <aj@suse.de>
28797
28798         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28799         Define always.
28800         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28801
28802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28803         bits/fcntl-linux.h.
28804
28805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28806         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28807
28808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28809         to __O_LARGEFILE.
28810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28811         to __O_LARGEFILE.
28812
28813 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28814             Joseph Myers  <joseph@codesourcery.com>
28815
28816         * config.make.in (NM): New variable.
28817
28818 2012-10-21  Andreas Jaeger  <aj@suse.de>
28819
28820         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28821         definitions and declarations that are provided by
28822         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28823
28824 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28825
28826         [BZ #14683]
28827         * elf/Makefile (tests-static): Add tst-leaks1-static.
28828         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28829         ($(objpfx)tst-leaks1-static): New rule.
28830         ($(objpfx)tst-leaks1-static-mem): Likewise.
28831         (tst-leaks1-static-ENV): New macro.
28832         * elf/dl-open.c (dl_open_worker): Check the main application
28833         only if SHARED is defined.
28834         * elf/tst-leaks1-static.c: New file.
28835
28836 2012-10-20  Andreas Jaeger  <aj@suse.de>
28837
28838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28839         generic values for Linux.
28840         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28841         and declarations that are provided by <bits/fcntl-linux.h> and
28842         include <bits/fcntl-linux.h>.
28843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28845
28846 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28847
28848         * io/fcntl.h: Move include of <bits/types.h> to the top and
28849         include it unconditionally.
28850
28851 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28852
28853         * wcsmbs/Makefile (tests-ifunc): New variable.
28854         (tests): Add $(tests-ifunc).
28855         * wcsmbs/test-wcschr-ifunc.c: New file.
28856         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28857         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28858         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28859         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28860         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28861
28862         * string/Makefile (tests-ifunc): New variable.
28863         (tests): Add $(tests-ifunc).
28864         * string/test-memccpy.c (TEST_NAME): New macro.
28865         * string/test-memchr.c (TEST_NAME): Likewise.
28866         * string/test-memcmp.c (TEST_NAME): Likewise.
28867         * string/test-memcpy.c (TEST_NAME): Likewise.
28868         * string/test-memmem.c (TEST_NAME): Likewise.
28869         * string/test-memmove.c (TEST_NAME): Likewise.
28870         * string/test-memset.c (TEST_NAME): Likewise.
28871         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28872         * string/test-stpcpy.c (TEST_NAME): Likewise.
28873         * string/test-stpncpy.c (TEST_NAME): Likewise.
28874         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28875         * string/test-strcasestr.c (TEST_NAME): Likewise.
28876         * string/test-strcat.c (TEST_NAME): Likewise.
28877         * string/test-strchr.c (TEST_NAME): Likewise.
28878         * string/test-strcmp.c(TEST_NAME): Likewise.
28879         * string/test-strcpy.c (TEST_NAME): Likewise.
28880         * string/test-strcspn.c (TEST_NAME): Likewise.
28881         * string/test-strlen.c (TEST_NAME): Likewise.
28882         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28883         * string/test-strncmp.c (TEST_NAME): Likewise.
28884         * string/test-strncpy.c (TEST_NAME): Likewise.
28885         * string/test-strnlen.c (TEST_NAME): Likewise.
28886         * string/test-strpbrk.c (TEST_NAME): Likewise.
28887         * string/test-strrchr.c (TEST_NAME): Likewise.
28888         * string/test-strspn.c (TEST_NAME): Likewise.
28889         * string/test-strstr.c (TEST_NAME): Likewise.
28890         * string/test-bcopy-ifunc.c: New file.
28891         * string/test-bzero-ifunc.c: Likewise.
28892         * string/test-memccpy-ifunc.c: Likewise.
28893         * string/test-memchr-ifunc.c: Likewise.
28894         * string/test-memcmp-ifunc.c: Likewise.
28895         * string/test-memcpy-ifunc.c: Likewise.
28896         * string/test-memmem-ifunc.c: Likewise.
28897         * string/test-memmove-ifunc.c: Likewise.
28898         * string/test-mempcpy-ifunc.c: Likewise.
28899         * string/test-memset-ifunc.c: Likewise.
28900         * string/test-rawmemchr-ifunc.c: Likewise.
28901         * string/test-stpcpy-ifunc.c: Likewise.
28902         * string/test-stpncpy-ifunc.c: Likewise.
28903         * string/test-strcasecmp-ifunc.c: Likewise.
28904         * string/test-strcasestr-ifunc.c: Likewise.
28905         * string/test-strcat-ifunc.c: Likewise.
28906         * string/test-strchr-ifunc.c: Likewise.
28907         * string/test-strchrnul-ifunc.c: Likewise.
28908         * string/test-strcmp-ifunc.c: Likewise.
28909         * string/test-strcpy-ifunc.c: Likewise.
28910         * string/test-strcspn-ifunc.c: Likewise.
28911         * string/test-strlen-ifunc.c: Likewise.
28912         * string/test-strncasecmp-ifunc.c: Likewise.
28913         * string/test-strncat-ifunc.c: Likewise.
28914         * string/test-strncmp-ifunc.c: Likewise.
28915         * string/test-strncpy-ifunc.c: Likewise.
28916         * string/test-strnlen-ifunc.c: Likewise.
28917         * string/test-strpbrk-ifunc.c: Likewise.
28918         * string/test-strrchr-ifunc.c: Likewise.
28919         * string/test-strspn-ifunc.c: Likewise.
28920         * string/test-strstr-ifunc.c: Likewise.
28921
28922         * debug/Makefile (tests-ifunc): New variable.
28923         (tests): Add $(tests-ifunc).
28924         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28925         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28926         * debug/test-stpcpy_chk-ifunc.c: New file.
28927         * debug/test-strcpy_chk-ifunc.c: Likewise.
28928
28929 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28930
28931         [BZ #13601]
28932         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28933         header is not read in.
28934
28935 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28936
28937         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28938         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28939         directly.  Pass built executable to script as
28940         $(built-program-cmd).
28941         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28942         $testprogram without using LD_LIBRARY_PATH and $ldso.
28943
28944         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28945         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28946         $(rtld-installed-name).
28947         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28948         (rtld_installed_name): Likewise.
28949         (library_path): Likewise.
28950         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28951         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28952         $(run-program-prefix) to tst-tables.sh.
28953         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28954         it to run tst-table-from and tst-table-to.
28955         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28956         Pass it to tst-table.sh.
28957         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28958         $(run-program-prefix) to tst-gettext.sh.
28959         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28960         tst-translit.sh.
28961         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28962         tst-gettext2.sh.
28963         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28964         to run tst-gettext.
28965         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28966         to run tst-gettext2.
28967         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28968         to run tst-translit.
28969         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28970         $(run-program-prefix) to tst-mtrace.sh.
28971         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28972         to run tst-mtrace.
28973         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28974         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28975         $(rtld-installed-name).
28976         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28977         (rtld_installed_name): Likewise.
28978         (run_program_prefix): New variable.  Use it to run wordexp-test.
28979
28980         * Makeconfig (ARCH): Remove all definitions.
28981         (machine): Likewise.
28982         [ARCH]: Remove conditional code.
28983         [!objdir]: Give error.
28984         [!objdir] (objpfx): Remove.
28985         [!objdir] (common-objpfx): Likewise.
28986         [!objdir] (common-objdir): Likewise.
28987         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28988         AC_CONFIG_FILES call.
28989         * configure: Regenerated.
28990
28991         [BZ #13888]
28992         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28993         or TMPDIR.
28994         (testout): Likewise.
28995
28996         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28997         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28998         $(rtld-installed-name).
28999         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29000         (rtld_installed_name): Likwise.
29001         (runit): Remove function.
29002         (run_getconf): New variable,  Use it for running getconf binary.
29003
29004 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29005
29006         [BZ #14716]
29007         * string/test-memmem.c (check_result): New function.
29008         (do_one_test): Use it.
29009         (check1): New function.
29010         (test_main): Use it.
29011
29012 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29013
29014         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29015
29016 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29017
29018         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29019         (_G_LSEEK64): Likewise.
29020         (_G_MMAP64): Likewise.
29021         (_G_FSTAT64): Likewise.
29022         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29023         (_G_LSEEK64): Likewise.
29024         (_G_MMAP64): Likewise.
29025         (_G_FSTAT64): Likewise.
29026         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29027         unconditional.  Call __mmap64 directly.
29028         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29029         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29030         __lseek64 directly.
29031         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29032         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29033         __mmap64 directly.
29034         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29035         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29036         __lseek64 directly.
29037         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29038         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29039         __lseek64 directly.
29040         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29041         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29042         __lseek64 directly.
29043         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29044         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29045         __fxstat64 directly.
29046         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29047         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29048         unconditional.
29049         (freopen64) [!_G_OPEN64]: Remove conditional code.
29050         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29051         unconditional.
29052         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29053         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29054         unconditional.
29055         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29056         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29057         unconditional.
29058         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29059         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29060         unconditional.
29061         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29062         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29063         unconditional.
29064         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29065         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29066         unconditional.
29067         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29068         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29069         unconditional.
29070         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29071
29072 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29073
29074         [BZ #12140]
29075         * manual/memory.texi (Malloc Tunable Parameters): Add note
29076         about free list pointers overwriting some perturb bytes.
29077         Wording suggested by Roland McGrath.
29078
29079 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29080
29081         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29082         (lgamma_test): Likewise.
29083         (tgamma_test): Likewise.
29084
29085 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29086
29087         [BZ #14700]
29088         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29089         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29090
29091 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29092
29093         * NEWS: Mention BZ #14716.
29094         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29095         when removing AVAILABLE1_USES_J macro.
29096
29097 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29098
29099         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29100         (__bswap_64): __uint64_t for unsigned 64-bit int.
29101
29102 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29103
29104         * include/string.h (memmem): Declare libc hidden alias.
29105         * string/memmem.c (memmem): Define libc hidden alias.
29106         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29107         __read, __close instead of open, read, close.
29108
29109 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29110
29111         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29112         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29113         global and hidden.
29114         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29115         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29116         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29117         Likewise.
29118         (__rawmemchr_sse2): Likewise.
29119         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29120         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29121         (__strchr_sse2): Likewise.
29122         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29123         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29124         (__strcasecmp_sse2): Likewise.
29125         (__strncasecmp_sse2): Likewise.
29126         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29127         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29128         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29129         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29130         (__strrchr_sse2): Likewise.
29131         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29132         ifunc-impl-list.c.
29133         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29134         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29135         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29136         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29137         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29138         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29139         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29140         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29141         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29142         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29143         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29144         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29145         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29146         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29147         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29148         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29149         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29150         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29151         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29152         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29153         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29154         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29155         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29156         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29157         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29158         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29159         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29160         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29161         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29162         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29163
29164         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29165         global and hidden.
29166         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29167         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29168         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29169         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29170         Likewise.
29171         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29172         Likewise.
29173         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29174         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29175         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29176         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29177         ifunc-impl-list.c.
29178         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29179         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29180         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29181         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29182         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29183         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29184         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29185         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29186         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29187         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29188         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29189         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29190         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29191         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29192         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29193         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29194         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29195         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29196         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29197         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29198         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29199         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29200         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29201         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29202         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29203         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29204         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29205         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29206         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29207         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29208         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29209         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29210         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29211         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29212         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29213         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29214         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29215         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29216         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29217         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29218         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29219
29220         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29221         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29222         * include/ifunc-impl-list.h: New file.
29223         * misc/ifunc-impl-list.c: Likewise.
29224         * misc/Makefile (routines): Add ifunc-impl-list.
29225         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29226         * string/test-string.h: Include <ifunc-impl-list.h>.
29227         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29228         TEST_NAME]: New variables.
29229         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29230         are defined.
29231         (test_init): Call __libc_ifunc_impl_list to initialize
29232         func_list if TEST_IFUNC and TEST_NAME are defined.
29233
29234         * string/Makefile (strop-tests): Add bcopy and bzero.
29235         * string/test-bcopy.c: New file.
29236         * string/test-bzero.c: Likewise.
29237         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29238         defined.
29239         * string/test-memset.c: Support bzero test if TEST_BZERO is
29240         defined.
29241         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29242         __libc_memmove.
29243         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29244         __libc_memset.
29245         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29246         of memset.
29247
29248 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29249
29250         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29251         * configure: Regenerated.
29252
29253         * Makeconfig (+link-static-before-libc): Don't include
29254         $(link-static-libc).
29255
29256         * libio/libio.h (_IO_pos_t): Remove.
29257
29258 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29259
29260         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29261         McGrath.
29262
29263 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29264
29265         * crypt/crypt-entry.c: Include fips-private.h.
29266         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29267         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29268         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29269         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29270
29271 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29272
29273         * crypt/crypt-private.h: Include stdbool.h.
29274         (_ufc_setup_salt_r): Return bool.
29275         * crypt/crypt-entry.c: Include errno.h.
29276         (__crypt_r): Return NULL with EINVAL for bad salt.
29277         * crypt/crypt_util.c (bad_for_salt): New.
29278         (_ufc_setup_salt_r): Check that salt is long enough and within
29279         the specified alphabet.
29280         * crypt/badsalttest.c: New file.
29281         * crypt/Makefile (tests): Add it.
29282         ($(objpfx)badsalttest): New.
29283
29284 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29285
29286         * NEWS: Add entry for BZ #14602.
29287
29288 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29289
29290         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29291         type-generic.
29292         * math/libm-test.inc: Update comment listing what functions and
29293         macros are tested.
29294         (isgreater_test): New function.
29295         (isgreaterequal_test): Likewise.
29296         (isless_test): Likewise.
29297         (islessequal_test): Likewise.
29298         (islessgreater_test): Likewise.
29299         (isunordered_test): Likewise.
29300         (main): Call the new functions.
29301
29302 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29303
29304         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29305         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29306         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29307         * sysdeps/i386/configure: Regenerated.
29308         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29309         * sysdeps/mach/configure: Regenerated.
29310         * sysdeps/mach/hurd/configure: Regenerated.
29311         * sysdeps/powerpc/configure: Regenerated.
29312         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29313         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29314         * sysdeps/s390/s390-32/configure: Regenerated.
29315         * sysdeps/s390/s390-64/configure: Regenerated.
29316         * sysdeps/sh/configure: Regenerated.
29317         * sysdeps/sparc/configure: Regenerated.
29318         * sysdeps/unix/sysv/linux/configure: Regenerated.
29319         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29320         * sysdeps/x86_64/configure: Regenerated.
29321
29322         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29323         defined.  Don't check if MAP is NULL.
29324
29325 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29326
29327         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29328         (_G_stat64): Likewise.
29329         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29330         (_G_stat64): Likewise.
29331         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29332         instead of struct _G_stat64.
29333         * libio/fileops.c (mmap_remap_check): Likewise.
29334         (decide_maybe_mmap): Likewise.
29335         (_IO_new_file_seekoff): Likewise.
29336         (_IO_file_stat): Likewise.
29337         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29338         _G_off64_t.
29339         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29340         instead of struct _G_stat64.
29341         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29342
29343 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29344
29345         [BZ #14602]
29346         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29347         Replace with ...
29348         (CHECK_EOL): New macro.
29349         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29350         CHECK_EOL.
29351         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29352         Replace with CHECK_EOL.
29353         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29354         Replace with CHECK_EOL.
29355
29356 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29357
29358         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29359         type-generic.
29360         * math/libm-test.inc: Update comment listing what functions and
29361         macros are tested.
29362         (finite_test): New function.
29363         (isinf_test): Likewise.
29364         (isnan_test): Likewise.
29365         (fpclassify_test): Test subnormal input.
29366         (isfinite_test): Likewise.
29367         (isnormal_test): Likewise.
29368         (main): Call the new functions.
29369
29370 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29371
29372         [BZ #14660]
29373         * Makerules (%.dynsym): Force C locale when running
29374         $(OBJDUMP) --dynamic-syms.
29375
29376 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29377
29378         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29379         <stdint.h>.
29380
29381 2012-10-06  David S. Miller  <davem@davemloft.net>
29382
29383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29384         upper 32-bits of the length value in %o2 since we use branch-on-register
29385         tests which consider the entire 64-bit register.
29386
29387 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29388
29389         * string/test-strstr.c (check2): Add a test for page boundary.
29390
29391 2012-10-05  David S. Miller  <davem@davemloft.net>
29392
29393         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29394         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29395         file.
29396         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29397         sysdep_routines.
29398         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29399         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29400         and bzero when HWCAP_SPARC_CRYPTO is present.
29401
29402 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29403
29404         [BZ #14602]
29405         * string/test-strstr.c (check2): New function.
29406         (test_main): Call check2.
29407
29408         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29409         and bug-strchr1.
29410         * string/bug-strcasestr1.c (do_test): Moved to ...
29411         * string/test-strcasestr.c (check1): Here.  New function.
29412         (do_one_test): Break out result checking code into ...
29413         (check_result): This.  New function.
29414         (do_one_test): Call check_result.
29415         (test_main): Call check1.
29416         * string/bug-strchr1.c (do_test): Moved to ...
29417         * string/test-strchr.c (check1): Here.  New function.
29418         (do_one_test): Break out result checking code into ...
29419         (check_result): This.  New function.
29420         (do_one_test): Call check_result.
29421         (test_main): Call check1.
29422         * string/bug-strstr1.c (main): Moved to ...
29423         * string/test-strstr.c (check1): Here.  New function.
29424         (do_one_test): Break out result checking code into ...
29425         (check_result): This.  New function.
29426         (do_one_test): Call check_result.
29427         (test_main): Call check1.
29428         * string/bug-strcasestr1.c: Removed.
29429         * string/bug-strchr1.c: Likewise.
29430         * string/bug-strstr1.c: Likewise.
29431
29432         * elf/Makefile (dl-routines): Add hwcaps.
29433         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29434         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29435         (_dl_important_hwcaps): Moved to ...
29436         * elf/dl-hwcaps.c: Here.  New file.
29437         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29438
29439         [BZ #14557]
29440         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29441         if IS_IN_rtld isn't defined.
29442
29443         * elf/dl-support.c (_dl_sysinfo_map): New.
29444         Include "get-dynamic-info.h" and "setup-vdso.h".
29445         (_dl_non_dynamic_init): Call setup_vdso.
29446         * elf/dynamic-link.h: Don't include <assert.h>.
29447         (elf_get_dynamic_info): Moved to ...
29448         * elf/get-dynamic-info.h: Here.  New file.
29449         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29450         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29451         * elf/setup-vdso.h: Here.  New file.
29452         * elf/rtld.c: Include "setup-vdso.h".
29453         (dl_main): Call setup_vdso.
29454
29455 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29456
29457         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29458         creal in comment listing functions tested.  List finite, isinf,
29459         isnan, isless, islessequal, isgreater, isgreaterequal,
29460         islessgreater, isunordered, lgamma_r and pow10 as functions and
29461         macros not tested.  Mention which functions not tested are aliases
29462         for other functions.  Fix typo.  Note that signs of NaNs are not
29463         tested.
29464
29465         * scripts/config.guess: Update from config.git.
29466         * scripts/config.sub: Likewise.
29467
29468 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29469
29470         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29471         * misc/madvise.c (madvise): Renamed to __madvise.
29472         Make madvise a weak alias.
29473         * include/sys/mman.h: Declare __madvise.
29474         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29475         * sysdeps/unix/syscalls.list
29476         (madvise): Make __madvise the strong name, and madvise a weak alias.
29477         * sysdeps/unix/sysv/linux/syscalls.list
29478         (madvise, mmap): Remove redundant entries.
29479         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29480         * malloc/malloc.c (mtrim): Likewise.
29481         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29482
29483 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29484
29485         * sysdeps/mach/hurd/dl-cache.c: File removed.
29486         * config.h.in (USE_LDCONFIG): New #undef.
29487         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29488         * configure: Regenerated.
29489         * elf/Makefile (dl-routines): Add dl-cache only under
29490         [$(use-ldconfig) = yes].
29491         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29492         cache on [USE_LDCONFIG].
29493         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29494         [USE_LDCONFIG].
29495         * elf/rtld.c (dl_main): Likewise.
29496
29497 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29498
29499         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29500         _SC_LEVEL4_CACHE_LINESIZE.
29501
29502 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29503
29504         * sysdeps/unix/bsd/confstr.h: File removed.
29505
29506 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29507
29508         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29509         sys/sdt-config.h.
29510
29511 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29512
29513         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29514         Make 'mapoff' field ElfW(Off) rather than off_t.
29515
29516 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29517
29518         * nscd/Makefile: Remove nscd-cflags and all its users.
29519         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29520         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29521
29522         [BZ #10631]
29523         * malloc.c (malloc_printerr): Clarify error message.
29524
29525 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29526
29527         [BZ #14648]
29528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29529         Set bit_FMA_Usable if FMA is supported.
29530         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29531         macro.
29532         (bit_FMA4_Usable): Updated.
29533         (index_FMA_Usable): New macro.
29534         (CPUID_FMA): Likewise
29535         (HAS_FMA): Defined with bit_FMA_Usable.
29536
29537 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29538
29539         * bits/types.h (__swblk_t): Type removed.
29540         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29541         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29543         (__SWBLK_T_TYPE): Likewise.
29544         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29545         (__SWBLK_T_TYPE): Likewise.
29546         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29547         (__SWBLK_T_TYPE): Likewise.
29548         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29549         (__SWBLK_T_TYPE): Likewise.
29550
29551 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29552             Honza Horak <hhorak@redhat.com>
29553
29554         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29555         (xdr_mapname): Use YPMAXMAP as maxsize.
29556         (xdr_peername): Use YPMAXPEER as maxsize.
29557         (xdr_keydat): Use YPAXRECORD as maxsize.
29558         (xdr_valdat): Use YPMAXRECORD as maxsize.
29559
29560 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29561
29562         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29563
29564         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29565         * csu/init-first.c: ... here.
29566         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29567         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29568         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29569         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29570         * sysdeps/i386/init-first.c: File removed.
29571         * sysdeps/sh/init-first.c: File removed.
29572
29573 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29574
29575         [BZ #14645]
29576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29577         if x * y might underflow to zero and z is zero.
29578         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29579         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29580         * math/libm-test.inc (min_subnorm_value): New variable.
29581         (fma_test): Add more tests.
29582         (fma_test_towardzero): Likewise.
29583         (fma_test_downward): Likewise
29584         (fma_test_upward): Likewise.
29585         (initialize): Set min_subnorm_value.
29586
29587 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29588
29589         [BZ #14638]
29590         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29591         0 + 0.
29592         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29593         mode for addition resulting in exact zero.
29594         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29595         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29596         exact 0 + 0.
29597         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29599         * math/libm-test.inc (fma_test): Add more tests.
29600         (fma_test_towardzero): New function.
29601         (fma_test_downward): Likewise.
29602         (fma_test_upward): Likewise.
29603         (main): Call the new functions.
29604
29605 2012-09-28  David S. Miller  <davem@davemloft.net>
29606
29607         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29608
29609 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29610
29611         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29612         instead of SIGALRM.
29613
29614         * sysdeps/gnu/_G_config.h: Moved to ...
29615         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29616         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29617         * sysdeps/generic/_G_config.h: ... here.
29618
29619         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29620
29621         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29622
29623         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29624         Conditionalize target on [libnss_test1.so-version].
29625
29626         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29627
29628         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29629         (elfobjdir): Move out of conditionals.
29630
29631         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29632         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29633         (__nss_lookup_function): Conditionalize label remove_from_tree on
29634         [!DO_STATIC_NSS || SHARED], matching its only use.
29635
29636 2012-09-28  David S. Miller  <davem@davemloft.net>
29637
29638         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29639         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29640         file.
29641         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29642         sysdep_routines.
29643         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29644         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29645         when HWCAP_SPARC_CRYPTO is present.
29646
29647 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29648
29649         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29650
29651 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29652
29653         [BZ #6530]
29654         * stdio-common/vfprintf.c (process_string_arg): Revert
29655         2000-07-22 change.
29656
29657 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29658
29659         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29660         for testcase.
29661         * stdio-common/tst-sprintf.c: Include <locale.h>
29662         (main): Test sprintf's handling of incomplete multibyte
29663         characters.
29664
29665 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29666
29667         * elf/dl-runtime.c (VERSYMIDX): Removed.
29668         * elf/dl-version.c (VERSYMIDX): Likewise.
29669         * elf/do-rel.h (VERSYMIDX): Likewise.
29670         (VALIDX): Likewise.
29671         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29672         * elf/rtld.c (VALIDX): Likewise.
29673         (ADDRIDX): Likewise.
29674         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29675         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29676         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29677         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29678         (VALIDX): Likewise.
29679         (ADDRIDX): Likewise.
29680
29681 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29682
29683         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29684
29685 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29686
29687         [BZ #11438]
29688         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29689         to global scope.
29690         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29691         addresses are in the same scope as 192.0.2/24.
29692         * posix/gai.conf: Document new scope table defaults.
29693
29694 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29695
29696         [BZ #5298]
29697         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29698         for ftell.  Compute offsets from write pointers instead.
29699         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29700
29701 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29702
29703         [BZ #14543]
29704         * libio/Makefile (tests): New test case tst-fseek.
29705         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29706         combination works in wide mode.
29707         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29708         state when the external buffer state changes.
29709
29710 2012-09-27  David S. Miller  <davem@davemloft.net>
29711
29712         [BZ #14376]
29713         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29714         pass reloc->r_addend in as the 'high' argument to
29715         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29716
29717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29718
29719 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29720
29721         * rt/tst-aio2.c: Include <pthread.h>.
29722         * rt/tst-aio3.c: Likewise.
29723
29724 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29725
29726         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29727
29728 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29729
29730         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29731         contents on [SHARED].
29732
29733 2012-09-26  Marek Polacek  <polacek@redhat.com>
29734
29735         [BZ #14530]
29736         [BZ #13741]
29737         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29738         for C++ and GCC <4.3 as well as for non GCC compilers.
29739
29740 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29741
29742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29743
29744 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29745
29746         * Makefile.in (all, install): Declare with .PHONY.
29747         Reported by Michael Hope <michael.hope@linaro.org>.
29748
29749 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29750
29751         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29752         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29753         system header.
29754         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29755         Likewise.
29756         (sydep_routines): Add the new and the internal functions.
29757         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29758         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29760         (GLIBC_2.17): Add the new function.
29761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29762         (GLIBC_2.17): Likewise.
29763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29764         (GLIBC_2.17): Likewise.
29765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29766         (GLIBC_2.17): Likewise.
29767         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29768
29769 2012-09-25  Alan Modra  <amodra@gmail.com>
29770
29771         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29772         Add release barrier before setting once_control to say
29773         initialisation is done.  Add hints on lwarx.  Use macro in
29774         place of isync.
29775         (clear_once_control): Add release barrier.
29776
29777 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29778
29779         [BZ #13629]
29780         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29781         specially.
29782         * math/s_clog10.c (__clog10): Likewise.
29783         * math/s_clog10f.c (__clog10f): Likewise.
29784         * math/s_clog10l.c (__clog10l): Likewise.
29785         * math/s_clogf.c (__clogf): Likewise.
29786         * math/s_clogl.c (__clogl): Likewise.
29787         * math/Makefile (libm-calls): Add x2y2m1.
29788         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29789         (__x2y2m1): Likewise.
29790         (__x2y2m1l): Likewise.
29791         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29792         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29793         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29794         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29795         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29796         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29797         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29798         * sysdeps/i386/fpu/libm-test-ulps: Update.
29799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29800
29801         [BZ #14621]
29802         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29803         int as type of variable DEPTH.
29804         (glob): Use size_t instead of int as type of variables NEWCOUNT
29805         and OLD_PATHC.
29806
29807 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29808
29809         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29810         Add s_sincosf-sse2.
29811         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29812         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29813         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29814         macros for using routine as __sincosf_ia32.
29815         Use macro for function declaration and weak_alias.
29816         * sysdeps/i386/fpu/libm-test-ulps: Update.
29817
29818         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29820
29821         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29822         subnormal argument.
29823         * math/s_cexpf.c (__cexpf): Likewise.
29824         * math/s_csinf.c (__csinf): Likewise.
29825         * math/s_csinhf.c (__csinhf): Likewise.
29826         * math/s_ctanf.c (__ctanf): Likewise.
29827         * math/s_ctanhf.c (__ctanhf): Likewise.
29828         * math/s_ccosh.c (__ccoshf): Likewise.
29829         * math/s_cexp.c (__cexpl): Likewise.
29830         * math/s_csin.c (__csin): Likewise.
29831         * math/s_csinh.c (__csinh): Likewise.
29832         * math/s_ctan.c (__ctan): Likewise.
29833         * math/s_ctanh.c (ctanh): Likewise.
29834         * math/s_ccoshl.c (__ccoshl): Likewise.
29835         * math/s_cexpl.c (__cexpl): Likewise.
29836         * math/s_csinl.c (__csinl): Likewise.
29837         * math/s_csinhl.c (__csinhl): Likewise.
29838         * math/s_ctanl.c (__ctanl): Likewise.
29839         * math/s_ctanhl.c (__ctanhl): Likewise.
29840
29841 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29842
29843         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29844         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29845         (_IO_off_t): Define to __off_t, not _G_off_t.
29846         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29847         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29848         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29849         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29850         type of __dummy and __dummy2 fields.
29851         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29852         (_G_ssize_t): Likewise.
29853         (_G_off_t): Likewise.
29854         (_G_pid_t): Likewise.
29855         (_G_uid_t): Likewise.
29856         (_G_wchar_t): Likewise.
29857         (_G_wint_t): Likewise.
29858         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29859         (_G_ssize_t): Likewise.
29860         (_G_off_t): Likewise.
29861         (_G_pid_t): Likewise.
29862         (_G_uid_t): Likewise.
29863         (_G_wchar_t): Likewise.
29864         (_G_wint_t): Likewise.
29865         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29866         (_G_ssize_t): Likewise.
29867         (_G_off_t): Likewise.
29868         (_G_pid_t): Likewise.
29869         (_G_uid_t): Likewise.
29870         (_G_wchar_t): Likewise.
29871         (_G_wint_t): Likewise.
29872
29873 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29874
29875         * malloc/arena.c: Include malloc-sysdep.h.
29876         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29877         is sufficient to shrink the heap or an unmap is needed.
29878         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29879         new function check_may_shrink_heap.
29880         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29881         new function check_may_shrink_heap.
29882
29883 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29884
29885         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29886         comments.
29887
29888 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29889
29890         * catgets/test-gencat.sh: Add "set -e".
29891         * elf/tst-pathopt.sh: Likewise.
29892         * grp/tst_fgetgrent.sh: Likewise.
29893         * iconvdata/run-iconv-test.sh: Likewise.
29894         * intl/tst-gettext.sh: Likewise.
29895         * intl/tst-gettext2.sh: Likewise.
29896         * intl/tst-gettext4.sh: Likewise.
29897         * intl/tst-gettext6.sh: Likewise.
29898         * intl/tst-translit.sh: Likewise.
29899         * io/ftwtest-sh: Likewise.
29900         * libio/test-freopen.sh: Likewise.
29901         * malloc/tst-mtrace.sh: Likewise.
29902         * posix/globtest.sh: Likewise.
29903         * posix/tst-getconf.sh: Likewise.
29904         * posix/wordexp-tst.sh: Likewise.
29905         * stdio-common/tst-printf.sh: Likewise.
29906         * stdio-common/tst-unbputc.sh: Likewise.
29907         * stdlib/tst-fmtmsg.sh: Likewise.
29908         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29909         * catgets/Makefile: Do not specify -e option when running
29910         testsuite shell scripts.
29911         * elf/Makefile: Likewise.
29912         * grp/Makefile: Likewise.
29913         * iconvdata/Makefile: Likewise.
29914         * intl/Makefile: Likewise.
29915         * io/Makefile: Likewise.
29916         * libio/Makefile: Likewise.
29917         * malloc/Makefile: Likewise.
29918         * posix/Makefile: Likewise.
29919         * stdio-common/Makefile: Likewise.
29920         * stdlib/Makefile: Likewise.
29921         * sysdeps/x86_64/Makefile: Likewise.
29922
29923         * io/ftwtest-sh: Add copyright header.
29924         * posix/globtest.sh: Likewise.
29925         * posix/tst-getconf.sh: Likewise.
29926         * posix/wordexp-tst.sh: Likewise.
29927         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29928
29929 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29930
29931         [BZ #13679]
29932         * Makeconfig (+link): Defined as $(+link-static) if
29933         $(build-shared) isn't yes.
29934         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29935         isn't yes.
29936         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29937
29938         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29939
29940         [BZ #14562]
29941         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29942         new chunk size with MALLOC_ALIGN_MASK.
29943
29944 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29945
29946         [BZ #5044]
29947         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29948         <rounding-mode.h>.
29949         (__printf_fphex): Determine rounding using get_rounding_mode and
29950         round_away.
29951         * stdio-common/tst-printf-round.c (struct hex_test): New
29952         structure.
29953         (hex_tests): New variable.
29954         (test_hex_in_one_mode): New function.
29955         (do_test): Also run tests for hex float output.
29956
29957 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29958
29959         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29960         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29961         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29962         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29963         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29964         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29965         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29966         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29967
29968 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29969
29970         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29971         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29972         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29973         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29974
29975 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29976
29977         [BZ #14579]
29978         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29979         mode only.
29980         * elf/tst-rtld-load-self.sh: New test.
29981         * elf/Makefile: Run it.
29982
29983 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29984
29985         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29986         (tst-writev-ENV): Remove.
29987         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29988
29989 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29990
29991         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29992
29993 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29994
29995         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29996         unconditional.
29997         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29998         Likewise.
29999         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30000         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30001         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30002         Likewise.
30003
30004 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30005
30006         [BZ #14587]
30007         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30008         * config.make.in (have-cpp-asm-debuginfo): Removed.
30009         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30010         * configure: Regenerated.
30011
30012 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30013
30014         [BZ #5044]
30015         * stdio-common/printf_fp.c: Include <stdbool.h> and
30016         <rounding-mode.h>.
30017         (___printf_fp): Determine rounding using get_rounding_mode and
30018         round_away.
30019         * stdio-common/tst-printf-round.c: New file.
30020         * stdio-common/Makefile (tests): Add tst-printf-round.
30021         (link-libm): New variable.
30022         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30023
30024 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30025
30026         [BZ #14576]
30027         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30028         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30029         Likewise.
30030         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30031         Likewise.
30032
30033 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30034
30035         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30036         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30037         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30038         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30039
30040 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30041
30042         [BZ #14518]
30043         * include/rounding-mode.h: New file.
30044         * sysdeps/generic/get-rounding-mode.h: Likewise.
30045         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30046         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30047         (MAX_VALUE): New macro.
30048         (MIN_VALUE): Likewise.
30049         (overflow_value): New function.
30050         (underflow_value): Likewise.
30051         (round_and_return): Use overflow_value and underflow_value to
30052         determine return values in overflow and underflow cases.  Use
30053         round_away to determine rounding depending on rounding mode.
30054         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30055         determine return values in overflow and underflow cases.
30056         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30057         (struct test_results): New structure.
30058         (struct test): Use struct test_results to store expected results
30059         for all rounding modes.
30060         (TEST): Include expected results for all rounding modes.
30061         (test_in_one_mode): New function.
30062         (do_test): Use test_in_one_mode to compute and check results.
30063         Check results for all rounding modes.
30064         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30065         $(link-libm).
30066
30067 2012-12-09  Allan McRae  <allan@archlinux.org>
30068
30069         * sysdeps/i386/fpu/libm-test-ulps: Update
30070
30071 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30072
30073         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30074         (_G_int32_t): Likewise.
30075         (_G_uint16_t): Likewise.
30076         (_G_uint32_t): Likewise.
30077         (_G_HAVE_BOOL): Likewise.
30078         (_G_HAVE_ATEXIT): Likewise.
30079         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30080         (_G_HAVE_IO_FILE_OPEN): Likewise.
30081         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30082         (_G_int32_t): Likewise.
30083         (_G_uint16_t): Likewise.
30084         (_G_uint32_t): Likewise.
30085         (_G_HAVE_BOOL): Likewise.
30086         (_G_HAVE_ATEXIT): Likewise.
30087         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30088         (_G_HAVE_IO_FILE_OPEN): Likewise.
30089         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30090         (_G_int32_t): Likewise.
30091         (_G_uint16_t): Likewise.
30092         (_G_uint32_t): Likewise.
30093         (_G_HAVE_BOOL): Likewise.
30094         (_G_HAVE_ATEXIT): Likewise.
30095         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30096         (_G_HAVE_IO_FILE_OPEN): Likewise.
30097
30098 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30099
30100         * csu/libc-tls.c: Update copyright years.
30101
30102 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30103
30104         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30105         [!_G_USING_THUNKS]: Remove conditional code.
30106         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30107         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30108
30109         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30110         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30111         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30112         (_G_VTABLE_LABEL_PREFIX): Likewise.
30113         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30114         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30115         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30116         (_G_VTABLE_LABEL_PREFIX): Likewise.
30117         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30118         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30119         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30120         (_G_VTABLE_LABEL_PREFIX): Likewise.
30121         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30122
30123 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30124
30125         * libio/Makefile: Include ../Makeconfig before tests.
30126         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30127         only if $(build-shared) is yes.
30128
30129         * iconv/gconv_db.c: Update copyright years.
30130
30131 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30132
30133         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30134         unwind info if defined PIC. Fix special cases description.
30135         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30136
30137         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30138         DP_HI_MASK entry.
30139         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30140
30141 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30142
30143         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30144
30145         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30146         is NULL.
30147
30148         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30149         (LDLIBS-tst-chk4): This.
30150         (LDFLAGS-tst-chk5): Renamed to ...
30151         (LDLIBS-tst-chk5): This.
30152         (LDFLAGS-tst-chk6): Renamed to ...
30153         (LDLIBS-tst-chk6): This.
30154         (LDFLAGS-tst-lfschk4): Renamed to ...
30155         (LDLIBS-tst-lfschk4): This.
30156         (LDFLAGS-tst-lfschk5): Renamed to ...
30157         (LDLIBS-tst-lfschk5): This.
30158         (LDFLAGS-tst-lfschk6): Renamed to ...
30159         (LDLIBS-tst-lfschk6): This.
30160
30161         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30162         on $(common-objpfx)soversions.mk.
30163
30164 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30165
30166         [BZ #10014]
30167         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30168         example host name.
30169
30170 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30171
30172         * malloc/arena.c (arena_get_retry): New function that gets
30173         another arena for the caller to try its request on.
30174         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30175         current arena cannot fulfill the request.
30176         (__libc_memalign): Likewise.
30177         (__libc_memalign): Likewise.
30178         (__libc_pvalloc): Likewise.
30179         (__libc_calloc): Likewise.
30180
30181 2012-09-05  John Tobey  <john.tobey@gmail.com>
30182
30183         [BZ #13542]
30184         * manual/arith.texi (Operations on Complex): Fix description
30185         of carg branch cut.
30186
30187 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30188
30189         [BZ #10014]
30190         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30191         host name.
30192
30193         [BZ #10038]
30194         * manual/memory.texi (Memory): Make order of menu items match
30195         order of sections.
30196
30197 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30198
30199         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30200         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30201         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30202
30203 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30204
30205         * csu/libc-tls.c (static_dtv): Renamed to ...
30206         (_dl_static_dtv): This.  Make it global.
30207         (_dl_initial_dtv): Removed.
30208         (__libc_setup_tls): Updated.
30209         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30210         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30211         DL_INITIAL_DTV.
30212
30213 2012-09-06  Petr Machata  <pmachata@redhat.com>
30214
30215         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30216         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30217         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30218         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30219
30220 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30221
30222         [BZ #14545]
30223         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30224         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30225         freeing dtv[-1].
30226
30227 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30228
30229         [BZ #14544]
30230         * Makeconfig (link-static-before-libc): Replace $(+prector)
30231         with $(+prectorT).
30232         (link-static-after-libc): Replace $(+postctor) with
30233         $(+postctorT).
30234         (link-bounded): Replace $(+prector)/$(+postctor) with
30235         $(+prectorT)/$(+postctorT).
30236         (+prectorT): New macro.
30237         (+postctorT): Likewise.
30238
30239 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30240
30241         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30242         (round_str): Handle values above the maximum for IBM long double
30243         as inexact.
30244         * stdlib/tst-strtod-round.c (tests): Regenerated.
30245
30246 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30247
30248         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30249         assembler flag.
30250         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30251         zarch_nohighgprs around the zarch optimized routines.
30252         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30253         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30254         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30255         for zarch.
30256
30257 2012-09-05  David S. Miller  <davem@davemloft.net>
30258
30259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30260
30261         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30262         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30263         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30264         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30265         entries.
30266
30267 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30268
30269         * malloc/arena.c: Fold copyright years.
30270         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30271
30272 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30273
30274         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30275
30276 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30277
30278         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30279
30280 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30281
30282         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30283         change internal state upon failure.
30284
30285 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30286
30287         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30288         * malloc/memusage.c (mmap): Likewise.
30289         (mmap64, mremap): Likewise.  Adjust name in comment.
30290
30291 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30292
30293         * libio/fileops.c: Fix typos in comments.
30294         * libio/oldfileops.c: Likewise.
30295         * libio/wfileops.c: Likewise.
30296
30297 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30298
30299         [BZ #1349]
30300         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30301         (tst-malloc-usable-ENV): Set environment for test case.
30302         * malloc/hooks.c (malloc_check_get_size): New function to get
30303         requested size.
30304         * malloc/malloc.c (musable): Use malloc_check_get_size.
30305         * malloc/tst-malloc-usable.c: New test case.
30306
30307 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30308
30309         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30310
30311 2012-09-05  Allan McRae  <allan@archlinux.org>
30312
30313         [BZ #13966]
30314         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30315         determine header location.
30316         * configure: Regenerated.
30317
30318 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30319
30320         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30321         float format.
30322         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30323         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30324         format.
30325         (test): Regenerate.
30326
30327 2012-09-04  David S. Miller  <davem@davemloft.net>
30328
30329         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30330         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30331         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30332
30333 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30334
30335         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30336         failures.
30337
30338         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30339
30340 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30341
30342         [BZ #9914]
30343         * libio/iogetdelim.c: Include <limits.h>.
30344         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30345         + len + 1 would overflow.
30346
30347 2012-09-03  Andreas Jaeger  <aj@suse.de>
30348
30349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30350         * sysdeps/i386/fpu/libm-test-ulps: Update.
30351
30352 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30353
30354         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30355         Add s_sinf-sse2, s_conf-sse2.
30356
30357         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30358         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30359         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30360         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30361
30362         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30363         for using routine as __sinf_ia32.
30364         Use macro for function declaration and weak_alias.
30365         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30366         for using routine as __cosf_ia32.
30367         Use macro for function declaration and weak_alias.
30368
30369         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30370         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30371
30372         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30373         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30375
30376         * math/libm-test.inc (cos_test): Add more test cases.
30377         (sin_test): Likewise.
30378         (sincos_test): Likewise.
30379
30380 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30381
30382         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30383         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30384         hidden.
30385         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30386
30387 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30388
30389         [BZ #14538]
30390         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30391         first element of the GOT.
30392         (elf_machine_load_address): Return the difference between
30393         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30394
30395 2012-09-01  Allan McRae  <allan@archlinux.org>
30396
30397         [BZ #13412]
30398         * configure.in (AWK): Require gawk version 3.0 or later.
30399         * configure: Regenerated.
30400
30401 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30402
30403         * sysdeps/unix/sysv/linux/kernel-features.h
30404         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30405         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30406         [__NR_clock_getres]: Make code unconditional.
30407         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30408         (clock_getcpuclockid): Remove code left unreachable by removal of
30409         conditionals.
30410         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30411         code unconditional.
30412         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30413         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30414         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30415         Make code unconditional.
30416         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30417         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30418         * sysdeps/unix/sysv/linux/clock_settime.c
30419         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30420         conditional code.
30421         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30422         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30423
30424 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30425
30426         [BZ #14476]
30427         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30428         scripts/test-installation.pl.
30429
30430         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30431         and $ld_so_version if it is set.
30432
30433 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30434
30435         [BZ #14516]
30436         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30437         failure if reading from procfs failed.
30438         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30439
30440 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30441
30442         * sysdeps/unix/sysv/linux/kernel-features.h
30443         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30444         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30445         Remove conditional code.
30446         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30447         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30448         Remove conditional code.
30449         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30450         * sysdeps/unix/sysv/linux/i386/fxstat.c
30451         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30452         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30453         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30454         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30455         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30456         * sysdeps/unix/sysv/linux/i386/lxstat.c
30457         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30458         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30459         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30460         Remove conditional code.
30461         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30462         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30463         Remove conditional code.
30464         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30465         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30466         <kernel-features.h>.
30467         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30468         Remove.
30469         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30470         Remove conditional code.
30471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30472         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30473         Remove conditional.
30474
30475 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30476
30477         [BZ #5400]
30478         * NEWS: Add fixed bug number.
30479
30480 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30481
30482         [BZ #14519]
30483         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30484         underflowing exponent in case of negative sign.
30485         * stdlib/tst-strtod-round-data: Add more tests.
30486         * stdlib/tst-strtod-round.c (tests): Regenerated.
30487
30488         [BZ #3479]
30489         * stdlib/strtod_l.c (NDIG): Remove.
30490         (HEXNDIG): Likewise.
30491         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30492         smallest representable value.
30493         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30494         lie within an exact representation of 1/2 ulp of the result.
30495         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30496         unconditionally.
30497         (TENS_P9_IDX): Define unconditionally.
30498         (TENS_P9_SIZE): Likewise.
30499         (TENS_P10_IDX): Likewise.
30500         (TENS_P10_SIZE): Likewise.
30501         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30502         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30503         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30504         entries for 10^2^13 and 10^2^14.
30505         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30506         (TENS_P13_IDX): Define.
30507         (TENS_P13_SIZE): Likewise.
30508         (TENS_P14_IDX): Likewise.
30509         (TENS_P14_SIZE): Likewise.
30510         (_fpioconst_pow10): Change array size to
30511         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30512         unconditional.
30513         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30514         1024]: Add entries for 10^2^13 and 10^2^14.
30515         [LAST_POW10 > _LAST_POW10]: Remove #error.
30516         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30517         (_fpioconst_pow10): Change array size to
30518         FPIOCONST_POW10_ARRAY_SIZE.
30519         * stdlib/gen-fpioconst.c: New file.
30520         * stdlib/gen-tst-strtod-round.c: Likewise.
30521         * stdlib/tst-strtod-round-data: Likewise.
30522         * stdlib/tst-strtod-round.c: Likewise.
30523         * stdlib/Makefile (tests): Add tst-strtod-round.
30524
30525         [BZ #14459]
30526         * stdlib/strtod_l.c: Include <stdint.h>.
30527         (NDEBUG): Do not define.
30528         (round_and_return): Change EXPONENT parameter to type intmax_t.
30529         Rearrange calculations to avoid internal overflow possibilities.
30530         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30531         Rearrange calculations to avoid internal overflow possibilities.
30532         Assert that number fits inside MPNSIZE limbs.
30533         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30534         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30535         calculations and add assertions to avoid internal overflow
30536         possibilities.  Add casts to avoid signed/unsigned operations.
30537         * stdlib/tst-strtod-overflow.c: New file.
30538         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30539
30540 2012-08-25  Marek Polacek  <polacek@redhat.com>
30541
30542         * time/time.h: Fix some typos in comments.
30543
30544 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30545
30546         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30547         * posix/tst-rfc3484-2.c: Likewise.
30548         * posix/tst-rfc3484-3.c: Likewise.
30549
30550 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30551
30552         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30553         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30554
30555 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30556
30557         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30558         #include of fxstatat64.c.
30559
30560 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30561
30562         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30563         * shadow/getspent_r.c: Likewise.
30564         * shadow/getspnam.c: Likewise.
30565         * shadow/getspnam_r.c: Likewise.
30566         * gshadow/getsgent.c: Likewise.
30567         * gshadow/getsgent_r.c: Likewise.
30568         * gshadow/getsgnam.c: Likewise.
30569         * gshadow/getsgnam_r.c: Likewise.
30570         * inet/getnetbyad.c: Likewise.
30571         * inet/getnetbyad_r.c: Likewise.
30572         * inet/getnetbynm.c: Likewise.
30573         * inet/getnetbynm_r.c: Likewise.
30574         * inet/getnetent.c: Likewise.
30575         * inet/getnetent_r.c: Likewise.
30576         * inet/getproto.c: Likewise.
30577         * inet/getproto_r.c: Likewise.
30578         * inet/getprtent.c: Likewise.
30579         * inet/getprtent_r.c: Likewise.
30580         * inet/getprtname.c: Likewise.
30581         * inet/getprtname_r.c: Likewise.
30582         * inet/getrpcbyname.c: Likewise.
30583         * inet/getrpcbyname_r.c: Likewise.
30584         * inet/getrpcbynumber.c: Likewise.
30585         * inet/getrpcbynumber_r.c: Likewise.
30586         * inet/getrpcent.c: Likewise.
30587         * inet/getrpcent_r.c: Likewise.
30588         * inet/getaliasent.c: Likewise.
30589         * inet/getaliasent_r.c: Likewise.
30590         * inet/getaliasname.c: Likewise.
30591         * inet/getaliasname_r.c: Likewise.
30592         * nscd/getgrgid_r.c: Likewise.
30593         * nscd/getgrnam_r.c: Likewise.
30594         * nscd/gethstbyad_r.c: Likewise.
30595         * nscd/gethstbynm3_r.c: Likewise.
30596         * nscd/getpwnam_r.c: Likewise.
30597         * nscd/getpwuid_r.c: Likewise.
30598         * nscd/getsrvbynm_r.c: Likewise.
30599         * nscd/getsrvbypt_r.c: Likewise.
30600         * nscd/gai.c: Likewise.
30601
30602         * configure.in (build_nscd): New substituted variable, set
30603         by --disable-build-nscd and defaults to $use_nscd.
30604         * configure: Regenerated.
30605         * config.make.in (build-nscd): New substituted variable.
30606         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30607         Change conditional to require [$(build-nscd) = yes] as well.
30608         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30609
30610         [BZ# 13696]
30611         * configure.in (use_nscd): New substituted variable, set by
30612         --disable-nscd.  If enabled, define USE_NSCD.
30613         * configure: Regenerated.
30614         * config.h.in: Add USE_NSCD.
30615         * config.make.in (use-nscd): New substituted variable.
30616         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30617         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30618         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30619         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30620         (CFLAGS-getgrnam_r.c): Likewise.
30621         (CFLAGS-initgroups.c): Likewise.
30622         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30623         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30624         Variables removed.
30625         * inet/getnetgrent_r.c
30626         (nscd_setnetgrent): New function, broken out of ...
30627         (setnetgrent): ... here.  Call it.
30628         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30629         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30630         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30631         * nscd/Makefile (routines, aux): Move definitions after include of
30632         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30633         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30634         Conditionalize on [USE_NSCD].
30635         (is_nscd, nscd_init_cb): Likewise.
30636         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30637         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30638         * nss/nss_db/db-init.c: Likewise.
30639         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30640         [USE_NSCD].
30641         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30642         (make_request): Use it.
30643         (cache_valid_p): New function.
30644         (__check_pf): Use it.
30645         * NEWS: Add item for --disable-nscd.
30646
30647 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30648
30649         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30650         to support sed >= 4.2.1-20-ga9bf076.
30651         * configure: Regenerated.
30652
30653 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30654
30655         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30656         Conditionalize whole body on [IREL].
30657
30658 2012-08-22  Jeff Law <law@redhat.com>
30659
30660         [BZ #14505]
30661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30662         if the family is PF_UNSPEC.
30663
30664 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30665
30666         * Makerules (lib-version): Rename from V.
30667         (install-lib-nosubdir): Change V to lib-version.
30668
30669 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30670
30671         [BZ #14252]
30672         * powerpc32/power6/wcschr.c: New file.
30673         * powerpc32/power6/wcscpy.c: New file.
30674         * powerpc32/power6/wcsrchr.c: New file.
30675         * powerpc64/power6/wcschr.c: New file.
30676         * powerpc64/power6/wcscpy.c: New file.
30677         * powerpc64/power6/wcsrchr.c: New file.
30678
30679 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30680
30681         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30682         (two_way_short_needle): Use it.
30683         * string/strstr.c (AVAILABLE1_USES_J): Define.
30684         * string/strcasestr.c: Likewise.
30685
30686         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30687         array references.
30688         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30689
30690         [BZ #11607]
30691         * NEWS: Add an entry.
30692         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30693         define their defaults.
30694         (two_way_short_needle): Detect end-of-string on-the-fly.
30695         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30696         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30697         * string/bug-strcasestr1.c: New test.
30698         * string/Makefile: Run it.
30699
30700 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30701
30702         [BZ #11607]
30703         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30704         the first character.
30705
30706 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30707
30708         * csu/elf-init.c (__libc_csu_irel): Function removed.
30709         * csu/libc-start.c (apply_irel): New function.
30710         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30711
30712 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30713
30714         * sysdeps/unix/sysv/linux/kernel-features.h
30715         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30716         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30717         <kernel-features.h>.
30718         [__NR_fadvise64_64]: Make code unconditional.
30719         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30720         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30721         !__NR_fadvise64_64)]: Likewise.
30722         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30723         !__NR_fadvise64_64))]: Likewise.
30724         [__NR_fadvise64]: Make code unconditional.
30725         [!__NR_fadvise64]: Remove conditional code.
30726         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30727         <kernel-features.h>.
30728         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30729         unconditional.
30730         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30731         conditional code.
30732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30733         not include <kernel-features.h>.
30734         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30735         unconditional.
30736         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30737         conditional code.
30738         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30739         include <kernel-features.h>.
30740         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30741         unconditional.
30742         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30743         conditional code.
30744
30745 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30746
30747         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30748         slight instruction rearrangements per scrollpipe analysis.
30749         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30750
30751 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30752
30753         * manual/syslog.texi (syslog; vsyslog, closelog):
30754         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30755         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30756
30757         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30758         DSOCAPS to match condition on defining it.
30759
30760 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30761
30762         * sysdeps/unix/sysv/linux/kernel-features.h
30763         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30765         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30766         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30768         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30769         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30771         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30772         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30773
30774         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30775         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30776
30777         * sysdeps/unix/sysv/linux/kernel-features.h
30778         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30779         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30780         unconditional.
30781         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30782         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30783         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30784         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30785         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30786         Make code unconditional.
30787         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30788         (__mmap64) [!__NR_mmap2]: Likewise.
30789         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30790         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30791         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30792         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30793         [__NR_mmap2]: Make code unconditional.
30794         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30795         (__mmap64) [!__NR_mmap2]: Likewise.
30796
30797 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30798
30799         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30800
30801 2012-08-18  Andreas Jaeger  <aj@suse.de>
30802
30803         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30804
30805 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30806
30807         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30808         * include/unistd.h (__have_sock_cloexec): Likewise.
30809         (__have_pipe2): Likewise.
30810         (__have_dup3): Likewise.
30811
30812 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30813
30814         [BZ #9685]
30815         * include/unistd.h (__have_pipe2): Change define into an extern int.
30816         (__have_dup3): Likewise.
30817         * socket/have_sock_cloexec.c: Include fcntl.h.
30818         (__have_pipe2): New variable.
30819         (__have_dup3): Likewise.
30820
30821 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30822
30823         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30824
30825 2012-08-17  Marek Polacek  <polacek@redhat.com>
30826
30827         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30828         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30829
30830 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30831
30832         * configure.in: Add AC_SUBST for sysheaders.
30833         * configure: Regenerated.
30834         * config.make.in (sysheaders): New substituted variable.
30835
30836         * sysdeps/unix/mkfifo.c: Moved ...
30837         * sysdeps/posix/mkfifo.c: ... here.
30838         * sysdeps/unix/mkfifoat.c: Moved ...
30839         * sysdeps/posix/mkfifoat.c: ... here.
30840
30841         * sysdeps/unix/utime.c: Moved ...
30842         * sysdeps/posix/utime.c: ... here.
30843
30844         * sysdeps/unix/time.c: Moved ...
30845         * sysdeps/posix/time.c: ... here.
30846         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30847         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30848
30849         * sysdeps/unix/nice.c: Moved ...
30850         * sysdeps/posix/nice.c: ... here.
30851
30852         * sysdeps/unix/alarm.c: Moved ...
30853         * sysdeps/posix/alarm.c: ... here.
30854
30855         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30856
30857 2012-08-17  Jeff Law <law@redhat.com>
30858
30859         * intl/Makefile (codeset_mo): New variable.
30860         ($(codeset_mo)): New target.
30861         (tst-codeset.out): Depend on that.  Remove explicit rule.
30862         (tst-gettext3.out, tst-gettext5.out): Likewise.
30863         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30864         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30865         * intl/tst-codeset.sh: Remove.
30866         * intl/tst-gettext3.sh: Likewise.
30867         * intl/tst-gettext5.sh: Likewise.
30868
30869 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30870
30871         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30872         * sysdeps/unix/syscalls.list: ... here.
30873
30874         * sysdeps/posix/getaddrinfo.c
30875         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30876         (gaiconf_init, gaiconf_reload): Use them.
30877         [!_STATBUF_ST_NSEC]
30878         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30879         Define using time_t rather than struct timespec.
30880
30881         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30882         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30883         Macros removed.
30884         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30885         [!NO_THREADS].
30886         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30887         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30888         Likewise.
30889
30890         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30891         __libc_cleanup_push argument.
30892
30893         * bits/param.h: New file.
30894         * misc/sys/param.h: New file.
30895         * include/sys/param.h: New file.
30896         * misc/Makefile (headers): Add bits/param.h.
30897         * sysdeps/generic/sys/param.h: File removed.
30898         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30899         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30900         * sysdeps/mach/hurd/bits/param.h: New file.
30901         * sysdeps/mach/hurd/sys/param.h: File removed.
30902
30903         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30904         last change.
30905
30906         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30907         [_IO_MTSAFE_IO].
30908         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30909         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30910         New macros.
30911
30912         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30913         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30914         rather than -D_IO_MTSAFE_IO conditionally.
30915         * stdio-common/Makefile (CPPFLAGS): Likewise.
30916         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30917         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30918         Use $(libio-mtsafe).
30919         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30920         of -D_IO_MTSAFE_IO.
30921         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30922         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30923         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30924         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30925         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30926         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30927         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30928         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30929         (CFLAGS-fread_u_chk.c): Likewise.
30930         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30931         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30932         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30933         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30934         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30935         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30936         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30937         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30938         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30939
30940         * libio/Makefile: Test [$(libc-reentrant) = yes]
30941         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30942
30943         * Makeconfig
30944         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30945         * sysdeps/pthread/configure: File removed.
30946         * sysdeps/pthread/Makeconfig: New file.
30947         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30948         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30949
30950 2012-08-16  Gary Benson  <gbenson@redhat.com>
30951
30952         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30953         unmapping the first object in a namespace.
30954
30955 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30956
30957         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30958         (__internal_setnetgrent): ... this.  Add internal_function to
30959         definition.  Add libc_hidden_def.
30960         (setnetgrent): Update caller.
30961         (internal_endnetgrent): Renamed to ...
30962         (__internal_endnetgrent): ... this.  Add internal_function to
30963         definition.  Add libc_hidden_def.
30964         (endnetgrent): Update caller.
30965         (internal_getnetgrent_r): Renamed to ...
30966         (__internal_getnetgrent_r): ... this.  Add internal_function to
30967         definition.  Add libc_hidden_def.
30968         (__getnetgrent_r): Update caller.
30969         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30970
30971 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30972
30973         * stdlib/longlong.h: Update from GCC.
30974
30975 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30976
30977         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30978         on _QL, which is set by umul_ppmm but never used.
30979         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30980         variables, which are set by GMP macros but never used.
30981         * stdio-common/_itowa.c (_itowa): Likewise.
30982         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30983         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30984
30985 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30986
30987         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30988         struct La_sh_regs is not constant.
30989         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30990         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30991         and struct La_sparc64_regs are not constant.
30992
30993 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30994
30995         * sysdeps/unix/sysv/linux/kernel-features.h
30996         (__ASSUME_POSIX_TIMERS): Remove.
30997         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30998         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30999         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31000         Make code unconditional.
31001         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31002         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31003         Make code unconditional.
31004         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31005         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31006         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31007         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31008         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31009         Make code unconditional.
31010         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31011         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31012         (__libc_missing_posix_timers): Remove.
31013
31014 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31015
31016         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31017         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31018
31019         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31020
31021         * elf/dl-sym.c: Include <stdlib.h>.
31022
31023         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31024         constants, which avoids warnings in 32-bit builds.
31025
31026         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31027         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31028
31029         * misc/lseek.c: File moved to ...
31030         * io/lseek.c: ... here.
31031
31032         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31033
31034         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31035         shifting LEN more than 31 bits at once.
31036
31037 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31038
31039         [BZ #14195]
31040         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31041         segmentation fault for a case of two empty input strings.
31042         * string/test-strncasecmp.c (check1): Renamed to...
31043         (bz12205): ...this.
31044         (bz14195): Add new testcase for two empty input strings and N > 0.
31045         (test_main): Call new testcase, adapt for renamed function.
31046
31047 2012-08-15  Andreas Jaeger  <aj@suse.de>
31048
31049         [BZ #14090]
31050         * crypt/md5test2.c: New test, based on test supplied by Serge
31051         Belyshev <belyshev@depni.sinp.msu.ru>.
31052         * crypt/Makefile (xtests): Add md5test-giant..
31053         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31054
31055 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31056
31057         [BZ #14090]
31058         * crypt/md5.c (md5_process_block): Don't assume the buffer
31059         length is less than 2**32.
31060         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31061         length is less than 2**64.
31062
31063 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31064
31065         * string/str-two-way.h: Include <sys/param.h>.
31066         (MAX): Macro removed.
31067
31068         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31069         Move #define and #undef of memmove to just before and after
31070         including <string.h>.
31071
31072         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31073         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31074         and after including <string.h>.  Move declarations of
31075         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31076         to before #include "string/memmove.c".
31077
31078         * include/dirent.h: Declare __getdirentries.
31079
31080         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31081         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31082
31083 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31084
31085         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31086         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31087         * sysdeps/i386/configure: Regenerated.
31088         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31089         STABS_CURRENT_FILE, and STABS_FUN.
31090         (END): Remove call to STABS_FUN_END.
31091         (STABS_CURRENT_FILE1): Delete.
31092         (STABS_CURRENT_FILE): Likewise.
31093         (STABS_FUN): Likewise.
31094         (STABS_FUN_END): Likewise.
31095         (STABS_FUN2): Likewise.
31096         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31097         * sysdeps/x86_64/configure: Regenerated.
31098
31099 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31100
31101         * elf/dl-open.c: Include <atomic.h>.
31102         * elf/dl-lookup.c: Likewise.
31103
31104 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31105
31106         * sysdeps/unix/sysv/linux/kernel-features.h
31107         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31108         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31109         unconditionally.
31110         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31111         unconditionally.
31112         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31113         condition on __ASSUME_CLONE_THREAD_FLAGS.
31114
31115 2012-08-14  Andreas Jaeger  <aj@suse.de>
31116
31117         * sysdeps/i386/fpu/libm-test-ulps: Update.
31118
31119 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31120
31121         * include/atomic.h (atomic_exchange_and_add): Split into ...
31122         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31123         New atomic macros.
31124
31125 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31126
31127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31128
31129 2012-08-13  Jeff Law <law@redhat.com>
31130
31131         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31132         null byte in the output string.
31133
31134 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31135
31136         * sysdeps/unix/sysv/linux/kernel-features.h
31137         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31138         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31139         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31140         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31141         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31142         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31143         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31144
31145 2012-08-09  Jeff Law <law@redhat.com>
31146
31147         [BZ #13939]
31148         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31149         When avoid_arena is set, don't retry in the that arena.  Pick the
31150         next one, whatever it might be.
31151         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31152         (arena_lock): Pass in new parameter to arena_get2.
31153         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31154         arena_get2.
31155         (__libc_malloc): Unify retrying after main arena failure with
31156         __libc_memalign version.
31157         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31158
31159 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31160
31161         [BZ #14166]
31162         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31163         to __redirect_strstr.
31164         (__strstr_sse42): Use typeof __redirect_strstr.
31165         (__strstr_ia32): Likewise.
31166         (__libc_strstr): New prototype.
31167         (strstr): Renamed to ...
31168         (__libc_strstr): This.
31169         (strstr): New strong alias of __libc_strstr.
31170         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31171         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31172         __redirect_time.
31173         Include <time.h>.
31174         (__libc_time): New prototype.
31175         (time_ifunc): Replace time with __libc_time.
31176         (time): New strong alias and hidden definition of __libc_time.
31177         (__GI_time): Remove strong alias.
31178         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31179         Include <stddef.h>.
31180         (memmove): Redefined to __redirect_memmove.
31181         (__memmove_sse2): Use typeof __redirect_memmove.
31182         (__memmove_ssse3): Likewise.
31183         (__memmove_ssse3_back): Likewise.
31184         (__libc_memmove): New prototype.
31185         (memmove): Renamed to ...
31186         (__libc_memmove): This.
31187         (memmove): New strong alias of __libc_memmove.
31188
31189 2012-08-08  Mark Salter  <msalter@redhat.com>
31190
31191         * elf/elf.h
31192         (R_MN10300_TLS_GD): Define.
31193         (R_MN10300_TLS_LD): Likewise.
31194         (R_MN10300_TLS_LDO): Likewise.
31195         (R_MN10300_TLS_GOTIE): Likewise.
31196         (R_MN10300_TLS_IE): Likewise.
31197         (R_MN10300_TLS_LE): Likewise.
31198         (R_MN10300_TLS_DTPMOD): Likewise.
31199         (R_MN10300_TLS_DTPOFF): Likewise.
31200         (R_MN10300_TLS_TPOFF): Likewise.
31201         (R_MN10300_SYM_DIFF): Likewise.
31202         (R_MN10300_ALIGN): Likewise.
31203         (R_MN10300_NUM): Update.
31204
31205 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31206
31207         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31208         Remove.
31209
31210 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31211
31212         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31213
31214         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31215         sysdeps/unix -> sysdeps/posix move.
31216         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31217
31218 2012-08-07      Allan McRae     <allan@archlinux.org>
31219
31220         [BZ #14303]
31221         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31222         (SUNOS_CPP): Likewise.
31223         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31224         not found.
31225         (open_input): Call CPP using execvp.
31226
31227 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31228
31229         * sysdeps/unix/sysv/linux/kernel-features.h
31230         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31231         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31232         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31233         (__ASSUME_WAITID_SYSCALL): Likewise.
31234         * sysdeps/unix/sysv/linux/dl-execstack.c
31235         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31236         code unconditional.
31237         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31238         conditional code.
31239         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31240         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31241         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31242         code.
31243         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31244         unconditional.
31245         [__ASSUME_WAITID_SYSCALL]: Likewise.
31246         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31247
31248 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31249
31250         * sysdeps/unix/closedir.c: Renamed to ...
31251         * sysdeps/posix/closedir.c: ... here.
31252         * sysdeps/unix/dirfd.c: Renamed to ...
31253         * sysdeps/posix/dirfd.c: ... here.
31254         * sysdeps/unix/dirstream.h: Renamed to ...
31255         * sysdeps/posix/dirstream.h: ... here.
31256         * sysdeps/unix/fdopendir.c: Renamed to ...
31257         * sysdeps/posix/fdopendir.c: ... here.
31258         * sysdeps/unix/opendir.c: Renamed to ...
31259         * sysdeps/posix/opendir.c: ... here.
31260         * sysdeps/unix/readdir.c: Renamed to ...
31261         * sysdeps/posix/readdir.c: ... here.
31262         * sysdeps/unix/readdir_r.c: Renamed to ...
31263         * sysdeps/posix/readdir_r.c: ... here.
31264         * sysdeps/unix/rewinddir.c: Renamed to ...
31265         * sysdeps/posix/rewinddir.c: ... here.
31266         * sysdeps/unix/seekdir.c: Renamed to ...
31267         * sysdeps/posix/seekdir.c: ... here.
31268         * sysdeps/unix/telldir.c: Renamed to ...
31269         * sysdeps/posix/telldir.c: ... here.
31270         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31271         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31272         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31273         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31274
31275         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31276         * bits/fcntl.h: ... here.
31277
31278         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31279         not 0.
31280         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31281         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31282         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31283         (struct flock): Move l_start, l_len to the beginning.
31284         Use __pid_t for l_pid.
31285         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31286         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31287         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31288         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31289         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31290         [__USE_LARGEFILE64] (struct flock64): New type.
31291         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31292
31293         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31294         * bits/dirent.h: ... here.
31295
31296         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31297         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31298
31299 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31300
31301         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31302         Change from 2.6.0 to 2.6.16.
31303         * sysdeps/unix/sysv/linux/configure: Regenerated.
31304         * sysdeps/unix/sysv/linux/kernel-features.h
31305         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31306         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31307         version.
31308         (__ASSUME_UTIMES): Likewise.
31309         (__ASSUME_CLONE_STOPPED): Remove.
31310         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31311         architectures, not kernel version.
31312         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31313         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31314         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31315         (__ASSUME_WAITID_SYSCALL): Likewise.
31316         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31317         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31318         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31319         refer to older versions.
31320
31321 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31322
31323         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31324         Define alphasort64 as an alias.
31325         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31326         Define versionsort64 as an alias.
31327         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31328         Define scandir64 as an alias.
31329         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31330         Define scandirat64 as an alias.
31331         * dirent/alphasort64.c (alphasort64):
31332         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31333         * dirent/versionsort64.c: Likewise.
31334         * dirent/scandir64.c: Likewise.
31335         * dirent/scandirat64.c: Likewise.
31336         * sysdeps/wordsize-64/alphasort.c: File removed.
31337         * sysdeps/wordsize-64/alphasort64.c: File removed.
31338         * sysdeps/wordsize-64/scandir.c: File removed.
31339         * sysdeps/wordsize-64/scandir64.c: File removed.
31340         * sysdeps/wordsize-64/scandirat.c: File removed.
31341         * sysdeps/wordsize-64/scandirat64.c: File removed.
31342         * sysdeps/wordsize-64/versionsort.c: File removed.
31343         * sysdeps/wordsize-64/versionsort64.c: File removed.
31344         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31345         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31346         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31347         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31348         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31349         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31350         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31351         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31352
31353         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31354         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31355         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31356         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31357         [defined __arch64__ || defined __sparcv9]
31358         (__INO_T_MATCHES_INO64_T): New macro.
31359         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31360         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31361         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31362         * sysdeps/unix/sysv/linux/bits/dirent.h
31363         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31364         (_DIRENT_MATCHES_DIRENT64): New macro.
31365
31366         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31367         Define lockf64 as an alias.
31368         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31369         Define fseeko64 as an alias.
31370         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31371         Define ftello64 as an alias.
31372         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31373         Define _IO_fgetpos64 and fgetpos64 as aliases.
31374         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31375         Define _IO_fsetpos64 and fsetpos64 as aliases.
31376         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31377         Conditionalize body on this.
31378         * libio/fseeko64.c: Likewise.
31379         * libio/ftello64.c: Likewise.
31380         * libio/iofgetpos64.c: Likewise.
31381         * libio/iofsetpos64.c: Likewise.
31382         * sysdeps/wordsize-64/lockf.c: File removed.
31383         * sysdeps/wordsize-64/lockf64.c: File removed.
31384         * sysdeps/wordsize-64/fseeko.c: File removed.
31385         * sysdeps/wordsize-64/fseeko64.c: File removed.
31386         * sysdeps/wordsize-64/ftello.c: File removed.
31387         * sysdeps/wordsize-64/ftello64.c: File removed.
31388         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31389         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31390         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31391         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31392         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31393         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31394         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31395         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31396         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31397         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31398         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31399         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31400         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31401         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31402
31403         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31404         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31405         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31407         [defined __arch64__ || defined __sparcv9]
31408         (__OFF_T_MATCHES_OFF64_T): New macro.
31409         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31410         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31411         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31412         (__OFF_T_MATCHES_OFF64_T): New macro.
31413
31414 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31415
31416         * stdlib/secure-getenv.c (__secure_getenv): Replace
31417         GLIBC_2_16 with GLIBC_2_17.
31418
31419 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31420
31421         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31422         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31423
31424 2012-08-03  David S. Miller  <davem@davemloft.net>
31425
31426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31427
31428 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31429
31430         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31431         Remove.
31432         (__ASSUME_CORRECT_SI_PID): Likewise.
31433         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31434         (__ASSUME_TMPFS_NAME): Likewise.
31435         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31436         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31437         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31438         (HAVE_AUX_SECURE): Make definition unconditional.
31439         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31440         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31441
31442 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31443
31444         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31445         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31446         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31447         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31448         __eloop_threshold instead of SYMLOOP_MAX.
31449
31450         * sysdeps/generic/eloop-threshold.h: New file.
31451         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31452         of MAXSYMLINKS.
31453         * elf/chroot_canon.c (chroot_canon): Likewise.
31454
31455 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31456
31457         [BZ #13717]
31458         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31459         Change to 2.6.0 everywhere.
31460         * sysdeps/unix/sysv/linux/configure: Regenerated.
31461         * sysdeps/unix/sysv/linux/kernel-features.h
31462         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31463         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31464         kernel versions.
31465         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31466         (__ASSUME_FUTEX_REQUEUE): Remove.
31467         (__ASSUME_STATFS64): Define unconditionally.
31468         (__ASSUME_AT_SECURE): Likewise.
31469         (__ASSUME_CORRECT_SI_PID): Likewise.
31470         (__ASSUME_TGKILL): Define without depending on kernel version for
31471         i386.
31472         (__ASSUME_UTIMES): Likewise.
31473         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31474         kernel version.
31475         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31476         (__ASSUME_TMPFS_NAME): Likewise.
31477         * README: Update reference to Linux kernel versions.
31478
31479 2012-08-02  Marek Polacek  <polacek@redhat.com>
31480
31481         [BZ# 14150]
31482         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31483         libc_cv_asm_type_prefix with %.
31484         * configure: Regenerated.
31485         * include/libc-symbols.h: Remove comment about
31486         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31487         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31488         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31489         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31490         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31491         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31492         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31493         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31494         * elf/tst-unique2mod1.c: Likewise.
31495         * elf/tst-unique1mod2.c: Likewise.
31496         * elf/tst-unique1mod1.c: Likewise.
31497         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31498         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31499         Replace ASM_TYPE_DIRECTIVE with .type.
31500         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31501         * sysdeps/i386/sysdep.h: Likewise.
31502         * sysdeps/x86_64/sysdep.h: Likewise.
31503         * sysdeps/sh/sysdep.h: Likewise.
31504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31505         Do not define ASM_TYPE_DIRECTIVE.
31506         * sysdeps/powerpc/sysdep.h: Likewise.
31507         * sysdeps/powerpc/powerpc32/sysdep.h:
31508         Replace ASM_TYPE_DIRECTIVE with .type.
31509         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31510         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31511         * sysdeps/i386/fpu/e_powf.S: Likewise.
31512         * sysdeps/i386/fpu/e_expl.S: Likewise.
31513         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31514         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31515         * sysdeps/i386/fpu/e_pow.S: Likewise.
31516         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31517         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31518         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31519         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31520         * sysdeps/i386/fpu/e_log2.S: Likewise.
31521         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31522         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31523         * sysdeps/i386/fpu/e_powl.S: Likewise.
31524         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31525         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31526         * sysdeps/i386/fpu/e_logl.S: Likewise.
31527         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31528         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31529         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31530         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31531         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31532         * sysdeps/i386/fpu/e_log.S: Likewise.
31533         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31534         * sysdeps/i386/fpu/e_logf.S: Likewise.
31535         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31536         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31537         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31538         * sysdeps/i386/fpu/e_log10.S: Likewise.
31539         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31540         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31541         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31542         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31543         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31544         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31545         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31546         * sysdeps/i386/i686/strtok.S: Likewise.
31547         * sysdeps/i386/i386-mcount.S: Likewise.
31548         * sysdeps/i386/strtok.S: Likewise.
31549         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31550         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31551         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31552         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31553         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31554         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31555         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31556         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31557         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31558         * sysdeps/x86_64/_mcount.S: Likewise.
31559         * sysdeps/x86_64/strtok.S: Likewise.
31560         * sysdeps/sh/_mcount.S: Likewise.
31561
31562 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31563
31564         * libio/iofopen.c: Include <fcntl.h>.
31565         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31566         (_IO_fopen64, fopen64): Define as aliases.
31567         * libio/iofopen64.c: Include <fcntl.h>.
31568         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31569         Conditionalize body on this.
31570         * sysdeps/wordsize-64/iofopen.c: File removed.
31571         * sysdeps/wordsize-64/iofopen64.c: File removed.
31572
31573 2012-08-01  Marek Polacek  <polacek@redhat.com>
31574
31575         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31576         Use dlfcn directly instead of a variable.
31577         (binfmt-subdir): Do not define.
31578         (dlfcn): Likewise.
31579
31580 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31581
31582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31583         Remove all definitions.
31584         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31585         <kernel-features.h>.
31586         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31587         (miss_F_GETOWN_EX): Remove all definitions.
31588         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31589         macro definition.
31590         [!__ASSUME_FCNTL64]: Remove conditional code.
31591         [__ASSUME_FCNTL64]: Make code unconditional.
31592         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31593         <kernel-features.h>.
31594         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31595         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31596         (lockf64) [__NR_fcntl64]: Make code unconditional.
31597         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31598
31599         * sysdeps/unix/sysv/linux/kernel-features.h
31600         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31601         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31602         Make code unconditional.
31603         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31604         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31606         [__NR_vfork]: Make code unconditional.
31607         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31608         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31610         [__NR_vfork]: Make code unconditional.
31611         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31612         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31613
31614 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31615
31616         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31617         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31618
31619         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31620         Define mkstemp64 as an alias.
31621         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31622         Define mkstemps64 as an alias.
31623         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31624         Define mkostemp64 as an alias.
31625         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31626         Define mkostemps64 as an alias.
31627         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31628         Conditionalize body on this.
31629         * misc/mkostemp64.c: Likewise.
31630         * misc/mkostemps64.c: Likewise.
31631         * misc/mkstemps64.c: Likewise.
31632         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31633         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31634         * sysdeps/wordsize-64/mkostemp.c: File removed.
31635         * sysdeps/wordsize-64/mkstemp.c: File removed.
31636         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31637         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31638         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31639         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31640
31641         [BZ #14138]
31642         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31643         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31644         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31645         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31646
31647         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31648         compat_symbol macros from <shlib-compat.h> rather than the underlying
31649         default_symbol_version and symbol_version macros, so that DEFAULT
31650         lines in shlib-versions are respected.
31651         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31652
31653 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31654
31655         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31656         Declare with warn_unused_result.
31657         (setgid, setregid, setegid, setresgid): Likewise.
31658         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31659         Likewise.
31660         * WUR-REPORT: Remove set*id functions.
31661
31662 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31663
31664         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31665
31666 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31667
31668         [BZ #10191]
31669         * include/sys/socket.h (__libc_accept, __libc_accept4):
31670         Add attribute_hidden.
31671         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31672
31673         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31674         use of PTR_MANGLE.
31675         * inet/getnetgrent_r.c (setup): Likewise.
31676
31677         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31678
31679 2012-07-31  David S. Miller  <davem@davemloft.net>
31680
31681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31682
31683 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31684
31685         [BZ #13629]
31686         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31687         value between 1.0 and 2.0 and smaller part has absolute value less
31688         than 1.0.
31689         * math/s_clog10.c (__clog10): Likewise.
31690         * math/s_clog10f.c (__clog10f): Likewise.
31691         * math/s_clog10l.c (__clog10l): Likewise.
31692         * math/s_clogf.c (__clogf): Likewise.
31693         * math/s_clogl.c (__clogl): Likewise.
31694         * math/libm-test.inc (clog_test): Add more tests.
31695         (clog10_test): Likewise.
31696         * sysdeps/i386/fpu/libm-test-ulps: Update.
31697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31698
31699 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31700
31701         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31702         Exit with zero in case no suitable GID is found, and write a
31703         message to standard error.
31704
31705 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31706
31707         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31708         rather than to 1.
31709         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31710         (MAXPATHLEN): Removed.
31711         (NOGROUP, NODEV): New macros.
31712         (setbit, clrbit, isset, isclr): New macros.
31713         (howmany, roundup, powerof2): New macros.
31714         (DEV_BSIZE): New macro.
31715
31716         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31717         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31718
31719         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31720         definition on [!__NO_LONG_DOUBLE_MATH].
31721
31722         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31723         PTR_MANGLE and PTR_DEMANGLE.
31724
31725         * socket/accept4.c (accept4): Rename to __libc_accept4.
31726         Define accept4 as a weak alias.
31727
31728         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31729         on [_DIRENT_HAVE_D_TYPE].
31730         * io/ftw.c (ftw_dir): Likewise.
31731
31732         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31733
31734         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31735
31736         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31737         Use the BSD numbers rather than the arbitrary ones we had.
31738         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31739         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31740         (SIGXCPU, SIGXFSZ): New macros.
31741         (_NSIG): Now 32.
31742
31743         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31744         initializer on [_LIBC_REENTRANT].
31745
31746         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31747         definitions inside [_POSIX_MAPPED_FILES].
31748
31749         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31750
31751         * dirent/opendir.c: Include <fcntl.h>.
31752
31753         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31754         (__libc_getspecific): Likewise.
31755         (__libc_key_create): Likewise.
31756
31757         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31758         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31759         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31760         (tmpfile64): Define as alias.
31761         * sysdeps/wordsize-64/tmpfile.c: File removed.
31762         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31763         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31764         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31765
31766         * stdio-common/vfscanf.c: Include <stdbool.h>.
31767         * nss/makedb.c: Likewise.
31768         * stdio-common/_i18n_number.h: Likewise.
31769         * argp/argp-help.c: Likewise.
31770         * posix/wordexp.c: Likewise.
31771         * sysdeps/posix/spawni.c: Likewise.
31772         * nss/nss_files/files-initgroups.c: Likewise.
31773         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31774         * nss/nss_files/files-initgroups.c: Likewise.
31775         * nss/nss_db/db-netgrp.c: Likewise.
31776         * nss/nss_db/db-initgroups.c: Likewise.
31777         * io/fchmodat.c: Include <sys/stat.h>.
31778
31779         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31780         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31781
31782         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31783         [HAVE_MMAP].
31784
31785         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31786         Add multiple inclusion protection.
31787
31788 2012-07-27  David S. Miller  <davem@davemloft.net>
31789
31790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31791
31792 2012-07-27  Gary Benson  <gbenson@redhat.com>
31793
31794         [BZ #14298]
31795         * elf/rtld.c: Include <stap-probe.h>.
31796         (dl_main): Added static probes "init_start" and "init_complete".
31797         * elf/dl-load.c: Include <stap-probe.h>.
31798         (lose): Take new parameter "nsid".
31799         Added static probe "map_failed".
31800         (_dl_map_object_from_fd): Pass namespace id to lose.
31801         Added static probe "map_start".
31802         (open_verify): Pass namespace id to lose.
31803         * elf/dl-open.c: Include <stap-probe.h>.
31804         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31805         and "reloc_complete".
31806         * elf/dl-close.c: Include <stap-probe.h>.
31807         (_dl_close_worker): Added static probes "unmap_start" and
31808         "unmap_complete".
31809         * elf/rtld-debugger-interface.txt: New file documenting the above.
31810
31811 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31812
31813         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31814         rather than a string variable.
31815         * sunrpc/rpc_main.c (h_output): Likewise.
31816         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31817
31818 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31819
31820         * inet/check_native.c: New file.
31821
31822 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31823
31824         [BZ #13629]
31825         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31826         if larger part has absolute value 1.0.
31827         * math/s_clog10.c (__clog10): Likewise.
31828         * math/s_clog10f.c (__clog10f): Likewise.
31829         * math/s_clog10l.c (__clog10l): Likewise.
31830         * math/s_clogf.c (__clogf): Likewise.
31831         * math/s_clogl.c (__clogl): Likewise.
31832         * math/libm-test.inc (clog_test): Add more tests.
31833         (clog10_test): Likewise.
31834         * sysdeps/i386/fpu/libm-test-ulps: Update.
31835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31836
31837         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31838         (pltexit): Likewise.
31839         (La_regs): Likewise.
31840         (La_retval): Likewise.
31841         (int_retval): Likewise.
31842         Update #error for removed macros to refer only to definitions in
31843         tst-audit.h.
31844         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31845         macro.
31846         (pltexit): Likewise.
31847         (La_regs): Likewise.
31848         (La_retval): Likewise.
31849         (int_retval): Likewise.
31850         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31851         macro.
31852         (pltexit): Likewise.
31853         (La_regs): Likewise.
31854         (La_retval): Likewise.
31855         (int_retval): Likewise.
31856         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31857         macro.
31858         (pltexit): Likewise.
31859         (La_regs): Likewise.
31860         (La_retval): Likewise.
31861         (int_retval): Likewise.
31862         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31863         macro.
31864         (pltexit): Likewise.
31865         (La_regs): Likewise.
31866         (La_retval): Likewise.
31867         (int_retval): Likewise.
31868         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31869         macro.
31870         (pltexit): Likewise.
31871         (La_regs): Likewise.
31872         (La_retval): Likewise.
31873         (int_retval): Likewise.
31874         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31875         macro.
31876         (pltexit): Likewise.
31877         (La_regs): Likewise.
31878         (La_retval): Likewise.
31879         (int_retval): Likewise.
31880         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31881         macro definitions in tst-audit.h.
31882         * sysdeps/i386/tst-audit.h: New file.
31883         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31884         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31885         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31886         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31887         * sysdeps/sh/tst-audit.h: Likewise.
31888         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31889         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31890         * sysdeps/x86_64/tst-audit.h: Likewise.
31891
31892 2012-07-26  Andreas Jaeger  <aj@suse.de>
31893
31894         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31895         ptrace.
31896
31897         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31898         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31899         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31900         PTRACE_O_MASK.
31901         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31902         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31903         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31904
31905         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31906         value.
31907
31908         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31909         _sigsys.
31910         (si_call_addr, si_syscall, si_arch): Define new macro.
31911         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31912         _sigsys.
31913         (si_call_addr, si_syscall, si_arch): Define new marcro.
31914         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31915         _sigsys.
31916         (si_call_addr, si_syscall, si_arch): Define new macro.
31917         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31918         _sigsys.
31919         (si_call_addr, si_syscall, si_arch): Define new macro.
31920
31921 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31922
31923         [BZ #13717]
31924         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31925         Change to 2.4.21 where previously 2.4.1.
31926         * sysdeps/unix/sysv/linux/configure: Regenerated.
31927         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31928         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31929         Linux kernel version.
31930         (__ASSUME_STD_AUXV): Remove.
31931         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31932         kernel version.
31933         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31934         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31935         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31936         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31937         (__ASSUME_NETLINK_SUPPORT): Likewise.
31938         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31939         (__no_netlink_support): Remove conditional definition.
31940         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31941         Remove.
31942         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31943         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31944         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31945         (if_nameindex_ioctl): Remove.
31946         (if_nameindex_netlink): Do not handle __no_netlink_support.
31947         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31948         code.
31949         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31950         Remove conditional code.
31951         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31952         code.
31953         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31954         unconditional.
31955         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31956         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31957         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31958         Remove.
31959         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31960         [!__ASSUME_STD_AUXV]: Remove conditional code.
31961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31962         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31963         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31965         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31966         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31967         code.
31968         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31970         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31971         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31972         conditional code.
31973         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31975         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31976         code.
31977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31978         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31979         conditional code.
31980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31981         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31982         code unconditional.
31983         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31984         conditional code.
31985         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31986         unconditional.
31987         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31988         conditional code.
31989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31990         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31991         unconditional.
31992         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31993         conditional code.
31994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31995         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31996         code unconditional.
31997         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31998         conditional code.
31999         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32000         unconditional.
32001         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32002         conditional code.
32003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32004         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32005         code unconditional.
32006         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32007         conditional code.
32008         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32009         unconditional.
32010         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32011         conditional code.
32012
32013 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32014
32015         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32016         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32017         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32018         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32019         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32020         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32021         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32022         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32023         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32024         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32025         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32026         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32027         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32028         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32029         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32030         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32031         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32032         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32033         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32035         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32036         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32037         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32038
32039 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32040
32041         * Versions.def: Add GLIBC_2.17.
32042         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32043         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32044         Introduce __libc_secure_getenv.
32045         * stdlib/Versions (2.17): Add secure_getenv
32046         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32047         * stdlib/secure-getenv.c: Rename __secure_getenv to
32048         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32049         symbol __secure_getenv for GLIBC_2.0.
32050         * stdlib/tst-secure-getenv.c: New.
32051         * stdlib/Makefile (tests): Add testcase.
32052         * manual/startup.texi (Environment Access): Document
32053         secure_getenv.
32054         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32055         __libc_secure_getenv.
32056         * inet/ruserpass.c (ruserpass): Likewise.
32057         * malloc/mtrace.c (mtrace): Likewise.
32058         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32059         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32060         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32061         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32062         HAVE_SECURE_GETENV.
32063         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32064         __secure_getenv to __libc_secure_getenv.
32065         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32067         Likewise.
32068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32069         Likewise.
32070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32072         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32077
32078 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32079
32080         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32081         (struct La_i86_retval): Likewise.
32082         (struct La_x86_64_regs): Likewise.
32083         (struct La_x86_64_retval): Likewise.
32084         (struct La_x32_regs): Likewise.
32085         (struct La_x32_retval): Likewise.
32086         (struct La_ppc32_regs): Likewise.
32087         (struct La_ppc32_retval): Likewise.
32088         (struct La_ppc64_regs): Likewise.
32089         (struct La_ppc64_retval): Likewise.
32090         (struct La_sh_regs): Likewise.
32091         (struct La_sh_retval): Likewise.
32092         (struct La_s390_32_regs): Likewise.
32093         (struct La_s390_32_retval): Likewise.
32094         (struct La_s390_64_regs): Likewise.
32095         (struct La_s390_64_retval): Likewise.
32096         (struct La_sparc32_regs): Likewise.
32097         (struct La_sparc32_retval): Likewise.
32098         (struct La_sparc64_regs): Likewise.
32099         (struct La_sparc64_retval): Likewise.
32100         (struct audit_ifaces): Remove architecture-specific pltenter and
32101         pltexit members.
32102         * sysdeps/i386/ldsodefs.h: New file.
32103         * sysdeps/powerpc/ldsodefs.h: Likewise.
32104         * sysdeps/s390/ldsodefs.h: Likewise.
32105         * sysdeps/sh/ldsodefs.h: Likewise.
32106         * sysdeps/sparc/ldsodefs.h: Likewise.
32107         * sysdeps/x86_64/ldsodefs.h: Likewise.
32108
32109 2012-07-25  Marek Polacek  <polacek@redhat.com>
32110
32111         [BZ #6808]
32112         * math/libm-test.inc (yn_test): Add another test.
32113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32114         to ERANGE when the result is +-Inf.
32115         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32116         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32117         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32118         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32119
32120 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32121
32122         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32123         equal to 0.
32124         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32125         clock_t.
32126         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32127
32128 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32129
32130         * configure.in <sysdeps resolving>: Correct printing
32131         Implies_before.
32132         * configure: Regenerate.
32133
32134 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32135
32136         * math/w_ilogb.c: Include <limits.h>.
32137         * math/w_ilogbl.c: Likewise.
32138
32139 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32140
32141         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32142         va_copy.  Document allowing for unavailable va_copy only as
32143         pre-C99 compatibility.
32144         * manual/string.texi (Copying and Concatenation): Use va_copy
32145         instead of __va_copy in concat example.
32146
32147 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32148
32149         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32150         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32151         it if not null.
32152
32153         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32154         with O_NOLINK passed to __file_name_lookup.
32155
32156         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32157         with O_NOLINK passed to __file_name_lookup.
32158
32159         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32160         negative N or less than NGIDS.
32161
32162         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32163         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32164         enough.  Use memcpy instead of strncpy.
32165
32166 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32167
32168         * elf/Makefile (check-data): Remove.
32169         (localplt.data): New vpath directive.
32170         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32171         instead of $(check-data).
32172         * scripts/data/localplt-generic.data: Move to ...
32173         * sysdeps/generic/localplt.data: ... here.
32174         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32175         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32176         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32178         ... here.
32179         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32181         ... here.
32182         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32184         ... here.
32185         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32187         ... here.
32188         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32190         ... here.
32191         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32193         ... here.
32194
32195 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32196
32197         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32198         PPC32 and PPC64 files.
32199         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32200         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32201
32202 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32203
32204         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32205         __makecontext_ret to ...
32206         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32207         ... here and call exit if uc_link is NULL.  New file.
32208         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32209         __makecontext_ret.S.
32210         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32211         __makecontext_ret to ...
32212         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32213         ... here and call exit if uc_link is NULL.  New file.
32214         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32215         __makecontext_ret.S.
32216
32217 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32218
32219         * elf/elf.h (R_390_IRELATIVE): New definition.
32220         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32221         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32222         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32223         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32224         (elf_machine_lazy_rel): Likewise.
32225         * sysdeps/s390/dl-irel.h: New file.
32226         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32227         * sysdeps/s390/s390-64/memset.S: New asm code.
32228         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32229         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32230         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32231         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32232         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32233         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32234         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32235         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32236         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32237         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32238         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32239         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32240         * sysdeps/s390/s390-32/memset.S: New asm code.
32241         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32242
32243 2012-07-17  Marek Polacek  <polacek@redhat.com>
32244
32245         [BZ #14349]
32246         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32247         * sysdeps/s390/s390-64/configure.in: Likewise.
32248         * sysdeps/sparc/configure.in: Likewise.
32249         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32250         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32251         * sysdeps/i386/configure.in: Likewise.
32252         * sysdeps/x86_64/configure.in: Likewise.
32253         * sysdeps/sh/configure.in: Likewise.
32254         * sysdeps/s390/s390-32/configure: Regenerated.
32255         * sysdeps/s390/s390-64/configure: Likewise.
32256         * sysdeps/x86_64/configure: Likewise.
32257         * sysdeps/sh/configure: Likewise.
32258         * sysdeps/powerpc/powerpc64/configure: Likewise.
32259         * sysdeps/powerpc/powerpc32/configure: Likewise.
32260         * sysdeps/sparc/configure: Likwise.
32261         * sysdeps/i386/configure: Likewise.
32262
32263         * elf/dl-open.c: Comment fixes.
32264
32265 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32266
32267         * Makefile [CXX] (check-data): Remove.
32268         [CXX] (c++-types.data): New vpath directive.
32269         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32270         vpath.  Do not allow for C++ type data being missing.
32271         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32272         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32273         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32274         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32275         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32276         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32277         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32279         ... here.
32280         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32282         ... here.
32283         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32285         ... here.
32286         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32288         ... here.
32289         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32291         ... here.
32292         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32294         ... here.
32295         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32297         ... here.
32298         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32300
32301         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32302         definitions to architecture-specific files.
32303         (TLS_IE): Likewise.
32304         (TLS_LD): Likewise.
32305         (TLS_GD): Likewise.
32306         * sysdeps/i386/tls-macros.h: New file.
32307         * sysdeps/powerpc/tls-macros.h: Likewise.
32308         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32309         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32310         * sysdeps/sh/tls-macros.h: Likewise.
32311         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32312         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32313         * sysdeps/x86_64/tls-macros.h: Likewise.
32314
32315 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32316
32317         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32318         zero value for regular exit case.
32319
32320         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32321         (__start_context): Preserve zero value for regular exit case.
32322
32323 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32324             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32325
32326         * manual/setjmp.texi (setcontext): Clarify normal process
32327         termination when uc_link is the null pointer.
32328         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32329         exit call.
32330
32331 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32332
32333         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32334         preprocessor.  Test for each exception mask separately.
32335
32336 2012-07-16  Andreas Jaeger  <aj@suse.de>
32337
32338         * po/ru.po: Update from translation team.
32339
32340 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32341
32342         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32343         equal to 0.
32344         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32345         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32346         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32347         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32348         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32349
32350 2012-07-13  Andreas Jaeger  <aj@suse.de>
32351
32352         * po/fr.po: Update from translation team.
32353
32354 2012-07-12  Marek Polacek  <polacek@redhat.com>
32355
32356         [BZ #14173]
32357         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32358         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32359         loop condition.
32360
32361 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32362
32363         [BZ #13717]
32364         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32365         Change to 2.4.1 where previously 2.4.0.
32366         * sysdeps/unix/sysv/linux/configure: Regenerated.
32367         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32368         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32369         version.
32370         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32371         (__ASSUME_AT_CLKTCK): Remove.
32372         (__ASSUME_AT_PAGESIZE): Likewise.
32373         (__ASSUME_AT_XID): Likewise.
32374         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32375         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32376         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32377         unconditionally.
32378         (HAVE_AUX_PAGESIZE): Likewise.
32379         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32380         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32381         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32382
32383 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32384
32385         [BZ #14307]
32386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32387         the temporary buffer used to invoke __gethostbyname2_r,
32388         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32389         host_data / struct gaih_addrtuple.
32390         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32391         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32392         header file nss/nsswitch.h.
32393         * nss/nsswitch.h (global scope): Add definition of implementation
32394         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32395         resolv/nss_dns/dns-host.c).
32396
32397 2012-07-11  Andreas Jaeger  <aj@suse.de>
32398
32399         * po/fr.po: Update from translation team.
32400
32401         * po/sv.po: Update from translation team
32402         * po/fr.po: Another update from translation team.
32403
32404 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32405
32406         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32407         for subnormals or multiply small sinh result by itself.
32408         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32410
32411 2012-07-11  David S. Miller  <davem@davemloft.net>
32412
32413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32414
32415 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32416
32417         [BZ #14347]
32418         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32419         (INTERNAL_MARK): Shift it here.
32420
32421 2012-07-10  Marek Polacek  <polacek@redhat.com>
32422
32423         [BZ #14151]
32424         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32425         libc_cv_asm_global_directive with .globl.
32426         * configure: Regenerated.
32427         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32428         with .globl.
32429         * sysdeps/i386/configure: Regenerated.
32430         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32431         with .globl.
32432         * sysdeps/x86_64/configure: Regenerated.
32433         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32434         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32435         * elf/tst-unique2mod2.c: Likewise.
32436         * elf/tst-unique2mod1.c: Likewise.
32437         * elf/tst-unique1mod2.c: Likewise.
32438         * elf/tst-unique1mod1.c: Likewise.
32439         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32440         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32441         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32442         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32443         * sysdeps/mach/sysdep.h: Likewise.
32444         * sysdeps/i386/sysdep.h: Likewise.
32445         * sysdeps/i386/i386-mcount.S: Likewise.
32446         * sysdeps/x86_64/_mcount.S: Likewise.
32447         * sysdeps/x86_64/sysdep.h: Likewise.
32448         * sysdeps/sh/_mcount.S: Likewise.
32449         * sysdeps/sh/sysdep.h: Likewise.
32450         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32451         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32452         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32453         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32454         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32455         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32456         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32457         * locale/localeinfo.h: Likewise.
32458         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32459         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32460
32461 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32462
32463         [BZ #14336]
32464         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32465         system".
32466         * manual/message.texi (The Uniforum approach): Likewise.
32467         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32468         (glibc iconv Implementation): Likewise.
32469
32470 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32471
32472         [BZ #14337]
32473         * math/s_clog.c (__clog): Avoid scaling a value down where that
32474         could result in underflow.
32475         * math/s_clog10.c (__clog10): Likewise.
32476         * math/s_clog10f.c (__clog10f): Likewise.
32477         * math/s_clog10l.c (__clog10l): Likewise.
32478         * math/s_clogf.c (__clogf): Likewise.
32479         * math/s_clogl.c (__clogl): Likewise.
32480         * math/libm-test.inc (clog_test): Add more tests.
32481         (clog10_test): Likewise.
32482         * sysdeps/i386/fpu/libm-test-ulps: Update.
32483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32484
32485 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32486
32487         [BZ #14283]
32488         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32489         by 7 not 8 to examine high bit of fractional part.
32490
32491         [BZ #14042]
32492         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32493         for call to __mcount_internal.
32494         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32495         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32496         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32497
32498 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32499
32500         [BZ #14154]
32501         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32502         approximation for values within 0x1p-13f of an odd multiple of
32503         pi/4.
32504         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32505         exception.  Add more tests.
32506         * sysdeps/i386/fpu/libm-test-ulps: Update.
32507
32508         [BZ #6778]
32509         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32510         inputs and return -1 for them.  Do not check for +Inf in case not
32511         reachable for +Inf.
32512         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32513         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32514         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32515         and return -1 for them.  Do not check for +Inf in case not
32516         reachable for +Inf.
32517         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32518         define.
32519         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32520         and return -1 for them.  Do not check for +Inf in case not
32521         reachable for +Inf.
32522         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32523         spurious underflow.
32524         * sysdeps/i386/fpu/libm-test-ulps: Update.
32525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32526
32527 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32528
32529         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32530
32531 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32532
32533         [BZ #14157]
32534         [BZ #14331]
32535         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32536         could result in spurious underflow.  Scale down values above
32537         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32538         * math/s_csqrtf.c (__csqrtf): Likewise.
32539         * math/s_csqrtl.c (__csqrtl): Likewise.
32540         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32541         spurious underflow.
32542         * sysdeps/i386/fpu/libm-test-ulps: Update.
32543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32544
32545 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32546
32547         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32548         xopen-msg.sed.
32549         * catgets/xopen-msg.awk: New file.
32550         * catgets/xopen-msg.sed: Removed.
32551
32552         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32553         po2text.sed.
32554         * intl/po2test.awk: New file.
32555         * intl/po2test.sed: Removed.
32556
32557 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32558
32559         [BZ #14328]
32560         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32561         or multiply small sinh result by itself.
32562         * math/s_ctanf.c (__ctanf): Likewise.
32563         * math/s_ctanh.c (__ctanh): Likewise.
32564         * math/s_ctanhf.c (__ctanhf): Likewise.
32565         * math/s_ctanhl.c (__ctanhl): Likewise.
32566         * math/s_ctanl.c (__ctanl): Likewise.
32567         * math/libm-test.inc (ctan_test_tonearest): New function.
32568         (ctan_test_towardzero): Likewise.
32569         (ctan_test_downward): Likewise.
32570         (ctan_test_upward): Likewise.
32571         (ctanh_test_tonearest): Likewise.
32572         (ctanh_test_towardzero): Likewise.
32573         (ctanh_test_downward): Likewise.
32574         (ctanh_test_upward): Likewise.
32575         (main): Call these new functions.
32576         * sysdeps/i386/fpu/libm-test-ulps: Update.
32577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32578
32579 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32580
32581         * .gitignore: Delete /ports entry.
32582
32583 2012-07-03  Andreas Jaeger  <aj@suse.de>
32584
32585         * po/bg.po: Update from translation team.
32586         * po/cs.po: Likewise.
32587         * po/de.po: Likewise.
32588         * po/hr.po: Likewise.
32589         * po/nl.pl: Likewise.
32590         * po/pl.po: Likewise.
32591         * po/vi.po: Likewise.
32592
32593 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32594
32595         * Makeconfig [!+link] (+link-before-libc): New variable.
32596         [!+link] (+link-after-libc): Likewise.
32597         [!+link] (+link-tests): Likewise.
32598         [!+link] (+link): Define in terms of $(+link-before-libc) and
32599         $(+link-after-libc).
32600         [!+link-static] (+link-static-before-libc): New variable.
32601         [!+link-static] (+link-static-after-libc): Likewise.
32602         [!+link-static] (+link-static-tests): Likewise.
32603         [!+link-static] (+link-static): Define in terms of
32604         $(+link-static-before-libc) and $(+link-static-after-libc).
32605         [build-shared] (link-libc-before-gnulib): New variable.
32606         [build-shared] (link-libc-tests): Likewise.
32607         [build-shared] (link-libc): Define in terms of
32608         $(link-libc-before-gnulib).
32609         [!build-shared] (link-libc-tests): New variable.
32610         (link-libc-static-tests): New variable.
32611         [!gnulib] (gnulib-arch): New variable.
32612         [!gnulib] (gnulib-tests): Likewise.
32613         [!gnulib] (static-gnulib-arch): Likewise.
32614         [!gnulib] (static-gnulib-tests): Likewise.
32615         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32616         Define with "=" instead of ":=".
32617         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32618         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32619         * Rules (binaries-all-notests): New variable.
32620         (binaries-all-tests): Likewise.
32621         (binaries-static-notests): Likewise.
32622         (binaries-static-tests): Likewise.
32623         (binaries-all): Define using $(binaries-all-notests) and
32624         $(binaries-all-tests).
32625         (binaries-static): Define using $(binaries-static-notests) and
32626         $(binaries-static-tests).
32627         (binaries-shared-tests): New variable.
32628         (binaries-shared-notests): Likewise.
32629         (binaries-shared): Remove variable.
32630         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32631         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32632         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32633         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32634         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32635         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32636         * elf/Makefile (sln-modules): New variable.
32637         (extra-objs): Add $(sln-modules:=.o).
32638         (ldconfig-modules): Add static-stubs.
32639         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32640         * elf/static-stubs.c: New file.
32641
32642         [BZ #14283]
32643         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32644         by 7 not 8 to examine high bit of fractional part.  Use volatile
32645         variables when splitting into final array of floats if
32646         __FLT_EVAL_METHOD__ != 0.
32647         * math/libm-test.inc (cos_test): Add another test.
32648         (sin_test): Likewise.
32649         * sysdeps/i386/fpu/libm-test-ulps: Update.
32650
32651         [BZ #14273]
32652         * math/libm-test.inc (cosh_test): Add more tests.
32653
32654         * version.h (RELEASE): Set to "development".
32655         (VERSION): Set to "2.16.90".
32656
32657 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32658
32659         * NEWS: Update copyright. Remove last-updated date.
32660         Mention math library bug fixes and timezone data changes.
32661         * README: Mention GNU/Hurd, x32, and HPPA support status.
32662
32663 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32664
32665         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32666
32667 2012-06-27  Andreas Jaeger  <aj@suse.de>
32668
32669         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32670
32671 2012-06-25  Andreas Jaeger  <aj@suse.de>
32672
32673         * sysdeps/s390/fpu/libm-test-ulps: Update.
32674
32675 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32676             Thomas Schwinge  <thomas@codesourcery.com>
32677
32678         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32679         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32680         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32681         fanotify_mark.
32682
32683 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32684
32685         * sysdeps/mach/start.c: Remove file.
32686         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32687         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32688         * sysdeps/sh/init-first.c: Likewise.
32689
32690         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32691         registers for frame unwinding purposes, add CFI directives.
32692         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32693         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32694         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32695         Likewise.
32696
32697         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32698         __fortify_fail returning.
32699         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32700
32701         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32702         sysdeps/sh/____longjmp_chk.S.
32703         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32704         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32705         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32706         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32707
32708         * sysdeps/sh/abort-instr.h: New file.
32709         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32710         process in case exit returns.
32711
32712         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32713         initialize the GOT register before use.
32714
32715         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32716         calculation of ARGC > 4.
32717
32718         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32719         meaningful names to some local labels.
32720
32721 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32722             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32723
32724         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32725         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32726         (__arch_compare_and_exchange_val_16_acq): Likewise.
32727         (__arch_compare_and_exchange_val_32_acq): Likewise.
32728         (atomic_exchange_and_add): Fix gUSA sequence.
32729         (atomic_add): Likewise.
32730         (atomic_add_negative): Likewise.
32731         (atomic_add_zero): Likewise.
32732         (atomic_bit_test_set): Likewise.
32733
32734 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32735
32736         [BZ #13579]
32737         * include/link.h (struct link_map): Add l_free_initfini.
32738         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32739         l_initfini.
32740         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32741         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32742         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32743         set.
32744
32745 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32746
32747         * configure.in: Use AC_LANG_SOURCE.
32748         * configure: Regenerate.
32749
32750 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32751
32752         * configure.in (libc_cv_localstatedir): New substituted variable.
32753         * configure: Regenerated.
32754         * config.make.in (localstatedir): New variable, substituted from
32755         libc_cv_localstatedir.
32756         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32757         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32758         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32759         * sysdeps/gnu/configure: Regenerated.
32760
32761 2012-06-21  Jeff Law  <law@redhat.com>
32762
32763         [BZ #14277]
32764         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32765         free.  Simplify list management for _LIBC case.
32766
32767 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32768
32769         [BZ #14273]
32770         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32771         Clear sign bit of 64-bit integer value before comparing against
32772         overflow value.
32773
32774         * sysdeps/mach/configure: Regenerated.
32775
32776 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32777
32778         [BZ #14278]
32779         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32780
32781 2012-06-21  Jeff Law  <law@redhat.com>
32782
32783         [BZ #13882]
32784         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32785         uint16_t for elements in the "seen" array to avoid char overflows.
32786         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32787         * elf/dl-open.c (dl_open_worker): Likewise.
32788
32789 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32790
32791         * scripts/list-sources.sh: Scan PORTS for translations.
32792         * po/libc.pot: Regenerated.
32793
32794 2012-06-21  Andreas Jaeger  <aj@suse.de>
32795
32796         [BZ #12194]
32797         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32798         warning.
32799         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32800         * bits/byteswap-16.h (__bswap_16): Likewise.
32801         * bits/byteswap.h (__bswap_constant_16): Likewise.
32802
32803 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32804
32805         [BZ #14117]
32806         * sysdeps/i386/fpu_control.h: Removed.
32807         * sysdeps/x86_64/fpu_control.h: Moved to ...
32808         * sysdeps/x86/fpu_control.h: Here.
32809
32810         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32811         (_FPU_SETCW): Likewise.
32812
32813 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32814
32815         [BZ #14117]
32816         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32817         * sysdeps/x86/fpu/bits/mathinline.h: This.
32818         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32819
32820         [BZ #14050]
32821         [BZ #14117]
32822         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32823         functions if __x86_64__ is defined.
32824
32825 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32826
32827         * string/endian.h: Add !__ASSEMBLER__ condition for including
32828         conversion interfaces.
32829
32830 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32831
32832         [BZ #14241]
32833         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32834         of ABS(x) in calculating zero to negative powers other than odd
32835         integers.
32836         * math/libm-test.inc (pow_test): Add more tests.
32837
32838 2012-06-15  Andreas Jaeger  <aj@suse.de>
32839
32840         * manual/contrib.texi (Contributors): Update entry of Liubov
32841         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32842         Machado Filho.
32843
32844 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32845
32846         * string/string.h: Add __wur to GNU version of strerror_r.
32847
32848 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32849
32850         [BZ #14229]
32851         * string/Makefile (tests): Add tst-strtok_r.
32852         * string/tst-strtok_r.c: New file.
32853         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32854         RAX_LP/RDX_LP on SAVE_PTR.
32855
32856 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32857
32858         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32859
32860 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32861
32862         * libm_test.inc (csqrt_test): Allow more spurious underflow
32863         exceptions.
32864         (j0_test): Likewise.
32865         (j1_test): Likewise.
32866         (y0_test): Likewise.
32867         (y1_test): Likewise.
32868
32869 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32870
32871         * po/Makefile (libc.pot): Use UTF-8 charset.
32872
32873 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32874
32875         [BZ #14210]
32876         Suppress sign-conversion warning from FD_SET.
32877         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32878         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32879         not unsigned long int.
32880         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32881
32882 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32883
32884         [BZ #14050]
32885         [BZ #14117]
32886         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32887         __extern_always_inline instead of __extern_inline.
32888         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32889         (__signbit): Likewise.
32890         (__signbitl): Support C++ namespace.
32891         (lrintf): New inline function.
32892         (lrint): Likewise.
32893         (llrintf): Likewise.
32894         (llrint): Likewise.
32895         (fmaxf): Likewise.
32896         (fmax): Likewise.
32897         (fminf): Likewise.
32898         (fmin): Likewise.
32899         (rint): Likewise.
32900         (rintf): Likewise.
32901         (ceil): Likewise.
32902         (ceilf): Likewise.
32903         (floor): Likewise.
32904         (floorf): Likewise.
32905         (nearbyint): Likewise.
32906         (nearbyintf): Likewise.
32907
32908 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32909
32910         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32911         non-default versions.
32912
32913 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32914
32915         [BZ #14218]
32916         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32917
32918 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32919
32920         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32921         (FE_UPWARD, FE_DOWNWARD): Don't define.
32922         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32923         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32924
32925         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32926         reading it.
32927         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32928         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32929
32930 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32931
32932         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32933         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32934         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32935         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32936
32937 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32938
32939         [BZ #14117]
32940         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32941         * sysdeps/i386/fpu/Implies: New file.
32942         * sysdeps/x86_64/fpu/Implies: Likewise.
32943         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32944         * sysdeps/x86/fpu/bits/fenv.h: This.
32945
32946         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32947         __SSE_MATH__.
32948
32949 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32950
32951         [BZ #14134]
32952         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32953         character 0xffff that matches the last element of the
32954         conversion table.
32955
32956 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32957
32958         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32959         fmodl commit.
32960
32961 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32962
32963         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32964         values higher than 25.6283.
32965
32966 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32967
32968         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32969         subnormal exponent extraction and add some __builtin_expect.
32970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32971         Fix for subnormal mantissa calculation.
32972
32973 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32974
32975         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32976         cpu2 is -1 and errno is not ENOSYS.
32977
32978 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32979
32980         [BZ #14117]
32981         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32982         * sysdeps/x86/bits/string.h: This.
32983         * sysdeps/x86_64/bits/string.h: Removed.
32984
32985         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32986         if not compiling for x86-64, but compiling for >= i486.
32987
32988         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32989         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32990
32991         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32992         New macro from Linux kernel 3.4.0.
32993         (FP_XSTATE_MAGIC2): Likewise.
32994         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32995         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32996         (struct _fpx_sw_bytes): New struct.
32997         (struct _xsave_hdr): Likewise.
32998         (struct _ymmh_state): Likewise.
32999         (struct _xstate): Likewise.
33000
33001         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33002         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33003         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33004         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33005         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33006         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33007
33008         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33009         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33010         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33011         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33012         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33013         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33014
33015 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33016
33017         [BZ #13743]
33018         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33019         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33020         (sysdep_headers): Include sys/platform/ppc.h.
33021         * sysdeps/powerpc/test-gettimebase.c: Test for
33022         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33023         * manual/Makefile (appendices): Include platform.texi.
33024         * manual/contrib.texi (Contributors): Update @node pointers.
33025         * manual/maint.texi (Maintenance): Likewise.
33026         (Platform): New node.
33027         * manual/platform.texi: New file.  Document the new features.
33028
33029 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33030             Jakub Jelinek  <jakub@redhat.com>
33031
33032         [BZ #14188]
33033         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33034         where __builtin_expect is unavailable.
33035
33036 2012-06-03  David S. Miller  <davem@davemloft.net>
33037
33038         * stdlib/longlong.h: Updated from GCC.
33039
33040 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33041
33042         [BZ #14042]
33043         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33044         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33045         __mcount_internal.
33046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33047         (GLIBC_2.16): Likewise.
33048
33049 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33050
33051         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33052
33053 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33054
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33056         (default-abi): New variable.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33058         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33059         variable.
33060         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33061         Likewise.
33062         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33063         Likewise.
33064         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33065         Likewise.
33066
33067         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33068         definition.  Document in comment.
33069
33070 2012-06-01  David S. Miller  <davem@davemloft.net>
33071
33072         * stdlib/longlong.h: Updated from GCC.
33073
33074 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33075
33076         [BZ #14117]
33077         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33078         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33079         sys/debugreg.h sys/io.h here.
33080         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33081         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33082         sys/io.h.
33083         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33084         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33085         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33086         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33087         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33088         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33089
33090         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33091         Define only if __x86_64__ is defined.
33092
33093 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33094
33095         [BZ #14048]
33096         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33097         Use int64_t for variable i.
33098         * math/libm-test.inc (fmod_test): Add more tests.
33099
33100         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33101         z computation is not scheduled after fetestexcept.
33102         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33103         Use math_force_eval instead of asm to ensure calculation scheduled
33104         before exception test.
33105         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33106         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33107
33108 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33109
33110         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33111         computation is not scheduled after fetestexcept.
33112
33113 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33114
33115         [BZ #14117]
33116         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33117         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33118
33119 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33120
33121         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33122         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33123
33124 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33125
33126         [BZ #14117]
33127         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33128         <bits/wordsize.h>.
33129         (__WCHAR_MIN): Support __WORDSIZE == 64.
33130         (__WCHAR_MAX): Likewise.
33131
33132         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33133         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33134
33135         [BZ #14183]
33136         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33137         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33138
33139         [BZ #14117]
33140         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33141         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33142
33143         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33144         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33145
33146         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33147         Defined to 1 if __x86_64__ isn't defined.
33148         (_STAT_VER_LINUX_OLD): New.
33149         (st_atime): Remove duplicate.
33150         (st_mtime): Likewise.
33151         (st_ctime): Likewise.
33152
33153 2012-05-31  David S. Miller  <davem@davemloft.net>
33154
33155         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33156         entries.
33157
33158 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33159
33160         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33161         gen-libm-test.pl.
33162
33163         [BZ #14132]
33164         * elf/dl-reloc.c: Include <_itoa.h>.
33165         (_dl_reloc_bad_type): Remove use of INTUSE.
33166         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33167         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33168         * stdio-common/psiginfo.c (psiginfo): Likewise.
33169         * stdio-common/psignal.c (psignal): Likewise.
33170         * string/strsignal.c (strsignal): Likewise.
33171         * include/signal.h (_sys_siglist): Declare hidden proto.
33172         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33173         INTVARDEF with libc_hidden_data_def.
33174         * stdio-common/itoa-udigits.c: Likewise.
33175         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33176         (_itoa_lower_digits_internal): Remove declaration.
33177         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33178         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33179         (_sys_sigabbrev_internal): Remove aliases.
33180         (_sys_siglist): Define hidden alias.
33181
33182 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33183
33184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33185         bits/sysctl.h.
33186
33187 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33188
33189         [BZ #14117]
33190         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33191         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33192
33193         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33194         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33195         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33196         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33197         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33198         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33199
33200         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33201         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33202         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33203
33204         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33205         with __addr.
33206         (insw): Likewise.
33207         (insl): Likewise.
33208         (outsb): Likewise.
33209         (outsw): Likewise.
33210         (outsl): Likewise.
33211
33212         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33213         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33214         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33215
33216         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33217         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33218         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33219         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33220         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33221         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33222
33223         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33224         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33225
33226         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33227         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33228
33229         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33230         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33231         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33232
33233         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33234         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33235         to ...
33236         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33237
33238         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33239         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33240         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33241
33242         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33243         for x86-64.
33244         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33245
33246 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33247
33248         * math/math.h (M_El): Use two more decimal places.
33249         (M_LOG2El): Likewise.
33250         (M_LOG10El): Likewise.
33251         (M_LN2l): Likewise.
33252         (M_LN10l): Likewise.
33253         (M_PIl): Likewise.
33254         (M_PI_2l): Likewise.
33255         (M_PI_4l): Likewise.
33256         (M_1_PIl): Likewise.
33257         (M_2_PIl): Likewise.
33258         (M_2_SQRTPIl): Likewise.
33259         (M_SQRT2l): Likewise.
33260         (M_SQRT1_2l): Likewise.
33261
33262 2012-05-31  David S. Miller  <davem@davemloft.net>
33263
33264         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33265         values between float registers.
33266         * sysdeps/sparc/sparc64/memset.S: Likewise.
33267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33268
33269 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33270
33271         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33272         -D_FORTIFY_SOURCE=1.
33273         (CPPFLAGS-tst-longjmp_chk.c): Define.
33274         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33275         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33276         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33277         CFLAGS-tst-wchar-h.c.
33278
33279 2012-05-31  Marek Polacek  <polacek@redhat.com>
33280
33281         [BZ #14132]
33282         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33283         __endmntent_internal): Remove declaration.
33284         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33285         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33286         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33287
33288 2012-05-30  David S. Miller  <davem@davemloft.net>
33289
33290         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33291         (___Q_simulate_exceptions): Use real FP ops rather than writing
33292         into the %fsr.
33293         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33294         Likewise.
33295
33296 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33297
33298         [BZ #14117]
33299         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33300         * sysdeps/x86/bits/xtitypes.h: This.
33301
33302         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33303         * sysdeps/x86/bits/wordsize.h: This.
33304
33305         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33306         * sysdeps/x86/bits/huge_vall.h: This.
33307
33308         * sysdeps/i386/bits/select.h: Removed.
33309         * sysdeps/x86_64/bits/select.h: Renamed to ...
33310         * sysdeps/x86/bits/select.h: This.
33311
33312         * sysdeps/i386/bits/setjmp.h: Removed.
33313         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33314         * sysdeps/x86/bits/setjmp.h: This.
33315
33316         * sysdeps/i386/bits/mathdef.h: Removed.
33317         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33318         * sysdeps/x86/bits/mathdef.h: This.
33319
33320 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33321
33322         [BZ #14132]
33323         * include/sys/socket.h (__connect_internal)
33324         (__libc_sa_len_internal): Remove declaration.
33325         (__connect, __libc_sa_len): Declare hidden_proto.
33326         (SA_LEN): Remove use of INTUSE.
33327         * socket/connect.c: Add libc_hidden_def.
33328         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33329         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33330         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33331         alias.
33332         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33333         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33334         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33335         of adding _internal alias.
33336
33337 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33338
33339         [BZ #14117]
33340         * sysdeps/i386/bits/link.h: Removed.
33341         * sysdeps/i386/bits/linkmap.h: Likewise.
33342         * sysdeps/x86_64/bits/link.h: Renamed to ...
33343         * sysdeps/x86/bits/link.h: This.
33344         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33345         * sysdeps/x86/bits/linkmap.h: This.
33346
33347         * sysdeps/i386/bits/endian.h: Removed.
33348         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33349         * sysdeps/x86/bits/endian.h: This.
33350
33351         * sysdeps/i386/bits/byteswap.h: Removed.
33352         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33353         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33354         * sysdeps/x86/bits/byteswap.h: This.
33355         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33356         * sysdeps/x86/bits/byteswap-16.h: This.
33357         * sysdeps/i386/Implies: Add x86.
33358         * sysdeps/x86_64/Implies: Likewise.
33359
33360 2012-05-30  David S. Miller  <davem@davemloft.net>
33361
33362         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33363         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33364         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33365         (FP_TRAPPING_EXCEPTIONS): Define.
33366         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33367         (FP_TRAPPING_EXCEPTIONS): Define.
33368         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33369         subnormals only when inexact has been signalled or underflow
33370         exceptions are enabled.
33371         (_FP_PACK_CANONICAL): Likewise.
33372
33373 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33374
33375         [BZ #14183]
33376         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33377         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33378
33379 2012-05-30  Richard Henderson  <rth@twiddle.net>
33380
33381         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33382         with #ifndef NOT_IN_libc.
33383
33384         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33385         marked to avoid plt entry.
33386
33387 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33388
33389         [BZ #14112]
33390         * Makeconfig (default-abi): New macro.
33391         (abi-includes): Likewise.
33392         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33393         $(abi-$(default-abi)-lib-soname) for soname if defined.
33394         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33395         abi-variants.
33396         * Makefile (installed-stubs): Likewise.
33397         * include/stubs-biarch.h: Removed.
33398         * scripts/lib-names.awk: Only handle one library at a time.
33399         * scripts/soversions.awk: Remove WORDSIZE support.
33400         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33401         entries.
33402         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33403         Removed.
33404         (syscall-list-default-condition): Likewise.
33405         (syscall-list-default-condition): Likewise.
33406         (syscall-list-includes): Likewise.
33407         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33408         syscall-list-* with abi-*.  Handle undefined abi-variants.
33409         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33410         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33411         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33412         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33413         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33414         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33415         Removed.
33416         (syscall-list-32-options): Likewise.
33417         (syscall-list-32-condition): Likewise.
33418         (syscall-list-64-options): Likewise.
33419         (syscall-list-64-condition): Likewise.
33420         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33421         macro.
33422         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33423         Renamed to ...
33424         (abi-*): This.
33425         (abi-64-ld-soname): New macro.
33426         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33427         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33428         Renamed to ...
33429         (abi-*): This.
33430         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33431         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33432
33433 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33434
33435         * sysdeps/unix/sysv/linux/kernel-features.h
33436         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33437         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33438         include <kernel-features.h>.
33439         [!__NR_ftruncate64]: Remove conditional code.
33440         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33441         [__NR_ftruncate64]: Make code unconditional.
33442         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33443         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33444         include <kernel-features.h>.
33445         [!__NR_ftruncate64]: Remove conditional code.
33446         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33447         [__NR_ftruncate64]: Make code unconditional.
33448         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33450         include <kernel-features.h>.
33451         [!__NR_ftruncate64]: Remove conditional code.
33452         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33453         [__NR_ftruncate64]: Make code unconditional.
33454         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33456         include <kernel-features.h>.
33457         [!__NR_ftruncate64]: Remove conditional code.
33458         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33459         [__NR_ftruncate64]: Make code unconditional.
33460         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33461
33462         * configure.in (libc_cv_fpie): Weaken to a compile test using
33463         LIBC_TRY_CC_OPTION.
33464         * configure: Regenerated.
33465
33466 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33467
33468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33472         Refreshed.
33473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33479         Refreshed.
33480
33481 2012-05-27  David S. Miller  <davem@davemloft.net>
33482
33483         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33484         (___Q_zero): New.
33485         (__Q_simulate_exceptions): Return void.  Change to simulate
33486         exceptions by writing into the %fsr.
33487         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33488         (__Qp_handle_exceptions): Likewise.
33489         (numbers): Delete.
33490         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33491         __Qp_handle_exceptions.
33492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33493         __Qp_handle_exceptions.
33494         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33495         as unused and give dummy FP_RND_NEAREST initializer.
33496         (FP_INHIBIT_RESULTS): Define.
33497         (___Q_simulate_exceptions): Update declaration.
33498         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33499         formatting.
33500         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33501         as unused and give dummy FP_RND_NEAREST initializer.
33502         (__Qp_handle_exceptions): Update declaration.
33503         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33504         formatting.
33505
33506 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33507
33508         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33509         the temporary FPU control word.
33510         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33511         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33512         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33513         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33514         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33515         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33516         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33517         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33518         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33519         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33520         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33521
33522 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33523
33524         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33525         fields.
33526
33527 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33528
33529         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33530         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33531         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33532         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33533         Likewise.
33534         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33535         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33536         Likewise.
33537
33538 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33539
33540         * po/h.po: Update from translation team.
33541
33542 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33543
33544         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33545
33546         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33547         handling of denormals.
33548         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33549         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33550         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33551         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33552         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33555         Likewise.
33556
33557 2012-05-26  Marek Polacek  <polacek@redhat.com>
33558
33559         [BZ #14152]
33560         * math/libm-test.inc (fma_test): Don't always expect underflow
33561         exception.
33562
33563 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33564
33565         [BZ #12416]
33566         * elf/tst-execstack.c: Include stackinfo.h.
33567         (do_test): Adjust test case to ensure that pthread_getattr_np
33568         behaviour remains the same after marking stack executable.
33569
33570 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33571
33572         * sysdeps/unix/sysv/linux/kernel-features.h
33573         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33574         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33575         kernel-features.h.
33576         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33577         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33578         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33579         kernel-features.h.
33580         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33581         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33582
33583 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33584
33585         * configure.in: Define the default includes to being none.
33586         * configure: Regenerated.
33587
33588 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33589
33590         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33591         * sysdeps/x86_64/setjmp.S: Likewise.
33592         * sysdeps/i386/bsd-setjmp.S: Likewise.
33593         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33594         * sysdeps/i386/setjmp.S: Likewise.
33595         * sysdeps/i386/__longjmp.S: Likewise.
33596         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33597         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33598
33599         * include/stap-probe.h: New file.
33600         * configure.in: Handle --enable-systemtap.
33601         * configure: Regenerated.
33602         * config.h.in (USE_STAP_PROBE): New #undef.
33603         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33604         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33605         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33606
33607 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33608
33609         [BZ #13717]
33610         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33611         to 2.4.0 where earlier.
33612         * sysdeps/unix/sysv/linux/configure: Regenerated.
33613         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33614         <kernel-features.h>.
33615         [__ASSUME_32BITUIDS]: Make code unconditional.
33616         [!__ASSUME_32BITUIDS]: Remove conditional code.
33617         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33618         <kernel-features.h>.
33619         [__ASSUME_32BITUIDS]: Make code unconditional.
33620         [!__ASSUME_32BITUIDS]: Remove conditional code.
33621         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33622         [__ASSUME_32BITUIDS]: Make code unconditional.
33623         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33624         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33625         <kernel-features.h>.
33626         [__ASSUME_32BITUIDS]: Make code unconditional.
33627         [!__ASSUME_32BITUIDS]: Remove conditional code.
33628         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33629         <kernel-features.h>.
33630         [__ASSUME_32BITUIDS]: Make code unconditional.
33631         [!__ASSUME_32BITUIDS]: Remove conditional code.
33632         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33633         <kernel-features.h>.
33634         [__ASSUME_32BITUIDS]: Make code unconditional.
33635         [!__ASSUME_32BITUIDS]: Remove conditional code.
33636         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33637         <kernel-features.h>.
33638         [__ASSUME_32BITUIDS]: Make code unconditional.
33639         [!__ASSUME_32BITUIDS]: Remove conditional code.
33640         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33641         <kernel-features.h>.
33642         [__ASSUME_32BITUIDS]: Make code unconditional.
33643         [!__ASSUME_32BITUIDS]: Remove conditional code.
33644         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33645         <kernel-features.h>.
33646         [__ASSUME_32BITUIDS]: Make code unconditional.
33647         [!__ASSUME_32BITUIDS]: Remove conditional code.
33648         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33649         <kernel-features.h>.
33650         [__ASSUME_32BITUIDS]: Make code unconditional.
33651         [!__ASSUME_32BITUIDS]: Remove conditional code.
33652         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33653         <kernel-features.h>.
33654         [__ASSUME_32BITUIDS]: Make code unconditional.
33655         [!__ASSUME_32BITUIDS]: Remove conditional code.
33656         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33657         <kernel-features.h>.
33658         [__ASSUME_32BITUIDS]: Make code unconditional.
33659         [!__ASSUME_32BITUIDS]: Remove conditional code.
33660         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33661         <kernel-features.h>.
33662         [__ASSUME_32BITUIDS]: Make code unconditional.
33663         [!__ASSUME_32BITUIDS]: Remove conditional code.
33664         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33665         <kernel-features.h>.
33666         [__NR_setresgid] (__setresgid): Do not declare.
33667         [__ASSUME_32BITUIDS]: Make code unconditional.
33668         [!__ASSUME_32BITUIDS]: Remove conditional code.
33669         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33670         <kernel-features.h>.
33671         [__NR_setresuid] (__setresuid): Do not declare.
33672         [__ASSUME_32BITUIDS]: Make code unconditional.
33673         [!__ASSUME_32BITUIDS]: Remove conditional code.
33674         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
33687         <kernel-features.h>.
33688         [__ASSUME_32BITUIDS]: Make code unconditional.
33689         [!__ASSUME_32BITUIDS]: Remove conditional code.
33690         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33691         <kernel-features.h>.
33692         [__ASSUME_32BITUIDS]: Make code unconditional.
33693         [!__ASSUME_32BITUIDS]: Remove conditional code.
33694         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33695         <kernel-features.h>.
33696         [__ASSUME_32BITUIDS]: Make code unconditional.
33697         [!__ASSUME_32BITUIDS]: Remove conditional code.
33698         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33699         <kernel-features.h>.
33700         [__ASSUME_32BITUIDS]: Make code unconditional.
33701         [!__ASSUME_32BITUIDS]: Remove conditional code.
33702         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33703         <kernel-features.h>.
33704         [__ASSUME_32BITUIDS]: Make code unconditional.
33705         [!__ASSUME_32BITUIDS]: Remove conditional code.
33706         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33707         <kernel-features.h>.
33708         [__ASSUME_32BITUIDS]: Make code unconditional.
33709         [!__ASSUME_32BITUIDS]: Remove conditional code.
33710         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33711         <kernel-features.h>.
33712         [__ASSUME_32BITUIDS]: Make code unconditional.
33713         [!__ASSUME_32BITUIDS]: Remove conditional code.
33714         * sysdeps/unix/sysv/linux/kernel-features.h
33715         (__ASSUME_SETRESUID_SYSCALL): Remove.
33716         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33717         (__ASSUME_32BITUIDS): Likewise.
33718         (__ASSUME_LDT_WORKS): Likewise.
33719         (__ASSUME_O_DIRECTORY): Likewise.
33720         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33721         architecture but not kernel version.
33722         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33723         (__ASSUME_MMAP2_SYSCALL): Likewise.
33724         (__ASSUME_STAT64_SYSCALL): Likewise.
33725         (__ASSUME_IPC64): Likewise.
33726         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33727         <kernel-features.h>.
33728         [__ASSUME_32BITUIDS]: Make code unconditional.
33729         [!__ASSUME_32BITUIDS]: Remove conditional code.
33730         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33731         <kernel-features.h>.
33732         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33733         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33734         132096]: Remove conditional code.
33735         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33736         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33737         <kernel-features.h>.
33738         [__ASSUME_32BITUIDS]: Make code unconditional.
33739         [!__ASSUME_32BITUIDS]: Remove conditional code.
33740         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33741         <kernel-features.h>.
33742         [__ASSUME_32BITUIDS]: Make code unconditional.
33743         [!__ASSUME_32BITUIDS]: Remove conditional code.
33744         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33745         <kernel-features.h>.
33746         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33747         unconditional.
33748         (__setresgid): Do not declare.
33749         [__ASSUME_32BITUIDS]: Make code unconditional.
33750         [!__ASSUME_32BITUIDS]: Remove conditional code.
33751         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33752         <kernel-features.h>.
33753         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33754         unconditional.
33755         (__setresuid): Do not declare.
33756         [__ASSUME_32BITUIDS]: Make code unconditional.
33757         [!__ASSUME_32BITUIDS]: Remove conditional code.
33758         * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
33763         <kernel-features.h>.
33764         [__ASSUME_32BITUIDS]: Make code unconditional.
33765         [!__ASSUME_32BITUIDS]: Remove conditional code.
33766
33767 2012-05-25  Richard Henderson  <rth@twiddle.net>
33768
33769         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33770         dl_hwcap to ifunc resolver.
33771         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33772         elf_ifunc_invoke.
33773         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33774         dl_hwcap to ifunc resolver.
33775         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33776
33777 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33778
33779         [BZ #14153]
33780         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33781         for |x| <= 2**-26, not 2**-57.
33782         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33783         exception.
33784
33785 2012-05-24  Jeff Law  <law@redhat.com>
33786
33787         * stdio-common/Makefile (tests): Add bug25.
33788         * stdio-common/bug25.c: New test.
33789
33790 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33791
33792         [BZ #13576]
33793         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33794         multiple of MALLOC_ALIGNMENT in size.
33795         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33796
33797 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33798
33799         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33800         Require >= 256.
33801         (FILENAME_MAX): Use macro-int-constant.
33802         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33803         (_IOFBF): Use macro-int-constant.
33804         (_IOLBF): Likewise.
33805         (_IONBF): Likewise.
33806         (SEEK_CUR): Likewise.
33807         (SEEK_END): Likewise.
33808         (SEEK_SET): Likewise.
33809         (TMP_MAX): Likewise.
33810         (EOF): Use macro-int-constant.  Require < 0.
33811         (NULL): Use macro-constant.  Require == 0.
33812         (stdin): Require type to be FILE *.
33813         (stdout): Likewise.
33814         (stderr): Likewise.
33815         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33816         macro-int-constant.
33817         (EXIT_SUCCESS): Likewise.
33818         (NULL): Use macro-constant.  Require == 0.
33819         (RAND_MAX): Use macro-int-constant.
33820         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33821         [C99-based standards] (strtof): Require function.
33822         [C99-based standards] (strtold): Likewise.
33823         [C99-based standards] (strtoll): Likewise.
33824         [C99-based standards] (strtoull): Likewise.
33825         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33826         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33827         [ISO || ISO99 || ISO11] (math.h): Likewise.
33828         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33829         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33830         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33831
33832 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33833
33834         [BZ #14132]
33835         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33836         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33837         * intl/dgettext.c (DCGETTEXT): Likewise.
33838         * intl/gettext.c (DCGETTEXT): Likewise.
33839         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33840         * posix/regex_internal.h (gettext): Likewise.
33841         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33842         Remove declaration.
33843         * include/argz.h (__argz_count_internal)
33844         (__argz_stringify_internal): Remove declaration.
33845         (__argz_count, __argz_stringify): Declare hidden proto.
33846         * intl/dcgettext.c: Remove use of INTDEF.
33847         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33848         * string/argz-stringify.c: Likewise.
33849         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33850         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33851         Declare hidden proto.
33852         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33853         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33854         Declare hidden proto.
33855         * include/stdio.h (__asprintf_internal): Don't declare.
33856         (__asprintf): Don't define as macro.  Declare hidden proto.
33857         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33858         (__fsetlocking): Declare hidden proto.
33859         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33860         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33861         hidden proto.
33862         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33863         (_IO_setlinebuf): Remove use of INTUSE.
33864         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33865         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33866         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33867         Remove declaration.
33868         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33869         (_IO_do_flush): Remove use of INTUSE.
33870         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33871         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33872         (_IO_adjust_column, _IO_least_wmarker)
33873         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33874         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33875         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33876         (_IO_default_doallocate, _IO_wdefault_doallocate)
33877         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33878         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33879         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33880         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33881         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33882         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33883         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33884         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33885         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33886         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33887         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33888         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33889         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33890         proto.
33891         (_IO_flush_all_internal, _IO_adjust_column_internal)
33892         (_IO_default_uflow_internal, _IO_default_finish_internal)
33893         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33894         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33895         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33896         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33897         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33898         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33899         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33900         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33901         (_IO_file_close_internal, _IO_file_close_it_internal)
33902         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33903         (_IO_file_init_internal, _IO_file_attach_internal)
33904         (_IO_file_fopen_internal, _IO_file_read_internal)
33905         (_IO_file_sync_internal, _IO_file_seek_internal)
33906         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33907         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33908         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33909         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33910         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33911         (_IO_list_all_internal, _IO_link_in_internal)
33912         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33913         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33914         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33915         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33916         (_IO_do_write_internal, _IO_padn_internal)
33917         (_IO_getline_info_internal, _IO_getline_internal)
33918         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33919         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33920         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33921         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33922         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33923         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33924         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33925         with libc_hidden_ver, remove use of INTUSE.
33926         * libio/genops.c: Likewise.
33927         * libio/freopen.c: Likewise.
33928         * libio/freopen64.c: Likewise.
33929         * libio/iofclose.c: Likewise.
33930         * libio/iofdopen.c: Likewise.
33931         * libio/iofflush.c: Likewise.
33932         * libio/iofflush_u.c: Likewise.
33933         * libio/iofgets.c: Likewise.
33934         * libio/iofgets_u.c: Likewise.
33935         * libio/iofopen.c: Likewise.
33936         * libio/iofopncook.c: Likewise.
33937         * libio/iofread.c: Likewise.
33938         * libio/iofread_u.c: Likewise.
33939         * libio/ioftell.c: Likewise.
33940         * libio/iofwrite.c: Likewise.
33941         * libio/iogetline.c: Likewise.
33942         * libio/iogets.c: Likewise.
33943         * libio/iogetwline.c: Likewise.
33944         * libio/iopadn.c: Likewise.
33945         * libio/iopopen.c: Likewise.
33946         * libio/ioseekoff.c: Likewise.
33947         * libio/ioseekpos.c: Likewise.
33948         * libio/iosetbuffer.c: Likewise.
33949         * libio/iosetvbuf.c: Likewise.
33950         * libio/ioungetc.c: Likewise.
33951         * libio/ioungetwc.c: Likewise.
33952         * libio/iovdprintf.c: Likewise.
33953         * libio/iovsprintf.c: Likewise.
33954         * libio/iovsscanf.c: Likewise.
33955         * libio/memstream.c: Likewise.
33956         * libio/obprintf.c: Likewise.
33957         * libio/oldfileops.c: Likewise.
33958         * libio/oldiofclose.c: Likewise.
33959         * libio/oldiofdopen.c: Likewise.
33960         * libio/oldiofopen.c: Likewise.
33961         * libio/oldiopopen.c: Likewise.
33962         * libio/oldstdfiles.c: Likewise.
33963         * libio/putc.c: Likewise.
33964         * libio/setbuf.c: Likewise.
33965         * libio/setlinebuf.c: Likewise.
33966         * libio/stdfiles.c: Likewise.
33967         * libio/strops.c: Likewise.
33968         * libio/vasprintf.c: Likewise.
33969         * libio/vscanf.c: Likewise.
33970         * libio/vsnprintf.c: Likewise.
33971         * libio/vswprintf.c: Likewise.
33972         * libio/wfiledoalloc.c: Likewise.
33973         * libio/wfileops.c: Likewise.
33974         * libio/wgenops.c: Likewise.
33975         * libio/wmemstream.c: Likewise.
33976         * libio/wstrops.c: Likewise.
33977         * libio/__fpurge.c: Likewise.
33978         * libio/__fsetlocking.c: Likewise.
33979         * assert/assert.c: Likewise.
33980         * debug/fgets_chk.c: Likewise.
33981         * debug/fgets_u_chk.c: Likewise.
33982         * debug/fread_chk.c: Likewise.
33983         * debug/fread_u_chk.c: Likewise.
33984         * debug/gets_chk.c: Likewise.
33985         * debug/obprintf_chk.c: Likewise.
33986         * debug/vasprintf_chk.c: Likewise.
33987         * debug/vdprintf_chk.c: Likewise.
33988         * debug/vsnprintf_chk.c: Likewise.
33989         * debug/vsprintf_chk.c: Likewise.
33990         * malloc/mtrace.c: Likewise.
33991         * misc/error.c: Likewise.
33992         * misc/syslog.c: Likewise.
33993         * stdio-common/asprintf.c: Likewise.
33994         * stdio-common/fxprintf.c: Likewise.
33995         * stdio-common/getw.c: Likewise.
33996         * stdio-common/isoc99_fscanf.c: Likewise.
33997         * stdio-common/isoc99_scanf.c: Likewise.
33998         * stdio-common/isoc99_vfscanf.c: Likewise.
33999         * stdio-common/isoc99_vscanf.c: Likewise.
34000         * stdio-common/isoc99_vsscanf.c: Likewise.
34001         * stdio-common/printf-prs.c: Likewise.
34002         * stdio-common/printf_fp.c: Likewise.
34003         * stdio-common/printf_fphex.c: Likewise.
34004         * stdio-common/printf_size.c: Likewise.
34005         * stdio-common/putw.c: Likewise.
34006         * stdio-common/scanf.c: Likewise.
34007         * stdio-common/sprintf.c: Likewise.
34008         * stdio-common/tmpfile.c: Likewise.
34009         * stdio-common/vfprintf.c: Likewise.
34010         * stdio-common/vfscanf.c: Likewise.
34011         * stdlib/strfmon_l.c: Likewise.
34012         * sunrpc/openchild.c: Likewise.
34013         * sunrpc/xdr_stdio.c: Likewise.
34014         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34015         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34016
34017 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34018
34019         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34020
34021         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34022         in the third column, to generate for the shared library an IFUNC
34023         that uses _dl_vdso_vsym.
34024         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34025         * Makeconfig (object-suffixes-noshared): New variable.
34026
34027         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34028         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34029         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34030         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34031
34032         [BZ #14132]
34033         * include/sys/time.h (__gettimeofday): Remove macro.
34034         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34035         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34036         Remove INTDEF.
34037         (__gettimeofday): Add libc_hidden_def.
34038         (gettimeofday): Add libc_hidden_weak.
34039         * sysdeps/mach/gettimeofday.c: Likewise.
34040         * sysdeps/posix/gettimeofday.c: Likewise.
34041         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34042         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34044         (__gettimeofday_internal): Remove strong_alias.
34045         (__gettimeofday): Add libc_hidden_def.
34046         (gettimeofday): Add libc_hidden_weak.
34047         * sysdeps/unix/syscalls.list (gettimeofday):
34048         Remove __gettimeofday_internal alias.
34049
34050 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34051             H.J. Lu  <hongjiu.lu@intel.com>
34052
34053         [BZ #12495]
34054         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34055         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34056         (largebin_index_32_big): New.
34057         (largebin_index): Use it for 16-byte alignment.
34058         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34059         correction with front_misalign.
34060
34061 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34062
34063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34065         Likewise.
34066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34067         Likewise.
34068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34069         Likewise.
34070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34071         Likewise.
34072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34073         Likewise.
34074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34075         Likewise.
34076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34077         Likewise.
34078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34079         Likewise.
34080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34081         Likewise.
34082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34083         Likewise.
34084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34085         Likewise.
34086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34087         Likewise.
34088
34089         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34090         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34091
34092 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34093
34094         [BZ #10846]
34095         [BZ #14036]
34096         * math/libm-test.inc (exp_test): Add test from bug 14036.
34097         (pow_test): Add test from bug 10846.
34098
34099         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34100         and other flags.
34101         (special_function): Do not include flags in test name.
34102         (parse_args): Likewise.
34103         * sysdeps/i386/fpu/libm-test-ulps: Update.
34104         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34105         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34106         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34108
34109         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34110         exceptions.
34111         * math/libm-test.inc ("Philosophy"): Update comment about
34112         exception testing.
34113         (UNDERFLOW_EXCEPTION): New macro.
34114         (UNDERFLOW_EXCEPTION_OK): Likewise.
34115         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34116         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34117         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34118         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34119         (INVALID_EXCEPTION_OK): Update value.
34120         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34121         (OVERFLOW_EXCEPTION_OK): Likewise.
34122         (IGNORE_ZERO_INF_SIGN): Likewise.
34123         (test_exceptions): Handle underflow exceptions.
34124         (acos_test): Update for underflow exception expectations.
34125         (cexp_test): Likewise.
34126         (clog_test): Likewise.
34127         (clog10_test): Likewise.
34128         (csqrt_test): Likewise.
34129         (ctan_test): Likewise.
34130         (ctanh_test): Likewise.
34131         (exp_test): Likewise.
34132         (exp10_test): Likewise.
34133         (exp2_test): Likewise.
34134         (expm1_test): Likewise.
34135         (fma_test): Likewise.
34136         (j0_test): Likewise.
34137         (jn_test): Likewise.
34138         (nexttoward_test): Likewise.
34139         (pow_test): Likewise.
34140         (scalbn_test): Likewise.
34141         (scalbln_test): Likewise.
34142         (tan_test): Likewise.
34143         (y1_test): Likewise.
34144         * sysdeps/i386/fpu/libm-test-ulps: Update.
34145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34146
34147 2012-05-23  David S. Miller  <davem@davemloft.net>
34148
34149         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34150         (__libc_sigaction): Remove unused local variables.
34151
34152 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34153
34154         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34155
34156 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34157
34158         mktime: avoid signed integer overflow
34159         * time/mktime.c (__mktime_internal): Do not mishandle the case
34160         where diff == INT_MIN.
34161
34162         mktime: simplify computation of average
34163         * time/mktime.c (ranged_convert): Use new time_t_avg function
34164         instead of rolling our own (probably-slower) code.
34165
34166         mktime: do not assume signed right shift propagates sign bit
34167         * time/mktime.c (isdst_differ): New static function.
34168         (__mktime_internal): No need to normalize tm_isdst now.
34169         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34170         tm_isdst values.
34171
34172         mktime: merge another wrapv change from gnulib
34173         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34174         from some compilers.
34175
34176         mktime: remove incorrect attempt at unusual arithmetics
34177         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34178         The code didn't really work on such machines anyway.
34179         (TYPE_MINIMUM): Assume two's complement.
34180         (twos_complement_arithmetic): Verify that long_int and time_t
34181         are two's complement (or unsigned, in the latter case).
34182
34183         mktime: check signed shifts on long_int and time_t, too
34184         * time/mktime.c (SHR): Check that shifts work as desired
34185         on the types long_int and time_t too, as SHR is used on
34186         such types.
34187
34188         mktime: do not assume 'long' is wide enough
34189         * time/mktime.c (verify): Move decl up.
34190         (long_int): New type.
34191         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34192         to remove assumption in the code that 'long' is wide enough to
34193         store year values.  This assumption is not true on x32 and on
34194         some non-glibc platforms.
34195
34196         mktime: merge wrapv change from gnulib
34197         * time/mktime.c (WRAPV): New macro.
34198         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34199         (guess_time_tm, __mktime_internal): Do not assume that signed
34200         integer overflow wraps around; modern compilers generate code
34201         where this assumption is no longer valid.
34202
34203 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34204
34205         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34206         Replace "jmp L(pseudo_end)" with "ret".
34207         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34208         Likewise.
34209
34210 2012-05-23  Andreas Jaeger  <aj@suse.de>
34211
34212         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34213         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34214
34215 2012-05-23  Andreas Jaeger  <aj@suse.de>
34216             Maximilian Attems  <max@stro.at>
34217
34218         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34219         New macros.
34220
34221 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34222
34223         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34224         code so that pseudo_end is just ret and the stack pointer is
34225         correct also for static library in error case.
34226
34227 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34228
34229         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34230         move to syscalls.list.
34231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34235
34236         * manual/install.texi (Running make install): Do not mention Linux
34237         kernel version for which pt_chown is not needed.
34238         (Linux): Do not mention problems with nscd with 2.0 kernels.
34239         * INSTALL: Regenerated.
34240
34241 2012-05-23  Andreas Jaeger  <aj@suse.de>
34242
34243         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34244         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34245         macro.
34246         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34247         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34248         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34249         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34250         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34251         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34252         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34253         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34254         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34255         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34256         * sysdeps/unix/sysv/linux/bits/in.h
34257         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34258
34259 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34260
34261         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34262         (PREPARE_VERSION): Just use assert instead, it will be elided
34263         under [NDEBUG] anyway.
34264
34265 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34266
34267         * sysdeps/unix/sysv/linux/Makefile: Include
34268         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34269         (sysdep_routines): Remove sysctl.
34270         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34271         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34272         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34273         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34274         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34275
34276 2012-05-22  Andreas Jaeger  <aj@suse.de>
34277
34278         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34279         that pseudo_end is just ret and the stack pointer is correct also
34280         for static library in error case.
34281
34282 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34283
34284         [BZ #14122]
34285         * nss/nsswitch.c (defconfig_entries): New variable.
34286         (__nss_database_lookup): Don't leak defconfig entries.
34287         (nss_parse_service_list): Don't leak on error paths.
34288         (free_database_entries): New function.
34289         (free_defconfig): New function.
34290         (free_mem): Move common code to free_database_entries.
34291
34292 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34293
34294         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34295         Add arch_prctl.
34296         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34297
34298         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34299         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34301         New macro.
34302         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34303         (INTERNAL_SYSCALL_TYPES): Likewise.
34304         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34305         (LOAD_REGS_TYPES_[1-6]): Likewise.
34306         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34307         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34308
34309 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34310
34311         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34312         copysignl for GLIBC_2_0.
34313         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34314         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34315         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34316         logbl for GLIBC_2_0.
34317         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34318         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34319
34320 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34321
34322         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34323         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34324
34325         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34326         Use "neg %eax".
34327
34328         * time/mktime.c: Update copyright years.
34329
34330 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34331
34332         mktime: merge comment-quoting-style change from gnulib
34333         * time/mktime.c: Quote 'like this' in comments.
34334         The GNU coding standards suggest that we no longer quote `like this',
34335         as "`" and "'" are typically rendered asymmetrically nowadays.
34336         The typical gnulib style is to quote 'like this' when quoting
34337         code, and "like this" when quoting English.
34338
34339         * time/mktime.c (compile-command): Add "-I.".
34340
34341         mktime: merge mktime-internal.h change from gnulib
34342         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34343
34344         mktime: merge time_r change from gnulib
34345         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34346
34347         mktime: merge DEBUG change from gnulib
34348         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34349         case system <time.h> has a #define.
34350
34351         mktime: merge <sys/types.h> change from gnulib
34352         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34353         since <time.t> is now guaranteed to define time_t.
34354
34355         mktime: merge HAVE_CONFIG_H change from gnulib
34356         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34357
34358 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34359
34360         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34361         Use "neg %eax".
34362
34363         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34364         __rlim_t cast.
34365         (struct rusage): Use anonymous union to pad each field to
34366         __syscall_slong_t.
34367
34368 2012-05-21  David S. Miller  <davem@davemloft.net>
34369
34370         * Makefules (o-iterator): Remove .s cases.
34371         (compile-command.s): Delete.
34372         (COMPILE.s): Delete.
34373         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34374
34375 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34376
34377         * configure.in (libc_cv_predef_stack_protector): Only consider
34378         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34379         * configure: Regenerated.
34380
34381 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34382
34383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34384         New macro.  Use R*LP on int and pointer.
34385         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34386         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34387         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34388         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34389
34390         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34391         [__WORDSIZE_TIME64_COMPAT32] instead of
34392         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34393         (struct utmp): Likewise.
34394         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34395         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34396         Renamed to ...
34397         (__WORDSIZE_TIME64_COMPAT32): This.
34398         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34399         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34400         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34401         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34402         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34403         (__WORDSIZE_TIME64_COMPAT32): New macro.
34404
34405 2012-05-21  Andreas Jaeger  <aj@suse.de>
34406
34407         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34408         only if [SHARED]. Add prototype for __wcschr_ia32.
34409
34410 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34411
34412         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34413         of %rbp unmolested in the jmp_buf while mangling the low bits.
34414         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34415         unmolested high bits of %rbp while demangling the low bits.
34416         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34417
34418 2012-05-21  Andreas Jaeger  <aj@suse.de>
34419
34420         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34421         * sunrpc/svc_simple.c: Use it for registerrpc.
34422         * sunrpc/xcrypt.c: Use it for passwd2des.
34423
34424         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34425
34426 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34427
34428         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34429         Don't define if [__SYSCALL_WORDSIZE != 32].
34430         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34431         New macro.
34432
34433 2012-05-21  Bruno Haible  <bruno@clisp.org>
34434             Andreas Jaeger  <aj@suse.de>
34435
34436         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34437         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34438         inptr and inend for must_buffer_ch.
34439         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34440         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34441         * stdio-common/Makefile (tests): Remove bug15.
34442         (bug15-ENV): Remove macro.
34443         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34444         anymore.
34445
34446 2012-05-19  Andreas Jaeger  <aj@suse.de>
34447             Roland McGrath  <roland@hack.frob.com>
34448
34449         * manual/contrib.texi: Completely rewritten. It contains now an
34450         alphabetical list of contributors and their contributions.
34451
34452 2012-05-21  Richard Henderson  <rth@twiddle.net>
34453
34454         * misc/getauxval.c (__getauxval): Use unsigned long int.
34455         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34456         (getauxval): Use unsigned long int.
34457
34458 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34459
34460         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34461
34462 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34463
34464         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34465         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34466         __alignof__ (long double).
34467
34468 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34469
34470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34471
34472 2012-05-20  Richard Henderson  <rth@twiddle.net>
34473
34474         * misc/getauxval.c: New file.
34475         * misc/sys/auxv.h: New file.
34476         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34477         (routines): Add getauxval.
34478         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34479         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34480         * elf/dl-sysdep.c (_dl_auxv): Remove.
34481         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34482         * elf/dl-support.c (_dl_auxv): New variable.
34483         (_dl_aux_init): Initialize it.
34484         * manual/startup.texi (Auxiliary Vector): New node.
34485         * sysdeps/generic/bits/hwcap.h: New file.
34486         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34487         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34488         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34489         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34490         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34491         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34493         Update.
34494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34497         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34502
34503 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34504
34505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34506
34507 2012-05-19  David S. Miller  <davem@davemloft.net>
34508
34509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34510
34511 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34512
34513         [BZ #14123]
34514         * math/s_ccosh.c: Include <float.h>
34515         (__ccosh): Avoid internal overflow calculating sinh and cosh
34516         values before multiplying by sin and cos values.
34517         * math/s_ccoshf.c: Likewise.
34518         * math/s_ccoshl.c: Likewise.
34519         * math/s_csin.c: Likewise.
34520         * math/s_csinf.c: Likewise.
34521         * math/s_csinl.c: Likewise.
34522         * math/s_csinh.c: Likewise.
34523         * math/s_csinhf.c: Likewise.
34524         * math/s_csinhl.c: Likewise.
34525         * math/libm-test.inc (ccos_test): Add more tests.
34526         (ccosh_test): Likewise.
34527         (csin_test): Likewise.
34528         (csinh_test): Likewise.
34529         * sysdeps/i386/fpu/libm-test-ulps: Update.
34530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34531
34532 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34533
34534         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34535         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34536
34537         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34538
34539 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34540
34541         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34542         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34543         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34544         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34545         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34546         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34547         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34548         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34549         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34550         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34551         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34552         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34553         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34554         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34555         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34556         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34557         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34558         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34559         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34560         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34561         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34562         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34563         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34564         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34565         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34566         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34567         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34568         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34569         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34570         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34571         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34572
34573 2012-05-18  Andreas Jaeger  <aj@suse.de>
34574
34575         * csu/.gitignore: Delete.
34576
34577 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34578
34579         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34580         (timex): Use __syscall_slong_t.
34581
34582 2012-05-18  Andreas Jaeger  <aj@suse.de>
34583             Carlos O'Donell  <carlos_odonell@mentor.com>
34584
34585         * manual/install.texi (Configuring and compiling): Update
34586         description about files modified in the source directory.
34587         * INSTALL: Regenerated.
34588
34589 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34590
34591         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34592         value.  Use "or" to set return value to -1.
34593         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34594         negate return value.
34595
34596 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34597
34598         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34599         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34600         failure if the compiler has Graphite support disabled.
34601         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34602         Likewise.
34603         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34604         (CFLAGS-memmove.c): Likewise.
34605         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34606         Likewise.
34607
34608 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34609
34610         * sysdeps/x86_64/x32/_itoa.h: New file.
34611
34612         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34613         getdents system call only if kernel and user dirents have the
34614         same d_ino and d_off.
34615
34616         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34617         LLONG_MAX != LONG_MAX.
34618         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34619         (_fitoa_word): Likewise.
34620
34621         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34622         years.
34623         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34624         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34625         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34626
34627         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34628         include <bits/wordsize.h>.  Check __x86_64__ instead of
34629         __WORDSIZE.
34630         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34631         if __x86_64__ is defined.  Use anonymous union on fpstate.
34632
34633         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34634         anonymous union.
34635
34636 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34637
34638         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34639         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34640         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34641         Refer to _rtld_local_ro instead of _rtld_global_ro.
34642         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34643         Likewise.
34644         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34645         Likewise.
34646         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34647         Likewise.
34648         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34649         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34650         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34651
34652         * sysdeps/powerpc/powerpc32/dl-machine.c
34653         (__elf_machine_runtime_setup) [PROF]: Don't reference
34654         _dl_prof_resolve.
34655
34656 2012-05-18  Andreas Jaeger  <aj@suse.de>
34657
34658         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34659         function only available for GCCs before 3.4 since GCC 3.4
34660         introduced a builtin.
34661         (lrint): Likewise.
34662         (llrintf): Likewise.
34663         (llrint): Likewise.
34664         (fmaxf): Likewise.
34665         (fmax): Likewise.
34666         (fminf): Likewise.
34667         (fmin): Likewise.
34668         (rint): Likewise.
34669         (rintf): Likewise.
34670         (nearbyint): Likewise.
34671         (nearbyintf): Likewise.
34672         (ceil): Likewise.
34673         (ceilf): Likewise.
34674         (floor): Likewise.
34675         (floorf): Likewise.
34676
34677 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34678
34679         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34680         on both fields and cast pointer to __syscall_ulong_t.
34681
34682         * bits/types.h (__fsword_t): New type.
34683         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34684         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34686         (__FSWORD_T_TYPE): Likewise.
34687         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34688         (__FSWORD_T_TYPE): Likewise.
34689         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34690         (__FSWORD_T_TYPE): Likewise.
34691         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34692         (__FSWORD_T_TYPE): Likewise.
34693         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34694         __SWORD_TYPE with __fsword_t.
34695         (statfs64): Likewise.
34696
34697 2012-05-17  David S. Miller  <davem@davemloft.net>
34698
34699         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34700
34701 2012-05-17  Andreas Jaeger  <aj@suse.de>
34702
34703         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34704         warning.
34705
34706 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34707
34708         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34709
34710 2012-05-17  Andreas Jaeger  <aj@suse.de>
34711
34712         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34713         when it is used.
34714
34715 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34716
34717         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34718
34719 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34720
34721         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34722         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34723
34724 2012-05-17  Andreas Jaeger  <aj@suse.de>
34725             Carlos O'Donell  <carlos_odonell@mentor.com>
34726
34727         [BZ #14059]
34728         * sysdeps/x86_64/multiarch/init-arch.h
34729         (bit_YMM_Usable): Rename to...
34730         (bit_AVX_Usable): ... this.
34731         (bit_FMA4_Usable): New macro.
34732         (bit_XMM_state): New macro.
34733         (bit_YMM_state): New macro.
34734         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34735         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34736         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34737         (CPUID_OSXSAVE): New macro.
34738         (CPUID_AVX): New macro.
34739         (CPUID_FMA4): New macro.
34740         (index_YMM_Usable): Rename to...
34741         (index_AVX_Usable): ... this.
34742         (HAS_AVX): Use HAS_ARCH_FEATURE.
34743         (HAS_FMA4): Likewise.
34744         (HAS_YMM_USABLE): Remove.
34745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34746         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34747         are present.
34748         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34749         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34750         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34751         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34752         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34753
34754 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34755
34756         * math/libm-test.c: Support platforms without multiple rounding modes.
34757         * math/bug-nextafter.c: Support platforms without FP exceptions.
34758         * math/bug-nexttoward.c: Likewise.
34759         * math/test-fenv.c: Likewise.
34760         * math/test-misc.c: Likewise.
34761         * stdlib/bug-getcontext.c: Likewise.
34762
34763 2012-05-17  Andreas Jaeger  <aj@suse.de>
34764
34765         * manual/examples/search.c (critter_cmp): Change signature to
34766         avoid warnings.
34767         * manual/string.texi (Collation Functions): Likewise.
34768
34769 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34770
34771         * bits/types.h: Fold copyright years.
34772         * bits/typesizes.h: Likewise.
34773         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34774         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34775         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34777         * time/time.h: Likewise.
34778
34779 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34780
34781         [BZ #208]
34782         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34783         in instead of returning them.  Return void.
34784         (__libc_mallinfo): Accumulate over all arenas.
34785         (__malloc_stats): Adjust for change in int_mallinfo interface.
34786
34787 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34788
34789         [BZ #10375]
34790         * configure.in (NM): Add AC_CHECK_TOOL for it.
34791         (libc_extra_cflags): New substituted variable.
34792         Check for -fstack-protector being used implicitly.
34793         * configure: Regenerated.
34794         * config.make.in (config-extra-cflags): New variable,
34795         gets @libc_extra_cflags@.
34796         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34797
34798         [BZ #10375]
34799         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34800         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34801         * configure: Regenerated.
34802         * config.make.in (CPPUNDEFS): New substituted variable.
34803         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34804         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34805         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34806
34807 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34808
34809         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34810         (mq_attr): Use __syscall_slong_t.
34811
34812 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34813
34814         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34815         Check __x86_64__ instead of __WORDSIZE.
34816         (_STAT_VER_LINUX): Likewise.
34817         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34818         __syscall_ulong_t and __syscall_slong_t.
34819         (stat64): Likewise.
34820
34821 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34822
34823         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34824
34825 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34826
34827         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34828
34829 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34830
34831         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34832         __syscall_ulong_t.
34833
34834         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34835         include <bits/wordsize.h>.  Check __x86_64__ instead of
34836         __WORDSIZE.
34837         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34838         defined.
34839         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34840
34841         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34842         include <bits/wordsize.h>.  Check __x86_64__ instead of
34843         __WORDSIZE.
34844         (user_regs_struct): Use "__extension__ unsigned long long"
34845         instead of "unsigned long" if __x86_64__ is defined.
34846         (user): Likewise.  Pad after pointer field if __ILP32__ is
34847         defined.
34848
34849 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34850
34851         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34852         versions 5 to 9.
34853         * configure: Regenerated.
34854         * manual/install.texi (texinfo): Increase version requirement to
34855         4.5 or later.
34856         * INSTALL: Regenerated.
34857
34858         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34859
34860 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34861
34862         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34863
34864         * sysdeps/x86_64/x32/ffs.c: New file.
34865
34866         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34867         __syscall_ulong_t.
34868         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34869         defined.  Use __syscall_ulong_t.
34870         (shminfo): Use __syscall_ulong_t.
34871         (shm_info): Likewise.
34872
34873         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34874         __syscall_ulong_t.
34875
34876         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34877         <bits/wordsize.h>.
34878         (msgqnum_t): Use __syscall_ulong_t.
34879         (msglen_t): Likewise.
34880         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34881         __syscall_ulong_t.
34882
34883         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34884         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34885
34886         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34887
34888         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34889         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34890
34891         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34892         __syscall_slong_t.
34893
34894         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34895         include <bits/wordsize.h>.  Check __x86_64__ instead of
34896         __WORDSIZE.
34897
34898         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34899         "unsigned long long int" if __x86_64__ is defined.
34900         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34901
34902         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34903         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34904         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34905
34906         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34907         <stdint.h>.
34908         (GET_PC): Cast to uintptr_t first.
34909         (GET_FRAME): Likewise.
34910         (GET_STACK): Likewise.
34911
34912         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34913         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34914         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34915         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34916         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34917         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34918         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34919         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34920         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34921         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34922         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34923         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34924         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34925         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34926         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34927         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34928         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34929         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34930         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34931         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34932         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34933         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34934         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34935         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34936         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34937         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34938         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34939         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34940         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34941
34942 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34943
34944         * Makerules (+depfiles): Also collect depfiles from .oS in
34945         $(extra-objs).
34946         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34947         .oS, $(libnldbl-routines)).
34948
34949         * Makerules (native-compile-mkdep-flags): Define.
34950         * sunrpc/Makefile (extra-objs): Add $(addprefix
34951         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34952         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34953         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34954         calling $(make-target-directory).
34955
34956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34957
34958         * bits/types.h (__snseconds_t): Removed.
34959         * time/time.h (struct timespec): Replace __snseconds_t with
34960         __syscall_slong_t.
34961         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34962         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34963         Likewise.
34964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34965         (__SNSECONDS_T_TYPE): Likewise.
34966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34967         (__SNSECONDS_T_TYPE): Likewise.
34968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34969         (__SNSECONDS_T_TYPE): Likewise.
34970
34971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34972
34973         * sysdeps/mach/hurd/bits/typesizes.h
34974         (__SYSCALL_SLONG_TYPE): New macro.
34975         (__SYSCALL_ULONG_TYPE): Likewise.
34976
34977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34978
34979         * bits/types.h (__syscall_slong_t): New type.
34980         (__syscall_ulong_t): Likewise.
34981
34982         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34983         (__SYSCALL_ULONG_TYPE): Likewise.
34984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34985         (__SYSCALL_SLONG_TYPE): Likewise.
34986         (__SYSCALL_ULONG_TYPE): Likewise.
34987         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34988         (__SYSCALL_SLONG_TYPE): Likewise.
34989         (__SYSCALL_ULONG_TYPE): Likewise.
34990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34991         (__SYSCALL_SLONG_TYPE): Likewise.
34992         (__SYSCALL_ULONG_TYPE): Likewise.
34993
34994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34995
34996         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34997         Add sigaltstack-offsets.sym.
34998         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34999         <sigaltstack-offsets.h>.
35000         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35001         longjmp_msg pointer.
35002         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35003         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35004         signal stack.
35005         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35006
35007 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35008
35009         * elf/stackguard-macros.h: Remove file.
35010         * sysdeps/generic/stackguard-macros.h: New file.
35011         * sysdeps/i386/stackguard-macros.h: Likewise.
35012         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35013         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35014         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35015         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35016         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35017         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35018         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35019         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35020         <elf/stackguard-macros.h>.
35021
35022         [BZ #14109]
35023         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35024         __aligned__ in attribute.
35025         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35026         (gregset_t): Likewise.
35027
35028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35029
35030         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35031         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35032         * sysdeps/x86_64/x32/Implies-after: New file.
35033
35034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35035
35036         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35037         and access return value for _dl_profile_fixup.  Use R10_LP to
35038         load frame size.
35039
35040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35041
35042         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35043
35044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35045
35046         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35047         * sysdeps/x86_64/x32/sysdep.h: New file.
35048
35049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35050
35051         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35052         * sysdeps/x86_64/setjmp.S: Likewise.
35053
35054 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35055
35056         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35057         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35058         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35059         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35060         remove unused global constant.
35061
35062 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35063
35064         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35065         include of <not-cancel.h>.
35066
35067 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35068
35069         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35070
35071 2012-05-15  Jeff Law  <law@redhat.com>
35072             Andreas Jaeger  <aj@suse.de>
35073
35074         [BZ #13594]
35075         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35076         out from...
35077         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35078         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35079         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35080         code changing __hst_map_handle.map.
35081
35082 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35083
35084         * configure.in (sysnames): Look for Implies-before and Implies-after
35085         files.
35086         * configure: Regenerated.
35087
35088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35089
35090         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35091         8-byte data alignment with LP_SIZE alignment.
35092
35093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35094
35095         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35096         into R10_LP.
35097
35098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35099
35100         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35101
35102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35103
35104         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35105         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35106         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35107         Likewise.
35108         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35109
35110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35111
35112         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35113         (stackinfo_sub_sp): Likewise.
35114
35115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35116
35117         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35118         RAX_LP.
35119
35120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35121
35122         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35123         into R*_LP.
35124
35125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35126
35127         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35128         sizes into R*_LP.
35129
35130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35131
35132         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35133
35134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35135
35136         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35137         into R11_LP and load __x86_64_shared_cache_size_half into
35138         R8_LP.
35139
35140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35141
35142         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35143         R8_LP.
35144
35145 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35146
35147         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35148         logb for POWER7.
35149         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35150         logbf for POWER7.
35151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35152         logbl for POWER7.
35153         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35154         powerpc32/power7/fpu/s_logb.c via #include.
35155         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35156         powerpc32/power7/fpu/s_logbf.c via #include.
35157         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35158         powerpc32/power7/fpu/s_logbl.c via #include.
35159
35160 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35161
35162         * README.libm: Remove file.
35163
35164 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35165
35166         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35167         count for x32.  Use R*_LP and omit operand-size suffix.
35168
35169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35170
35171         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35172         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35173         * sysdeps/x86_64/x32/shlib-versions: New file.
35174
35175 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35176
35177         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35178         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35179         Use _dl_fatal_printf instead.
35180
35181 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35182
35183         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35184         set if not set by the user.  Do not allow for being unset.
35185         * sysdeps/unix/sysv/linux/configure: Regenerated.
35186
35187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35188
35189         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35190         the `q' suffix from lea and replace .quad with ASM_ADDR.
35191
35192 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35193
35194         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35195         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35196         instead of $17.
35197         (PTR_DEMANGLE): Likewise.
35198
35199 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35200
35201         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35202         (LP_OP): Likewise.
35203         (ASM_ADDR): Likewise.
35204         (RAX_LP): Likewise.
35205         (RBP_LP): Likewise.
35206         (RBX_LP): Likewise.
35207         (RCX_LP): Likewise.
35208         (RDI_LP): Likewise.
35209         (RSI_LP): Likewise.
35210         (RSP_LP): Likewise.
35211         (R8_LP): Likewise.
35212         (R9_LP): Likewise.
35213         (R10_LP): Likewise.
35214         (R10_LP): Likewise.
35215         (R11_LP): Likewise.
35216         (R12_LP): Likewise.
35217         (R13_LP): Likewise.
35218         (R14_LP): Likewise.
35219         (R15_LP): Likewise.
35220
35221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35222
35223         * sysdeps/x86_64/x32/dl-machine.h: New file.
35224
35225 2012-05-14  Andreas Jaeger  <aj@suse.de>
35226
35227         * manual/Makefile (subdir): Remove export of subdir.
35228         (all): Remove target.
35229         (.PHONY): Remove all from list.
35230         (mkinstalldirs): Remove.
35231         (.PHONY): Remove installdirs from list.
35232         ($(inst_infodir)/libc.info): Use make-target-directory.
35233         (installdirs): Remove.
35234         (subdir_%): Remove.
35235         (glibc-targets): Remove.
35236         (lib): Remove.
35237         (stubs): Remove.
35238         ($(objpfx)stubs ../po/manual.pot): Remove.
35239         ($(objpfx)stamp%): Remove.
35240         (make-target-directory): Remove.
35241         (subdir_install): Remove.
35242         (routines): Remove.
35243         (aux): Remove.
35244         (sources): Remove.
35245         (objects): Remove.
35246         (headers): Remove.
35247
35248         [BZ #13750]
35249         * manual/.gitignore: Remove, it's not needed anymore.
35250         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35251         all files in it.
35252         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35253         directory.
35254         (texis): Renamed to $(objpfx)texis.
35255         (texis-path): New, contains path to generated files.
35256         (chapters.%): Use texis-path for complete path, add extra argument
35257         libc-texinfo.sh.
35258         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35259         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35260         (summary,texi, stamp-summary): Use complete path of
35261         files. Generate files in build dir.
35262         (dir-add.texi): Build in build dir.
35263         (libm-err.texi,stamp-libm-err): Likewise.
35264         (version.texi, stamp-version): Likewise.
35265         (.%c.texi): Likewise.
35266         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35267         (mostlyclean): Remove target.
35268         (realclean): Remove target.
35269         (generated): Add new variable with contents from mostlyclean and
35270         realclean, remove entries duplicated in common-mostlyclean, add
35271         stamp-libm-err and stamp-version.
35272         (generated-dirs): Add libc directory.
35273         ($(inst_infodir)/libc.info): Install files from build dir.
35274
35275         * manual/install.texi (Configuring and compiling): Adjust since
35276         the info files are not part of the tar ball anymore.
35277
35278 2012-05-14  Andreas Jaeger  <aj@suse.de>
35279
35280         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35281         variable.
35282
35283 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35284
35285         [BZ #13717]
35286         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35287         to 2.2.0 where earlier.
35288         * sysdeps/unix/sysv/linux/configure: Regenerated.
35289         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35290         Remove conditional code.
35291         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35292         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35293         Remove conditional code.
35294         [!__NR_lchown]: Likewise.
35295         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35296         [__NR_lchown]: Likewise.
35297         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35298         comment referencing __ASSUME_LCHOWN_SYSCALL.
35299         * sysdeps/unix/sysv/linux/i386/sigaction.c
35300         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35301         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35302         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35303         Remove conditional code.
35304         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35305         (__protocol_available): Remove #if 0 code.
35306         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35307         conditional code.
35308         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35309         * sysdeps/unix/sysv/linux/kernel-features.h
35310         (__ASSUME_GETCWD_SYSCALL): Don't define.
35311         (__ASSUME_REALTIME_SIGNALS): Likewise.
35312         (__ASSUME_PREAD_SYSCALL): Likewise.
35313         (__ASSUME_PWRITE_SYSCALL): Likewise.
35314         (__ASSUME_POLL_SYSCALL): Likewise.
35315         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35316         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35317         non-SPARC.
35318         (__ASSUME_SIOCGIFNAME): Don't define.
35319         (__ASSUME_MSG_NOSIGNAL): Likewise.
35320         (__ASSUME_SENDFILE): Define unconditionally.
35321         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35322         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35323         conditional code.
35324         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35325         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35326         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35327         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35328         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35329         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35330         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35332         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35333         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35335         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35336         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35338         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35339         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35341         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35342         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35344         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35345         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35347         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35348         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35350         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35351         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35353         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35354         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35355         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35356         Remove conditional code.
35357         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35358         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35359         Remove conditional code.
35360         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35361         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35362         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35363         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35364         Remove conditional code.
35365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35366         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35367         Remove conditional code.
35368         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35369         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35370         Remove conditional code.
35371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35372         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35373         Remove conditional code.
35374         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35375         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35376         Remove conditional code.
35377         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35378         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35379         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35380         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35381         * sysdeps/unix/sysv/linux/sigaction.c
35382         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35383         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35384         * sysdeps/unix/sysv/linux/sigpending.c
35385         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35386         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35387         * sysdeps/unix/sysv/linux/sigprocmask.c
35388         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35389         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35390         * sysdeps/unix/sysv/linux/sigsuspend.c
35391         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35392         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35393         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35394         (__libc_missing_rt_sigs): Remove.
35395         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35396         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35397         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35398         Remove conditional code.
35399         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35400         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35401         return 1.
35402         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35403         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35404         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35405         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35406
35407 2012-05-14  Andreas Jaeger  <aj@suse.de>
35408
35409         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35410         it's not used in glibc.
35411         (__coshm1): Likewise.
35412         (__acosh1p): Likewise.
35413         (__sgn): Likewise.
35414
35415         * manual/string.texi (Copying and Concatenation): Add missing
35416         variable in concat example.
35417         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35418
35419 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35420
35421         [BZ #14103]
35422         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35423         __builtin_clzl with __builtin_clzll.
35424
35425 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35426
35427         [BZ #14104]
35428         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35429         libc_freeres_ptr.
35430
35431 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35432
35433         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35434         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35435         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35436         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35437
35438 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35439
35440         * NEWS: Update ia64 info.
35441
35442 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35443
35444         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35445         used as bcopy.
35446
35447 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35448
35449         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35450         * sysdeps/unix/syscalls.list (dup3): Likewise.
35451         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35452         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35453
35454 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35455
35456         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35457         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35458
35459 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35460
35461         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35462         thread pointer.
35463         (TLS_IE): Use mov/add instead of movq/addq to load thread
35464         pointer.
35465         (TLS_GD_PREFIX): New.
35466         (TLS_GD): Use it.
35467
35468 2012-05-11  David S. Miller  <davem@davemloft.net>
35469
35470         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35471         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35472         (_FPU_SETCW): Likewise.
35473
35474 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35475
35476         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35477         is 32-byte aligned.
35478
35479 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35480
35481         [BZ #11837]
35482         * iconvdata/gb18030.c: Update tables.
35483         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35484         characters specially.
35485         (BODY for TO_LOOP): Add encoding of missing ranges.
35486
35487 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35488
35489         [BZ #13673]
35490         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35491         * sysdeps/mach/hurd/dup3.c: Likewise.
35492         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35493         * sysdeps/powerpc/memmove.c:: Likewise.
35494
35495 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35496
35497         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35498         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35499
35500 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35501
35502         * elf/elf.h (R_X86_64_RELATIVE64): New.
35503         (R_X86_64_NUM): Updated.
35504         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35505         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35506         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35507         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35508         tst-quad1pie tst-quad2pie
35509         (modules-names): Add tst-quadmod1 tst-quadmod2.
35510         ($(objpfx)tst-quad1): New dependency.
35511         ($(objpfx)tst-quad2): Likewise.
35512         ($(objpfx)tst-quad1pie): Likewise.
35513         ($(objpfx)tst-quad2pie): Likewise.
35514         * sysdeps/x86_64/tst-quad1.c: New file.
35515         * sysdeps/x86_64/tst-quad1pie.c: New file.
35516         * sysdeps/x86_64/tst-quad2.c: Likewise.
35517         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35518         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35519         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35520         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35521         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35522
35523 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35524
35525         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35526         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35527         * streams/stropts.h (t_scalar_t): Define type.
35528
35529         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35530         (_PATH_PRESERVE): Set to "/var/lib".
35531         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35532
35533         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35534         instead of int.
35535
35536         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35537         if __dir_mkfile succeeded.
35538
35539         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35540         checking for _hurd_dtablesize.  Unlock it right after having
35541         finished _hurd_dtable allocation.
35542
35543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35544
35545         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35546         * sysdeps/mach/hurd/configure: Regenerated.
35547         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35548         special-casing to...
35549         * sysdeps/gnu/configure.in: ... this new file.
35550         * sysdeps/unix/sysv/linux/configure: Regenerated.
35551         * sysdeps/gnu/configure: New generated file.
35552
35553         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35554         for Linux: use nsec instead of usec, as well as:
35555         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35556         members of type struct timespec.
35557         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35558         New macros.
35559         (struct stat64): Likewise.
35560         (_STATBUF_ST_NSEC): New macro.
35561         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35562
35563         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35564         __strtoul_internal rather than strtoul.
35565
35566 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35567
35568         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35569         and reject them.
35570
35571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35572
35573         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35574         which preserves existing values.
35575         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35576
35577 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35578
35579         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35580         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35581         greater than FD_SETSIZE.
35582
35583 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35584
35585         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35586         allocated, call __vm_protect to finish enabling the existing space, and
35587         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35588         allocate the remainder.
35589
35590 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35591
35592         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35593         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35594
35595 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35596
35597         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35598         sysdeps/mach/hurd/readlink.c.
35599
35600         * posix/tst-sysconf.c (posix_options): Only use
35601         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35602         _POSIX_SYNCHRONIZED_IO when they are defined
35603         * sysdeps/mach/hurd/bits/posix_opt.h:
35604         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35605         (_XOPEN_REALTIME): Undefine macro.
35606         (_XOPEN_REALTIME_THREADS): Undefine macro.
35607         (_XOPEN_SHM): Undefine macro.
35608         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35609         macro to -1.
35610         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35611         macro to -1.
35612         (_POSIX_ASYNC_IO): Undefine macro.
35613         (_POSIX_PRIORITIZED_IO): Undefine macro.
35614         (_POSIX_SPIN_LOCKS): Define macro to -1.
35615
35616         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35617         SA_NODEFER, SA_RESETHAND.
35618         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35619         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35620         F_DUPFD_CLOEXEC.
35621
35622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35623
35624         * elf/Makefile (pldd-modules): Define unconditionally.
35625
35626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35627
35628         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35629
35630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35631
35632         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35633         Return ENOENT when name is empty.
35634         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35635
35636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35637
35638         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35639
35640         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35641
35642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35643
35644         Fix mlock in all cases except non-readable pages.
35645         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35646         instead of VM_PROT_ALL as parameter to __vm_wire function.
35647
35648         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35649         (__mkdir): When path is `/', just fail with EEXIST.
35650         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35651
35652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35653
35654         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35655         <sys/uio.h> (for writev).
35656         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35657         and <sys/param.h> (for MIN).
35658
35659 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35660
35661         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35662         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35663         if interrupted.
35664
35665 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35666
35667         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35668         Depend on against $(link-rpcuserlibs).
35669
35670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35671
35672         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35673         (__libc_stack_end): Do not use attribute_relro.
35674         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35675         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35676         to libthread-provided value.
35677         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35678         attribute_relro.
35679
35680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35681
35682         [BZ #3748]
35683         * bits/libc-lock.h (__libc_once_get): New macro.
35684         * sysdeps/mach/bits/libc-lock.h: Likewise.
35685         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35686         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35687         instead of using implementation details.
35688
35689         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35690         * libio/freopen.c: Likewise.
35691         * libio/freopen64.c: Likewise.
35692         * misc/syslog.c: Likewise.
35693         * nscd/connections.c: Likewise.
35694         * nscd/netgroupcache.c: Likewise.
35695         * sysdeps/posix/getcwd.c: Likewise.
35696
35697 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35698
35699         * math/w_ilogbf.c: Add #include <limits.h>.
35700
35701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35702
35703         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35704         path instead of returning without unlocking.
35705
35706         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35707         immediate-write ioctls.
35708         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35709
35710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35711
35712         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35713         __builtin_frame_address instead of making assumptions about the
35714         location of the return address relative to DATA.  Force early load of
35715         the return address.
35716         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35717         __builtin_frame_address.
35718
35719         dup3 for GNU Hurd.
35720         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35721         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35722         implement dup3 and do some further code clean-ups.
35723         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35724         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35725
35726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35727
35728         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35729
35730         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35731         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35732         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35733         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35734         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35735         d->port.lock.
35736
35737         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35738         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35739         when handler == SIG_ERR, not when handler != SIG_ERR.
35740
35741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35742
35743         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35744         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35745         definitions.
35746
35747         accept4 for GNU Hurd.
35748         * include/sys/socket.h (__libc_accept4): New prototype.
35749         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35750         to implement __libc_accept4.
35751         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35752         __libc_accept4.
35753         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35754
35755         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35756         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35757         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35758         signal-defines.sym.
35759
35760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35761
35762         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35763
35764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35765
35766         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35767         assertion on O_CLOEXEC flag.
35768         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35769         * hurd/intern-fd.c: Likewise.
35770         * hurd/port2fd.c: Likewise.
35771
35772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35773
35774         [BZ #3906]
35775         * bits/in.h (IPV6_PKTINFO): Define new macro.
35776         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35777
35778 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35779
35780         [BZ #13954]
35781         [BZ #13955]
35782         [BZ #13956]
35783         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35784         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35785         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35786         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35787         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35788         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35789         * math/libm-test.inc (logb_test) : Additional logb tests.
35790
35791 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35792             Andreas Jaeger  <aj@suse.de>
35793
35794         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35795         * configure: Regenerated.
35796         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35797         * config.make.in (link-obsolete-rpc): New substituted variable.
35798         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35799         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35800         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35801         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35802         so that libc.a contains the symbols.
35803         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35804         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35805         * sunrpc/auth_none.c: Likewise.
35806         * sunrpc/auth_unix.c: Likewise.
35807         * sunrpc/authdes_prot.c: Likewise.
35808         * sunrpc/authuxprot.c: Likewise.
35809         * sunrpc/clnt_gen.c: Likewise.
35810         * sunrpc/clnt_perr.c: Likewise.
35811         * sunrpc/clnt_raw.c: Likewise.
35812         * sunrpc/clnt_simp.c: Likewise.
35813         * sunrpc/clnt_tcp.c: Likewise.
35814         * sunrpc/clnt_udp.c: Likewise.
35815         * sunrpc/clnt_unix.c: Likewise.
35816         * sunrpc/des_crypt.c: Likewise.
35817         * sunrpc/des_soft.c: Likewise.
35818         * sunrpc/get_myaddr.c: Likewise.
35819         * sunrpc/key_call.c: Likewise.
35820         * sunrpc/key_prot.c: Likewise.
35821         * sunrpc/netname.c: Likewise.
35822         * sunrpc/pm_getmaps.c: Likewise.
35823         * sunrpc/pm_getport.c: Likewise.
35824         * sunrpc/pmap_clnt.c: Likewise.
35825         * sunrpc/pmap_prot.c: Likewise.
35826         * sunrpc/pmap_prot2.c: Likewise.
35827         * sunrpc/pmap_rmt.c: Likewise.
35828         * sunrpc/publickey.c: Likewise.
35829         * sunrpc/rpc_cmsg.c: Likewise.
35830         * sunrpc/rpc_common.c: Likewise.
35831         * sunrpc/rpc_dtable.c: Likewise.
35832         * sunrpc/rpc_prot.c: Likewise.
35833         * sunrpc/rpc_thread.c: Likewise.
35834         * sunrpc/rtime.c: Likewise.
35835         * sunrpc/svc.c: Likewise.
35836         * sunrpc/svc_auth.c: Likewise.
35837         * sunrpc/svc_raw.c: Likewise.
35838         * sunrpc/svc_run.c: Likewise.
35839         * sunrpc/svc_tcp.c: Likewise.
35840         * sunrpc/svc_udp.c: Likewise.
35841         * sunrpc/svc_unix.c: Likewise.
35842         * sunrpc/svcauth_des.c: Likewise.
35843         * sunrpc/xcrypt.c: Likewise.
35844         * sunrpc/xdr.c: Likewise.
35845         * sunrpc/xdr_array.c: Likewise.
35846         * sunrpc/xdr_float.c: Likewise.
35847         * sunrpc/xdr_intXX_t.c: Likewise.
35848         * sunrpc/xdr_mem.c: Likewise.
35849         * sunrpc/xdr_rec.c: Likewise.
35850         * sunrpc/xdr_ref.c: Likewise.
35851         * sunrpc/xdr_sizeof.c: Likewise.
35852         * sunrpc/xdr_stdio.c: Likewise.
35853
35854 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35855
35856         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35857         change.  Update copyright years.
35858
35859 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35860
35861         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35862
35863 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35864             Joseph Myers  <joseph@codesourcery.com>
35865             Paul Pluzhnikov  <ppluzhnikov@google.com>
35866
35867         [BZ #14012]
35868         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35869         requiring rpcgen.
35870         [cross-compiling] (extra-libs): Likewise.
35871         [cross-compiling] (extra-libs-others): Likewise.
35872         [cross-compiling] (librpcsvc-routines): Likewise.
35873         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35874         [cross-compiling] (omit-deps): Likewise.
35875         (sunrpc-CPPFLAGS): New variable.
35876         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35877         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35878         (cross-rpcgen-objs): New variable.
35879         (extra-objs): Append $(cross-rpcgen-objs).
35880         ($(cross-rpcgen-objs)): New rule.
35881         ($(objpfx)cross-rpcgen): Likewise.
35882         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35883         comment.
35884         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35885         ($(objpfx)x%.stmp): Likewise.
35886         * sunrpc/proto.h [IS_IN_build] (_): Define.
35887         [IS_IN_build] (_libc_intl_domainname): Likewise.
35888
35889 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35890
35891         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35892         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35893         and R_X86_64_TPOFF64.
35894
35895 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35896
35897         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35898         sysdeps/unix/sysv/syscalls.list.
35899         (stime): Likewise.
35900         (utime): Likewise.
35901         * sysdeps/unix/sysv/syscalls.list: Remove file.
35902
35903 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35904
35905         [BZ #3440]
35906         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35907         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35908         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35909         (__LC_IDENTIFICATION): Make these macros useful in #if
35910         expressions, as required by C99.
35911
35912 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35913
35914         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35915         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35916         after this.
35917
35918 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35919
35920         * stdlib/longlong.h: Updated from GCC.
35921
35922 2012-05-09  Andreas Jaeger  <aj@suse.de>
35923
35924         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35925         default is first entry.
35926         (run_mode): Set type.
35927         (main): Remove informal message about syslog.
35928         (options): Fix typo.
35929
35930         [BZ #14053]
35931         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35932         to asm.
35933         (lrint): Likewise.
35934         (llrintf): Likewise.
35935         (llrint): Likewise.
35936         (rint): Likewise.
35937         (rintf): Likewise.
35938         (nearbyint): Likewise.
35939         (nearbyintf): Likewise.
35940
35941 2012-05-09  Andreas Jaeger  <aj@suse.de>
35942             Pedro Alves  <palves@redhat.com>
35943
35944         * nscd/nscd.c (run_mode): Use enum.
35945         (main): Cleanup coding style issue.
35946
35947 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35948             Andreas Jaeger  <aj@suse.de>
35949
35950         * nscd/nscd.c (go_background): Replaced with...
35951         (run_mode): ... this.
35952         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35953         (options): Add -F --foreground.
35954         (main): Implement it.
35955         (parse_opt): Parse it.
35956
35957 2012-05-09  Andreas Jaeger  <aj@suse.de>
35958
35959         [BZ #14083]
35960         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35961         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35962         -Wconversion warning.
35963         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35964         Likewise.
35965
35966 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35967
35968         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35969         == 0.
35970         (LC_ALL): Use macro-int-constant.
35971         (LC_COLLATE): Likewise.
35972         (LC_CTYPE): Likewise.
35973         (LC_MESSAGES): Likewise.
35974         (LC_MONETARY): Likewise.
35975         (LC_NUMERIC): Likewise.
35976         (LC_TIME): Likewise.
35977         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35978         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35980         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35981         Specify type.
35982         [C99-based standards] (float_t): Expect type.
35983         [C99-based standards] (double_t): Expect type.
35984         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35985         type.
35986         [C99-based standards] (HUGE_VALL): Likewise.
35987         [C99-based standards] (INFINITY): Likewise.
35988         [C99-based standards] (NAN): Likewise.
35989         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35990         [C99-based standards] (FP_NAN): Likewise.
35991         [C99-based standards] (FP_NORMAL): Likewise.
35992         [C99-based standards] (FP_SUBNORMAL): Likewise.
35993         [C99-based standards] (FP_ZERO): Likewise.
35994         [C99-based standards] (FP_FAST_FMA): Use
35995         optional-macro-int-constant.  Specify type.  Require == 1.
35996         [C99-based standards] (FP_FAST_FMAF): Likewise.
35997         [C99-based standards] (FP_FAST_FMAL): Likewise.
35998         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35999         [C99-based standards] (FP_ILOGBNAN): Likewise.
36000         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36001         Specify type.
36002         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36003         [C99-based standards] (math_errhandling): Specify type.
36004         [ISO99 || ISO11] (signgam): Do not allow.
36005         [non-C99-based standards] (copysignf): Do not allow.
36006         [non-C99-based standards] (exp2f): Likewise.
36007         [non-C99-based standards] (log2f): Likewise.
36008         [non-C99-based standards] (modff): Allow.
36009         [non-C99-based standards] (erff): Do not allow.
36010         [non-C99-based standards] (erfcf): Likewise.
36011         [non-C99-based standards] (gammaf): Likewise.
36012         [non-C99-based standards] (hypotf): Likewise.
36013         [non-C99-based standards] (j0f): Likewise.
36014         [non-C99-based standards] (j1f): Likewise.
36015         [non-C99-based standards] (jnf): Likewise.
36016         [non-C99-based standards] (lgammaf): Likewise.
36017         [non-C99-based standards] (tgammaf): Likewise.
36018         [non-C99-based standards] (y0f): Likewise.
36019         [non-C99-based standards] (y1f): Likewise.
36020         [non-C99-based standards] (ynf): Likewise.
36021         [non-C99-based standards] (isnanf): Likewise.
36022         [non-C99-based standards] (acoshf): Likewise.
36023         [non-C99-based standards] (asinhf): Likewise.
36024         [non-C99-based standards] (atanhf): Likewise.
36025         [non-C99-based standards] (cbrtf): Likewise.
36026         [non-C99-based standards] (expm1f): Likewise.
36027         [non-C99-based standards] (ilogbf): Likewise.
36028         [non-C99-based standards] (log1pf): Likewise.
36029         [non-C99-based standards] (logbf): Likewise.
36030         [non-C99-based standards] (nextafterf): Likewise.
36031         [non-C99-based standards] (remainderf): Likewise.
36032         [non-C99-based standards] (rintf): Likewise.
36033         [non-C99-based standards] (scalbf): Likewise.
36034         [non-C99-based standards] (copysignl): Likewise.
36035         [non-C99-based standards] (exp2l): Likewise.
36036         [non-C99-based standards] (log2l): Likewise.
36037         [non-C99-based standards] (modfl): Allow.
36038         [non-C99-based standards] (erfl): Do not allow.
36039         [non-C99-based standards] (erfcl): Likewise.
36040         [non-C99-based standards] (gammal): Likewise.
36041         [non-C99-based standards] (hypotl): Likewise.
36042         [non-C99-based standards] (j0l): Likewise.
36043         [non-C99-based standards] (j1l): Likewise.
36044         [non-C99-based standards] (jnl): Likewise.
36045         [non-C99-based standards] (lgammal): Likewise.
36046         [non-C99-based standards] (tgammal): Likewise.
36047         [non-C99-based standards] (y0l): Likewise.
36048         [non-C99-based standards] (y1l): Likewise.
36049         [non-C99-based standards] (ynl): Likewise.
36050         [non-C99-based standards] (isnanl): Likewise.
36051         [non-C99-based standards] (acoshl): Likewise.
36052         [non-C99-based standards] (asinhl): Likewise.
36053         [non-C99-based standards] (atanhl): Likewise.
36054         [non-C99-based standards] (cbrtl): Likewise.
36055         [non-C99-based standards] (expm1l): Likewise.
36056         [non-C99-based standards] (ilogbl): Likewise.
36057         [non-C99-based standards] (log1pl): Likewise.
36058         [non-C99-based standards] (logbl): Likewise.
36059         [non-C99-based standards] (nextafterl): Likewise.
36060         [non-C99-based standards] (remainderl): Likewise.
36061         [non-C99-based standards] (rintl): Likewise.
36062         [non-C99-based standards] (scalbl): Likewise.
36063         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36064         [non-C99-based standards] (FP_*): Do not allow.
36065         [C99-based standards] (FP_*): Change to
36066         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36067         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36068         allow.
36069         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36070         (SIG_ERR): Likewise.
36071         [X/Open-based standards] (SIG_HOLD): Likewise.
36072         (SIG_IGN): Likewise.
36073         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36074         positive value.
36075         (SIGFPE): Likewise.
36076         (SIGILL): Likewise.
36077         (SIGINT): Likewise.
36078         (SIGSEGV): Likewise.
36079         (SIGTER): Likewise.
36080         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36081         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36082         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36083         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36084         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36085         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36086         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36087         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36088         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36089         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36090         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36091         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36092         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36093         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36094         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36095         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36096         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36097         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36098         [X/Open-based standards] (SIGTRAP): Likewise.
36099         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36100         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36101         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36102         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36103         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36104         allow.
36105
36106 2012-05-08  Ian Wienand  <ianw@vmware.com>
36107
36108         [BZ #14080]
36109         * time/tzset.c (__tzset_parse_tz): Update default rules for
36110         daylight time changes in the Energy Policy Act of 2005.
36111
36112 2012-05-09  Andreas Jaeger  <aj@suse.de>
36113
36114         [BZ #13983]
36115         * elf/ldconfig.c (parse_conf): Change string to make clear that
36116         ldconfig only issued a warning if ld.so.conf does not exist.
36117
36118 2012-05-08  David S. Miller  <davem@davemloft.net>
36119
36120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36121         movxtod instead of popping the value on the stack.
36122
36123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36124
36125 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36126
36127         * config.h.in: Add HAVE_ARM_PCS_VFP.
36128
36129 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36130
36131         [BZ #13979]
36132         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36133         checking but the checks are disabled for any reason.
36134
36135 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36136
36137         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36138         and ELF64_R_TYPE with ELFW(R_TYPE).
36139
36140 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36141
36142         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36143         (ulimit): Likewise.
36144
36145         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36146         (settimeofday): Likewise.
36147
36148 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36149
36150         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36151         a struct th_u2 inside the union, and move tu_block/tu_code into
36152         a new th_u3 union of tu_block/tu_code inside of that.  Move
36153         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36154         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36155         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36156         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36157         (th_stuff): Change to th_u1.tu_stuff.
36158         (th_data): Define.
36159         (th_msg): Change to th_u1.th_u2.tu_data.
36160
36161 2012-05-07  David S. Miller  <davem@davemloft.net>
36162
36163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36164
36165         [BZ #14074]
36166         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36167         (SETUP_PIC_REG): Use it.
36168         (SETUP_PIC_REG_LEAF): Use it.
36169
36170 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36171
36172         [BZ #13885]
36173         [BZ #13923]
36174         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36175         USE_AS_EXPM1L.
36176         (EXPL_FINITE): Likewise.
36177         (FLDLOG): Likewise.
36178         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36179         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36180         e_expl.S.
36181         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36182         USE_AS_EXPM1L.
36183         (EXPL_FINITE): Likewise.
36184         (FLDLOG): Likewise.
36185         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36186         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36187         e_expl.S.
36188         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36189         test of -max_value argument for long double.
36190         * sysdeps/i386/fpu/libm-test-ulps: Update.
36191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36192
36193 2012-05-06  David S. Miller  <davem@davemloft.net>
36194
36195         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36196         quad soft-float symbols whose references which are compiler
36197         generated.
36198         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36199
36200 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36201
36202         [BZ #13884]
36203         [BZ #13914]
36204         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36205         USE_AS_EXP10L.
36206         (EXPL_FINITE): Likewise.
36207         (FLDLOG): Likewise.
36208         (c0): Likewise.
36209         (c1): Likewise.
36210         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36211         Adjust comments for base varying.
36212         (__expl_finite): Change alias to EXPL_FINITE.
36213         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36214         e_expl.S.
36215         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36216         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36217         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36218         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36219         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36220         USE_AS_EXP10L.
36221         (EXPL_FINITE): Likewise.
36222         (FLDLOG): Likewise.
36223         (c0): Likewise.
36224         (c1): Likewise.
36225         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36226         Adjust comments for base varying.
36227         (__expl_finite): Change alias to EXPL_FINITE.
36228         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36229         tests for bugs.
36230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36231
36232         [BZ #14064]
36233         * math/libm-test.inc (check_float_internal): Correct ulp
36234         calculation for subnormal expected results.
36235
36236 2012-05-06  Andreas Jaeger  <aj@suse.de>
36237
36238         * Makeconfig (+math-flags): New, set to -frounding-math.
36239         (+cflags): Add +math-flags so that all of glibc gets compiled with
36240         it.
36241
36242         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36243
36244 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36245
36246         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36247         Disable one test.
36248
36249         [BZ #13787]
36250         [BZ #13922]
36251         [BZ #14036]
36252         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36253         (__ieee754_expl): Allow for and saturate large arguments.
36254         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36255         (u_threshold): Likewise.
36256         (__exp): Call __ieee754_exp before checking for overflow and
36257         underflow.
36258         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36259         (u_threshold): Likewise.
36260         (__expf): Call __ieee754_expf before checking for overflow and
36261         underflow.
36262         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36263         (u_threshold): Likewise.
36264         (__expl): Call __ieee754_expl before checking for overflow and
36265         underflow.
36266         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36267         (__ieee754_expl): Allow for and saturate large arguments.
36268         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36269         missing overflow exception on overflow.
36270         (expm1_test): Do not allow missing overflow exception on overflow.
36271
36272         * sysdeps/i386/fpu/e_expl.c: Move to ...
36273         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36274         rather than using inline asm.
36275         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36276         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36277         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36278
36279         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36280         (nice): Likewise.
36281         (poll): Likewise.
36282         (signal): Likewise.
36283         (time): Likewise.
36284         (times): Likewise.
36285
36286 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36287
36288         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36289         sysdeps/unix/common/syscalls.list.
36290         (fchmod): Likewise.
36291         (fchown): Likewise.
36292         (ftruncate): Likewise.
36293         (getrusage): Likewise.
36294         (gettimeofday): Likewise.
36295         (setpgid): Likewise.
36296         (setregid): Likewise.
36297         (setreuid): Likewise.
36298         (sigaction): Likewise.
36299         (truncate): Likewise.
36300         (vhangup): Likewise.
36301         * sysdeps/unix/common/syscalls.list: Remove file.
36302         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36303         * sysdeps/unix/sysv/linux/Implies: Likewise.
36304
36305 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36306
36307         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36309         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36310         Moved to ...
36311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36312         Here.
36313         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36314         to ...
36315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36316         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36317         to ...
36318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36319         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36320         to ...
36321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36322         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36323         to ...
36324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36325         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36326         to ...
36327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36328         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36329         to ...
36330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36331         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36332         to ...
36333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36334         Here.
36335         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36336         to ...
36337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36338         Here.
36339         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36340         to ...
36341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36342         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36343         Moved to ...
36344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36345         Here.
36346         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36347         to ...
36348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36349
36350 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36351
36352         * sysdeps/unix/common/bits/dirent.h: Remove file.
36353         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36354
36355         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36356         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36357         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36358         * sysdeps/unix/bsd/isatty.c: Likewise.
36359         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36360         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36361         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36362
36363 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36364
36365         [BZ #13563]
36366         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36367         long double comparison inaccuracies.
36368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36370
36371 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36372
36373         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36374         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36375
36376 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36377
36378         [BZ #14049]
36379         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36380         nonzero digits before rounding a hex value.
36381         * stdlib/tst-strtod.c (tests): Add another test.
36382
36383 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36384
36385         * sysdeps/s390/fpu/libm-test-ulps: Update.
36386
36387 2012-05-03  Andreas Jaeger  <aj@suse.de>
36388
36389         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36390         does not get optimized out.
36391         (malloc_opt_barrier): New.
36392
36393 2012-05-03  Andreas Jaeger  <aj@suse.de>
36394             Roland McGrath  <roland@hack.frob.com>
36395
36396         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36397         intermediate file deletion.
36398         (generated): Add .symlist files.
36399
36400 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36401
36402         [BZ #13775]
36403         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36404         Redirect under this condition.
36405         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36406         [__USE_GNU] (__dprintf_chk): Not under this condition.
36407         [__USE_GNU] (__vdprintf_chk): Likewise.
36408         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36409         under this condition.
36410         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36411         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36412         [__USE_XOPEN2K8] (vdprintf): Likewise.
36413         [__USE_GNU] (__dprintf_chk): Not under this condition.
36414         [__USE_GNU] (__vdprintf_chk): Likewise.
36415         [__USE_GNU] (dprintf): Likewise.
36416         [__USE_GNU] (vdprintf): Likewise.
36417
36418 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36419
36420         * elf/Makefile (common-generated): Set this instead of generated for
36421         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36422         $(all-built-dso)-derived lists.
36423
36424 2012-05-03  Andreas Jaeger  <aj@suse.de>
36425
36426         * sysdeps/i386/fpu/libm-test-ulps: Update.
36427
36428         * FAQ: Removed.
36429         * FAQ.in: Likewise.
36430         * scripts/gen-FAQ.pl: Likewise.
36431         * manual/install.texi (Installation): Point to online location of
36432         FAQ.
36433         * Makefile (files-for-dist): Remove FAQ.
36434         (FAQ): Remove.
36435
36436 2012-05-02  Allan McRae  <allan@archlinux.org>
36437
36438         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36439         (LDFLAGS-reldepmod5.so): Likewise.
36440         (LDFLAGS-reldep6mod1.so): Likewise.
36441         (LDFLAGS-reldep6mod4.so): Likewise.
36442         (LDFLAGS-reldep8mod3.so): Likewise.
36443         (LDFLAGS-unload4mod1.so): Likewise.
36444         (LDFLAGS-unload4mod2.so): Likewise.
36445         (LDFLAGS-tst-initorder): Likewise.
36446         (LDFLAGS-tst-initordera2.so): Likewise.
36447         (LDFLAGS-tst-initordera3.so): Likewise.
36448         (LDFLAGS-tst-initordera4.so): Likewise.
36449         (LDFLAGS-tst-initorderb2.so): Likewise.
36450         (LDFLAGS-noload): Likewise.
36451         (LDFLAGS-next): Likewise.
36452         (LDFLAGS-order2mod1.so): Likewise.
36453         (LDFLAGS-order2mod2.so): Likewise.
36454         (LDFLAGS-tst-initorder2): Likewise.
36455         (LDFLAGS-tst-initorder2a.so): Likewise.
36456         (LDFLAGS-tst-initorder2b.so): Likewise.
36457         (LDFLAGS-tst-initorder2c.so): Likewise.
36458         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36459
36460 2012-05-02  David S. Miller  <davem@davemloft.net>
36461
36462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36463
36464 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36465
36466         [BZ #14055]
36467         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36468
36469 2012-05-02  Andreas Jaeger  <aj@suse.de>
36470
36471         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36472         since we manipulate rounding mode.
36473         (CPPFLAGS-test-idouble.c): Likewise.
36474         (CPPFLAGS-test-ifloat.c): Likewise.
36475         (CFLAGS-test-ldouble.c): Likewise.
36476         (CFLAGS-test-double.c): Likewise.
36477         (CFLAGS-test-float.c): Likewise.
36478         (CFLAGS-test-misc.c): Likewise.
36479         (CFLAGS-test-test-fenv.c): Likewise.
36480
36481 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36482
36483         [BZ #2550]
36484         [BZ #2570]
36485         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36486         comparisons to determine direction to adjust input.
36487
36488 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36489
36490         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36491         output to the target.
36492
36493         * scripts/localplt.awk: New file.
36494         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36495         (check-localplt-CFLAGS): Variable removed.
36496         ($(all-built-dso:=.jmprel)): New static pattern rule.
36497         (generated): Add those targets.
36498         (localplt-built-dso): New variable.
36499         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36500
36501         * elf/check-localplt.c: File removed.
36502
36503         * scripts/check-execstack.awk: New file.
36504         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36505         (check-execstack-CFLAGS): Variable removed.
36506         ($(objpfx)check-execstack.h): Target removed.
36507         ($(objpfx)execstack-default): New target.
36508         (generated): Add that instead of check-execstack.h.
36509         ($(all-built-dso:=.phdr)): New static pattern rule.
36510         (generated): Add those targets.
36511         * elf/check-execstack.c: File removed.
36512
36513         * scripts/check-textrel.awk: New file.
36514         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36515         (check-textrel-CFLAGS): Variable removed.
36516         (all-built-dso): Use := to define.o
36517         ($(all-built-dso:=.dyn)): New static pattern rule.
36518         (generated): Add those targets.
36519         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36520         * config.make.in (READELF): New substituted variable.
36521         * elf/check-textrel.c: File removed.
36522
36523 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36524
36525         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36526         allow.
36527         * conform/data/ctype.h-data [C99-based standards] (isblank):
36528         Expect function.
36529         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36530         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36532         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36533         Specify type.  Require positive value.
36534         (EILSEQ): Likewise.
36535         (ERANGE): Likewise.
36536         [ISO || POSIX] (EILSEQ): Do not expect.
36537         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36538         Specify type.  Require positive value.
36539         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36540         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36541         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36542         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36543         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36544         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36545         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36546         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36547         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36548         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36549         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36550         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36551         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36552         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36553         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36554         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36555         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36556         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36557         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36558         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36559         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36560         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36561         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36562         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36563         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36564         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36565         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36566         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36567         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36568         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36569         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36570         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36571         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36572         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36573         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36574         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36575         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36576         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36577         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36578         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36579         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36580         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36581         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36582         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36583         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36584         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36585         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36586         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36587         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36588         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36589         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36590         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36591         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36592         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36593         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36594         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36595         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36596         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36597         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36598         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36599         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36600         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36601         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36602         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36603         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36604         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36605         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36606         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36607         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36608         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36609         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36610         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36611         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36612         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36613         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36614         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36615         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36616         Require >= 2.
36617         (FLT_ROUNDS): Expect as macro, not constant.
36618         (FLT_MANT_DIG): Use macro-int-constant.
36619         (DBL_MANT_DIG): Likewise.
36620         (LDBL_MANT_DIG): Likewise.
36621         (FLT_DIG): Likewise.
36622         (DBL_DIG): Likewise.
36623         (LDBL_DIG): Likewise.
36624         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36625         (DBL_MIN_EXP): Likewise.
36626         (LDBL_MIN_EXP): Likewise.
36627         (FLT_MAX_EXP): Use macro-int-constant.
36628         (DBL_MAX_EXP): Likewise.
36629         (LDBL_MAX_EXP): Likewise.
36630         (FLT_MAX_10_EXP): Likewise.
36631         (DBL_MAX_10_EXP): Likewise.
36632         (LDBL_MAX_10_EXP): Likewise.
36633         (FLT_MAX): Use macro-constant.
36634         (DBL_MAX): Likewise.
36635         (LDBL_MAX): Likewise.
36636         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36637         (DBL_EPSILON): Likewise.
36638         (LDBL_EPSILON): Likewise.
36639         (FLT_MIN): Likewise.
36640         (DBL_MIN): Likewise.
36641         (LDBL_MIN): Likewise.
36642         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36643         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36644         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36645         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36646         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36647         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36648         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36649         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36650         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36651         [ISO11] (FLT_TRUE_MIN): Likewise.
36652         [ISO11] (LDBL_TRUE_MIN): Likewise.
36653         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36654         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36655         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36656         (SCHAR_MAX): Likewise.
36657         (UCHAR_MAX): Likewise.
36658         (CHAR_MIN): Likewise.
36659         (CHAR_MAX): Likewise.
36660         (MB_LEN_MAX): Use macro-int-constant.
36661         (SHRT_MIN): Use macro-int-constant.  Specify type.
36662         (SHRT_MAX): Likewise.
36663         (USHRT_MAX): Likewise.
36664         (INT_MAX): Likewise.
36665         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36666         bound negative.
36667         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36668         bound with "U".
36669         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36670         bound with "L".
36671         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36672         bound negative.  Suffix upper bound with "L".
36673         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36674         bound with "UL".
36675         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36676         Specify type.
36677         [C99-based standards] (LLONG_MAX): Likewise.
36678         [C99-based standards] (ULLONG_MAX): Likewise.
36679         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36680         == 0.
36681         [ISO11] (max_align_t): Require type.
36682         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36683
36684         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36685         from $CFLAGS, without defining away __attribute__ calls.
36686         (checknamespace): Use $CFLAGS_namespace.
36687
36688         * conform/conformtest.pl (@keywords): Only include C99 keywords
36689         for standards based on C99 or C11.
36690
36691         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36692         Disable tests.
36693         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36694         UNIX98]: Likewise.
36695
36696         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36697         usability of symbols in #if.
36698
36699         * conform/conformtest.pl: If macro or constant types start
36700         "promoted:", expect the symbol to be of the following type
36701         promoted by the integer promotions.
36702
36703         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36704         in one place.  Also handle "macro-constant".
36705
36706         * conform/conformtest.pl: Only accept expected macro values with
36707         "==".  Parse all "macro" lines in one place.
36708         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36709
36710         * conform/conformtest.pl: Handle braced types on "constant" lines
36711         instead of handling "typed-constant".
36712         * conform/data/signal.h-data: Use "constant" instead of
36713         "typed-constant".
36714
36715         * conform/conformtest.pl: Handle "optional-" at start of lines in
36716         one place rather than duplicating several cases.  Handle each
36717         format of "macro" line with initial "optional-".
36718
36719         * conform/conformtest.pl: Only accept expected constant or
36720         optional-constant values with "==".  Parse all "constant" lines in
36721         one place.  Parse all "optional-constant" lines in one place.
36722         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36723         * conform/data/fmtmsg.h-data: Likewise.
36724         * conform/data/netinet/in.h-data: Likewise.
36725         * conform/data/tar.h-data: Likewise.
36726         * conform/data/limits.h-data: Use "==" form on "constant" and
36727         "optional-constant" lines.
36728
36729         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36730         Use -std=c99 for XOPEN2K.
36731         (@knownproblems): Remove.
36732         (newtoken): Don't check %isknown.
36733
36734         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36735         Do not expect macro.
36736         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36737         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36738         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36739         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36740         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36741         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36742         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36743         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36744         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36745         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36746         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36747         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36748         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36749         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36750         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36751         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36752         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36753         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36754         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36755         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36756         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36757         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36758         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36759         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36760         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36761         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36762         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36763         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36764         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36765         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36766         [XPG3] (acosh): Likewise.
36767         [XPG3] (asinh): Likewise.
36768         [XPG3] (atanh): Likewise.
36769         [XPG3] (cbrt): Likewise.
36770         [XPG3] (expm1): Likewise.
36771         [XPG3] (ilogb): Likewise.
36772         [XPG3] (log1p): Likewise.
36773         [XPG3] (logb): Likewise.
36774         [XPG3] (nextafter): Likewise.
36775         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36776         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36777         [XPG3] (remainder): Likewise.
36778         [XPG3] (rint): Likewise.
36779         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36780         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36781         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36782         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36783         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36784         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36785         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36786         [UNIX98 || XOPEN2K] (scalb): Expect.
36787         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36788         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36789         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36790         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36791         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36792         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36793         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36794         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36795         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36796         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36797         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36798         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36799         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36800         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36801         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36802         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36803         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36804         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36805         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36806         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36807         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36808         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36809         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36810         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36811         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36812         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36813         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36814         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36815         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36816         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36817         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36818         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36819         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36820         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36821         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36822         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36823         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36824         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36825         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36826         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36827         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36828         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36829         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36830         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36831         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36832         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36833         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36834         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36835         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36836         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36837         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36838         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36839         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36840         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36841         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36842         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36843         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36844         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36845         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36846         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36847         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36848         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36849         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36850         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36851         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36852         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36853         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36854         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36855         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36856         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36857         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36858         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36859         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36860         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36861         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36862         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36863         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36864         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36865         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36866         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36867         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36868         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36869         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36870         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36871         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36872         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36873         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36874         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36875         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36876         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36877         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36878         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36879         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36880         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36881         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36882         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36883         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36884         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36885         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36886         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36887         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36888         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36889         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36890         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36891         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36892         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36893         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36894         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36895         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36896         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36897         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36898         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36899         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36900         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36901         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36902         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36903         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36904         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36905         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36906         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36907         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36908         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36909         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36910         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36911         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36912         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36913         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36914         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36915         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36916         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36917         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36918         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36919         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36920         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36921         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36922         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36923         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36924
36925         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36926         _XOPEN_SOURCE_EXTENDED for XPG4.
36927
36928         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36929
36930         * Makeconfig (localtime): Remove variable.
36931         (inst_localtime-file): Likewise.
36932
36933 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36934
36935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36936         Update.
36937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36938         Update.
36939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36940         Update.
36941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36942         Update.
36943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36944         Update.
36945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36946         Update.
36947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36948         Update.
36949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36950         Update.
36951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36952         Update.
36953
36954 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36955
36956         [BZ #2550]
36957         [BZ #2570]
36958         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36959         comparisons to determine direction to adjust input.
36960         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36961         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36962         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36963         Likewise.
36964         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36965         Likewise.
36966         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36967         Likewise.
36968         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36969         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36970         Likewise.
36971         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36972         Likewise.
36973         * math/libm-test.inc (nexttoward_test): Add more tests.
36974
36975 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36976
36977         [BZ #14040]
36978         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36979         in version GLIBC_2.1, not GLIBC_2.0.
36980         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36981         Likewise.
36982
36983 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36984
36985         [BZ #13942]
36986         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36987         (1 - x) * (1 + x).
36988         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36989         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36990         * math/libm-test.inc (acos_test): Add more tests.
36991         (asin_test): Likewise.
36992         * sysdeps/i386/fpu/libm-test-ulps: Update.
36993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36994
36995         [BZ #14034]
36996         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36997         of square root.
36998         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36999         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37000         * math/libm-test.inc (acos_test_tonearest): New function.
37001         (acos_test_towardzero): Likewise.
37002         (acos_test_downward): Likewise.
37003         (acos_test_upward): Likewise.
37004         (asin_test_tonearest): Likewise.
37005         (asin_test_towardzero): Likewise.
37006         (asin_test_downward): Likewise.
37007         (asin_test_upward): Likewise.
37008         (main): Call the new functions.
37009         * sysdeps/i386/fpu/libm-test-ulps: Update.
37010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37011
37012         [BZ #13884]
37013         [BZ #13924]
37014         * math/e_exp10.c: Include <float.h>.
37015         (__ieee754_exp10): Handle underflow here rather than multiplying
37016         large negative argument by M_LN10.
37017         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37018         of __ieee754_expf.
37019         * math/e_exp10l.c: Include <float.h>.
37020         (__ieee754_exp10l): Handle underflow here rather than multiplying
37021         large negative argument by M_LN10l.
37022         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37023         spurious overflow exception on underflow.
37024
37025 2012-04-29  Marek Polacek  <polacek@redhat.com>
37026
37027         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37028         (__fortify_function): New macro.
37029         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37030         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37031         __extern_always_inline.
37032         * libio/bits/stdio2.h: Likewise.
37033         * libio/bits/stdio.h: Likewise.
37034         * string/string.h: Likewise.
37035         * string/bits/string3.h: Likewise.
37036         * include/stdio.h: Likewise.
37037         * stdlib/bits/stdlib.h: Likewise.
37038         * stdlib/stdlib.h: Likewise.
37039         * rt/bits/mqueue2.h: Likewise.
37040         * rt/mqueue.h: Likewise.
37041         * posix/bits/unistd.h: Likewise.
37042         * posix/unistd.h: Likewise.
37043         * io/bits/poll2.h: Likewise.
37044         * io/bits/fcntl2.h: Likewise.
37045         * io/fcntl.h: Likewise.
37046         * io/sys/poll.h: Likewise.
37047         * misc/bits/syslog.h: Likewise.
37048         * misc/bits/syslog-ldbl.h: Likewise.
37049         * misc/sys/syslog.h: Likewise.
37050         * socket/bits/socket2.h: Likewise.
37051         * socket/sys/socket.h: Likewise.
37052         * debug/tst-chk1.c: Likewise.
37053         * wcsmbs/bits/wchar2.h: Likewise.
37054         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37055         * wcsmbs/wchar.h: Likewise.
37056
37057 2012-04-29  Andreas Jaeger  <aj@suse.de>
37058
37059         * Makerules (tests): Remove enable-check-abi protection.
37060         (check-abi-warn): Remove.
37061         (check-abi-%): Remove check-abi-warn usage.
37062
37063         * configure.in: Remove check-abi configure option.
37064         * configure: Regenerated.
37065         * config.make.in (enable-check-abi): Remove.
37066
37067 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37068
37069         [BZ #14033]
37070         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37071         double functions to double *_finite functions.
37072
37073         [BZ #13941]
37074         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37075         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37076         LDBL_MIN_EXP.
37077         * stdio-common/Makefile (tests): Add tst-sprintf3.
37078         * stdio-common/tst-sprintf3.c: New file.
37079
37080         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37081         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37082
37083 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37084
37085         * conform/conformtest.pl: Remove duplicate typed-constant
37086         handling.
37087
37088 2012-04-28  David S. Miller  <davem@davemloft.net>
37089
37090         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37091         (check-abi-%): Remove AWK script prerequisite and explicit
37092         abilist directory.
37093         (check-abi): Rewrite to just diff the symlist with the abilist.
37094         (config-tls, config-abi-config): Delete, no longer used.
37095         (update-abi-%): Remove AWK script and explicit abilist directory.
37096         (update-abi): Rewrite to simply compare and conditionally copy the
37097         symlist and the sysdep abilist file.  Remove update-abi-config
37098         checks.
37099         * abilist/ld.abilist: Remove.
37100         * abilist/libBrokenLocale.abilist: Remove.
37101         * abilist/libanl.abilist: Remove.
37102         * abilist/libcrypt.abilist: Remove.
37103         * abilist/libdl.abilist: Remove.
37104         * abilist/librt.abilist: Remove.
37105         * abilist/libthread_db.abilist: Remove.
37106         * abilist/libutil.abilist: Remove.
37107         * scripts/extract-abilist.awk: Remove.
37108         * scripts/merge-abilist.awk: Remove.
37109         * sysdeps/generic/libcidn.abilist: New file.
37110         * sysdeps/generic/libnss_compat.abilist: New file.
37111         * sysdeps/generic/libnss_db.abilist: New file.
37112         * sysdeps/generic/libnss_dns.abilist: New file.
37113         * sysdeps/generic/libnss_files.abilist: New file.
37114         * sysdeps/generic/libnss_hesiod.abilist: New file.
37115         * sysdeps/generic/libnss_nis.abilist: New file.
37116         * sysdeps/generic/libnss_nisplus.abilist: New file.
37117         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37118         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37119         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37120         file.
37121         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37122         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37123         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37124         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37125         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37126         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37127         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37128         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37129         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37130         file.
37131         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37132         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37133         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37134         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37135         file.
37136         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37137         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37138         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37139         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37140         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37141         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37142         file.
37143         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37144         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37145         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37146         file.
37147         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37149         New file.
37150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37151         New file.
37152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37153         New file.
37154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37155         New file.
37156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37157         New file.
37158         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37159         New file.
37160         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37161         New file.
37162         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37163         New file.
37164         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37165         New file.
37166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37167         New file.
37168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37169         New file.
37170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37171         New file.
37172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37173         New file.
37174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37175         file.
37176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37177         New file.
37178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37179         New file.
37180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37181         file.
37182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37183         New file.
37184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37185         New file.
37186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37187         file.
37188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37189         New file.
37190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37191         New file.
37192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37193         New file.
37194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37195         New file.
37196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37197         New file.
37198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37199         New file.
37200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37202         file.
37203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37204         New file.
37205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37206         file.
37207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37208         file.
37209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37210         file.
37211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37212         file.
37213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37214         file.
37215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37216         New file.
37217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37218         file.
37219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37220         file.
37221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37222         New file.
37223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37224         file.
37225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37227         file.
37228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37229         New file.
37230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37231         file.
37232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37233         file.
37234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37235         file.
37236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37237         file.
37238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37239         file.
37240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37241         New file.
37242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37243         file.
37244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37245         file.
37246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37247         New file.
37248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37249         file.
37250         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37251         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37252         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37253         file.
37254         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37255         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37256         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37257         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37258         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37259         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37260         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37261         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37262         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37263         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37266         file.
37267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37268         New file.
37269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37270         file.
37271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37272         file.
37273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37274         file.
37275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37276         file.
37277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37278         file.
37279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37280         New file.
37281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37282         New file.
37283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37284         file.
37285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37286         New file.
37287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37288         file.
37289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37291         file.
37292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37293         New file.
37294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37295         file.
37296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37297         file.
37298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37299         file.
37300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37301         file.
37302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37303         file.
37304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37305         New file.
37306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37307         New file.
37308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37309         file.
37310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37311         New file.
37312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37313         file.
37314
37315 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37316
37317         * conform/conformtest.pl: Fix typo in handling typed-constant from
37318         allow-header.
37319
37320 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37321
37322         * README: Cut down references to pre-2.6 Linux kernels and
37323         Linuxthreads.  Update lists of configurations in libc and ports
37324         and sort alphabetically.  Say "or newer" with Linux kernel version
37325         requirements.
37326
37327         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37328
37329 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37330
37331         [BZ #887]
37332         * math/libm-test.inc (logb_test_downward): New test to expose
37333         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37334         rounding mode.
37335
37336 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37337
37338         [BZ #14027]
37339         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37340         to be done.
37341         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37342         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37343
37344 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37345
37346         * sysdeps/unix/i386/brk.S: Remove file.
37347         * sysdeps/unix/i386/dl-brk.S: Likewise.
37348         * sysdeps/unix/i386/pipe.S: Likewise.
37349         * sysdeps/unix/i386/sigreturn.S: Likewise.
37350         * sysdeps/unix/i386/syscall.S: Likewise.
37351         * sysdeps/unix/i386/vfork.S: Likewise.
37352         * sysdeps/unix/i386/wait.S: Likewise.
37353
37354         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37355         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37356
37357         * configure.in (arm*-none*): Do not allow without
37358         --enable-hacker-mode.
37359         (netbsd*): Remove case setting base_os.
37360         (386bsd*): Likewise.
37361         (freebsd*): Likewise.
37362         (bsdi*): Likewise.
37363         (osf*): Likewise.
37364         (sunos*): Likewise.
37365         (ultrix*): Likewise.
37366         (newsos*): Likewise.
37367         (dynix*): Likewise.
37368         (*bsd*): Likewise.
37369         (sysv*): Likewise.
37370         (isc*): Likewise.
37371         (esix*): Likewise.
37372         (sco*): Likewise.
37373         (minix*): Likewise.
37374         (irix4*): Likewise.
37375         (irix6*): Likewise.
37376         (solaris[2-9]*): Likewise.
37377         (none): Likewise.
37378         * configure: Regenerated.
37379
37380 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37381
37382         [BZ #11521]
37383         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37384         overflow or cancellation in calculating denominator.
37385         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37386         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37387         down expression to avoid unexpected rounding in newer GCCs.
37388         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37389
37390 2012-04-26  David S. Miller  <davem@davemloft.net>
37391
37392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37393         long-double compat symbols.
37394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37407
37408 2012-04-25  David S. Miller  <davem@davemloft.net>
37409
37410         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37411         HWCAP_* values only after the memory barriers have been defined.
37412         (atomic_full_barrier): Define.
37413         (atomic_read_barrier): Define.
37414         (atomic_write_barrier): Define.
37415
37416 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37417
37418         * shlib-versions: Add libgcc_s version information.
37419         * sysdeps/generic/libgcc_s.h: Remove.
37420         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37421         libgcc_s.h.
37422         * sysdeps/gnu/unwind-resume.c: Likewise.
37423         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37424
37425 2012-04-25  David S. Miller  <davem@davemloft.net>
37426
37427         * sysdeps/unix/sparc/brk.S: Delete.
37428         * sysdeps/unix/sparc/dl-brk.S: Delete.
37429         * sysdeps/unix/sparc/pipe.S: Delete.
37430         * sysdeps/unix/sparc/sysdep.S: Delete.
37431         * sysdeps/unix/sparc/sysdep.h: Delete.
37432         * sysdeps/unix/sparc/vfork.S: Delete.
37433         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37434         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37435         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37436         (ret_ERRVAL, r0, r1, MOVE): Define.
37437         (JUMPTARGET): Remove.
37438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37439         sysdeps/unix/sparc/sysdep.h
37440         (ENTRY, END): Remove.
37441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37442
37443 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37444
37445         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37446         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37447         -DIS_IN_build.
37448
37449         * timezone/README: Update upstream location and email address for
37450         tzcode and tzdata.
37451         * timezone/zdump.c: Update from tzcode 2012b.
37452         * timezone/zic.c: Likewise.
37453
37454         * configure.in (libc_cv_as_needed): Remove test.
37455         * configure: Regenerated.
37456         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37457         conditional definition.
37458         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37459         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37460         * config.make.in (have-as-needed): Remove variable.
37461
37462 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37463             Paul Pluzhnikov  <ppluzhnikov@google.com>
37464
37465         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37466         strings correctly.
37467
37468 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37469
37470         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37471         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37472         * sysdeps/sh/strlen.S: Likewise.
37473
37474 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37475
37476         * sysdeps/unix/fork.S: Remove file.
37477         * sysdeps/unix/i386/fork.S: Likewise.
37478         * sysdeps/unix/sparc/fork.S: Likewise.
37479
37480         * sysdeps/unix/system.c: Remove file.
37481         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37482
37483         * sysdeps/unix/getegid.S: Remove file.
37484         * sysdeps/unix/geteuid.S: Likewise.
37485
37486 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37487
37488         * scripts/check-localplt.awk: New file.
37489         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37490         of diff.
37491         * scripts/data/localplt-generic.data: Add a comment.
37492
37493         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37494         NODE when __dir_mkfile failed.
37495         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37496         Reported by Ludovic Courtès <ludo@gnu.org>.
37497
37498 2012-04-24  Andreas Jaeger  <aj@suse.de>
37499
37500         * Makerules (common-clean): Also remove gen-as-const-headers
37501         files.
37502
37503 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37504
37505         * Makerules (native-compile): Do not change working directory for
37506         build.  Use $(OUTPUT_OPTION) in command.
37507         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37508
37509 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37510
37511         [BZ #13886]
37512         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37513         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37514         * math/libm-test.inc (floor_test): Add more tests.
37515         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37516
37517 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37518
37519         * sysdeps/unix/getdents.c: Remove file.
37520         * sysdeps/unix/sysv/getdents.c: Likewise.
37521         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37522
37523         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37524         sysdeps/unix/mman/syscalls.list.
37525         (mmap): Likewise.
37526         (mprotect): Likewise.
37527         (msync): Likewise.
37528         (munmap): Likewise.
37529         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37530         * sysdeps/unix/mman/syscalls.list: Remove.
37531         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37532
37533         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37534         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37535         * configure: Regenerated.
37536         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37537         $(libgcc_s_suffix).
37538         * config.make.in (libgcc_s_suffix): Remove variable.
37539
37540 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37541
37542         * sysdeps/unix/sysv/gethostname.c: Move to ...
37543         * sysdeps/posix/gethostname.c: ... here.
37544
37545         * sysdeps/unix/execve.S: Remove file.
37546
37547         * sysdeps/unix/_exit.S: Remove file.
37548
37549 2012-04-23  Andreas Jaeger  <aj@suse.de>
37550
37551         [BZ #13739]
37552         * manual/Makefile: Remove make dist support, there's no
37553         need for a stand-alone documentation tar ball.
37554         (TEXI2DVI): Define always, it's not in Makeconfig.
37555         (dist): Removed.
37556         (tar-it): Removed.
37557         (edition): Removed.
37558         (glibc-doc-$(edition).tar): Removed
37559         (%.Z): Removed.
37560         (%.gz): Removed.
37561         (%.uu): Removed.
37562         (ETAGS): Remove, it's in Makeconfig.
37563         (move-if-change): Remove, it's in Makeconfig.
37564
37565 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37566
37567         [BZ #13970]
37568         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37569         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37570         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37571         (strtod_l, strtof_l, strtold_l): Remove __wur.
37572         It is not necessarily an error to ignore strtol's return value.
37573         One can reliably look at the stored endptr to decide whether
37574         the number had valid syntax.
37575
37576 2012-04-21  Andreas Jaeger  <aj@suse.de>
37577
37578         [BZ #13739]
37579         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37580
37581 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37582
37583         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37584         * sysdeps/unix/sysv/Versions: Remove file.
37585
37586 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37587
37588         [BZ #13927]
37589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37590
37591 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37592
37593         [BZ #7064]
37594         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37595         version from __vm86.
37596
37597 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37598
37599         * sysdeps/unix/common/lxstat.c: Remove file.
37600         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37601
37602         * sysdeps/unix/sysv/Makefile: Remove file.
37603
37604         * sysdeps/unix/sysv/direct.h: Remove file.
37605
37606         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37607         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37608         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37609         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37610         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37611         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37612         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37613
37614         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37615
37616         * sysdeps/unix/xmknod.c: Remove file.
37617         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37618
37619         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37620
37621         * sysdeps/unix/sysv/i386/time.S: Remove file.
37622
37623         * sysdeps/unix/fxstat.c: Remove file.
37624         * sysdeps/unix/xstat.c: Likewise.
37625         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37626
37627         * sysdeps/unix/sysv/sigaction.c: Remove file.
37628
37629         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37630         (sysdep_headers): Remove variable.
37631         [termio.h not in sysdep_headers] (generated): Likewise.
37632         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37633         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37634         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37635         * sysdeps/unix/sysv/tcflow.c: Likewise.
37636         * sysdeps/unix/sysv/tcflush.c: Likewise.
37637         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37638         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37639         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37640         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37641         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37642
37643         * sysdeps/unix/siglist.c: Remove file.
37644
37645         * sysdeps/unix/getppid.S: Remove file.
37646
37647         * sysdeps/unix/mkdir.c: Remove file.
37648         * sysdeps/unix/rmdir.c: Likewise.
37649
37650 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37651
37652         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37653         ERR_MAX value.
37654         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37655         errlist-compat value.
37656
37657 2012-04-18  David S. Miller  <davem@davemloft.net>
37658
37659         * sysdeps/generic/memcopy.h (reg_char): Delete.
37660         * debug/strcat_chk.c: Use char, not reg_char.
37661         * debug/strcpy_chk.c: Likewise.
37662         * debug/strncat_chk.c: Likewise.
37663         * debug/strncpy_chk.c: Likewise.
37664         * string/memchr.c: Likewise.
37665         * string/memrchr.c: Likewise.
37666         * string/rawmemchr.c: Likewise.
37667         * string/strcat.c: Likewise.
37668         * string/strchr.c: Likewise.
37669         * string/strchrnul.c: Likewise.
37670         * string/strcmp.c: Likewise.
37671         * string/strcpy.c: Likewise.
37672         * string/strncat.c: Likewise.
37673         * string/strncmp.c: Likewise.
37674         * string/strncpy.c: Likewise.
37675
37676 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37677
37678         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37679         __builtin_memcopy is called when src and dest ranges are known to not
37680         overlap.
37681
37682 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37683
37684         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37685         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37686         fwd_align_merge macro call.
37687         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37688         bwd_align_merge macro call.
37689         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37690
37691 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37692
37693         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37694         bwd_align_merge macros.
37695         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37696         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37697         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37698
37699 2012-04-18  David S. Miller  <davem@davemloft.net>
37700
37701         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37702
37703 2012-04-18  Andreas Jaeger  <aj@suse.de>
37704
37705         [BZ# 6794]
37706         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37707         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37708         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37709
37710         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37711         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37712         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37713
37714         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37715         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37716         Adjust for changed ldbl-128 files.
37717
37718         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37719         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37720         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37721
37722 2012-04-17  David S. Miller  <davem@davemloft.net>
37723
37724         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37725
37726 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37727
37728         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37729         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37730         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37731         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37732         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37733         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37734
37735 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37736
37737         [BZ #6794]
37738         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37739         * math/libm-test.inc: Add ilogb errno and exception tests.
37740         * math/w_ilogb.c: New file: ilogb wrapper.
37741         * math/w_ilogbf.c: New file: ilogbf wrapper.
37742         * math/w_ilogbl.c: New file: ilogbl wrapper.
37743         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37744         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37745         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37746         exception being thrown with 0.0 as argument.
37747         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37748         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37749         exception being thrown with 0.0 as argument.
37750         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37751         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37752         exception being thrown with 0.0 as argument.
37753         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37754         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37755         exception being thrown with 0.0 as argument.
37756         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37757         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37758         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37759         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37760         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37761         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37762         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37763         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37764         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37765
37766 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37767
37768         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37769         with altivec.
37770
37771 2012-04-16  Marek Polacek  <polacek@redhat.com>
37772
37773         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37774
37775 2012-04-16  Marek Polacek  <polacek@redhat.com>
37776
37777         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37778         operands of fdivp instruction.
37779
37780 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37781
37782         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37783         * elf/tst-auditmod3b.c: Likewise.
37784         * elf/tst-auditmod4b.c: Likewise.
37785         * elf/tst-auditmod5b.c: Likewise.
37786         * elf/tst-auditmod6b.c: Likewise.
37787         * elf/tst-auditmod6c.c: Likewise.
37788         * elf/tst-auditmod7b.c: Likewise.
37789         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37790         * sysdeps/x86_64/preconfigure.in: Likewise.
37791         * sysdeps/x86_64/preconfigure: Regenerated.
37792
37793 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37794
37795         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37796         __ILP32__.
37797
37798 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37799
37800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37801         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37802
37803 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37804
37805         [BZ #13973]
37806         * locale/iso-639.def: Fix gl language name. Spotted by
37807         Yaron Shahrabani.
37808
37809 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37810
37811         [BZ #2074]
37812         * libio/libio.h (__io_write_fn): Update comment.
37813
37814 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37815
37816         [BZ #2074]
37817         * stdio.texi (Hook Functions): The user provided writer function
37818         is not allowed to return -1.
37819
37820 2012-04-11  David S. Miller  <davem@davemloft.net>
37821
37822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37823
37824 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37825
37826         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37827         Add a leading slash to rtkaio.
37828
37829 2012-04-11  Jim Meyering  <meyering@redhat.com>
37830
37831         [BZ #11959]
37832         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37833         It is not necessarily an error to ignore fwrite's return
37834         value.  One can reliably use ferror to test for errors after
37835         the fact.
37836
37837 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37838
37839         * bits/types.h (__snseconds_t): New type.
37840         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37841
37842         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37844         (__SNSECONDS_T_TYPE): Likewise.
37845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37846         (__SNSECONDS_T_TYPE): Likewise.
37847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37848         (__SNSECONDS_T_TYPE): Likewise.
37849
37850 2012-04-10  Andreas Jaeger  <aj@suse.de>
37851
37852         [BZ #2636]
37853         * manual/time.texi (Processor Time): Return type of times is
37854         elapsed real time since an arbitrary point in the past.
37855         (CPU Time): Move CLK_TCK from here...
37856         (Processor Time): ...to here.  Correct description.
37857         * manual/conf.texi (Constants for Sysconf): Correct description of
37858         _SC_CLK_TCK.
37859
37860 2012-04-10  David S. Miller  <davem@davemloft.net>
37861
37862         [BZ #13967]
37863         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37864         where the is a gap between DT_REL(A) and DT_JMPREL.
37865
37866 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37867
37868         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37869         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37870         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37871
37872 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37873
37874         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37875         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37876         (dl_main): Handle --inhibit-cache.
37877         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37878         _dl_inhibit_cache.
37879         * elf/dl-load.c (_dl_map_object): Use it.
37880         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37881
37882 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37883
37884         [BZ #13872]
37885         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37886         (__ieee754_powl): Saturate large exponents rather than testing for
37887         overflow of y*log2(x).
37888         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37889         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37890         exceptions.
37891
37892         [BZ #11521]
37893         * math/s_ctan.c: Include <float.h>.
37894         (__ctan): Avoid internal overflow or cancellation in calculating
37895         denominator.
37896         * math/s_ctanf.c: Likewise.
37897         * math/s_ctanl.c: Likewise.
37898         * math/s_ctanh.c: Likewise.
37899         * math/s_ctanhf.c: Likewise.
37900         * math/s_ctanhl.c: Likewise.
37901         * math/libm-test.inc (ctan_test): Add more tests.
37902         (ctanh_test): Likewise.
37903         * sysdeps/i386/fpu/libm-test-ulps: Update.
37904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37905
37906 2012-04-09  Andreas Jaeger  <aj@suse.de>
37907
37908         [BZ #6894]
37909         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37910         is an optional BSD extension.
37911
37912         [BZ #10254]
37913         * manual/stdio.texi (Opening Streams): Document additional fopen
37914         parameters.
37915
37916 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37917
37918         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37919         %eax without telling the compiler.
37920
37921 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37922
37923         [BZ # 13963]
37924         * manual/install.texi: Use sourceware.org.
37925
37926 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37927
37928         [BZ #13873]
37929         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37930         (__ieee754_pow): Generate overflow and underflow using huge*huge
37931         and tiny*tiny rather than just returning constant infinity or zero
37932         for large exponents.
37933         * math/libm-test.inc (pow_test): Require overflow exceptions for
37934         applicable cases of large exponents.
37935
37936         [BZ #706]
37937         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37938         (__ieee754_pow): Use iterative multiplication algorithm only for
37939         integer exponents with absolute value below 1024.  Check for odd
37940         integer exponents when using algorithm for real exponents.
37941         * math/libm-test.inc (pow_test): Add more tests.
37942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37943
37944 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37945
37946         [BZ #13705]
37947         * math/libm-test.inc (exp_test): Do not allow overflow exception
37948         on underflow test.
37949
37950 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37951
37952         [BZ #13705]
37953         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37954         instead of __kernel_standard_f.
37955
37956 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37957
37958         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37959         * sysdeps/x86_64/memset_chk.S: Likewise.
37960
37961 2012-04-08  Andreas Jaeger  <aj@suse.de>
37962
37963         [BZ #10153]
37964         * manual/startup.texi (Environment Access): Describe return value
37965         for putenv and setenv.
37966
37967         [BZ #6895]
37968         * manual/filesys.texi (Directory Entries): Add description for
37969         DT_LNK.
37970
37971         [BZ #6890]
37972         * manual/filesys.texi (Directory Entries): Clarify that it's file
37973         system not operating system in the description of DT_UNKNOWN.
37974
37975         [BZ #6578]
37976         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37977
37978 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37979
37980         [BZ #6649]
37981         * manual/llio.texi (Opening and Closing Files): Add cross
37982         reference to explain mode argument.
37983
37984 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37985
37986         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37987         * sysdeps/x86_64/memset_chk.S: Likewise.
37988
37989 2012-04-07  David S. Miller  <davem@davemloft.net>
37990
37991         * elf/elf.h (R_SPARC_WDISP10): Define.
37992         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37993         R_SPARC_SIZE32.
37994         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37995         R_SPARC_SIZE64 and R_SPARC_H34.
37996
37997 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37998
37999         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38000         conditions and remove no longer applicable assertion.
38001
38002 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38003
38004         * bits/byteswap.h: Include <features.h>.
38005         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38006         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38007
38008 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38009
38010         * bits/byteswap.h (__bswap_16): Removed.
38011         Include <bits/byteswap-16.h> to get __bswap_16.
38012         * sysdeps/i386/bits/byteswap.h: Likewise.
38013         * sysdeps/s390/bits/byteswap.h: Likewise.
38014         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38015         * bits/byteswap-16.h: New file.
38016         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38017         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38018         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38019         * string/Makefile (headers): Add bits/byteswap-16.h.
38020
38021 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38022
38023         [BZ #13895]
38024         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38025         extra indirection.
38026         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38027         * nss/tst-nss-static.c: New.
38028
38029 2012-04-06  Robert Millan  <rmh@gnu.org>
38030
38031         [BZ #6486]
38032         * manual/llio.texi (File Position Primitive): lseek
38033         refers to WHENCE when it really means OFFSET.
38034
38035 2012-04-06  Andreas Jaeger  <aj@suse.de>
38036
38037         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38038         strncmp declarations.
38039
38040         * abilist/libc.abilist: Add __poll and __ppoll.
38041
38042 2012-04-05  David S. Miller  <davem@davemloft.net>
38043
38044         * scripts/check-local-headers.sh: Accept a host triplet in the
38045         path matched by the exclude regexp.
38046
38047         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38048         definition.
38049         * sysdeps/powerpc/powerpc32/dl-machine.h
38050         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38051         * sysdeps/s390/s390-32/dl-machine.h
38052         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38053         * sysdeps/sparc/sparc32/dl-machine.h
38054         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38055         * sysdeps/sparc/sparc64/dl-machine.h
38056         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38057
38058         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38059         lazy binding.
38060         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38061         undefined symbol errors.
38062
38063         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38064         DT_NEEDED entries.
38065
38066 2012-04-05  Michael Matz  <matz@suse.de>
38067
38068         [BZ #13592]
38069         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38070
38071 2012-04-05  Andreas Jaeger  <aj@suse.de>
38072
38073         [BZ #13908]
38074         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38075         comment.
38076
38077 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38078
38079         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38080         which ROUND is no valid rounding mode.
38081
38082 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38083
38084         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38085         read again.
38086         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38087
38088 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38089
38090         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38091         an exception using FPU order intentionally.
38092
38093 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38094
38095         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38096         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38097         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38098         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38099
38100 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38101
38102         [BZ #12340]
38103         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38104         EINVAL when BUFLEN is too smal.
38105
38106 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38107
38108         [BZ #13553]
38109         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38110         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38111
38112 2012-04-03  Andreas Jaeger  <aj@suse.de>
38113
38114         [BZ #13938]
38115         * manual/setjmp.texi (System V contexts): Fix sentence.
38116
38117         [BZ #13926]
38118         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38119         New macro for this case.
38120         [!__GNUC__] (__bswap_64): New inline function for this case.
38121         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38122         * bits/byteswap.h: Likewise.
38123         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38124         ull, guard with __GLIBC_HAVE_LONG_LONG.
38125
38126         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38127         __GLIBC_HAVE_LONG_LONG.
38128
38129         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38130         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38131
38132 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38133
38134         [BZ #13691]
38135         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38136         inptr and inend, rather than using last_ch.
38137
38138 2012-04-02  David S. Miller  <davem@davemloft.net>
38139
38140         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38141         * stdio-common/printf-parse.h (read_int): Change return type to
38142         'int', return -1 on INT_MAX overflow.
38143         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38144         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38145         overflows INT_MAX.  Check for overflow of in-format-string precision
38146         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38147         SIZE_MAX not INT_MAX for integer overflow test.
38148         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38149         skip the construct in the format string but do not record anything.
38150         * stdio-common/bug22.c: Adjust to test both width/prevision
38151         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38152         explicitly for proper errno values.
38153
38154 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38155
38156         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38157         CHAR_MAX.
38158         * string/test-strcmp.c [! WIDE]: Likewise.
38159         * time/tst-mktime2.c: Likewise for INT_MAX.
38160         * string/test-string.h: #include <sys/param.h> for MIN.
38161
38162         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38163         * sysdeps/i386/init-first.c (init): Likewise.
38164         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38165         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38166         * sysdeps/sh/init-first.c (init): Likewise.
38167
38168 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38169
38170         * po/ru.po: Update from translation team.
38171         * po/vi.po: Likewise.
38172
38173 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38174
38175         * resolv/nss_dns/dns-host.c: Merge copyright years.
38176
38177 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38178
38179         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38180         Optimize memcpy with prefetch if
38181         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38182         src, dst pointers have unequal 16 byte alignments.
38183
38184 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38185
38186         [BZ #13928]
38187         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38188         from a CNAME entry and return the minimum ttl for the query.
38189         (gaih_getanswer_slice): Likewise.
38190
38191 2012-03-30  Jeff Law  <law@redhat.com>
38192
38193         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38194         due to long keys.
38195         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38196         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38197
38198         * resolv/nss_dns/dns-host.c: Update copyright year.
38199
38200 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38201
38202         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38203         requests to save a system call.  Fix check that all bytes are sent.
38204
38205         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38206         comments for sendmmsg.
38207
38208 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38209
38210         [BZ #13691]
38211         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38212         with only 1 character between 0x0041 and 0x01b0.
38213         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38214         * wcsmbs/tst-mbsnrtowcs.c: New file.
38215
38216 2012-03-29  David S. Miller  <davem@davemloft.net>
38217
38218         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38219         small copies by hand.
38220
38221 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38222
38223         [BZ #13761]
38224         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38225         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38226         group memberships.
38227
38228 2012-03-28  David S. Miller  <davem@davemloft.net>
38229
38230         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38231         that branches into memcpy.
38232         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38233         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38234         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38235         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38236         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38237         bits.
38238         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38239         implementation too.
38240         * sysdeps/sparc/mempcpy.S: New file.
38241
38242         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38243         the IFUNC routine in the libc case.
38244         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38245
38246         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38247         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38248         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38249         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38250         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38251         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38252         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38253         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38254
38255         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38256         loop to 256 bytes instead of 64 bytes and fix test signedness.
38257
38258         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38259         * sysdeps/sparc/sparc32/Makefile: rather than here...
38260         * sysdeps/sparc/sparc64/Makefile: and here.
38261
38262 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38263
38264         * malloc/mallocbug.c: Avoid warnings about unused variables.
38265
38266 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38267
38268         [BZ #13760]
38269         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38270         in the right place. Discard and retry query if response is
38271         larger than input buffer size.
38272
38273 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38274
38275         [BZ #369]
38276         [BZ #2678]
38277         [BZ #3866]
38278         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38279         x for large integer exponent.
38280         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38281         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38282         sign of result as needed afterwards.
38283         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38284         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38285         result for underflowing pow the same as for overflow.
38286         (__kernel_standard_l): Handle powl overflow and underflow here
38287         rather than calling __kernel_standard.
38288         * math/libm-test.inc (pow_test): Add more tests.
38289
38290         [BZ #3868]
38291         [BZ #13879]
38292         [BZ #13910]
38293         [BZ #13911]
38294         [BZ #13912]
38295         [BZ #13913]
38296         [BZ #13915]
38297         [BZ #13916]
38298         [BZ #13917]
38299         [BZ #13918]
38300         [BZ #13919]
38301         [BZ #13920]
38302         [BZ #13921]
38303         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38304         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38305         (__kernel_standard_l): New function.
38306         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38307         __kernel_standard.
38308         * math/w_acosl.c (__acosl): Likewise.
38309         * math/w_asinl.c (__asinl): Likewise.
38310         * math/w_atan2l.c (__atan2l): Likewise.
38311         * math/w_atanhl.c (__atanhl): Likewise.
38312         * math/w_coshl.c (__coshl): Likewise.
38313         * math/w_exp10l.c (__exp10l): Likewise.
38314         * math/w_exp2l.c (__exp2l): Likewise.
38315         * math/w_fmodl.c (__fmodl): Likewise.
38316         * math/w_hypotl.c (__hypotl): Likewise.
38317         * math/w_j0l.c (__j0l, __y0l): Likewise.
38318         * math/w_j1l.c (__j1l, __y1l): Likewise.
38319         * math/w_jnl.c (__jnl, __ynl): Likewise.
38320         * math/w_lgammal.c (__lgammal): Likewise.
38321         * math/w_log10l.c (__log10l): Likewise.
38322         * math/w_log2l.c (__log2l): Likewise.
38323         * math/w_logl.c (__logl): Likewise.
38324         * math/w_powl.c (__powl): Likewise.
38325         * math/w_remainderl.c (__remainderl): Likewise.
38326         * math/w_scalbl.c (sysv_scalbl): Likewise.
38327         * math/w_sinhl.c (__sinhl): Likewise.
38328         * math/w_sqrtl.c (__sqrtl): Likewise.
38329         * math/w_tgammal.c (__tgammal): Likewise.
38330         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38331         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38332         * math/libm-test.inc (acos_test): Add more tests.
38333         (acosh_test): Likewise.
38334         (asin_test): Likewise.
38335         (atanh_test): Likewise.
38336         (exp_test): Likewise.
38337         (exp10_test): Likewise.
38338         (exp2_test): Likewise.
38339         (expm1_test): Likewise.
38340         (lgamma_test): Likewise.
38341         (log_test): Likewise.
38342         (log10_test): Likewise.
38343         (log1p_test): Likewise.
38344         (log2_test): Likewise.
38345         (pow_test): Do not allow some spurious overflow exceptions.
38346         (sqrt_test): Add more tests.
38347         (tgamma_test): Likewise.
38348         (y0_test): Likewise.
38349         (y1_test): Likewise.
38350         (yn_test): Likewise.
38351
38352 2012-03-27  Anton Blanchard  <anton@samba.org>
38353
38354         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38355         MAP_HUGETLB.
38356         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38357         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38358         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38359
38360 2012-03-27  David S. Miller  <davem@davemloft.net>
38361
38362         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38363
38364         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38365         have-as-vis3 check.
38366
38367 2012-03-27  Andreas Jaeger  <aj@suse.de>
38368
38369         * sysdeps/x86_64/elf/configure.in: Moved to ...
38370         * sysdeps/x86_64/configure.in: ... here.
38371         * sysdeps/x86_64/elf/start.S: Moved to ...
38372         * sysdeps/x86_64/start.S: ... here.
38373         * sysdeps/x86_64/elf/configure: Delete.
38374
38375         * sysdeps/x86_64/configure.in: Merge contents from
38376         sysdeps/i386/configure.in (without i686 check).
38377
38378         * sysdeps/i386/elf/Versions: Merge into ...
38379         * sysdeps/i386/Versions: ... this.
38380         * sysdeps/i386/elf/Versions: Delete file.
38381         * sysdeps/i386/elf/start.S: Moved to ...
38382         * sysdeps/i386/start.S: ...here.
38383         * sysdeps/i386/elf/configure.in: Merge into...
38384         * sysdeps/i386/configure.in: ...here.
38385         * sysdeps/i386/elf/configure.in: Delete file.
38386         * sysdeps/i386/elf/configure: Delete file.
38387
38388         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38389         * debug/backtracesyms.c: ... here.
38390         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38391         * debug/backtracesymsfd.c: ... here.
38392         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38393         * sysdeps/generic/ifunc-sel.h: ... here.
38394
38395         * sysdeps/unix/i386/start.c: Delete file.
38396         * sysdeps/unix/sparc/start.c: Delete file.
38397         * sysdeps/unix/start.c: Delete file.
38398
38399         * sysdeps/sh/elf/configure.in: Moved to ...
38400         * sysdeps/sh/configure.in: ... here.
38401         * sysdeps/sh/elf/start.S: Moved to ...
38402         * sysdeps/sh/start.S: ... here.
38403         * sysdeps/sh/elf/configure: Delete file.
38404
38405         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38406         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38407         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38408         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38409         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38410         * sysdeps/powerpc/powerpc64/start.S: here.
38411         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38412         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38413         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38414         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38415         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38416
38417         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38418         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38419         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38420         * sysdeps/powerpc/powerpc32/start.S: ... here.
38421         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38422         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38423         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38424
38425         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38426         * sysdeps/powerpc/ifunc-sel.h: ... here.
38427         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38428         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38429
38430         * sysdeps/sparc/elf/configure.in: Moved to ...
38431         * sysdeps/sparc/configure.in: ... here.
38432         * sysdeps/sparc/elf/configure: Delete file.
38433         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38434         * sysdeps/sparc/sparc32/start.S: ... here.
38435         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38436         * sysdeps/sparc/sparc64/start.S: ... here.
38437         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38438         * sysdeps/sparc/sparc32/Makefile: ... this.
38439         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38440         * sysdeps/sparc/sparc64/Makefile: ... this.
38441
38442         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38443         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38444         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38445         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38446         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38447         * sysdeps/s390/s390-32/setjmp.S: ... here.
38448         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38449         * sysdeps/s390/s390-32/configure.in: ... here.
38450         * sysdeps/s390/s390-32/elf/configure: Delete file.
38451         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38452         * sysdeps/s390/s390-32/start.S: ... here.
38453
38454         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38455         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38456         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38457         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38458         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38459         * sysdeps/s390/s390-64/setjmp.S: ... here.
38460         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38461         * sysdeps/s390/s390-64/configure.in: ... here
38462         * sysdeps/s390/s390-64/elf/configure: Delete file.
38463         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38464         * sysdeps/s390/s390-64/start.S: ... here.
38465         * sysdeps/s390/s390-64/elf/configure: Delete.
38466
38467         * configure.in: Remove support for elf directories in sysdeps.
38468
38469         * configure: Regenerated.
38470         * sysdeps/i386/configure: Regenerated.
38471         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38472         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38473         * sysdeps/s390/s390-32/configure: Regenerated.
38474         * sysdeps/s390/s390-64/configure: Regenerated.
38475         * sysdeps/sh/configure: Regenerated.
38476         * sysdeps/sparc/configure: Regenerated.
38477         * sysdeps/x86_64/configure: Regenerated.
38478
38479 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38480
38481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38482
38483         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38484         denormal result into account.
38485
38486 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38487
38488         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38489         Reported by Allan McRae <allan@archlinux.org>.
38490
38491 2012-03-23  Jeff Law  <law@redhat.com>
38492
38493         * nss/getnssent.c (__nss_getent): Fix typo.
38494
38495 2012-03-23  David S. Miller  <davem@davemloft.net>
38496
38497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38498
38499 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38500
38501         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38502         to pad to uint64_t for each field.
38503         (dl_tls_index): Replace unsigned long with uint64_t.
38504
38505 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38506         Paul Pluzhnikov  <ppluzhnikov@google.com>
38507
38508         [BZ #6528]
38509         * grp/Makefile (otherlibs): Don't set it.
38510         * inet/Makefile (otherlibs): Likewise.
38511         * login/Makefile (otherlibs): Likewise.
38512         * nscd/Makefile (otherlibs): Likewise.
38513         * posix/Makefile (otherlibs): Likewise.
38514         * pwd/Makefile (otherlibs): Likewise.
38515         * rt/Makefile (otherlibs): Likewise.
38516         * sunrpc/Makefile (otherlibs): Likewise.
38517         * nss/Makefile (otherlibs): Likewise.
38518         Add libnss_files to routines and static-only-routines.
38519         ($(objpfx)getent): Remove rule.
38520         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38521         static-only-routines.
38522
38523 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38524
38525         [BZ #13892]
38526         * math/s_cexp.c: Include <float.h>.
38527         (__cexp): Handle exp result overflowing not necessarily
38528         overflowing both real and imaginary parts of result.
38529         * math/s_cexpf.c: Likewise.
38530         * math/s_cexpl.c: Likewise.
38531         * math/libm-test.inc (cexp_test): Add more tests.
38532         * sysdeps/i386/fpu/libm-test-ulps: Update.
38533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38534
38535 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38536
38537         * include/link.h (ELFW): New macro.
38538         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38539         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38540
38541 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38542
38543         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38544         with uint64_t.
38545
38546 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38547
38548         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38549         declaration.
38550         (struct La_x32_retval): Likewise.
38551
38552 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38553
38554         * sysdeps/x86_64/preconfigure.in: New file.
38555         * sysdeps/x86_64/preconfigure: New generated file.
38556
38557 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38558
38559         [BZ #13824]
38560         * math/e_exp2l.c: Include <float.h>.
38561         (__ieee754_exp2l): Handle overflow and underflow cases
38562         separately.  Only pass fractional part of argument to
38563         __ieee754_expl.
38564         * math/libm-test.inc (exp2_test): Add more tests.
38565
38566         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38567         negating x to take absolute value.
38568         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38569         Likewise.
38570         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38571         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38572         Likewise.
38573         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38574         computing low part if x was negated.
38575         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38576
38577 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38578
38579         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38580         la_x32_gnu_pltexit.
38581         (pltexit): Cast int_retval to ptrdiff_t.
38582         * elf/tst-auditmod3b.c: Likewise.
38583         * elf/tst-auditmod4b.c: Likewise.
38584         * elf/tst-auditmod5b.c: Likewise.
38585         * elf/tst-auditmod6b.c: Likewise.
38586         * elf/tst-auditmod6c.c: Likewise.
38587         * elf/tst-auditmod7b.c: Likewise.
38588
38589         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38590         and x32_gnu_pltexit.
38591
38592         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38593         __ELF_NATIVE_CLASS.
38594         (La_x32_regs): New macro.
38595         (La_x32_retval): Likewise.
38596         (la_x32_gnu_pltenter): New function prototype.
38597         (la_x32_gnu_pltexit): Likewise.
38598
38599 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38600
38601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38602         exponent.
38603
38604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38605
38606         * configure.in (libc_cv_cc_nofma): Check for option to disable
38607         generation of FMA instructions.
38608         * configure: Regenerate.
38609         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38610         * sysdeps/ieee754/dbl-64/Makefile: New file.
38611         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38612         Remove brandred-fma4.
38613         (CFLAGS-brandred-fma4.c): Remove.
38614         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38615         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38616         define.
38617         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38618         define.
38619
38620 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38621
38622         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38623         LLONG_MAX != LONG_MAX.
38624         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38625         (_fitoa_word): Likewise.
38626         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38627         LLONG_MAX != LONG_MAX.
38628         * stdio-common/_itowa.h: Include <_itoa.h>.
38629         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38630         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38631         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38632         only if not defined.
38633         (_ITOA_WORD_TYPE): Likewise.
38634         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38635         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38636
38637 2012-03-21  David S. Miller  <davem@davemloft.net>
38638
38639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38640
38641 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38642
38643         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38644         of x86_64 when setting libc_cv_slibdir, libdir and
38645         libc_cv_localedir.
38646         * sysdeps/unix/sysv/linux/configure: Regenerated.
38647
38648 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38649
38650         * manual/lang.texi (Old Varargs): Remove section.
38651         (How Variadic): Update menu.
38652         (va_start): Do not mention varargs.h.
38653
38654 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38655             Joseph Myers  <joseph@codesourcery.com>
38656
38657         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38658         link test.
38659         * configure: Regenerated.
38660
38661 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38662
38663         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38664         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38665         conformtest.pl
38666
38667 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38668
38669         * NOTES: Remove.
38670         * Makefile (files-for-dist): Remove NOTES.
38671         (NOTES): Remove rule.
38672         * README: Don't refer to NOTES.
38673         * manual/creature.texi: Don't include macros.texi.
38674         * manual/intro.texi (creature.texi): Remove comment referring to
38675         NOTES.
38676
38677         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38678         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38679         * configure: Regenerated.
38680         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38681         LIBC_TRY_CC_OPTION.
38682         (libc_cv_as_i686): Likewise.
38683         (libc_cv_cc_avx): Likewise.
38684         (libc_cv_cc_sse2avx): Likewise.
38685         (libc_cv_cc_fma4): Likewise.
38686         (libc_cv_cc_novzeroupper): Likewise.
38687         * sysdeps/i386/configure: Regenerated.
38688
38689         [BZ #13883]
38690         * sysdeps/i386/fpu/s_cexp.S: Remove.
38691         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38692         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38693         * math/libm-test.inc (cexp_test): Add more tests.
38694         * sysdeps/i386/fpu/libm-test-ulps: Update.
38695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38696
38697 2012-03-21  Allan McRae  <allan@archlinux.org>
38698
38699         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38700
38701 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38702
38703         [BZ #13871]
38704         * math/w_exp2.c: Do not include <float.h>.
38705         (o_threshold, u_threshold): Remove.
38706         (__exp2): Calculate result before checking finiteness and calling
38707         __kernel_standard.
38708         * math/w_exp2f.c: Likewise.
38709         * math/w_exp2l.c: Likewise.
38710         * math/libm-test.inc (exp2_test): Require overflow exception for
38711         1e6 input.
38712
38713         [BZ #3866]
38714         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38715         range of signed 64-bit integers before using fistpll.  Remove
38716         checks for whether integers fit in mantissa bits.
38717         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38718         the range of signed 32-bit integers before using fistpl.  Remove
38719         checks for whether integers fit in mantissa bits.
38720         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38721         (__ieee754_powl): Test for y outside the range of signed 64-bit
38722         integers before using fistpll.  Reduce 64-bit values to 63-bit
38723         ones as needed.
38724         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38725         divide-by-zero is raised for zero to large negative powers.
38726         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38727         (__ieee754_powl): Test for y outside the range of signed 64-bit
38728         integers before using fistpll.  Reduce 64-bit values to 63-bit
38729         ones as needed.
38730         * math/libm-test.inc (pow_test): Add more tests.
38731
38732 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38733
38734         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38735         <stdio-common/_itoa.h>.
38736         * debug/segfault.c: Likewise.
38737         * elf/dl-cache.c: Likewise.
38738         * elf/dl-minimal.c: Likewise.
38739         * elf/dl-misc.c: Likewise.
38740         * elf/dl-sysdep.c: Likewise.
38741         * elf/dl-version.c: Likewise.
38742         * elf/rtld.c: Likewise.
38743         * hurd/hurdsock.c: Likewise.
38744         * hurd/lookup-retry.c: Likewise.
38745         * malloc/malloc.c: Likewise.
38746         * malloc/mtrace.c: Likewise.
38747         * nscd/nscd_getgr_r.c: Likewise.
38748         * nscd/nscd_getpw_r.c: Likewise.
38749         * nscd/nscd_getserv_r.c: Likewise.
38750         * posix/getopt_init.c: Likewise.
38751         * posix/wordexp.c: Likewise.
38752         * stdio-common/_itoa.c: Likewise.
38753         * stdio-common/printf_fphex.c: Likewise.
38754         * stdio-common/vfprintf.c: Likewise.
38755         * string/_strerror.c: Likewise.
38756         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38757         * sysdeps/i386/i686/hp-timing.h: Likewise.
38758         * sysdeps/mach/_strerror.c: Likewise.
38759         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38760         * sysdeps/mach/hurd/sethostid.c: Likewise.
38761         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38762         * sysdeps/mach/xpg-strerror.c: Likewise.
38763         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38764         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38765         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38766         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38767         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38768         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38769         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38770         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38771         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38772         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38773         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38774         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38775         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38776         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38777         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38778         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38779         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38780         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38781         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38782         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38783         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38784
38785         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38786
38787         * stdio-common/_itoa.h: Moved to ...
38788         * sysdeps/generic/_itoa.h: Here.
38789
38790         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38791
38792         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38793         instead of "_itoa.h" and "_itowa.h".
38794         * stdio-common/vfprintf.: Likewise.
38795
38796 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38797
38798         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38799         <bits/wordsize.h>.
38800         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38801         (__signbit): Likwise.
38802         (llrintf): Likwise.
38803         (llrint): Likwise.
38804
38805 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38806
38807         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38808         __WORDSIZE != 64.
38809
38810 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38811
38812         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38813         OVERFLOW_EXCEPTION_OK.
38814         * math/libm-test.inc ("Philosophy"): Update comment about
38815         exception testing.
38816         (OVERFLOW_EXCEPTION): Define.
38817         (OVERFLOW_EXCEPTION_OK): Likewise.
38818         (INVALID_EXCEPTION_OK): Renumber.
38819         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38820         (IGNORE_ZERO_INF_SIGN): Likewise.
38821         (test_exceptions): Handle FE_OVERFLOW.
38822         (exp10_test): Expect overflow exceptions.
38823         (exp2_test): Likewise.
38824         (expm1_test): Likewise.
38825         (nextafter_test): Likewise.
38826         (pow_test): Likewise.
38827         (scalbn_test): Likewise.
38828         (scalbln_test): Likewise.
38829
38830 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38831
38832         * sysdeps/x86_64/bits/atomic.h
38833         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38834         64bit integer.
38835         (atomic_exchange_acq): Likewise.
38836         (__arch_exchange_and_add_body): Likewise.
38837         (__arch_add_body): Likewise.
38838         (atomic_add_negative): Likewise.
38839         (atomic_add_zero): Likewise.
38840
38841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38842
38843         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38844         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38845
38846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38847
38848         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38849         Check __x86_64__ instead of __WORDSIZE.
38850
38851 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38852
38853         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38854
38855 2012-03-19  David S. Miller  <davem@davemloft.net>
38856
38857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38858
38859         * sysdeps/sparc/fpu/fenv_private.h: New file.
38860         * sysdeps/sparc/fpu/math_private.h: Use it.
38861         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38862         Remove.
38863         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38864         (libc_feholdexcept_setroundl): Remove.
38865         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38866         Remove.
38867         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38868         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38869
38870 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38871
38872         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38873         int64_t instead of long int.
38874         (INSERT_WORDS64): Likwise.
38875
38876 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38877
38878         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38879         _Unwind_GetCFA return to _Unwind_Ptr first.
38880
38881 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38882
38883         [BZ #13629]
38884         * math/s_clog.c: Include <float.h>.
38885         (__clog): Scale large or subnormal inputs.
38886         * math/s_clogf.c: Likewise.
38887         * math/s_clogl.c: Likewise.
38888         * math/s_clog10.c: Include <float.h>.
38889         (M_LOG10_2): Define.
38890         (__clog10): Scale large or subnormal inputs.
38891         * math/s_clog10f.c: Likewise.
38892         * math/s_clog10l.c: Likewise.
38893         * math/libm-test.inc (clog_test): Add more tests.
38894         (clog10_test): Likewise.
38895         * sysdeps/i386/fpu/libm-test-ulps: Update.
38896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38897
38898         [BZ #11451]
38899         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38900         x and y.
38901         * math/libm-test.inc (atan2_test): Add another test.
38902
38903         * Makerules (common-objdir-compile): Remove.
38904         * sysdeps/unix/Makefile (config-generated): Do not add
38905         $(unix-generated) to variable.
38906         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38907         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38908         Remove rule.
38909         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38910         Likewise.
38911         [generic bits/local_lim.h] (before-compile): Do not append to
38912         variable.
38913         [generic bits/local_lim.h] (common-generated): Likewise.
38914         [generic sys/param.h] (before-compile): Do not append to variable.
38915         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38916         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38917         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38918         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38919         include.
38920         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38921         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38922         [generic sys/param.h] ($(addprefix
38923         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38924         [generic sys/param.h] (common-generated): Do not append to
38925         variable.
38926         [generic sys/param.h] (sysdep_headers): Likewise.
38927         [generic bits/errno.h] (before-compile): Do not append to
38928         variable.
38929         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38930         rule.
38931         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38932         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38933         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38934         [generic bits/errno.h] (common-generated): Do not append to
38935         variable.
38936         [generic bits/ioctls.h] (before-compile): Do not append to
38937         variable.
38938         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38939         rule.
38940         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38941         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38942         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38943         rule.
38944         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38945         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38946         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38947         [generic bits/ioctls.h] (common-generated): Do not append to
38948         variable.
38949         [generic sys/syscall.h] (syscall.h): Remove variable.
38950         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38951         rule.
38952         [generic sys/syscall.h] (before-compile): Do not append to
38953         variable.
38954         [generic sys/syscall.h] (common-generated): Likewise.
38955         * sysdeps/unix/errnos-tmpl.c: Remove file.
38956         * sysdeps/unix/errnos.awk: Likewise.
38957         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38958         * sysdeps/unix/ioctls.awk: Likewise.
38959         * sysdeps/unix/mk-local_lim.c: Likewise.
38960         * sysdeps/unix/snarf-ioctls: Likewise.
38961
38962 2012-03-19  Richard Henderson  <rth@twiddle.net>
38963
38964         * sysdeps/i386/fpu/fenv_private.h: New file.
38965         * sysdeps/i386/fpu/math_private.h: Use it.
38966         (math_opt_barrier, math_force_eval): Remove.
38967         (libc_feholdexcept_setround_53bit): Remove.
38968         (libc_feupdateenv_53bit): Remove.
38969         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38970         (math_opt_barrier, math_force_eval): Remove.
38971         (libc_feholdexcept): Remove.
38972         (libc_feholdexcept_setround): Remove.
38973         (libc_fetestexcept, libc_fesetenv): Remove.
38974         (libc_feupdateenv_test): Remove.
38975         (libc_feupdateenv, libc_feholdsetround): Remove.
38976         (libc_feresetround): Remove.
38977
38978         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38979         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38980
38981         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38982         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38983         (libc_feupdateenv_testl): New.
38984         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38985         (libc_feupdateenv_testf): New.
38986         (libc_feupdateenv): Use libc_feupdateenv_test.
38987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38988         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38989
38990         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38991         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38992         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38993         (libc_feresetround_noex): New.
38994         (libc_feresetround_noexf): New.
38995         (libc_feresetround_noexl): New.
38996         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38997         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38998         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38999         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39000         SET_RESTORE_ROUND.
39001         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39002         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39003         (__cos): Likewise.
39004         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39005         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39006         SET_RESTORE_ROUND_NOEX.
39007         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39008         SET_RESTORE_ROUND_NOEXF.
39009         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39010         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39011         (libc_feholdsetroundf): New.
39012         (libc_feresetround, libc_feresetroundf): New.
39013
39014         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39015         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39016         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39017
39018         * sysdeps/generic/math_private.h: Include <fenv.h>.
39019         (default_libc_feholdexcept): New.
39020         (default_libc_feholdexcept_setround): New.
39021         (default_libc_fesetenv, default_libc_feupdateenv): New.
39022         (libc_feholdexcept): Only define if undefined.
39023         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39024         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39025         (libc_feholdexcept_setroundl): Likewise.
39026         (libc_feholdexcept_setround_53bit): Likewise.
39027         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39028         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39029         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39030         (libc_feupdateenv_53bit): Likewise.
39031         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39032         (libc_feholdexcept): Convert from macro to inline function.
39033         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39034         (libc_fesetenv, libc_feupdateenv): Likewise.
39035
39036         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39037         not previously defined.
39038         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39039         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39040         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39041         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39042         * sysdeps/ieee754/flt-32/math_private.h: New file.
39043         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39044         math_private.h below SET_FLOAT_WORD.
39045         (__isnan, __isinf_ns, __finite): Remove.
39046         (__isnanf, __isinf_nsf, __finitef): Remove.
39047
39048 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39049
39050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39051
39052 2012-03-17  David S. Miller  <davem@davemloft.net>
39053
39054         [BZ #6471]
39055         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39056         for 2.16.
39057
39058 2012-03-16  David S. Miller  <davem@davemloft.net>
39059
39060         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39061         warnings.
39062
39063         [BZ #6471]
39064         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39065         properly.
39066         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39067         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39068         sysdep_routines when subdir is sysvipc.
39069         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39070         __getshmlba helper.
39071
39072         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39073
39074 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39075
39076         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39077         [__LP64__].
39078
39079 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39080
39081         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39082         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39083         (__lround): Renamed to ...
39084         (__llround): This.  Replace long int with long long int.
39085         Define lround functions as aliases of llround functions.
39086         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39087
39088 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39089
39090         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39091         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39092         adresses to uintptr_t.  Replace "long int" and "unsigned long
39093         int" with "greg_t" on va_arg.
39094
39095 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39096
39097         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39098         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39099
39100         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39101         Move e_machine check before EI_CLASS check.  Handle x32
39102         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39103         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39104         SKIP_EM_IA_64 and include
39105         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39106
39107         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39108         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39109         (add_system_dir): New macro.
39110
39111         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39112         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39113
39114 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39115
39116         [BZ #2551]
39117         [BZ #2552]
39118         [BZ #2553]
39119         [BZ #2554]
39120         [BZ #2562]
39121         [BZ #2563]
39122         [BZ #2565]
39123         [BZ #2566]
39124         [BZ #2576]
39125         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39126         (y0): Likewise.
39127         * math/w_j0f.c (j0f): Likewise.
39128         (y0f): Likewise.
39129         * math/w_j0l.c (__j0l): Likewise.
39130         (__y0l): Likewise.
39131         * math/w_j1.c (j1): Likewise.
39132         (y1): Likewise.
39133         * math/w_j1f.c (j1f): Likewise.
39134         (y1f): Likewise.
39135         * math/w_j1l.c (__j1l): Likewise.
39136         (__y1l): Likewise.
39137         * math/w_jn.c (jn): Likewise.
39138         (yn): Likewise.
39139         * math/w_jnf.c (jnf): Likewise.
39140         (ynf): Likewise.
39141         * math/w_jnl.c (__jnl): Likewise.
39142         (__ynl): Likewise.
39143         * math/libm-test.inc (j0_test): Add more tests.
39144         (j1_test): Likewise.
39145         (jn_test): Likewise.  Add trailing semicolon to existing test.
39146         (y0_test): Likewise.
39147         (y1_test): Likewise.
39148         * sysdeps/i386/fpu/libm-test-ulps: Update.
39149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39150
39151         [BZ #13851]
39152         [BZ #13854]
39153         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39154         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39155         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39156         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39157         (__tanl): Set errno for infinite argument.
39158         * sysdeps/i386/fpu/mptan.c: Remove.
39159         * sysdeps/i386/fpu/s_tan.S: Likewise.
39160         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39161         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39162         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39163         * math/libm-test.inc (tan_test): Add more tests and enable more
39164         tests for double and long double.
39165         * sysdeps/i386/fpu/libm-test-ulps: Update.
39166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39167
39168 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39169
39170         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39171         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39172
39173 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39174
39175         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39176         * configure.in: Use it for both main tree and add-ons.
39177         * configure: Regenerated.
39178
39179 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39180
39181         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39182
39183 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39184
39185         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39186         in comment.
39187
39188         [BZ #13851]
39189         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39190         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39191         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39192         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39193         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39194         infinite argument.
39195         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39196         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39197         != 0 for prec == 2.
39198         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39199         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39200         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39201         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39202         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39203         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39204         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39205         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39206         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39207         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39208         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39209         * math/libm-test.inc (cos_test): Add more tests and enable more
39210         tests for long double.
39211         (sin_test): Likewise.
39212         (sincos_test): Likewise.
39213         * sysdeps/i386/fpu/libm-test-ulps: Update.
39214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39215
39216 2012-03-16  David S. Miller  <davem@davemloft.net>
39217
39218         * sysdeps/sparc/fpu/math_private.h: New file.
39219
39220 2012-03-15  David S. Miller  <davem@davemloft.net>
39221
39222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39223         file.
39224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39226         file.
39227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39232         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39233         sysdep routines.
39234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39235
39236         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39237         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39238
39239         * sysdeps/sparc/sparc-ifunc.h: New file.
39240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39241         sparc-ifunc.h
39242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39244         Likewise.
39245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39246         Likewise.
39247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39251         Likewise.
39252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39257         Likewise.
39258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39259         Likewise.
39260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39266         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39267         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39279         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39281         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39282         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39284
39285 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39286
39287         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39288         scaling.
39289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39290
39291 2012-03-15  Andreas Jaeger  <aj@suse.de>
39292
39293         [BZ #13852]
39294         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39295         ieee754/flt-32 implementation for sin, cos and sincos.
39296         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39297         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39298         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39299         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39300         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39301         ieee754/flt-32 implementation for tan.
39302
39303         * math/libm-test.inc (cos_test): Enable some large input tests for
39304         float as well
39305         (sin_test): Likewise.
39306         (sincos_test): Likewise.
39307         (tan_test): Add tests for large input.
39308
39309         * sysdeps/i386/fpu/libm-test-ulps: Update.
39310
39311 2012-03-15  Andreas Jaeger  <aj@suse.de>
39312
39313         [BZ #13658]
39314         * math/libm-test.inc (cos_test): Add more test cases.
39315         (sin_test): Likewise.
39316         (sincos_test): Likewise.
39317
39318 2012-03-15  Andreas Jaeger  <aj@suse.de>
39319
39320         [BZ #13837]
39321         * math/libm-test.inc (cos_test): Add a test case for large input
39322         value.
39323         (sin_test): Likewise.
39324         (sincos_test): Likewise.
39325
39326 2012-03-15  Andreas Jaeger  <aj@suse.de>
39327             Joseph Myers  <joseph@codesourcery.com>
39328
39329         [BZ #13658]
39330         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39331         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39332         * sysdeps/i386/fpu/branred.c: Likewise.
39333         * sysdeps/i386/fpu/dosincos.c: Likewise.
39334         * sysdeps/i386/fpu/mpa.c: Likewise.
39335         * sysdeps/i386/fpu/s_cos.S: Likewise.
39336         * sysdeps/i386/fpu/s_sin.S: Likewise.
39337         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39338         * sysdeps/i386/fpu/sincos32.c: Likewise.
39339
39340         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39341         Define.
39342         (libc_feupdateenv_53bit): Define.
39343         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39344         Define.
39345         (libc_feupdateenv_53bit): Define.
39346
39347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39348         53 bit (without extend i386 double precision).
39349
39350         * math/libm-test.inc (sincos_test): Add tests for large input.
39351         (sin): Likewise.
39352         (cos): Likewise.
39353
39354         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39355
39356 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39357
39358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39359
39360 2012-03-15  David S. Miller  <davem@davemloft.net>
39361
39362         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39363         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39364         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39365         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39378         file.
39379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39381         file.
39382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39384         file.
39385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39387         file.
39388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39389         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39390         fmin/fmax sysdep routines.
39391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39392
39393 2012-03-14  David S. Miller  <davem@davemloft.net>
39394
39395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39399         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39400         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39401         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39402         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39403         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39410         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39415         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39416         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39417         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39418         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39419         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39420         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39421         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39422         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39424         routines.
39425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39426         file.
39427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39429         file.
39430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39432         file.
39433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39435         file.
39436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39438         file.
39439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39441         file.
39442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39443         file.
39444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39445         file.
39446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39447         file.
39448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39449         New file.
39450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39451         file.
39452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39453         file.
39454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39456         file.
39457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39459         file.
39460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39462         file.
39463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39465         VIS3 routines.
39466
39467         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39468         New file.
39469
39470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39471
39472         * sysdeps/sparc/configure.in: New file.
39473         * sysdeps/sparc/configure: Generate.
39474         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39475         * configure: Regenerate.
39476         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39477         * config.make.in (have-as-vis3): New.
39478         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39479         available use -Av9d instead of -Av9a.
39480         * sysdeps/sparc/sparc64/Makefile: Likewise.
39481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39483         New file.
39484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39485         file.
39486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39487         New file.
39488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39489         file.
39490         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39491         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39492         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39493         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39494         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39495
39496         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39497         fzeros/fnegs to load 0x80000000 into a float register instead of
39498         using the stack.
39499         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39500
39501 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39502
39503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39504         bits/syscall.h.
39505         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39506         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39507         ($(inst_includedir)/bits/syscall.h): Remove rule.
39508         ($(objpfx)bits/syscall.d): Include instead of
39509         $(objpfx)syscall-list.d.
39510         (generated): Change syscall-list.h and syscall-list.d to
39511         bits/syscall.h and bits/syscall.d.
39512
39513 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39514
39515         [BZ #13846]
39516         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39517
39518 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39519
39520         [BZ #13841]
39521         * math/s_csqrt.c: Include <float.h>.
39522         (__csqrt): Scale large or subnormal inputs.
39523         * math/s_csqrtf.c: Likewise.
39524         * math/s_csqrtl.c: Likewise.
39525         * math/libm-test.inc (csqrt_test): Add more tests.
39526         * sysdeps/i386/fpu/libm-test-ulps: Update.
39527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39528
39529         [BZ #13840]
39530         * math/libm-test.inc (hypot_test): Add more tests.
39531
39532 2012-03-13  David S. Miller  <davem@davemloft.net>
39533
39534         [BZ #13840]
39535         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39536         double-precision for the calculation instead of scaling.
39537
39538 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39539
39540         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39541         manipulate bits before adding and subtracting TWO52[sx].
39542         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39543         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39544         Likewise.
39545         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39546
39547 2012-03-13  David S. Miller  <davem@davemloft.net>
39548
39549         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39550         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39552         rtld-global-offsets.h
39553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39554
39555         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39556         large parameters.
39557
39558         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39559
39560         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39561         'err' in the ifdef scope in which it is actually used.
39562
39563         * nss/nss_db/db-init.c: Include string.h
39564
39565 2012-03-12  David S. Miller  <davem@davemloft.net>
39566
39567         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39568         masking out of the most significant byte of random value used.
39569         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39570         Fix coding style in previous change.
39571
39572         * sysdeps/unix/sysv/linux/kernel-features.h
39573         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39574         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39575         expression.
39576         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39577         later.
39578
39579 2012-03-11  David S. Miller  <davem@davemloft.net>
39580
39581         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39582         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39583         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39584         for 'resultvar' otherwise things get truncated on 64-bit.
39585
39586         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39587         Fix masking out of the most significant byte of random value used.
39588
39589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39590
39591 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39592
39593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39594
39595 2012-03-09  David S. Miller  <davem@davemloft.net>
39596
39597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39598         variables with appropriate CPP guards.
39599         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39600         from the frame pointer, not the stack pointer.  Correct layout
39601         comments.  Fix test on resulting framesize and the management of
39602         the outregs buffer for pltexit.  Preserve floating point return
39603         values across _dl_call_pltexit call.
39604         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39605         framesize and the management of the outregs buffer for pltexit.
39606         Preserve floating point return values across _dl_call_pltexit
39607         call.
39608         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39609         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39610         (la_sparc64_gnu_pltexit): New functions.
39611         (print_exit): Fix format string for return register value.
39612
39613 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39614
39615         * sunrpc/Makefile (others): Add rpcgen.
39616         ($(objpfx)rpcgen): Remove special build rule and dependency on
39617         libc.
39618         * sunrpc/rpcgen.c: New file.
39619
39620 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39621
39622         [BZ #13673]
39623         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39624         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39625         * sysdeps/i386/crti.S: Likewise.
39626         * sysdeps/i386/crtn.S: Likewise.
39627         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39628         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39629         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39630         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39631         * sysdeps/sh/crti.S: Likewise.
39632         * sysdeps/sh/crtn.S: Likewise.
39633         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39634
39635         [BZ #13673]
39636         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39637         with URL.
39638         * locale/programs/locfile-kw.gperf: Likewise.
39639         * locale/programs/charmap-kw.h: Regenerated.
39640         * locale/programs/locfile-kw.h: Likewise.
39641
39642         [BZ #13673]
39643         * intl/plural.y: Replace FSF snail mail address with URL.
39644         * intl/plural.c: Regenerated.
39645
39646 2012-03-09  Richard Henderson  <rth@twiddle.net>
39647
39648         * include/math_private.h: Remove file.
39649         * math/math_private.h: Move file ...
39650         * sysdeps/generic/math_private.h: ... here.
39651
39652         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39653         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39654         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39655
39656         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39657         and <math_private.h>.
39658         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39659         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39660         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39661         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39662         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39663         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39664         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39665         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39666         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39667         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39669         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39670         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39671         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39672         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39673         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39674         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39675         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39676         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39677         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39678         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39679         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39680         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39682         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39683         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39684         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39685         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39686         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39687         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39688         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39689         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39690         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39691         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39692         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39693         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39694         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39695         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39696         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39697         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39698         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39699         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39700         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39701         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39702         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39703         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39704         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39705         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39706         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39707         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39708         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39709         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39710         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39711         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39712         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39713         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39714         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39715         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39716         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39717         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39718         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39719         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39721         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39722         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39723         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39724         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39725         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39726         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39727         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39728         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39729         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39730         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39731         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39732         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39733         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39735         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39737         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39738         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39739         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39740         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39741         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39742         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39743         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39744         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39745         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39746         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39747         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39748         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39749         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39750         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39751         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39752         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39753         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39754         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39755         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39756         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39757         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39758         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39759         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39760         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39761         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39762         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39763         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39764         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39765         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39766         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39767         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39768         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39769         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39770         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39771         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39772         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39773         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39774         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39775         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39776         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39777         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39778         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39779         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39780         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39781         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39782         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39783         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39784         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39785         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39786         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39787         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39788         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39789         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39790         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39791         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39792         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39793         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39794         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39795         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39796         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39797         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39798         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39799         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39800         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39801         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39802         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39803         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39804         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39805         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39806         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39807         * sysdeps/ieee754/k_standard.c: Likewise.
39808         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39809         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39810         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39811         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39812         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39813         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39814         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39815         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39816         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39817         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39818         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39819         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39820         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39821         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39822         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39823         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39824         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39825         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39826         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39827         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39828         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39829         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39830         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39831         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39832         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39833         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39834         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39835         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39836         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39837         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39838         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39839         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39840         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39841         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39842         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39843         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39844         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39845         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39846         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39847         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39848         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39849         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39850         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39851         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39852         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39853         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39854         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39855         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39856         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39857         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39858         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39859         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39860         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39861         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39862         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39863         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39864         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39865         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39866         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39867         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39868         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39869         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39870         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39871         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39872         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39873         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39874         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39875         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39876         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39877         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39878         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39880         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39881         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39882         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39883         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39884         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39885         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39887         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39888         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39889         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39890         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39891         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39892         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39893         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39894         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39895         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39896         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39897         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39898         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39899         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39900         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39901         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39902         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39903         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39904         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39905         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39906         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39907         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39908         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39909         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39910         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39911         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39912         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39913         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39914         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39915         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39916         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39917         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39918         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39919         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39920         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39921         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39922         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39923         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39924         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39925         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39926         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39927         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39928         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39929         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39930         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39931         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39932         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39933         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39934         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39935         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39936         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39937         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39938         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39939         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39940         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39941         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39942         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39943         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39944         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39945         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39946         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39947         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39948         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39949         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39950         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39951         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39952         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39953         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39954         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39955         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39956         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39957         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39958         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39959         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39960         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39961         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39962         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39963         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39964         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39965         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39966         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39967         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39968         * sysdeps/ieee754/s_lib_version.c: Likewise.
39969         * sysdeps/ieee754/s_matherr.c: Likewise.
39970         * sysdeps/ieee754/s_signgam.c: Likewise.
39971         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39972         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39973         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39974         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39975         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39976         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39977         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39978         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39979         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39980         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39981         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39982         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39983         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39984         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39985         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39986         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39987         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39988         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39989         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39992
39993 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39994
39995         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39996         * sunrpc/rpc_main.c: Likewise.
39997         * sunrpc/rpc_svcout.c: Likewise.
39998
39999 2012-03-09  David S. Miller  <davem@davemloft.net>
40000
40001         * include/math_private.h: New file.
40002
40003 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40004
40005         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40006         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40007         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40008         from <bits/socket_type.h>.
40009         (enum __socket_type): Don't define here.
40010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40012         bits/socket_type.h.
40013
40014         [BZ #13566]
40015         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40016         checking __USE_GNU.
40017
40018         * Makerules ($(inst_includedir)/%.h): New rule.
40019         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40020         (install-others): Remove variable setting.
40021         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40022
40023 2012-03-08  Richard Henderson  <rth@twiddle.net>
40024
40025         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40026         from macro to inline function; merge with the
40027         !__LIBC_INTERNAL_MATH_INLINES version.
40028         (__ieee754_sqrtf): Likewise.
40029
40030         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40031         to inline function.
40032         (__rintf, __floor, __floorf): Likewise.
40033
40034         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40035         macro to inline function.
40036         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40037
40038         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40039         not <math/math_private.h>.
40040
40041 2012-03-08  David S. Miller  <davem@davemloft.net>
40042
40043         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40044         copyright year.
40045         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40046
40047 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40048
40049         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40050         normalization.
40051         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40052         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40053
40054 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40055
40056         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40057         be defined individually, they must be defined as a block.  Define
40058         S for printing a string instead of hidint the different by using a
40059         macro for adding the 'l'.
40060         * stdio-common/tst-fphex-wide.c: Adjust.
40061
40062 2012-03-07  Marek Polacek  <polacek@redhat.com>
40063
40064         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40065
40066 2012-03-08  Marek Polacek  <polacek@redhat.com>
40067
40068         [BZ #13806]
40069         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40070         * stdio-common/tst-fphex.c: Define a few macros to make the
40071         test reusable.  Use them.
40072         * stdio-common/tst-fphex-wide.c: New file.
40073
40074 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40075
40076         [BZ #6911]
40077         * manual/macros.texi (gnusystems): New macro.
40078         (nongnusystems): Likewise.
40079         (gnulinuxhurdsystems): Likewise.
40080         (gnuhurdsystems): Likewise..
40081         (gnulinuxsystems): Likewise.
40082         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40083         variants of the GNU system, not "GNU system".
40084         * manual/conf.texi: Likewise.
40085         * manual/errno.texi: Likewise.  Update example of errno macro
40086         expansion.
40087         * manual/filesys.texi: Likewise.
40088         (getumask): Document as specific to GNU/Hurd.
40089         * manual/install.texi: Likewise.  Reword some references to
40090         GNU/Linux.
40091         * manual/intro.texi: Likewise.
40092         * manual/io.texi: Likewise.
40093         (File Name Portability): Detail which constraints are inapplicable
40094         to all GNU systems and which are only inapplicable to GNU/Hurd.
40095         * manual/job.texi: Likewise.
40096         * manual/llio.texi: Likewise.
40097         (O_NOCTTY): Document as present on GNU/Linux.
40098         * manual/maint.texi: Likewise.
40099         * manual/memory.texi: Likewise.
40100         * manual/pattern.texi: Likewise.
40101         * manual/pipe.texi: Likewise.
40102         * manual/process.texi: Likewise.
40103         * manual/resource.texi: Likewise.
40104         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40105         child on GNU/Hurd.
40106         * manual/setjmp.texi: Likewise.
40107         * manual/signal.texi: Likewise.
40108         * manual/startup.texi: Likewise.
40109         * manual/stdio.texi: Likewise.
40110         * manual/terminal.texi: Likewise.
40111         (ONLCR): Document as POSIX.
40112         (OXTABS): Document availability on GNU/Linux as XTABS.
40113         (ONOEOT): Document availability separately from other bits.
40114         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40115         * manual/time.texi: Likewise.
40116         * manual/users.texi: Likewise.
40117         * INSTALL: Regenerated.
40118         * sysdeps/gnu/errlist.c: Regenerated.
40119
40120         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40121         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40122         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40123         puts.
40124         * configure: Regenerated.
40125
40126 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40127
40128         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40129         default includes instead of AC_HEADER_CHECK.
40130         * sysdeps/i386/configure: Regenerated.
40131
40132         [BZ #10716]
40133         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40134         * math/s_cacoshf.c (__cacoshf): Likewise.
40135         * math/s_cacoshl.c (__cacoshl): Likewise.
40136         * math/s_casinh.c (__casinh): Set signs of result from argument.
40137         * math/s_casinhf.c (__casinhf): Likewise.
40138         * math/s_casinhl.c (__casinhl): Likewise.
40139         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40140         (casinh_test): Add more tests.
40141         * sysdeps/i386/fpu/libm-test-ulps: Update.
40142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40143
40144 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40145
40146         * po/zh_TW.po: Update from translation team.
40147
40148         * login/Makefile (distribute): Remove variable.
40149         * catgets/Makefile: Likewise.
40150         * mach/Makefile: Likewise.
40151         * malloc/Makefile: Likewise.
40152         * misc/Makefile: Likewise.
40153         * iconv/Makefile: Likewise.
40154         * nscd/Makefile: Likewise.
40155         * hurd/Makefile: Likewise.
40156         * manual/Makefile: Likewise.
40157         * locale/Makefile: Likewise.
40158         * intl/Makefile: Likewise.
40159         * conform/Makefile: Likewise.
40160         * nss/Makefile: Likewise.
40161         * time/Makefile: Likewise.
40162         * soft-fp/Makefile: Likewise.
40163         * dirent/Makefile: Likewise.
40164         * gmon/Makefile: Likewise.
40165         * po/Makefile: Likewise.
40166         * rt/Makefile: Likewise.
40167         * socket/Makefile: Likewise.
40168         * math/Makefile: Likewise.
40169         * signal/Makefile: Likewise.
40170         * debug/Makefile: Likewise.
40171         * elf/Makefile: Likewise.
40172         * timezone/Makefile: Likewise.
40173         * stdlib/Makefile: Likewise.
40174         * iconvdata/Makefile: Likewise.
40175         * sunrpc/Makefile: Likewise.
40176         * io/Makefile: Likewise.
40177         * argp/Makefile: Likewise.
40178         * inet/Makefile: Likewise.
40179         * hesiod/Makefile: Likewise.
40180         * grp/Makefile: Likewise.
40181         * csu/Makefile: Likewise.
40182         * wctype/Makefile: Likewise.
40183         * crypt/Makefile: Likewise.
40184         * libio/Makefile: Likewise.
40185         * string/Makefile: Likewise.
40186         * nis/Makefile: Likewise.
40187         * resolv/Makefile: Likewise.
40188         * stdio-common/Makefile: Likewise.
40189         * wcsmbs/Makefile: Likewise.
40190         * dlfcn/Makefile: Likewise.
40191         * posix/Makefile: Likewise.
40192
40193         [BZ #6959]
40194         * timezone/Makefile: Don't install timezone files, just the programs
40195         and scripts.
40196
40197 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40198
40199         * nss/databases.def: Add missing gshadow entry.
40200
40201         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40202
40203 2012-03-06  Marek Polacek  <polacek@redhat.com>
40204
40205         [BZ #13726]
40206         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40207         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40208         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40209         * stdio-common/tst-long-dbl-fphex.c: New file.
40210
40211 2012-03-06  David S. Miller  <davem@davemloft.net>
40212
40213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40214         (set_obp_int): New function.
40215         (get_obp_int): New function.
40216         (__get_clockfreq_via_dev_openprom): Likewise.
40217         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40218         Avoid unused variable warnings on 'val' and use builtin_expect.
40219         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40220         __builtin_expect.
40221         (INLINE_CLONE_SYSCALL): Likewise.
40222
40223 2012-03-05  David S. Miller  <davem@davemloft.net>
40224
40225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40226
40227 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40228
40229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40230
40231         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40232         only for |x| >= 40.
40233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40234
40235 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40236
40237         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40238         Replace gettimeofday with __vdso_gettimeofday.
40239
40240         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40241         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40242         __vdso_clock_gettime and __vdso_getcpu.
40243
40244         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40245         time with __vdso_time.
40246
40247 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40248
40249         * manual/lang.texi (size_t): Note types to which size_t may be
40250         equivalent with the GNU C Library, but do not describe when
40251         differences between them are significant.
40252
40253 2012-03-05  Andreas Jaeger  <aj@suse.de>
40254
40255         * sysdeps/i386/fpu/libm-test-ulps: Update.
40256
40257 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40258
40259         [BZ #3976]
40260         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40261         (__ieee754_pow): Save and restore rounding mode and use
40262         round-to-nearest for main computations.
40263         * math/libm-test.inc (pow_test_tonearest): New function.
40264         (pow_test_towardzero): Likewise.
40265         (pow_test_downward): Likewise.
40266         (pow_test_upward): Likewise.
40267         (main): Call the new functions.
40268         * sysdeps/i386/fpu/libm-test-ulps: Update.
40269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40270
40271         [BZ #3976]
40272         * math/libm-test.inc (cosh_test_tonearest): New function.
40273         (cosh_test_towardzero): Likewise.
40274         (cosh_test_downward): Likewise.
40275         (cosh_test_upward): Likewise.
40276         (sinh_test_tonearest): Likewise.
40277         (sinh_test_towardzero): Likewise.
40278         (sinh_test_downward): Likewise.
40279         (sinh_test_upward): Likewise.
40280         (main): Call the new functions.
40281         * sysdeps/i386/fpu/libm-test-ulps: Update.
40282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40283
40284 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40285
40286         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40287         default stack guard is set in last bytes.
40288         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40289
40290 2012-03-05  Kees Cook  <keescook@chromium.org>
40291
40292         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40293
40294         [BZ #13656]
40295         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40296         possibly allocate from heap instead of stack.
40297         * stdio-common/bug-vfprintf-nargs.c: New file.
40298         * stdio-common/Makefile (tests): Add nargs overflow test.
40299
40300 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40301
40302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40303
40304 2012-03-03  Marek Polacek  <polacek@redhat.com>
40305
40306         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40307         * math/math_private.h: Likewise.
40308         * stdlib/tst-strtod.c: Likewise.
40309         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40310         * sysdeps/x86_64/bits/atomic.h: Likewise.
40311
40312 2012-03-02  David S. Miller  <davem@davemloft.net>
40313
40314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40318         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40319         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40320         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40321         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40322
40323 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40324
40325         [BZ #13792]
40326         * manual/examples/README: New file, says the example source files
40327         can be used under GPL>=2.
40328         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40329         line containing just "*/".
40330         * manual/examples/add.c: Add copyright header (GPL>=2).
40331         * manual/examples/argp-ex1.c: Likewise.
40332         * manual/examples/argp-ex2.c: Likewise.
40333         * manual/examples/argp-ex3.c: Likewise.
40334         * manual/examples/argp-ex4.c: Likewise.
40335         * manual/examples/atexit.c: Likewise.
40336         * manual/examples/db.c: Likewise.
40337         * manual/examples/dir.c: Likewise.
40338         * manual/examples/dir2.c: Likewise.
40339         * manual/examples/execinfo.c: Likewise.
40340         * manual/examples/filecli.c: Likewise.
40341         * manual/examples/filesrv.c: Likewise.
40342         * manual/examples/fmtmsgexpl.c: Likewise.
40343         * manual/examples/genpass.c: Likewise.
40344         * manual/examples/inetcli.c: Likewise.
40345         * manual/examples/inetsrv.c: Likewise.
40346         * manual/examples/isockad.c: Likewise.
40347         * manual/examples/longopt.c: Likewise.
40348         * manual/examples/memopen.c: Likewise.
40349         * manual/examples/memstrm.c: Likewise.
40350         * manual/examples/mkfsock.c: Likewise.
40351         * manual/examples/mkisock.c: Likewise.
40352         * manual/examples/mygetpass.c: Likewise.
40353         * manual/examples/pipe.c: Likewise.
40354         * manual/examples/popen.c: Likewise.
40355         * manual/examples/rprintf.c: Likewise.
40356         * manual/examples/search.c: Likewise.
40357         * manual/examples/select.c: Likewise.
40358         * manual/examples/setjmp.c: Likewise.
40359         * manual/examples/sigh1.c: Likewise.
40360         * manual/examples/sigusr.c: Likewise.
40361         * manual/examples/stpcpy.c: Likewise.
40362         * manual/examples/strdupa.c: Likewise.
40363         * manual/examples/strftim.c: Likewise.
40364         * manual/examples/strncat.c: Likewise.
40365         * manual/examples/subopt.c: Likewise.
40366         * manual/examples/swapcontext.c: Likewise.
40367         * manual/examples/termios.c: Likewise.
40368         * manual/examples/testopt.c: Likewise.
40369         * manual/examples/testpass.c: Likewise.
40370         * manual/examples/timeval_subtract.c: Likewise.
40371
40372         [BZ #13792]
40373         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40374         function to ...
40375         * manual/timeval_subtract.c.texi: ... here, new file.
40376
40377 2012-03-02  David S. Miller  <davem@davemloft.net>
40378
40379         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40380
40381 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40382
40383         [BZ #3976]
40384         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40385         (__sin): Save and restore rounding mode and use round-to-nearest
40386         for all computations.
40387         (__cos): Save and restore rounding mode and use round-to-nearest
40388         for all computations.
40389         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40390         <fenv.h>.
40391         (tan): Save and restore rounding mode and use round-to-nearest for
40392         all computations.
40393         * math/libm-test.inc (cos_test_tonearest): New function.
40394         (cos_test_towardzero): Likewise.
40395         (cos_test_downward): Likewise.
40396         (cos_test_upward): Likewise.
40397         (sin_test_tonearest): Likewise.
40398         (sin_test_towardzero): Likewise.
40399         (sin_test_downward): Likewise.
40400         (sin_test_upward): Likewise.
40401         (tan_test_tonearest): Likewise.
40402         (tan_test_towardzero): Likewise.
40403         (tan_test_downward): Likewise.
40404         (tan_test_upward): Likewise.
40405         (main): Call the new functions.
40406         * sysdeps/i386/fpu/libm-test-ulps: Update.
40407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40408
40409         [BZ #10135]
40410         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40411         small n, then large n, before computing and testing k+n.
40412         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40413         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40414         Likewise.
40415         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40416         Likewise.
40417         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40418         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40419         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40420         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40421         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40422         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40423         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40424         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40425         * math/libm-test.inc (scalbn_test): Add more tests.
40426         (scalbln_test): Likewise.
40427
40428         * manual/filesys.texi (mode_t): Describe constraints on size and
40429         signedness, not exact equivalence to a particular type.
40430         (ino_t): Likewise.
40431         (ino64_t): Likewise.
40432         (dev_t): Likewise.
40433         (nlink_t): Likewise.
40434         (blkcnt_t): Likewise.
40435         (blkcnt64_t): Likewise.
40436         * manual/llio.texi (off_t): Likewise.
40437
40438         [BZ #3976]
40439         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40440         (__ieee754_exp): Save and restore rounding mode and use
40441         round-to-nearest for all computations.
40442         * math/libm-test.inc (exp_test_tonearest): New function.
40443         (exp_test_towardzero): Likewise.
40444         (exp_test_downward): Likewise.
40445         (exp_test_upward): Likewise.
40446         (main): Call the new functions.
40447         * sysdeps/i386/fpu/libm-test-ulps: Update.
40448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40449
40450 2012-03-01  Chris Demetriou  <cgd@google.com>
40451
40452         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40453         have predictable order.
40454
40455 2012-03-01  David S. Miller  <davem@davemloft.net>
40456
40457         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40458
40459         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40460         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40461         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40462         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40463
40464         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40465         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40466         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40468         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40469         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40470         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40471         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40472         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40473
40474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40475
40476         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40477         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40478         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40479
40480         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40481         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40482         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40483         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40484         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40485         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40486         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40487         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40488         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40489         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40490         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40491         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40493         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40494         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40496         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40497         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40498         * sysdeps/sparc/elf/configure: Regenerated.
40499
40500 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40501
40502         * configure.in (AS, LD): Require binutils 2.20 or later.
40503         * configure: Regenerated.
40504         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40505         as required minimum version.
40506         * INSTALL: Regenerated.
40507
40508         [BZ #2541]
40509         [BZ #4108]
40510         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40511         before squaring exponent.
40512         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40513         bottom long double and 27 bits of top long double before squaring
40514         exponent.
40515         * math/libm-test.inc (erfc_test): Add more tests.
40516         * sysdeps/i386/fpu/libm-test-ulps: Update.
40517         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40519
40520 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40521
40522         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40523         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40524         containing bit-fields.
40525         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40526         * soft-fp/single.h (_FP_UNION_S): Likewise.
40527         * soft-fp/double.h (_FP_UNION_D): Likewise.
40528
40529 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40530
40531         [BZ #13786]
40532         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40533         not include ../strcmp.S.
40534         [USE_AS_STRNCASECMP_L]: Likewise.
40535         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40536         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40537         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40538         (__strncasecmp_l_ia32): Define as alias to
40539         __strncasecmp_l_nonascii.
40540
40541         [BZ #5794]
40542         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40543         * sysdeps/i386/fpu/libm-test-ulps: Update.
40544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40545
40546         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40548
40549 2012-02-29  Jeff Law  <law@redhat.com>
40550
40551         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40552         out of bounds read.
40553
40554 2012-02-29  Marek Polacek  <polacek@redhat.com>
40555
40556         [BZ #13706]
40557         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40558         * elf/Makefile: Add rules to run tst-unused-dep.out.
40559
40560 2012-02-28  David S. Miller  <davem@davemloft.net>
40561
40562         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40563         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40564         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40565         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40566         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40567         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40568
40569 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40570
40571         * math/libm-test.inc (llround_test): Move one test from
40572         lround_test.  Use TEST_f_L in moved test.
40573         (lround_test): Move misplaced test to llround_test.  Add testcase
40574         from bug 2561.
40575
40576 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40577
40578         * sysdeps/x86_64/fpu/e_expf.S: New file.
40579         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40580
40581 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40582
40583         [BZ #13637]
40584         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40585         of remain_len that may cause incomplete multi-byte character and
40586         false match.
40587         * posix/bug-regex33.c: New file.
40588         * posix/Makefile (tests): Add bug-regex33.
40589
40590 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40591
40592         * manual/macros.texi: New file.
40593         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40594         * manual/libc.texinfo: Include macros.texi.
40595         * manual/creatute.texi: Likewise.
40596         * manual/install.texi: Likewise.
40597         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40598         @glibcadj{} in references to the GNU C Library.
40599         * manual/charset.texi: Likewise.
40600         * manual/conf.texi: Likewise.
40601         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40602         when not using those macros.
40603         * manual/creature.texi: Likewise.
40604         * manual/crypt.texi: Likewise.
40605         * manual/errno.texi: Likewise.
40606         * manual/filesys.texi: Likewise.
40607         * manual/header.texi: Likewise.
40608         * manual/install.texi: Likewise.
40609         * manual/intro.texi: Likewise.
40610         * manual/io.texi: Likewise.
40611         * manual/job.texi: Likewise.
40612         * manual/lang.texi: Likewise.
40613         * manual/libc.texiinfo: Likewise.
40614         * manual/llio.texi: Likewise.
40615         * manual/locale.texi: Likewise.
40616         * manual/maint.texi: Likewise.
40617         * manual/math.texi: Likewise.
40618         * manual/memory.texi: Likewise.
40619         * manual/message.texi: Likewise.
40620         * manual/nss.texi: Likewise.
40621         * manual/pattern.texi: Likewise.
40622         * manual/process.texi: Likewise.
40623         * manual/resource.texi: Likewise.
40624         * manual/search.texi: Likewise.
40625         * manual/setjmp.texi: Likewise.
40626         * manual/signal.texi: Likewise.
40627         * manual/socket.texi: Likewise.
40628         * manual/startup.texi: Likewise.
40629         * manual/stdio.texi: Likewise.
40630         * manual/string.texi: Likewise.
40631         * manual/sysinfo.texi: Likewise.
40632         * manual/syslog.texi: Likewise.
40633         * manual/terminal.texi: Likewise.
40634         * manual/time.texi: Likewise.
40635         * manual/users.texi: Likewise.
40636         * INSTALL: Regenerated.
40637         * NOTES: Regenerated.
40638         * sysdeps/gnu/errlist.c: Regenerated.
40639
40640 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40641
40642         * include/dirent.h: Include <dirstream.h> before
40643         <dirent/dirent.h>.
40644
40645 2012-02-28  David S. Miller  <davem@davemloft.net>
40646
40647         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40648         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40649         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40650         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40651
40652 2012-02-27  David S. Miller  <davem@davemloft.net>
40653
40654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40656         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40657         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40658
40659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40660         frame pointer instead of stack pointer relative arg slot.
40661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40662         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40663         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40664
40665 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40666
40667         [BZ #3992]
40668         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40669
40670 2012-02-27  David S. Miller  <davem@davemloft.net>
40671
40672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40676         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40677         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40678         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40679         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40680
40681 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40682
40683         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40684         later.  Allow versions 5-9.
40685         * configure: Regenerated.
40686         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40687         required minimum version and 4.6 as recommended version.  Do not
40688         mention bugs in GCC 2.7 and 2.8.
40689         * INSTALL: Regenerated.
40690
40691 2012-02-27  David S. Miller  <davem@davemloft.net>
40692
40693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40697         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40698         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40699         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40700         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40701
40702         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40703         manipulate bits before adding and subtracting TWO112[sx].
40704         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40705
40706 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40707
40708         [BZ #13775]
40709         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40710         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40711         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40712         being in POSIX, because they are in 1003.1-2008.
40713
40714         * rt/tst-aio.c: Include <fcntl.h>.
40715         * rt/tst-aio7.c: Likewise.
40716         * rt/tst-aio64.c: Likewise.
40717
40718         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40719
40720 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40721
40722         * manual/install.texi (--with-headers): Describe headers as
40723         interface headers, not private headers.
40724         (Specific advice for GNU/Linux systems): Describe use of headers
40725         from "make headers_install", not private headers from older
40726         kernels.
40727         * INSTALL: Regenerated.
40728         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40729         Change to 2.6.19.
40730         * sysdeps/unix/sysv/linux/configure: Regenerated.
40731
40732         * manual/llio.texi (fclean): Remove documentation.
40733
40734         * manual/Makefile (libc-texi-generated): New variable.  Include
40735         version.texi.
40736         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40737         $(libc-texi-generated), not duplicated list of files.
40738         (version.texi, stamp-version): New rules.
40739         (realclean): Remove $(libc-texi-generated), not individual files
40740         from that list.  Do not remove dir-add.texinfo.
40741         * manual/libc.texinfo: Comment out uses of edition numbers and
40742         references to printed manual.  Remove last-updated dates.
40743         (EDITION): Comment out.
40744         (ISBN): Likewise.
40745         (VERSION, UPDATED): Remove.
40746         (version.texi): Include.
40747
40748 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40749
40750         * sysdeps/posix/spawni.c: Include <signal.h>.
40751         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40752         * sysdeps/pthread/aio_fsync.c: Likewise.
40753
40754 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40755
40756         * conform/Makefile (tests): Run only when not cross-compiling and
40757         when fast-check is not defined.
40758
40759         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40760         * conform/data/limits.h-data: Fixes for POSIX2008.
40761         * conform/run-conformtest.sh: Run all tests.
40762         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40763         headers.
40764         * include/bits/dlfcn.h: Likewise.
40765         * include/langinfo.h: Likewise.
40766         * include/monetary.h: Likewise.
40767         * include/sys/poll.h: Likewise.
40768
40769         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40770         for __USE_GNU.
40771         * posix/spawn.h: Define __need_sigset_t.
40772         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40773         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40774         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40775         to get sigevent_t only.
40776         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40777         only for __USE_GNU.
40778         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40779         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40780         process_vm_writev only for __USE_GNU.
40781         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40782
40783         * conform/Makefile: For now ignore errors from run-conformtest.
40784         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40785         POSIX to avoid namespace pollution.  Don't prepend headers.
40786         * conform/data/aio.h-data: Fixes for POSIX testing.
40787         * conform/data/fcntl.h-data: Likewise.
40788         * conform/data/glob.h-data: Likewise.
40789         * conform/data/grp.h-data: Likewise.
40790         * conform/data/pthread.h-data: Likewise.
40791         * conform/data/pwd.h-data: Likewise.
40792         * conform/data/signal.h-data: Likewise.
40793         * conform/data/spawn.h-data: Likewise.
40794         * conform/data/stdio.h-data: Likewise.
40795         * conform/data/stdlib.h-data: Likewise.
40796         * conform/data/stropts.h-data: Likewise.
40797         * conform/data/sys/mman.h-data: Likewise.
40798         * conform/data/sys/stat.h-data: Likewise.
40799         * conform/data/sys/types.h-data: Likewise.
40800         * conform/data/sys/wait.h-data: Likewise.
40801         * conform/data/time.h-data: Likewise.
40802         * conform/data/unistd.h-data: Likewise.
40803         * conform/data/utime.h-data: Likewise.
40804
40805         * io/sys/stat.h: fchmod was always in POSIX.
40806         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40807         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40808         * rt/aio.h: Define __need_timespec before including <time.h>.
40809         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40810         struct.  Add forward declaration of pthread_attr_t and use it in
40811         sigevent.
40812         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40813         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40814         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40815         always remove CLK_TCK definition.
40816
40817 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40818
40819         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40820
40821 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40822
40823         * conform/run-conformtest.sh: New file.
40824         * conform/Makefile: Run run-conformtest for tests.
40825         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40826         support.
40827
40828         * conform/data/uchar.h-data: New file.
40829         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40830         * conform/data/arpa/inet.h-data: Likewise.
40831         * conform/data/assert.h-data: Likewise.
40832         * conform/data/complex.h-data: Likewise.
40833         * conform/data/cpio.h-data: Likewise.
40834         * conform/data/ctype.h-data: Likewise.
40835         * conform/data/dirent.h-data: Likewise.
40836         * conform/data/dlfcn.h-data: Likewise.
40837         * conform/data/errno.h-data: Likewise.
40838         * conform/data/fcntl.h-data: Likewise.
40839         * conform/data/float.h-data: Likewise.
40840         * conform/data/fmtmsg.h-data: Likewise.
40841         * conform/data/fnmatch.h-data: Likewise.
40842         * conform/data/ftw.h-data: Likewise.
40843         * conform/data/glob.h-data: Likewise.
40844         * conform/data/grp.h-data: Likewise.
40845         * conform/data/iconv.h-data: Likewise.
40846         * conform/data/inttypes.h-data: Likewise.
40847         * conform/data/langinfo.h-data: Likewise.
40848         * conform/data/libgen.h-data: Likewise.
40849         * conform/data/limits.h-data: Likewise.
40850         * conform/data/locale.h-data: Likewise.
40851         * conform/data/math.h-data: Likewise.
40852         * conform/data/monetary.h-data: Likewise.
40853         * conform/data/mqueue.h-data: Likewise.
40854         * conform/data/ndbm.h-data: Likewise.
40855         * conform/data/net/if.h-data: Likewise.
40856         * conform/data/netdb.h-data: Likewise.
40857         * conform/data/netinet/in.h-data: Likewise.
40858         * conform/data/nl_types.h-data: Likewise.
40859         * conform/data/poll.h-data: Likewise.
40860         * conform/data/pthread.h-data: Likewise.
40861         * conform/data/pwd.h-data: Likewise.
40862         * conform/data/regex.h-data: Likewise.
40863         * conform/data/sched.h-data: Likewise.
40864         * conform/data/search.h-data: Likewise.
40865         * conform/data/semaphore.h-data: Likewise.
40866         * conform/data/setjmp.h-data: Likewise.
40867         * conform/data/signal.h-data: Likewise.
40868         * conform/data/spawn.h-data: Likewise.
40869         * conform/data/stdarg.h-data: Likewise.
40870         * conform/data/stdio.h-data: Likewise.
40871         * conform/data/stdlib.h-data: Likewise.
40872         * conform/data/string.h-data: Likewise.
40873         * conform/data/strings.h-data: Likewise.
40874         * conform/data/stropts.h-data: Likewise.
40875         * conform/data/sys/ipc.h-data: Likewise.
40876         * conform/data/sys/mman.h-data: Likewise.
40877         * conform/data/sys/msg.h-data: Likewise.
40878         * conform/data/sys/resource.h-data: Likewise.
40879         * conform/data/sys/select.h-data: Likewise.
40880         * conform/data/sys/sem.h-data: Likewise.
40881         * conform/data/sys/shm.h-data: Likewise.
40882         * conform/data/sys/socket.h-data: Likewise.
40883         * conform/data/sys/stat.h-data: Likewise.
40884         * conform/data/sys/statvfs.h-data: Likewise.
40885         * conform/data/sys/time.h-data: Likewise.
40886         * conform/data/sys/timeb.h-data: Likewise.
40887         * conform/data/sys/times.h-data: Likewise.
40888         * conform/data/sys/types.h-data: Likewise.
40889         * conform/data/sys/uio.h-data: Likewise.
40890         * conform/data/sys/un.h-data: Likewise.
40891         * conform/data/sys/utsname.h-data: Likewise.
40892         * conform/data/sys/wait.h-data: Likewise.
40893         * conform/data/syslog.h-data: Likewise.
40894         * conform/data/tar.h-data: Likewise.
40895         * conform/data/termios.h-data: Likewise.
40896         * conform/data/utime.h-data: Likewise.
40897         * conform/data/utmpx.h-data: Likewise.
40898         * conform/data/varargs.h-data: Likewise.
40899         * conform/data/wchar.h-data: Likewise.
40900         * conform/data/wctype.h-data: Likewise.
40901         * conform/data/wordexp.h-data: Likewise.
40902
40903         * include/stropts.h: New file.
40904         * include/uchar.h: New file.
40905         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40906         * include/assert.h: Likewise.
40907         * include/ctype.h: Likewise.
40908         * include/dirent.h: Likewise.
40909         * include/dlfcn.h: Likewise.
40910         * include/fcntl.h: Likewise.
40911         * include/fnmatch.h: Likewise.
40912         * include/glob.h: Likewise.
40913         * include/grp.h: Likewise.
40914         * include/libio.h: Likewise.
40915         * include/locale.h: Likewise.
40916         * include/math.h: Likewise.
40917         * include/net/if.h: Likewise.
40918         * include/netdb.h: Likewise.
40919         * include/netinet/in.h: Likewise.
40920         * include/pthread.h: Likewise.
40921         * include/pwd.h: Likewise.
40922         * include/regex.h: Likewise.
40923         * include/sched.h: Likewise.
40924         * include/search.h: Likewise.
40925         * include/setjmp.h: Likewise.
40926         * include/signal.h: Likewise.
40927         * include/stdio.h: Likewise.
40928         * include/stdlib.h: Likewise.
40929         * include/string.h: Likewise.
40930         * include/sys/cdefs.h: Likewise.
40931         * include/sys/mman.h: Likewise.
40932         * include/sys/msg.h: Likewise.
40933         * include/sys/resource.h: Likewise.
40934         * include/sys/select.h: Likewise.
40935         * include/sys/socket.h: Likewise.
40936         * include/sys/stat.h: Likewise.
40937         * include/sys/statvfs.h: Likewise.
40938         * include/sys/time.h: Likewise.
40939         * include/sys/times.h: Likewise.
40940         * include/sys/uio.h: Likewise.
40941         * include/sys/utsname.h: Likewise.
40942         * include/sys/wait.h: Likewise.
40943         * include/termios.h: Likewise.
40944         * include/time.h: Likewise.
40945         * include/ulimit.h: Likewise.
40946         * include/unistd.h: Likewise.
40947         * include/utime.h: Likewise.
40948         * include/wchar.h: Likewise.
40949         * include/wctype.h: Likewise.
40950         * include/wordexp.h: Likewise.
40951
40952         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40953
40954         * time/time.h: TIME_UTC must be a macro.
40955         Make timespec_get available for ISO C11 only as well.
40956
40957 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40958
40959         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40960         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40961
40962 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40963
40964         * configure.in: Use -o not -a in test for unsupported multi-arch.
40965
40966 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40967
40968         * manual/texinfo.tex: Update to version 2012-01-19.16.
40969
40970 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40971
40972         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40973
40974 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40975
40976         [BZ #13738]
40977         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40978         * manual/fdl-1.3.texi: New file.
40979         * manual/fdl-1.1.texi: File removed.
40980
40981         [BZ #13738]
40982         * manual/libc.texinfo (FDL_VERSION): New @set.
40983         Use it for mention of FDL in cover text.
40984         (Documentation License): Use it in @include file name.
40985
40986 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40987             Roland McGrath  <roland@hack.frob.com>
40988
40989         [BZ #5461]
40990         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40991         (not LONG_LONG_MAX and LONG_LONG_MIN.
40992         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40993         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40994         name.
40995         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40996
40997 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40998
40999         [BZ #2547]
41000         [BZ #11365]
41001         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41002         manipulate bits before adding and subtracting TWO23[sx].
41003         * math/libm-test.inc (nearbyint_test): Add more tests.
41004
41005 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41006
41007         [BZ #2548]
41008         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41009         bits before adding and subtracting TWO23[sx].
41010         * math/libm-test.inc (rint_test): Add more tests.
41011         (rint_test_tonearest): Likewise.
41012         (rint_test_towardzero): Likewise.
41013         (rint_test_downward): Likewise.
41014         (rint_test_upward: Likewise.
41015
41016 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41017
41018         [BZ #10110]
41019         * include/stdc-predef.h: New file.  Extracted from features.h.
41020         * include/features.h: Include stdc-predef.h.
41021         * Makefile (headers): Add stdc-predef.h.
41022         * CONFORMANCE (Compiler limitations): Update.
41023
41024 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41025
41026         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41027
41028 2012-02-21  David S. Miller  <davem@davemloft.net>
41029
41030         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41031         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41032
41033 2012-02-20  David S. Miller  <davem@davemloft.net>
41034
41035         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41036         using a normal save/restore sequence, rather than allocating a
41037         dummy stack frame just to store a frame pointer and restore.
41038         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41039
41040 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41041
41042         * manual/install.texi: Fix stray word in line-wrapped comment.
41043
41044 2012-02-20  David S. Miller  <davem@davemloft.net>
41045
41046         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41047         both binutils and gcc support GOTDATA.
41048
41049         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41050         "rd %pc" in the PIC register setup sequences.
41051
41052         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41053         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41054         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41055         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41056         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41057         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41058         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41059         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41061         (SYSCALL_ERROR_HANDLER): Likewise.
41062         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41063         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41065         (SYSCALL_ERROR_HANDLER): Likewise.
41066
41067         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41068         (HAVE_GCC_GOTDATA): New.
41069         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41070         relocation support in both binutils and gcc.
41071         * sysdeps/sparc/elf/configure: Regenerate.
41072
41073         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41074         * sysdeps/sparc/sparc32/elf/configure: Delete.
41075         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41076         * sysdeps/sparc/sparc64/elf/configure: Delete.
41077         * sysdeps/sparc/elf/configure.in: New file.
41078         * sysdeps/sparc/elf/configure: Generate.
41079
41080         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41081         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41082         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41083         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41084         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41085
41086 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41087
41088         * manual/install.texi: Do not mention specific glibc version
41089         numbers.
41090         * manual/libc.texinfo (VERSION, UPDATED): Update.
41091         (@copying): Use @copyright{} and range of years.
41092
41093 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41094
41095         [BZ #13695]
41096         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41097         [crti.S not in sysdirs] (generated): Do not append.
41098         [crti.S not in sysdirs] (omit-deps): Likewise.
41099         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41100         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41101         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41102         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41103         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41104         Likewise.
41105         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41106         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41107         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41108         * csu/defs.awk: Remove file.
41109         * sysdeps/generic/initfini.c: Likewise.
41110         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41111         variable.
41112         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41113         Likewise.
41114
41115 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41116
41117         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41118         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41119         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41120         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41121         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41122         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41123         <bits/epoll.h>.
41124         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41125         (__EPOLL_PACKED): Define to empty if not defined by
41126         <bits/epoll.h>.
41127         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41128         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41129         bits/epoll.h.
41130
41131 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41132
41133         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41134         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41135         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41136         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41137         <bits/timerfd.h>.
41138         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41140         bits/timerfd.h.
41141
41142 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41143
41144         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41145         in C locale.
41146         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41147         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41148         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41150
41151 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41152
41153         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41154         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41155
41156 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41157
41158         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41159         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41160         defined.
41161         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41162         Likewise.
41163         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41164         entry for 2.16.
41165
41166 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41167
41168         * math/w_acos.c: Use non-signaling floating-point comparisons.
41169         * math/w_acosf.c: Likewise.
41170         * math/w_acosh.c: Likewise.
41171         * math/w_acoshf.c: Likewise.
41172         * math/w_acoshl.c: Likewise.
41173         * math/w_acosl.c: Likewise.
41174         * math/w_asin.c: Likewise.
41175         * math/w_asinf.c: Likewise.
41176         * math/w_asinl.c: Likewise.
41177         * math/w_atanh.c: Likewise.
41178         * math/w_atanhf.c: Likewise.
41179         * math/w_atanhl.c: Likewise.
41180         * math/w_exp2.c: Likewise.
41181         * math/w_exp2f.c: Likewise.
41182         * math/w_exp2l.c: Likewise.
41183         * math/w_j0.c: Likewise.
41184         * math/w_j0f.c: Likewise.
41185         * math/w_j0l.c: Likewise.
41186         * math/w_j1.c: Likewise.
41187         * math/w_j1f.c: Likewise.
41188         * math/w_j1l.c: Likewise.
41189         * math/w_jn.c: Likewise.
41190         * math/w_jnf.c: Likewise.
41191         * math/w_log.c: Likewise.
41192         * math/w_log10.c: Likewise.
41193         * math/w_log10f.c: Likewise.
41194         * math/w_log10l.c: Likewise.
41195         * math/w_log2.c: Likewise.
41196         * math/w_log2f.c: Likewise.
41197         * math/w_log2l.c: Likewise.
41198         * math/w_logf.c: Likewise.
41199         * math/w_logl.c: Likewise.
41200         * math/w_sqrt.c: Likewise.
41201         * math/w_sqrtf.c: Likewise.
41202         * math/w_sqrtl.c: Likewise.
41203         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41204         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41205         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41206         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41207         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41208
41209 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41210
41211         [BZ #9739]
41212         * manual/string.texi (strnlen): Use correct parameter name in
41213         equivalent expression.
41214
41215 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41216
41217         [BZ #11174]
41218         * manual/users.texi (seteuid): Consistently use neweuid for
41219         argument name.
41220
41221 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41222
41223         [BZ #13704]
41224         * manual/nss.texi (Services in the NSS configuration): Correct
41225         list of services in example configuration file.
41226
41227 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41228
41229         [BZ #11322]
41230         * manual/arith.texi: Remove statements about negative zero
41231         behaving identically to zero.
41232
41233 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41234
41235         [BZ #5993]
41236         * manual/install.texi: Do not document upgrading from libc5.
41237
41238 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41239
41240         [BZ #4596]
41241         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41242
41243 2012-02-18  David S. Miller  <davem@davemloft.net>
41244
41245         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41246         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41247         %o7 across the call.
41248         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41249         instead.
41250         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41251         SETUP_PIC_REG_LEAF.
41252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41253         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41254         * sysdeps/sparc/crtn.S: Likewise.
41255
41256 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41257
41258         * aout/Makefile: Remove.
41259
41260 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41261
41262         [BZ #13058]
41263         * manual/examples/argp-ex1.c (main): Format definition in GNU
41264         style.
41265         * manual/examples/argp-ex2.c (main): Likewise.
41266         * manual/examples/argp-ex3.c (main): Likewise.
41267         * manual/examples/argp-ex4.c (main): Likewise.
41268         * manual/examples/longopt.c (main): Use new-style prototype
41269         definition.
41270         * manual/examples/strncat.c (main): Specify return type and use
41271         (void) for arguments.
41272         * manual/examples/subopt.c (main): Use char **argv argument.
41273
41274 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41275
41276         [BZ #5077]
41277         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41278         rounding modes.
41279
41280 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41281
41282         [BZ #6907]
41283         * manual/string.texi (strchr): Change when strchrnul is
41284         recommended.
41285
41286 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41287
41288         [BZ #174]
41289         * manual/locale.texi (setlocale): Document LOCPATH.
41290
41291 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41292
41293         [BZ #10210]
41294         * manual/process.texi (execle): Move @dots{} before last argument.
41295
41296 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41297
41298         [BZ #12047]
41299         * manual/charset.texi (Generic Charset Conversion): Fix typo
41300         (LC_TYPE -> LC_CTYPE).
41301
41302 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41303
41304         [BZ #5805]
41305         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41306         (scalbnf): Likewise.
41307         (scalbnl): Likewise.
41308         (scalbln): Likewise.
41309         (scalblnf): Likewise.
41310         (scalblnl): Likewise.
41311         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41312         (vwarnx): Likewise.
41313         (verr): Likewise.
41314         (verrx): Likewise.
41315         * manual/filesys.texi (telldir): Use braces around return type.
41316         * manual/llio.texi (mmap): Add space after comma.
41317         (mmap64): Likewise.
41318         * manual/math.texi (jn): Use @var{} on parameter names.
41319         (jnf): Likewise.
41320         (jnl): Likewise.
41321         (yn): Likewise.
41322         (ynf): Likewise.
41323         (ynl): Likewise.
41324         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41325         line.
41326         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41327         "...".
41328         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41329         (sched_get_priority_max): Likewise.
41330         * manual/signal.texi (sigvec): Add space after comma.
41331         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41332         names.
41333         (if_indextoname): Likewise.
41334         (if_freenameindex): Likewise.
41335         (sendto): Use ',' instead of '.' in prototype.
41336         * manual/startup.texi (syscall): Use @dots{} instead of literal
41337         "...".
41338         * manual/stdio.texi (__fpending): Separate initial words of
41339         paragraph from @deftypefun line.
41340         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41341         "...".
41342         (vsyslog): Use @var{} on parameter names.
41343         * manual/terminal.texi (stty): Use @var{} on parameter names.
41344         * manual/users.texi (getutmp): Use @var{} on parameter names.
41345         (getutmpx): Likewise.
41346
41347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41348
41349         [BZ #6884]
41350         * manual/stdio.texi (fopen): Fix typos in description of
41351         ",ccs=STRING".
41352
41353 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41354
41355         [BZ #4026]
41356         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41357         get clock_id definition.
41358
41359 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41360
41361         [BZ #4822]
41362         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41363         (madvise): Cast every argument to void on its own.
41364
41365 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41366
41367         [BZ #9902]
41368         * manual/startup.texi (Exit Status): Fix typo.
41369
41370 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41371
41372         [BZ #10140]
41373         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41374         * manual/examples/argp-ex2.c: Likewise.
41375         * manual/examples/argp-ex3.c: Likewise.
41376
41377 2012-02-16  Richard Henderson  <rth@redhat.com>
41378
41379         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41380         * sysdeps/s390/s390-32/initfini.c: Remove.
41381         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41382         * sysdeps/s390/s390-64/initfini.c: Remove.
41383
41384 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41385
41386         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41387         compiler output for sysdeps/generic/initfini.c.
41388         * sysdeps/sh/elf/initfini.c: Remove file.
41389
41390 2012-02-16  David S. Miller  <davem@davemloft.net>
41391
41392         [BZ #11494]
41393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41394
41395         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41396         * sysdeps/sparc/crti.S: New file.
41397         * sysdeps/sparc/crtn.S: New file.
41398         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41399         * sysdeps/sparc/sparc64/Makefile: Likewise.
41400
41401 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41402
41403         [BZ #3335]
41404         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41405
41406 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41407
41408         [BZ #4822]
41409         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41410
41411         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41412         (write, read, close): Likewise.
41413         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41414
41415 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41416
41417         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41418         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41419         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41420         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41421         <bits/signalfd.h>.
41422         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41424         bits/signalfd.h.
41425
41426 2012-02-14  Marek Polacek  <polacek@redhat.com>
41427
41428         * sysdeps/x86_64/crti.S: New file.
41429         * sysdeps/x86_64/crtn.S: New file.
41430         * sysdeps/x86_64/elf/initfini.c: Remove file.
41431
41432 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41433
41434         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41435         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41436         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41437         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41438         <bits/inotify.h>.
41439         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41441         bits/inotify.h.
41442
41443 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41444
41445         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41446         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41447         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41448         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41449         <bits/eventfd.h>.
41450         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41452         bits/eventfd.h.
41453
41454 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41455
41456         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41457         __feraiseexcept instead of feraiseexcept.
41458
41459         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41460         nanosleep invocations.
41461         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41462         strings, and add error checking for a nanosleep invocations.
41463
41464 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41465
41466         Replace FSF snail mail address with URLs, as per GNU coding standards.
41467         Most of the snail mail addresses were wrong anyway, and omitting
41468         them makes the source code easier to maintain.  Almost all of the
41469         changes are to license notices and to locale LC_IDENTIFICATION
41470         addresses, except for this one:
41471         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41472         not its snail mail address.
41473
41474 2012-02-09  Richard Henderson  <rth@twiddle.net>
41475
41476         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41477         of kernel-features.h.
41478
41479         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41480
41481 2012-02-08  Marek Polacek  <polacek@redhat.com>
41482
41483         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41484         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41485         * sysdeps/gnu/_G_config.h: Likewise.
41486         * sysdeps/generic/_G_config.h: Likewise.
41487
41488 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41489
41490         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41491         tests.
41492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41493
41494         * sysdeps/powerpc/powerpc32/crti.S: New file.
41495         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41496         * sysdeps/powerpc/powerpc64/crti.S: New file.
41497         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41498
41499         * Makeconfig (have-initfini): Don't set.
41500         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41501         * configure.in (nopic_initfini): Don't substitute.
41502         * config.h.in (HAVE_INITFINI): Don't #undef.
41503         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41504         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41505
41506 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41507
41508         Support crti.S and crtn.S provided directly by architectures.
41509         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41510         [crti.S in sysdirs] (omit-deps): Likewise.
41511         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41512         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41513         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41514         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41515         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41516         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41517         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41518         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41519         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41520         compiler output for sysdeps/generic/initfini.c.
41521         * sysdeps/i386/elf/Makefile: Remove file.
41522         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41523
41524 2012-02-07  Marek Polacek  <polacek@redhat.com>
41525
41526         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41527         * sysdeps/gnu/_G_config.h: Likewise.
41528         * sysdeps/mach/hurd/_G_config.h: Likewise.
41529
41530 2012-02-07  Marek Polacek  <polacek@redhat.com>
41531
41532         * math/Makefile (tests): Add tst-CMPLX2.
41533         * math/tst-CMPLX2.c: New file.
41534
41535 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41536
41537         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41538
41539         * math/libm-test.inc (jn_test): Add missing L suffix.
41540
41541 2012-02-06  Marek Polacek  <polacek@redhat.com>
41542
41543         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41544         * sysdeps/i386/fpu/e_powf.S: Likewise.
41545         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41546         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41547         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41548         * sysdeps/i386/fpu/e_pow.S: Likewise.
41549         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41550         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41551         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41552         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41553         * sysdeps/i386/fpu/e_log2.S: Likewise.
41554         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41555         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41556         * sysdeps/i386/fpu/e_powl.S: Likewise.
41557         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41558         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41559         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41560         * sysdeps/i386/fpu/e_logl.S: Likewise.
41561         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41562         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41563         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41564         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41565         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41566         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41567         * sysdeps/i386/fpu/e_log.S: Likewise.
41568         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41569         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41570         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41571         * sysdeps/i386/fpu/e_logf.S: Likewise.
41572         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41573         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41574         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41575         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41576         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41577         * sysdeps/i386/fpu/e_log10.S: Likewise.
41578         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41579         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41580         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41581         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41582         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41583         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41584         * sysdeps/i386/asm-syntax.h: Likewise.
41585         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41586         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41587         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41588         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41589         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41590         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41591         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41592         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41593         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41594         * sysdeps/powerpc/sysdep.h: Likewise.
41595         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41596         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41597
41598 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41599
41600         [BZ #411]
41601         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41602
41603 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41604
41605         * sysdeps/i386/sysdep.h: Include <features.h>.
41606         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41607         version.
41608
41609 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41610
41611         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41612         Define.
41613         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41614         LOAD_PIC_REG_STR.
41615
41616 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41617
41618         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41619         (SETUP_PIC_REG): Use GET_PC_THUNK.
41620         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41621         macro.
41622
41623 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41624
41625         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41626         for non-PIC compilation.
41627         (SETUP_PIC_REG): Add .p2align directive.
41628         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41629         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41630         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41631         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41632         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41633         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41634         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41635         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41636         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41637         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41638         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41639         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41640         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41641         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41642         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41643         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41644         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41645         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41646         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41647         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41648         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41649         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41650         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41651         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41652         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41653         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41654         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41655         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41656         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41657         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41658         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41659         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41660         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41661         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41662         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41663         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41664         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41665         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41666         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41667         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41668         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41669
41670 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41671
41672         * math/tst-CMPLX.c: Include <stdio.h>.
41673
41674 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41675
41676         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41677         float.
41678         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41679         * sysdeps/sparc/bits/mathdef.h: Likewise.
41680
41681 2012-01-31  Marek Polacek  <polacek@redhat.com>
41682
41683         * libio/libio.h: Don't define _PARAMS.
41684         * locale/programs/config.h: Don't define PARAMS.
41685         * stdlib/strtol_l.c: Likewise.
41686         (__strtol_l): Remove PARAMS from the prototype.
41687
41688 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41689
41690         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41691         names.  Just use the correct names.  Remove unnecessary wrapper
41692         functions.
41693         * malloc/arena.c: Likewise.
41694         * malloc/hooks.c: Likewise.
41695
41696         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41697         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41698         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41699
41700 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41701
41702         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41703         into tail calls.
41704         (update_get_addr): New function.
41705         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41706         GET_ADDR_MODULE parameter.
41707
41708 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41709
41710         * crypt/cert.c: Remove __STDC__ conditionals.
41711         * crypt/crypt-entry.c: Likewise.
41712         * crypt/crypt_util.c: Likewise.
41713         * libio/filedoalloc.c: Likewise.
41714         * libio/fileops.c: Likewise.
41715         * libio/genops.c: Likewise.
41716         * libio/iofclose.c: Likewise.
41717         * libio/iofdopen.c: Likewise.
41718         * libio/iofopen.c: Likewise.
41719         * libio/iofopen64.c: Likewise.
41720         * libio/iogetdelim.c: Likewise.
41721         * libio/iopopen.c: Likewise.
41722         * libio/obprintf.c: Likewise.
41723         * libio/oldfileops.c: Likewise.
41724         * libio/oldiofclose.c: Likewise.
41725         * libio/oldiofdopen.c: Likewise.
41726         * libio/oldiofopen.c: Likewise.
41727         * libio/oldiopopen.c: Likewise.
41728         * libio/wfiledoalloc.c: Likewise.
41729         * libio/wgenops.c: Likewise.
41730         * locale/programs/xmalloc.c: Likewise.
41731         * misc/syslog.c: Likewise.
41732         * stdio-common/xbug.c: Likewise.
41733         * string/memchr.c: Likewise.
41734         * string/memcmp.c: Likewise.
41735         * string/memrchr.c: Likewise.
41736         * string/rawmemchr.c: Likewise.
41737         * sysdeps/posix/getcwd.c: Likewise.
41738         * time/strftime_l.c: Likewise.
41739
41740 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41741
41742         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41743         * config.make.in (config-cflags-sse2avx): Define.
41744         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41745         Fix typo.
41746
41747 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41748
41749         * scripts/config.guess: Update from upstream config git repository.
41750         * scripts/config.sub: Likewise.
41751
41752 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41753
41754         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41755         (EM_NUM): Update.
41756         (R_TILEPRO_*, R_TILEGX_*): New macros.
41757
41758         * scripts/firstversions.awk: Fix bug in version range handling.
41759
41760         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41761
41762         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41763
41764         * include/sys/epoll.h: New file.
41765         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41766         libc_hidden_def.
41767
41768 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41769
41770         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41771         Avoid unnecessary __WORDSIZE == 64 test.
41772         (fmaxf): Use VEX format if possible.
41773         (fmax): Likewise.
41774         (fminf): Likewise.
41775         (fmin): Likewise.
41776
41777         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41778         * math/math_private.h: Remove libc_fegetround* and
41779         libc_fesetround*.
41780         * sysdeps/i386/configure.in: Check for -msse2avx.
41781         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41782         also if SSE2AVX is defined.
41783         Remove libc_fegetround* and libc_fesetround*.
41784         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41785         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41786         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41787         of HAS_YMM_USABLE.
41788         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41789         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41790         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41791         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41792         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41793
41794         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41795
41796 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41797
41798         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41799         size is not set.
41800         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41801
41802 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41803
41804         [BZ #13618]
41805         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41806         relocation.
41807         * Makeconfig (libm): Define.
41808         * elf/Makefile: Add rules to build and run tst-relsort1.
41809         * elf/tst-relsort1.c: New file.
41810         * elf/tst-relsort1mod1.c: New file.
41811         * elf/tst-relsort1mod2.c: New file.
41812
41813 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41814
41815         * math/s_ldexp.c: Remove __STDC__ conditionals.
41816         * math/s_ldexpf.c: Likewise.
41817         * math/s_ldexpl.c: Likewise.
41818         * math/s_nextafter.c: Likewise.
41819         * math/s_nexttowardf.c: Likewise.
41820         * math/s_significand.c: Likewise.
41821         * math/s_significandf.c: Likewise.
41822         * math/s_significandl.c: Likewise.
41823         * math/w_jnl.c: Likewise.
41824         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41825         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41826         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41827         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41828         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41829         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41830         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41831         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41832         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41833         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41834         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41835         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41836         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41837         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41838         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41839         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41840         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41841         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41842         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41843         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41844         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41845         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41846         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41847         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41848         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41849         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41850         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41851         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41852         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41853         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41854         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41855         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41856         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41857         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41858         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41859         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41860         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41861         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41862         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41863         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41864         * sysdeps/ieee754/k_standard.c: Likewise.
41865         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41866         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41867         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41868         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41869         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41870         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41872         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41873         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41874         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41875         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41876         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41877         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41878         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41879         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41880         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41881         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41882         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41883         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41884         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41885         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41886         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41887         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41888         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41889         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41890         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41891         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41892         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41894         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41895         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41896         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41897         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41898         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41900         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41901         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41902         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41903         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41904         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41905         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41906         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41907         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41908         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41909         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41910         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41911         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41912         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41913         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41914         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41915         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41916         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41917         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41918         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41919         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41920         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41921         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41922         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41923         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41924         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41925         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41926         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41927         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41928         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41929         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41930         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41931         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41932         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41933         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41934         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41935         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41936         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41937         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41938         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41939         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41940         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41941         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41942         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41943         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41944         * sysdeps/ieee754/s_matherr.c: Likewise.
41945         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41946         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41947         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41948         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41949
41950 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41951
41952         * crypt/md5.h: Remove __STDC__ conditionals.
41953         * libio/libioP.h: Likewise.
41954         * locale/programs/config.h: Likewise.
41955         * sysdeps/generic/sysdep.h: Likewise.
41956         * sysdeps/i386/asm-syntax.h: Likewise.
41957         * sysdeps/s390/asm-syntax.h: Likewise.
41958         * sysdeps/unix/sysdep.h: Likewise.
41959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41961
41962 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41963
41964         * libio/libio.h: Remove __STDC__ conditionals.
41965         * malloc/obstack.h: Likewise.
41966         * math/complex.h: Likewise.
41967         * math/math.h: Likewise.
41968         * sysdeps/generic/_G_config.h: Likewise.
41969         * sysdeps/gnu/_G_config.h: Likewise.
41970         * sysdeps/mach/hurd/_G_config.h: Likewise.
41971         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41972         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41973         * sysdeps/sparc/bits/mathdef.h: Likewise.
41974
41975 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41976
41977         [BZ #13583]
41978         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41979         Clean up HAS_* macros.
41980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41981         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41982         possible.
41983         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41984         HAS_AVX.
41985         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41986         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41987         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41988         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41989         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41990
41991 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41992
41993         * elf/tst-unique3.cc (gets): Remove declaration.
41994         * elf/tst-unique3lib.cc (gets): Likewise.
41995         * elf/tst-unique3lib2.cc (gets): Likewise.
41996         * elf/tst-unique4.cc (gets): Likewise.
41997
41998 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41999
42000         * include/stdio.h: Add C++ protection.  Add gets declarations and
42001         definitions.
42002         * debug/tst-chk1.c: Don't declare gets here.
42003         * stdio-common/tst-gets.c: Likewise.
42004
42005 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42006
42007         * posix/glob: Remove directory.
42008
42009 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42010
42011         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42012
42013 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42014
42015         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42016         of the non-standard EPFNOSUPPORT.
42017
42018 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42019
42020         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42021         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42022         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42023
42024 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42025
42026         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42027
42028 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42029
42030         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42031         transient errors.
42032         * nscd/grpcache.c (cache_addgr): Likewise.
42033         * nscd/hstcache.c (cache_addhst): Likewise.
42034         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42035         * nscd/pwdcache.c (cache_addpw): Likewise.
42036         * nscd/servicescache.c (cache_addserv): Likewise.
42037
42038 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42039
42040         * malloc/malloc.c: Various cleanups.
42041         * malloc/hooks.c: Likewise.
42042
42043         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42044         * stdlib/bug-fmtmsg1.c: New file.
42045
42046         * stdlib/fmtmsg.c (init): Add missing unlock.
42047         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42048
42049 2012-01-12  Marek Polacek  <polacek@redhat.com>
42050
42051         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42052         and _GNU_SOURCE.
42053
42054 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42055
42056         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42057         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42058         macro to ensure uniqueness of label name.
42059         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42060         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42061
42062 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42063
42064         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42065
42066         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42067         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42068         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42069         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42070
42071 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42072
42073         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42074
42075         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42076         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42077         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42078
42079         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42080
42081         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42082         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42083         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42084         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42085
42086         * math/bits/math-finite.h: Add ldexp support.
42087
42088 2012-01-10  Marek Polacek  <polacek@redhat.com>
42089
42090         * locale/programs/localedef.h (show_archive_content): Add noreturn
42091         attribute.
42092
42093 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42094
42095         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42096
42097 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42098
42099         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42100
42101         * io/Makefile (headers): Add bits/poll2.h.
42102
42103 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42104
42105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42106         typo #include statement.
42107
42108 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42109
42110         * include/sys/cdefs.h: Define __attribute_alloc_size.
42111         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42112         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42113         * elf/pldd.c: Likewise.
42114         * iconv/iconv_charmap.c: Likewise.
42115         * iconv/iconvconfig.c: Likewise.
42116         * iconv/strtab.c: Likewise.
42117         * locale/programs/locale.c: Likewise.
42118         * locale/programs/localedef.h: Likewise.
42119         * locale/programs/simple-hash.c: Likewise.
42120         * nscd/nscd.h: Likewise.
42121         * nss/makedb.c: Likewise.
42122         * sysdeps/generic/ldconfig.h: Likewise.
42123         * locale/programs/localedef.c: Remove xmalloc prototype.
42124         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42125
42126 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42127
42128         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42129         appropriate.
42130
42131 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42132
42133         * math/Makefile (tests): Add tst-CMPLX.
42134         * math/tst-CMPLX.c: New file.
42135
42136         * math/complex.h (CMPLXL): Fix typo.
42137
42138         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42139         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42140         GLIBC_2.16.
42141         * debug/tst-chk1.c: Add poll and ppoll tests.
42142         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42143         * include/sys/poll.h: Add hidden proto for ppoll.
42144         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42145         * sysdeps/mach/hurd/ppoll.c: Likewise.
42146         * io/ppoll.c: Likewise.
42147         * debug/poll_chk.c: New file.
42148         * debug/ppoll_chk.c: New file.
42149         * include/bits/poll2.h: New file.
42150         * io/bits/poll2.h: New file.
42151
42152         [BZ #1350]
42153         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42154
42155         * configure.in: static is always set to yes.  Remove.
42156         * config.make.in: Don't set build-static.
42157         * Makeconfig: Remove use of build-static.
42158         * dlfcn/Makefile: Likewise.
42159         * elf/Makefile: Likewise.
42160         * math/Makefile: Likewise.
42161         * misc/Makefile: Likewise.
42162         * nptl/Makefile: Likewise.
42163         * sysdeps/mach/hurd/Makefile: Likewise.
42164
42165         * configure.in: PWD_P is not used anymore.
42166         * config.make.in: Remove PWD_P entry.
42167
42168         * configure.in: Remove last remnants of RANLIB.
42169         No need to check for signed size_t anymore.
42170         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42171         and IA-64.
42172         Remove __builtin_expect test because we require at least gcc 3.4.
42173         * aclocal.m4: Likewise.
42174
42175         * wcsmbs/mbrtoc16.c: Implement using towc function.
42176         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42177         * wcsmbs/wcsmbsload.c: Likewise.
42178         * iconv/gconv_simple.c: Likewise.
42179         * iconv/gconv_int.h: Likewise.
42180         * iconv/gconv_builtin.h: Likewise.
42181         * iconv/iconv_prog.c: Remove CHAR16 handling.
42182
42183         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42184
42185         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42186
42187         * configure.in: Remove --with-elf and --enable-bounded options.
42188         Dont set base_machine for ia64.  More non-ELF conditions removed.
42189         Remove testing and setting of leading underscore information.
42190         * config.make.in (build-bounded): Set to no.
42191         * config.h.in: Remove NO_UNDERSCORES entry.
42192         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42193         them.
42194         * csu/start.c: Remove !NO_UNDERSCORE code.
42195         * locale/localeinfo.h: Likewise.
42196         * sysdeps/generic/machine-gmon.h: Likewise.
42197         * sysdeps/generic/sysdep.h: Likewise.
42198         * sysdeps/i386/sysdep.h: Likewise.
42199         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42200         * sysdeps/mach/sysdep.h: Likewise.
42201         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42202         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42203         * sysdeps/sh/sysdep.h: Likewise.
42204         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42205         * sysdeps/unix/i386/sysdep.S: Likewise.
42206         * sysdeps/unix/sparc/start.c: Likewise.
42207         * sysdeps/unix/sparc/sysdep.S: Likewise.
42208         * sysdeps/unix/sparc/sysdep.h: Likewise.
42209         * sysdeps/unix/start.c: Likewise.
42210         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42211         * sysdeps/x86_64/sysdep.h: Likewise.
42212
42213 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42214
42215         [BZ #13553]
42216         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42217         for non-gcc.
42218         * argp/argp-fmtstream.h: Use const instead __const.
42219         * argp/argp.h: Likewise.
42220         * assert/assert.h: Likewise.
42221         * bits/fenv.h: Likewise.
42222         * bits/sched.h: Likewise.
42223         * bits/sigset.h: Likewise.
42224         * bits/sigthread.h: Likewise.
42225         * catgets/nl_types.h: Likewise.
42226         * conform/data/pthread.h-data: Likewise.
42227         * crypt/crypt-private.h: Likewise.
42228         * crypt/crypt.h: Likewise.
42229         * crypt/crypt_util.c: Likewise.
42230         * ctype/ctype.h: Likewise.
42231         * debug/execinfo.h: Likewise.
42232         * debug/mbsnrtowcs_chk.c: Likewise.
42233         * debug/mbsrtowcs_chk.c: Likewise.
42234         * debug/wcsnrtombs_chk.c: Likewise.
42235         * debug/wcsrtombs_chk.c: Likewise.
42236         * debug/wcstombs_chk.c: Likewise.
42237         * dirent/dirent.h: Likewise.
42238         * dlfcn/dlfcn.h: Likewise.
42239         * elf/neededtest4.c: Likewise.
42240         * grp/grp.h: Likewise.
42241         * gshadow/gshadow.h: Likewise.
42242         * iconv/gconv.h: Likewise.
42243         * iconv/gconv_int.h: Likewise.
42244         * iconv/gconv_simple.c: Likewise.
42245         * iconv/iconv.h: Likewise.
42246         * iconv/loop.c: Likewise.
42247         * iconv/skeleton.c: Likewise.
42248         * include/aio.h: Likewise.
42249         * include/aliases.h: Likewise.
42250         * include/argz.h: Likewise.
42251         * include/arpa/inet.h: Likewise.
42252         * include/assert.h: Likewise.
42253         * include/dirent.h: Likewise.
42254         * include/dlfcn.h: Likewise.
42255         * include/execinfo.h: Likewise.
42256         * include/fcntl.h: Likewise.
42257         * include/fenv.h: Likewise.
42258         * include/glob.h: Likewise.
42259         * include/grp.h: Likewise.
42260         * include/libintl.h: Likewise.
42261         * include/mntent.h: Likewise.
42262         * include/netdb.h: Likewise.
42263         * include/pwd.h: Likewise.
42264         * include/rpc/netdb.h: Likewise.
42265         * include/sched.h: Likewise.
42266         * include/search.h: Likewise.
42267         * include/shadow.h: Likewise.
42268         * include/signal.h: Likewise.
42269         * include/stdio.h: Likewise.
42270         * include/stdlib.h: Likewise.
42271         * include/string.h: Likewise.
42272         * include/sys/socket.h: Likewise.
42273         * include/sys/stat.h: Likewise.
42274         * include/sys/statfs.h: Likewise.
42275         * include/sys/statvfs.h: Likewise.
42276         * include/sys/syslog.h: Likewise.
42277         * include/sys/time.h: Likewise.
42278         * include/sys/uio.h: Likewise.
42279         * include/time.h: Likewise.
42280         * include/unistd.h: Likewise.
42281         * include/utmp.h: Likewise.
42282         * include/wchar.h: Likewise.
42283         * include/wctype.h: Likewise.
42284         * inet/aliases.h: Likewise.
42285         * inet/arpa/inet.h: Likewise.
42286         * inet/netinet/ether.h: Likewise.
42287         * inet/netinet/in.h: Likewise.
42288         * intl/libintl.h: Likewise.
42289         * io/bits/fcntl2.h: Likewise.
42290         * io/fcntl.h: Likewise.
42291         * io/ftw.h: Likewise.
42292         * io/sys/poll.h: Likewise.
42293         * io/sys/stat.h: Likewise.
42294         * io/sys/statfs.h: Likewise.
42295         * io/sys/statvfs.h: Likewise.
42296         * io/utime.h: Likewise.
42297         * libio/bits/stdio.h: Likewise.
42298         * libio/bits/stdio2.h: Likewise.
42299         * libio/libio.h: Likewise.
42300         * libio/libioP.h: Likewise.
42301         * libio/stdio.h: Likewise.
42302         * locale/lc-ctype.c: Likewise.
42303         * locale/locale.h: Likewise.
42304         * login/utmp.h: Likewise.
42305         * malloc/arena.c: Likewise.
42306         * malloc/malloc.c: Likewise.
42307         * malloc/malloc.h: Likewise.
42308         * malloc/mcheck.c: Likewise.
42309         * malloc/mtrace.c: Likewise.
42310         * math/bits/mathcalls.h: Likewise.
42311         * math/fenv.h: Likewise.
42312         * math/math_private.h: Likewise.
42313         * misc/bits/error.h: Likewise.
42314         * misc/bits/syslog.h: Likewise.
42315         * misc/err.h: Likewise.
42316         * misc/error.h: Likewise.
42317         * misc/fstab.h: Likewise.
42318         * misc/mntent.h: Likewise.
42319         * misc/regexp.h: Likewise.
42320         * misc/search.h: Likewise.
42321         * misc/sgtty.h: Likewise.
42322         * misc/sys/mman.h: Likewise.
42323         * misc/sys/syslog.h: Likewise.
42324         * misc/sys/uio.h: Likewise.
42325         * misc/sys/xattr.h: Likewise.
42326         * misc/ttyent.h: Likewise.
42327         * nis/rpcsvc/ypclnt.h: Likewise.
42328         * nss/nss.h: Likewise.
42329         * posix/bits/unistd.h: Likewise.
42330         * posix/fnmatch.h: Likewise.
42331         * posix/glob.h: Likewise.
42332         * posix/sched.h: Likewise.
42333         * posix/spawn.h: Likewise.
42334         * posix/sys/wait.h: Likewise.
42335         * posix/unistd.h: Likewise.
42336         * posix/wordexp.h: Likewise.
42337         * pwd/pwd.h: Likewise.
42338         * resolv/netdb.h: Likewise.
42339         * resource/sys/resource.h: Likewise.
42340         * rt/aio.h: Likewise.
42341         * rt/bits/mqueue2.h: Likewise.
42342         * rt/mqueue.h: Likewise.
42343         * shadow/shadow.h: Likewise.
42344         * signal/signal.h: Likewise.
42345         * socket/send.c: Likewise.
42346         * socket/sendto.c: Likewise.
42347         * socket/sys/socket.h: Likewise.
42348         * stdio-common/printf.h: Likewise.
42349         * stdlib/bits/stdlib.h: Likewise.
42350         * stdlib/fmtmsg.h: Likewise.
42351         * stdlib/monetary.h: Likewise.
42352         * stdlib/stdlib.h: Likewise.
42353         * stdlib/ucontext.h: Likewise.
42354         * streams/stropts.h: Likewise.
42355         * string/argz.h: Likewise.
42356         * string/bits/string2.h: Likewise.
42357         * string/string.h: Likewise.
42358         * string/strings.h: Likewise.
42359         * sunrpc/rpc/auth.h: Likewise.
42360         * sunrpc/rpc/auth_des.h: Likewise.
42361         * sunrpc/rpc/clnt.h: Likewise.
42362         * sunrpc/rpc/netdb.h: Likewise.
42363         * sunrpc/rpc/pmap_clnt.h: Likewise.
42364         * sunrpc/rpc/xdr.h: Likewise.
42365         * sysdeps/generic/inttypes.h: Likewise.
42366         * sysdeps/generic/net/if.h: Likewise.
42367         * sysdeps/generic/sys/swap.h: Likewise.
42368         * sysdeps/gnu/net/if.h: Likewise.
42369         * sysdeps/gnu/utmpx.h: Likewise.
42370         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42371         * sysdeps/i386/i486/bits/string.h: Likewise.
42372         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42373         * sysdeps/s390/bits/string.h: Likewise.
42374         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42375         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42376         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42377         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42378         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42379         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42380         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42381         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42382         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42383         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42384         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42385         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42386         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42387         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42388         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42389         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42390         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42391         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42392         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42393         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42394         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42395         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42396         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42397         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42398         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42399         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42400         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42401         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42402         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42403         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42404         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42405         * sysvipc/sys/ipc.h: Likewise.
42406         * sysvipc/sys/msg.h: Likewise.
42407         * sysvipc/sys/sem.h: Likewise.
42408         * sysvipc/sys/shm.h: Likewise.
42409         * termios/termios.h: Likewise.
42410         * time/sys/time.h: Likewise.
42411         * time/time.h: Likewise.
42412         * wcsmbs/bits/wchar2.h: Likewise.
42413         * wcsmbs/uchar.h: Likewise.
42414         * wcsmbs/wchar.h: Likewise.
42415         * wctype/wctype.h: Likewise.
42416
42417         [BZ #13551]
42418         * Makeconfig: Remove all but ELF support including AIX support.
42419         * Makerules: Likewise.
42420         * config.h.in: Likewise.
42421         * config.make.in: Likewise.
42422         * configure: Likewise.
42423         * configure.in: Likewise.
42424         * csu/Makefile: Likewise.
42425         * csu/version.c: Likewise.
42426         * debug/Makefile: Likewise.
42427         * dlfcn/Makefile: Likewise.
42428         * elf/Makefile: Likewise.
42429         * extra-lib.mk: Likewise.
42430         * iconv/Makefile: Likewise.
42431         * include/libc-symbols.h: Likewise.
42432         * include/shlib-compat.h: Likewise.
42433         * resolv/Makefile: Likewise.
42434         * resolv/res_libc.c: Likewise.
42435         * rt/Makefile: Likewise.
42436         * sysdeps/i386/asm-syntax.h: Likewise.
42437         * sysdeps/i386/sysdep.h: Likewise.
42438         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42439         * sysdeps/mach/sysdep.h: Likewise.
42440         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42441         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42442         * sysdeps/s390/asm-syntax.h: Likewise.
42443         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42444         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42445         * sysdeps/sh/sysdep.h: Likewise.
42446         * sysdeps/unix/sparc/sysdep.h: Likewise.
42447         * sysdeps/wordsize-32/divdi3.c: Likewise.
42448         * sysdeps/x86_64/sysdep.h: Likewise.
42449
42450         * argp/Versions: Remove _argp_unlock_xxx.
42451
42452         [BZ #13559]
42453         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42454         * abilist/libBrokenLocale.abilist: Likewise.
42455         * abilist/libanl.abilist: Likewise.
42456         * abilist/libc.abilist: Likewise.
42457         * abilist/libcrypt.abilist: Likewise.
42458         * abilist/libdl.abilist: Likewise.
42459         * abilist/libm.abilist: Likewise.
42460         * abilist/libnsl.abilist: Likewise.
42461         * abilist/libpthread.abilist: Likewise.
42462         * abilist/libresolv.abilist: Likewise.
42463         * abilist/librt.abilist: Likewise.
42464         * abilist/libthread_db.abilist: Likewise.
42465         * abilist/libutil.abilist: Likewise.
42466         * abilist/libnss_db.abilist: New file.
42467
42468         * scripts/abilist.awk: Add support for indirect functions.
42469
42470         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42471
42472         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42473
42474         * shlib-versions: Remove entries for ports architectures.
42475
42476         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42477         files in ports.
42478         * elf/stackguard-macros.h: Remove support for IA-64.
42479         * elf/tst-auditmod1.c: Likewise.
42480         * sysdeps/generic/ldsodefs.h: Likewise.
42481
42482         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42483         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42484         configure files.
42485
42486         [BZ #13552]
42487         * configure.in: Remove --enable-omitfp support.
42488         * FAQ.in: Adjust.
42489         * config.make.in: Likewise.
42490         * Makeconfig: Likewise.
42491         * manual/install.texi: Likewise.
42492
42493         In case anyone cares, the IA-64 architecture could move to ports.
42494         * sysdeps/ia64/*: Removed.
42495         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42496         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42497
42498         [BZ #13555]
42499         * configure.in: Remove entries for unsupported architectures.
42500
42501         [BZ #13533]
42502         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42503         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42504         routines.
42505         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42506         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42507         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42508         fall back to using wcrtomb.
42509         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42510         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42511         renaming.
42512         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42513         * wcsmbs/tst-c16c32-1.c: New file.
42514
42515         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42516         local variable.
42517
42518         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42519
42520         * elf/tst-unique3.cc: Add explicit declaration of gets.
42521         * elf/tst-unique3lib.cc: Likewise.
42522         * elf/tst-unique3lib2.cc: Likewise.
42523         * elf/tst-unique4.cc: Likewise.
42524
42525         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42526
42527 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42528
42529         [BZ #13566]
42530         * assert/assert.h (static_assert): Don't define for C++.
42531         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42532         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42533
42534 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42535
42536         * iconv/loop.c (single loop): Fix assertion in storing of
42537         remaining bytes.
42538
42539         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42540
42541 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42542
42543         * posix/getconf.c: Update copyright year.
42544         * nss/getent.c: Likewise.
42545         * nss/makedb.c: Likewise.
42546         * iconv/iconvconfig.c: Likewise.
42547         * iconv/iconv_prog.c: Likewise.
42548         * elf/ldconfig.c: Likewise.
42549         * elf/pldd.c: Likewise.
42550         * elf/sotruss.ksh: Likewise.
42551         * catgets/gencat.c: Likewise.
42552         * csu/version.c: Likewise.
42553         * elf/ldd.bash.in: Likewise.
42554         * elf/sprof.c (print_version): Likewise.
42555         * locale/programs/locale.c: Likewise.
42556         * locale/programs/localedef.c: Likewise.
42557         * login/programs/pt_chown.c: Likewise.
42558         * nscd/nscd.c (print_version): Likewise.
42559         * debug/xtrace.sh: Likewise.
42560         * malloc/memusage.sh: Likewise.
42561         * malloc/mtrace.pl: Likewise.
42562         * debug/catchsegv.sh: Likewise.
42563
42564 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42565
42566         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42567         pure attribute.
42568
42569 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42570
42571         [BZ #13533]
42572         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42573         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42574         transformations.
42575         * iconv/gconv_int.h: Likewise.
42576         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42577         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42578         from libc for GLIBC_2.16.
42579         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42580         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42581         * wcsmbs/uchar.h: Really define mbstate_t.
42582         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42583         * wcsmbs/c16rtomb.c: New file.
42584         * wcsmbs/mbrtoc16.c: New file.
42585         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42586         for C/POSIX locale.
42587         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42588         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42589
42590         * wcsmbs/wchar.h: Add missing __restrict.
42591
42592 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42593
42594         [BZ #13532]
42595         * time/Makefile (routines): Add timespec_get.
42596         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42597         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42598         timespec for ISO C11.
42599         * time/timespec_get.c: New file.
42600         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42601         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42602
42603         [BZ #13531]
42604         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42605         * stdlib/stdlib.h: Declare aligned_alloc.
42606         * Versions.def: Add GLIBC_2.16 for libc.
42607         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42608
42609         [BZ 13527]
42610         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42611         ISO C11.
42612
42613         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42614         code.
42615
42616         [BZ #13528]
42617         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42618
42619         [BZ #13529]
42620         * assert/assert.h (static_assert): Define.
42621
42622         * version.h: Update for 2.16 development version.
42623
42624         [BZ #13526]
42625         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42626         _ISOC11_SOURCE.
42627
42628         * version.h (RELEASE): Bump for 2.15 release.
42629         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42630
42631         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42632         Patch by Marek Polacek <mpolacek@redhat.com>.
42633
42634         * bits/byteswap.h: Protect long long constants with __extension__.
42635         * sysdeps/i386/bits/byteswap.h: Likewise.
42636         * sysdeps/ia64/bits/byteswap.h: Likewise.
42637         * sysdeps/s390/bits/byteswap.h: Likewise.
42638         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42639
42640 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42641
42642         [BZ #13540]
42643         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42644         destination buffer.
42645         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42646
42647 2011-12-23  Marek Polacek  <polacek@redhat.com>
42648
42649         * elf/dl-addr.c (determine_info): Add inline keyword.
42650         * elf/tst-auditmod4b.c (check_avx): Likewise.
42651         * elf/tst-auditmod6b.c (check_avx): Likewise.
42652         * elf/tst-auditmod6c.c (check_avx): Likewise.
42653         * elf/tst-auditmod7b.c (check_avx): Likewise.
42654
42655 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42656
42657         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42658         !__SSE_MATH__.
42659
42660 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42661
42662         [BZ #13540]
42663         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42664         processing for last bytes.
42665
42666 2011-08-06  Bruno Haible  <bruno@clisp.org>
42667
42668         [BZ #13061]
42669         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42670         U+0385, not to U+1FEE.
42671
42672         [BZ #13062]
42673         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42674         entry for U+00A5 U+0301.
42675
42676 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42677
42678         [BZ #13166]
42679         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42680         buffer for the output is too small.
42681
42682         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42683         optimization.
42684
42685         [BZ #13185]
42686         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42687         SSE flags if possible.
42688
42689 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42690
42691         [BZ #13540]
42692         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42693         processing for last bytes.
42694
42695 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42696
42697         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42698         (syscall-list-default-options, syscall-list-default-condition)
42699         (syscall-list-includes): Define.
42700         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42701         list of ABIs and options and #if conditions for each ABI.  Do not
42702         handle common syscalls between ABIs specially.
42703         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42704         Remove.
42705         (syscall-list-variants, syscall-list-32bit-options)
42706         (syscall-list-32bit-condition, syscall-list-64bit-options)
42707         (syscall-list-64bit-condition): Define.
42708         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42709         (syscall-list-variants, syscall-list-32bit-options)
42710         (syscall-list-32bit-condition, syscall-list-64bit-options)
42711         (syscall-list-64bit-condition): Define.
42712         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42713         Remove.
42714         (syscall-list-variants, syscall-list-32bit-options)
42715         (syscall-list-32bit-condition, syscall-list-64bit-options)
42716         (syscall-list-64bit-condition): Define.
42717         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42718         Remove.
42719         (syscall-list-variants, syscall-list-32bit-options)
42720         (syscall-list-32bit-condition, syscall-list-64bit-options)
42721         (syscall-list-64bit-condition): Define.
42722
42723 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42724
42725         * locale/iso-639.def: Add brx entry.
42726
42727         [BZ #13328]
42728         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42729         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42730
42731         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42732         __feraiseexcept_renamed.
42733
42734 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42735
42736         [BZ #13538]
42737         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42738         EPOLLET with unsigned values.
42739         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42740         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42741
42742         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42743         to large cancellation.
42744         * math/s_cacoshf.c: Likewise.
42745         * math/s_cacoshl.c: Likewise.
42746
42747 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42748
42749         [BZ #13305]
42750         [BZ #12786]
42751         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42752         * math/s_cacoshf.c: Likewise.
42753         * math/s_cacoshl.c: Likewise.
42754
42755 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42756
42757         [BZ #13439]
42758         * iconv/gconv.h: Define __GCONV_SWAP.
42759         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42760         * iconvdata/utf-16.c: Likewise.
42761         * iconvdata/utf-32.c: Likewise.
42762
42763 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42764
42765         [BZ #13524]
42766         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42767         numerator after shifting it by one limb.
42768
42769 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42770
42771         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42772         under [__USE_EXTERN_INLINES].
42773
42774 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42775
42776         [BZ #13446]
42777         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42778
42779 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42780
42781         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42782         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42783         optimized code.
42784         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42785         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42786         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42787         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42788         for strncasecmp/strncasecmp_l compilation.
42789         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42790         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42791
42792 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42793
42794         [BZ #13484]
42795         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42796         of __asm__.
42797
42798 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42799
42800         [BZ #13506]
42801         * time/tzfile.c (__tzfile_read): Check values from file header.
42802
42803 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42804
42805         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42806         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42807         * powerpc/powerpc32/dl-start.S: Likewise.
42808         * powerpc/powerpc32/elf/start.S: Likewise.
42809         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42810         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42811         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42812         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42813         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42814         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42815         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42816         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42817         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42818         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42819         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42820         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42821         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42822         * powerpc/powerpc32/memset.S: Likewise.
42823         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42824         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42825         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42826         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42827         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42828         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42829         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42830         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42831         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42832         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42833         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42834         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42835         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42836
42837 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42838
42839         * math/libm-test.inc: Added more nearbyint tests.
42840         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42841         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42842         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42844
42845 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42846
42847         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42848         FD_CLOEXEC.
42849
42850 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42851
42852         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42853         Add wcscpy-ssse3 wcscpy-c.
42854         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42855         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42856         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42857         * sysdeps/x86_64/wcschr.S: New file.
42858         * sysdeps/x86_64/wcsrchr.S: New file.
42859         * string/test-strcmp.c: Remove checking of wcscmp function for
42860         wrong alignments.
42861         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42862         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42863         wcsrchr-sse2 wcsrchr-c.
42864         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42865         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42866         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42867         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42868         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42869         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42870         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42871         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42872         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42873         * wcsmbc/wcschr.c (WCSCHR): New macro.
42874
42875 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42876
42877         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42878         * wcsmbs/test-wcsrchr.c: New file.
42879         * string/test-strrchr.c: Add wcsrchr support.
42880         (WIDE): New macro.
42881         * wcsmbs/test-wcscpy.c: New file.
42882         * string/test-strcpy.c: Add wcscpy support.
42883         (WIDE): New macro.
42884
42885 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42886
42887         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42888         the inner loop.
42889
42890 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42891
42892         [BZ #13472]
42893         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42894
42895 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42896
42897         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42898         Minor optimizations.
42899
42900         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42901         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42902         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42903
42904 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42905
42906         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42907         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42908         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42909         for gcc to avoid warnings.
42910         * inet/Makefile (tests): Add tst-checks.
42911         * inet/tst-checks.c: New file.
42912
42913         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42914         warning.
42915
42916         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42917         __wmemcmp_sse2.
42918
42919         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42920         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42921
42922         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42923
42924 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42925
42926         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42927         problem.
42928
42929         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42930
42931 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42932
42933         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42934         conditional on GCC version.
42935         (__arch_compare_and_exchange_val_8_acq)
42936         (__arch_compare_and_exchange_val_16_acq)
42937         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42938         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42939         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42940
42941 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42942
42943         * sysdeps/sh/backtrace.c: New file.
42944
42945 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42946
42947         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42948         parenthesis.
42949
42950 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42951
42952         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42953         falling back to utime.
42954
42955 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42956
42957         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42958         expectations for float.
42959
42960 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42961
42962         * locale/weight.h (findidx): Add parameter len.
42963         * locale/weightwc.h (findidx): Likewise.
42964         * posix/fnmatch_loop.c (FCT): Adjust caller.
42965         * posix/regcomp.c (build_equiv_class): Likewise.
42966         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42967         * posix/regexec.c (check_node_accept_bytes): Likewise.
42968         * string/strcoll_l.c (STRCOLL): Likewise.
42969         * string/strxfrm_l.c (STRXFRM): Likewise.
42970
42971 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42972
42973         * Makefile.in: Remove CVSOPT handling.
42974         * configure.in: Remove use of AC_REVISION.
42975         * iconvdata/Makefile (distribute): No need to filter out CVS.
42976         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42977         handling.
42978
42979 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42980
42981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42982         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42983         [USE_AS_STRNCASECMP_L]: Likewise.
42984         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42985         NO_TLS_DIRECT_SEG_REFS.
42986         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42987         Fix argument offsets for non-PIC.
42988         [USE_AS_STRNCASECMP_L]: Likewise.
42989         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42990         NO_TLS_DIRECT_SEG_REFS.
42991
42992 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42993
42994         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42995         O_CLOEXEC.
42996         * locale/loadlocale.c (_nl_load_locale): Likewise.
42997
42998 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42999
43000         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43001         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43002         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43003         (SYSCALL_GETTIME): Set errno on error.
43004
43005         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43006         count references to noai6ai_cached.
43007
43008 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43009
43010         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43011
43012         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43013         FD_CLOEXEC for /proc/self/maps.
43014
43015         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43016         FD_CLOEXEC for /proc/meminfo.
43017
43018         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43019         gai.conf.
43020
43021         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43022         FD_CLOEXEC for given file.
43023
43024         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43025
43026         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43027         FD_CLOEXEC for /etc/hosts.
43028         (_gethtent): Likewise.
43029
43030         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43031
43032         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43033         cancellation and set FD_CLOEXEC for /etc/netgroup.
43034
43035         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43036         reading /etc/publickey.
43037
43038         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43039         allow cancellation when reading /etc/group.
43040
43041         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43042         cancellation.
43043         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43044
43045         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43046         when using data file.
43047
43048         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43049
43050         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43051         (write_nis_obj): Use "c" and "e" in fopen.
43052
43053         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43054
43055         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43056
43057         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43058
43059         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43060
43061         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43062         locale.alias.
43063
43064         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43065
43066         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43067
43068         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43069
43070         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43071         file parsing and set FD_CLOEXEC.
43072
43073 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43074
43075         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43076
43077 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43078
43079         * malloc/arena.c (arena_get2): Don't call reused_arena when
43080         _int_new_arena failed.
43081
43082 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43083
43084         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43085         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43086         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43087         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43088         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43089         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43090         to compile strcasecmp and strncasecmp.
43091         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43092         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43093
43094         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43095
43096 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43097
43098         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43099         locale-defines.sym to gen-as-const-headers.
43100         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43101         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43103         to compile strcasecmp and strncasecmp.
43104         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43105         strcasecmp_l and strncasecmp_l.
43106         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43107         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43108         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43109         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43110         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43111         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43112         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43113         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43114         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43115         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43116         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43117
43118 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43119
43120         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43121         result of SYSDEP_GETTIME_CPU to retval.
43122         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43123         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43124
43125         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43126         variable.
43127
43128         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43129         mantissa words.
43130         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43131
43132         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43133         from unused variable.
43134
43135         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43136         DWARF definitions.
43137         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43138         for assembling.
43139
43140         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43141         over namespaces.
43142
43143         * sunrpc/rpc_prot.c (rejected): Fix case value.
43144
43145         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43146         unsigned long long int to avoid warnings in shift.
43147
43148         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43149         of use of trans.
43150         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43151         variable tmp.
43152
43153         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43154         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43155         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43156
43157         * nis/nis_table.c (nis_list): Use variable of correct type for
43158         result of __follow_path call.
43159
43160 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43161
43162         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43163         of math functions ceil, trunc, floor, round, and sqrt, when
43164         avaliable on the platform.
43165         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43166         name clash.
43167         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43168         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43169         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43170
43171 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43172
43173         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43174         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43175
43176 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43177
43178         * include/unistd.h: Fix __readlink return type.
43179         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43180
43181 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43182
43183         * stdlib/ucontext.h: Undo last change for makecontext.
43184
43185 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43186
43187         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43188
43189         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43190         * setjmp/setjmp.h: Mark functions as non-leaf.
43191         * setjmp/bits/setjmp2.h: Likewise.
43192         * stdlib/ucontext.h: Likewise.
43193
43194 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43195
43196         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43197         (reused_arena): Don't check arena limit.
43198         (arena_get2): Atomically check arena limit.
43199
43200 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43201
43202         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43203         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43204
43205         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43206         instructions.
43207
43208 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43209
43210         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43211         handler when locking.
43212
43213         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43214         Fix size of allocated buffer.
43215
43216 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43217
43218         [BZ #10103]
43219         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43220         declarations for long double functions.
43221         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43222
43223         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43224
43225 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43226
43227         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43228         installed.
43229
43230         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43231         is disabled.
43232
43233 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43234
43235         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43236
43237 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43238
43239         * include/alloca.h (stackinfo_alloca_round): Define.
43240         (extend_alloca): Use it.
43241         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43242         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43243         here.
43244
43245         * scripts/check-local-headers.sh: Ignore libaudit.h.
43246
43247         * nscd/Makefile (extra-objs): Make recursively expanded.
43248
43249 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43250
43251         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43252         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43253
43254         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43255         * posix/tst-rfc3484-2.c: Likewise.
43256         * posix/tst-rfc3484-3.c: Likewise.
43257
43258         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43259         process_vm_writev.
43260         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43261         process_vm_writev.
43262         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43263         process_vm_writev from libc using GLIBC_2.15 version.
43264
43265         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43266
43267 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43268
43269         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43270         stack usage.
43271
43272 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43273
43274         [BZ #13367]
43275         * nss/getent.c (initgroups_keys): Show error message in case no group
43276         names are given.
43277
43278         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43279         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43280         __bump_nl_timestamp.
43281         * nscd/connections (nscd_init): When host database is served open
43282         netlink socket and request notification about configuration changes.
43283         (main_loop_poll): Track netlink file descriptor and bump timestamp
43284         in case data becomes available.
43285         (main_loop_epoll): Likewise.
43286         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43287         (database_pers_head): Add extra_data fileds.
43288         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43289         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43290         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43291         Adjust caller.
43292         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43293         in6ai data, call __free_in6ai.
43294         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43295         Add -DHAVE_NETLINK.
43296         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43297         interface information.  Reuse previous data if netlink timestamp
43298         is not changed.
43299         (__bump_nl_timestamp): New function.
43300         (__free_in6ai): New function.
43301
43302 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43303
43304         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43305         close_not_cancel_no_status here.
43306         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43307
43308 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43309
43310         [BZ #13276]
43311         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43312         return value.
43313
43314         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43315         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43316         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43317
43318 2011-07-03  Andreas Jaeger  <aj@suse.de>
43319
43320         [BZ #10709]
43321         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43322         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43323         * math/libm-test.inc (sin_test): Add test case.
43324
43325 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43326
43327         [BZ #13337]
43328         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43329         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43330
43331         * elf/chroot_canon.c (chroot_canon): Cleanups.
43332
43333         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43334
43335         [BZ #13335]
43336         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43337         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43338
43339         * string/test-strchr.c: Make usable for strchrnul testing.
43340         * string/test-strchrnul.c: New file.
43341         * string/Makefile (strop-tests): Add strchrnul.
43342
43343         * po/it.po: Update from translation team.
43344         * po/es.po: Likewise.
43345
43346 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43347
43348         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43349         the three constants needed as parameters.  Drop the others.
43350         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43351         __m128i_strloadu_tolower.
43352         Create and initialize variable zero and use it in all the places
43353         where _mm_setzero_si128 was used.
43354
43355         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43356         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43357         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43358         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43359         anymore.
43360         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43361         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43362         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43363         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43364         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43365         __mpranred, __mptan.
43366         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43367         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43368         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43369         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43370         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43371         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43372         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43373         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43374         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43375
43376 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43377
43378         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43379         redefine if SHARED.
43380         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43381
43382         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43383         wide char related routines to wcsmbs subdir.
43384
43385 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43386
43387         [BZ #13344]
43388         * misc/sys/cdefs.h (__THROWNL): Define.
43389         * posix/unistd.h: Use __THREADNL instead of __THREAD
43390         for memory synchronization functions.
43391
43392 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43393
43394         [BZ #13349]
43395         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43396         doesn't exist.
43397         * manual/stdio.texi (Obstack Streams): Node removed.
43398
43399 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43400
43401         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43402         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43403         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43404
43405         * math/math_private.h (math_force_eval): Allow non-addressable
43406         arguments.
43407         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43408
43409 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43410
43411         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43412         file is not needed.
43413
43414         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43415         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43416         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43417         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43418         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43419         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43420         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43421         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43422         Add AVX variants.
43423         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43424         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43425         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43426         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43427         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43428         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43429         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43430         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43431         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43432         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43433         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43434         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43435         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43436         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43437         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43438         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43439         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43440         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43441         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43442
43443         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43444         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43445
43446         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43447         place.  Use VEX encoding when compiling for AVX.
43448
43449 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43450
43451         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43452         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43453
43454         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43455
43456 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43457
43458         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43459         useless if() expression.
43460         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43461         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43462         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43463         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43464         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43465         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43466         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43467         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43468         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43469         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43470         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43471         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43472         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43473         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43474         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43475         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43476         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43477         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43478         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43479
43480         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43481
43482 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43483
43484         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43485         condition.
43486         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43487
43488 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43489
43490         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43491         .text section.  Avoid duplicate constants.
43492         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43493         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43494         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43495         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43496         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43497         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43498         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43499         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43500         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43501         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43502         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43503         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43504         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43505         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43506         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43507         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43508         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43509         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43510         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43511         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43512         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43513         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43514         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43515         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43516         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43517         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43518         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43519         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43520         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43521         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43522         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43523         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43524         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43525         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43526         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43527         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43528         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43529         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43530         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43531         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43532         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43533         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43534         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43535         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43536         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43537
43538 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43539
43540         * sysdeps/x86_64/dla.h: Move to ...
43541         * sysdeps/x86_64/fpu/dla.h: ...here.
43542         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43543         situations.  Use __builtin_fma only for gcc 4.6 and up.
43544
43545         * config.make.in: Add have-mfma4 entry.
43546         * configure.in: Substitute libc_cv_cc_fma4.
43547         * math/Makefile (dbl-only-routines): Add sincostab.
43548         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43549         Use __sincostab not sincos.
43550         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43551         name is a macro.
43552         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43556         using __copysign.
43557         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43558         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43559         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43560         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43561         and __inv.
43562         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43563         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43564         __copysign.
43565         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43566         define aliases when function name is a macro.
43567         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43568         sysdeps/ieee754/dbl-64/sincos.tbl.
43569         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43570         fma4-enabled routines.
43571         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43572         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43573         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43574         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43575         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43576         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43577         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43578         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43579         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43580         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43581         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43582         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43583         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43584         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43585         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43586         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43587         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43588         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43589         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43590         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43591         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43592         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43593         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43594         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43595         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43596         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43597         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43598         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43599         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43600         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43601
43602         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43603         rename.
43604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43610         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43611         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43612
43613 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43614
43615         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43616
43617 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43618
43619         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43620
43621         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43622         prediction.
43623         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43624
43625         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43626         Remove unused variable magic_bits.
43627         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43628
43629         * string/strnlen.c: Define and use STRNLEN macro.
43630         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43631         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43632         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43633         * wcsmbs/wcslen.c: Define and use WCSLEN.
43634         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43635         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43636         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43637         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43638         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43639         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43640         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43641
43642 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43643
43644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43645         strnlen-sse2-no-bsf.
43646         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43647         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43648         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43649         Add strnlen support.
43650         (USE_AS_STRNLEN): New macro.
43651         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43652         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43653         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43654         * sysdeps/x86_64/wcslen.S: New file.
43655
43656 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43657
43658         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43659         XMM-moves are used for copying on small sizes.
43660
43661 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43662
43663         * wcsmbs/Makefile (strop-tests): Add wcschr.
43664         * wcsmbs/test-wcschr.c: New file.
43665         * string/test-strchr.c: Update.
43666         Add wcschr support.
43667         (WIDE): New macro.
43668
43669 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43670
43671         * wcsmbs/Makefile (strop-tests): Add wcslen.
43672         * wcsmbs/test-wcslen.c: New file.
43673         * string/test-strlen.c: Update.
43674         Add wcslen support.
43675         (WIDE): New macro.
43676
43677 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43678
43679         * po/it.po: Update from translation team.
43680
43681 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43682
43683         * sysdeps/x86_64/wcscmp.S: Update.
43684         Fix wrong comparison semantics.
43685         wcscmp shall use signed comparison not unsigned.
43686         Don't use substraction to avoid overflow bug.
43687         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43688         * wcsmbc/wcscmp.c: Likewise.
43689         * string/test-strcmp.c: Likewise.
43690         Add new tests to check cases with negative values.
43691
43692 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43693
43694         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43695         * sysdeps/x86_64/dla.h: ...here.  New file.
43696         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43697         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43699         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43700         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43702         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43703         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43704         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43705
43706 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43707
43708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43709         __ynl_finite aliases.
43710
43711 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43712
43713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43714
43715         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43716         define DLA_FMA.
43717         [DLA_FMA] (EMULV): Use DLA_FMA.
43718         [DLA_FMA] (MUL12): Use EMULV.
43719         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43720         that are not needed.
43721         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43725         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43726         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43727         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43728
43729 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43730
43731         * math/s_nan.c: Undef __nan.
43732         * math/s_nanf.c: Undef __nanf.
43733         * math/s_nanl.c: Undef __nanl.
43734         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43735         "math_private.h".
43736
43737 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43738
43739         * math/s_catan.c: Add branch predictions.
43740         * math/s_catanf.c: Likewise.
43741         * math/s_catanh.c: Likewise.
43742         * math/s_catanhf.c: Likewise.
43743         * math/s_catanhl.c: Likewise.
43744         * math/s_catanl.c: Likewise.
43745         * math/s_cexp.c: Likewise.
43746         * math/s_cexpf.c: Likewise.
43747         * math/s_cexpl.c: Likewise.
43748         * math/s_clog.c: Likewise.
43749         * math/s_clog10.c: Likewise.
43750         * math/s_clog10f.c: Likewise.
43751         * math/s_clog10l.c: Likewise.
43752         * math/s_clogf.c: Likewise.
43753         * math/s_clogl.c: Likewise.
43754         * math/s_csqrt.c: Likewise.
43755         * math/s_csqrtf.c: Likewise.
43756         * math/s_csqrtl.c: Likewise.
43757         * math/s_ctanf.c: Likewise.
43758         * math/s_ctanh.c: Likewise.
43759         * math/s_ctanhf.c: Likewise.
43760         * math/s_ctanhl.c: Likewise.
43761         * math/s_ctanl.c: Likewise.
43762
43763         * math/math_private.h: Define __nan, __nanf, __nanl.
43764         * math/s_cacosh.c: Include <math_private.h>.
43765         * math/s_cacoshl.c: Likewise.
43766         * math/s_casinh.c: Likewise.
43767         * math/s_casinhf.c: Likewise.
43768         * math/s_casinhl.c: Likewise.
43769         * math/s_ccos.c: Rely entire on ccosh.
43770         * math/s_ccosf.c: Rely entire on ccoshf.
43771         * math/s_ccosl.c: Rely entirely on ccoshl.
43772         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43773         Remove tests for FE_INVALID.
43774         * math/s_ccoshf.c: Likewise.
43775         * math/s_ccoshl.c: Likewise.
43776         * math/s_csin.c: Likewise.
43777         * math/s_csinf.c: Likewise.
43778         * math/s_csinh.c Likewise.
43779         * math/s_csinhf.c: Likewise.
43780         * math/s_csinhl.c: Likewise.
43781         * math/s_csinl.c: Likewise.
43782         * math/s_ctan.c: Likewise.
43783         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43784         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43785         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43786
43787 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43788
43789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43790         compilation problems.
43791
43792         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43793         __builtin_expect.
43794
43795 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43796
43797         * sysdeps/i386/configure.in: Test for -mfma4 option.
43798         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43799         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43800         COMMON_CPUID_INDEX_80000001.
43801         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43802         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43803         use it if FMA3 is not supported.
43804         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43805
43806         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43807         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43808
43809 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43810
43811         [BZ #12892]
43812         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43813         it would create a cycle with a link time dependency.
43814
43815 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43816
43817         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43818         instruction.
43819         * string/Makefile (strop-tests): Add rawmemchr.
43820         * string/test-rawmemchr.c: New file.
43821
43822         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43823         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43824         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43825         when compiling str{,n}casecmp and when AVX is available.  Hook up
43826         new optimized code in initializers.
43827
43828 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43829
43830         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43831         __feraiseexcept instead of feraiseexcept.
43832
43833 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43834
43835         * math/math_private.h: Define defaults for libc_fetestexcept and
43836         libc_feupdateenv.
43837         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43838         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43839         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43840         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43841         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43842         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43843         libc_fetestexcept and libc_feupdateenv.
43844
43845         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43846         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43847         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43848         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43849         libc_feholdexcept_setround.
43850
43851         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43852         Add s_nearbyint-c and s_nearbyintf-c.
43853         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43854         nearbyintf inlines.
43855         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43856         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43857         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43858         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43859
43860         * math/math_private.h: Define defaults for libc_fegetround,
43861         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43862         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43863         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43864         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43865         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43866         standard functions.
43867         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43868         Remove comments and hacks for old compiler versions.
43869         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43870         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43871         libc_feholdexceptl.
43872
43873 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43874
43875         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43876         (__feraiseexcept_renamed): Add __NTH.
43877         (feraiseexcept): Add __NTH.  Rename local variables to fix
43878         namespace violations.
43879
43880 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43881
43882         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43883
43884         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43885
43886         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43887         recently added interfaces.
43888         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43889
43890         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43891         about macro parameter expansion.
43892
43893         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43894         __NO_MATH_INLINES is defined.  Cleanups.
43895
43896         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43897         and __floorf is target has SSE4.1.
43898         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43899         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43900         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43901         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43902
43903         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43904         name.
43905         (floorf): Likewise.
43906
43907         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43908
43909 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43910
43911         * misc/sys/cdefs.h: Fix last change.
43912
43913         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43914         database lookup.
43915
43916 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43917
43918         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43919
43920         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43921         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43922         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43923         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43924         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43925         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43926         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43927         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43928         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43929         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43930         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43931         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43932         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43933         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43934         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43935         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43936         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43937         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43938         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43939         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43940         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43941         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43942
43943         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43944         ceil, ceilf, floor, floorf.
43945
43946         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43947         Perform IRELATIVE relocations last.
43948
43949         * elf/do-rel.h: Add another parameter nrelative, replacing the
43950         local variable with the same name.  Change name of the function
43951         to end in Rel or Rela (uppercase).
43952         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43953         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43954         elf_dynamic_do_##reloc function.
43955
43956 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43957
43958         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43959         is sufficient, at least on modern CPUs.
43960
43961         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43962
43963         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43964         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43965
43966         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43967         __expl_finite.
43968         * math/bits/math-finite.h: Add entries for exp.
43969         * math/e_expl.c: Add __*_finite alias.
43970         * sysdeps/i386/fpu/e_exp.S: Likewise.
43971         * sysdeps/i386/fpu/e_expf.S: Likewise.
43972         * sysdeps/i386/fpu/e_expl.c: Likewise.
43973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43974         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43975         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43976         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43977         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43978         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43979         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43980
43981         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43982         is sufficient, at least on modern CPUs.
43983
43984         * ctype/ctype-info.c (__ctype_init): Define.
43985         * include/ctype.h (__ctype_init): Declare.
43986         (__ctype_b_loc): The variable is always initialized.
43987         (__ctype_toupper_loc): Likewise.
43988         (__ctype_tolower_loc): Likewise.
43989         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43990         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43991
43992 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43993
43994         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43995
43996         * configure.in: Also look in $cxxmachine/include for C++ system
43997         headers.
43998
43999 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44000
44001         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44002         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44003         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44004         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44005         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44006         (USE_AS_WMEMCMP): New macro.
44007         Fixing indents.
44008         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44009         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44010         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44011         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44012         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44013         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44014         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44015         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44016         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44017         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44018         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44019         (USE_AS_WMEMCMP): New macro.
44020         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44021         * sysdeps/string/test-memcmp.c: Update.
44022         Fix simple_wmemcmp.
44023         Add new tests.
44024         * wcsmbs/wmemcmp.c: Update.
44025         (WMEMCMP): New macro.
44026         Fix overflow bug.
44027
44028 2011-10-12  Andreas Jaeger  <aj@suse.de>
44029
44030         [BZ #13268]
44031         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44032
44033 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44034
44035         * libio/iofwide.c (do_length): Avoid warning.
44036
44037         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44038
44039 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44040
44041         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44042
44043         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44044         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44045         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44046         * sysdeps/i386/i686/fpu/e_log.S: New file.
44047         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44048         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44049
44050         * ctype/ctype.h: Add support for inlined isXXX functions when
44051         compiling C++ code.
44052
44053 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44054
44055         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44056
44057         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44058
44059 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44060
44061         [BZ #13291]
44062         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44063
44064 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44065
44066         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44067         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44068         feraiseexcept.
44069
44070         * sysdeps/x86_64/memrchr.S: Check for zero size.
44071
44072         * string/stratcliff.c: Add memrchr tests.
44073
44074 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44075
44076         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44077         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44078         rawmemchr-sse2 rawmemchr-sse2-bsf.
44079         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44080         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44081         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44082         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44083         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44084         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44085         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44086         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44087         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44088         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44089         * string/memrchr.c (MEMRCHR): New macro.
44090
44091 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44092
44093         Add integration with gcc's -ffinite-math-only and optimize wrapper
44094         functions in libm.
44095         * Versions.def: Define GLIBC_2.15 version for libm.
44096         * math/Makefile (headers): Add bits/math-finite.h.
44097         * math/bits/math-finite.h: New file.
44098         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44099         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44100         * math/e_acoshl.c: Add __*_finite alias.
44101         * math/e_acosl.c: Likewise.
44102         * math/e_asinl.c: Likewise.
44103         * math/e_atan2l.c: Likewise.
44104         * math/e_atanhl.c: Likewise.
44105         * math/e_coshl.c: Likewise.
44106         * math/e_exp10.c: Likewise.
44107         * math/e_exp10f.c: Likewise.
44108         * math/e_exp10l.c: Likewise.
44109         * math/e_exp2l.c: Likewise.
44110         * math/e_fmodl.c: Likewise.
44111         * math/e_gammal_r.c: Likewise.
44112         * math/e_hypotl.c: Likewise.
44113         * math/e_j0l.c: Likewise.
44114         * math/e_j1l.c: Likewise.
44115         * math/e_jnl.c: Likewise.
44116         * math/e_lgammal_r.c: Likewise.
44117         * math/e_log10l.c: Likewise.
44118         * math/e_log2l.c: Likewise.
44119         * math/e_logl.c: Likewise.
44120         * math/e_powl.c: Likewise.
44121         * math/e_sinhl.c: Likewise.
44122         * math/e_sqrtl.c: Likewise.
44123         * math/e_scalb.c: Completely rewritten and optimized.
44124         * math/e_scalbf.c: Likewise.
44125         * math/e_scalbl.c: Likewise.
44126         * math/w_acos.c: Likewise.
44127         * math/w_acosf.c: Likewise.
44128         * math/w_acosl.c: Likewise.
44129         * math/w_acosh.c: Likewise.
44130         * math/w_acoshf.c: Likewise.
44131         * math/w_acoshl.c: Likewise.
44132         * math/w_asin.c: Likewise.
44133         * math/w_asinf.c: Likewise.
44134         * math/w_asinl.c: Likewise.
44135         * math/w_atan2.c: Likewise.
44136         * math/w_atan2f.c: Likewise.
44137         * math/w_atan2l.c: Likewise.
44138         * math/w_atanh.c: Likewise.
44139         * math/w_atanhf.c: Likewise.
44140         * math/w_atanhl.c: Likewise.
44141         * math/w_exp10.c: Likewise.
44142         * math/w_exp10f.c: Likewise.
44143         * math/w_exp10l.c: Likewise.
44144         * math/w_fmod.c: Likewise.
44145         * math/w_fmodf.c: Likewise.
44146         * math/w_fmodl.c: Likewise.
44147         * math/w_j0.c: Likewise.
44148         * math/w_j0f.c: Likewise.
44149         * math/w_j0l.c: Likewise.
44150         * math/w_j1.c: Likewise.
44151         * math/w_j1f.c: Likewise.
44152         * math/w_j1l.c: Likewise.
44153         * math/w_jn.c: Likewise.
44154         * math/w_jnf.c: Likewise.
44155         * math/w_log.c: Likewise.
44156         * math/w_logf.c: Likewise.
44157         * math/w_logl.c: Likewise.
44158         * math/w_log10.c: Likewise.
44159         * math/w_log10f.c: Likewise.
44160         * math/w_log10l.c: Likewise.
44161         * math/w_log2.c: Likewise.
44162         * math/w_log2f.c: Likewise.
44163         * math/w_log2l.c: Likewise.
44164         * math/w_pow.c: Likewise.
44165         * math/w_powf.c: Likewise.
44166         * math/w_powl.c: Likewise.
44167         * math/w_remainder.c: Likewise.
44168         * math/w_remainderf.c: Likewise.
44169         * math/w_remainderl.c: Likewise.
44170         * math/w_scalb.c: Likewise.
44171         * math/w_scalbf.c: Likewise.
44172         * math/w_scalbl.c: Likewise.
44173         * math/w_sqrt.c: Likewise.
44174         * math/w_sqrtf.c: Likewise.
44175         * math/w_sqrtl.c: Likewise.
44176         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44177         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44178         used.
44179         * math/math_private.h: Declare __kernel_standard_f.
44180         * math/w_cosh.c: Remove cruft and optimize a bit.
44181         * math/w_coshf.c: Likewise.
44182         * math/w_coshl.c: Likewise.
44183         * math/w_exp2.c: Likewise.
44184         * math/w_exp2f.c: Likewise.
44185         * math/w_exp2l.c: Likewise.
44186         * math/w_hypot.c: Likewise.
44187         * math/w_hypotf.c: Likewise.
44188         * math/w_hypotl.c: Likewise.
44189         * math/w_lgamma.c: Likewise.
44190         * math/w_lgamma_r.c: Likewise.
44191         * math/w_lgammaf.c: Likewise.
44192         * math/w_lgammaf_r.c: Likewise.
44193         * math/w_lgammal.c: Likewise.
44194         * math/w_lgammal_r.c: Likewise.
44195         * math/w_sinh.c: Likewise.
44196         * math/w_sinhf.c: Likewise.
44197         * math/w_sinhl.c: Likewise.
44198         * math/w_tgamma.c: Likewise.
44199         * math/w_tgammaf.c: Likewise.
44200         * math/w_tgammal.c: Likewise.
44201         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44202         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44203         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44204         Minor optimizations.  Pretty printing.  Remove cruft.
44205         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44206         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44207         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44208         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44209         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44210         * sysdeps/i386/fpu/e_asin.S: Likewise.
44211         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44212         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44213         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44214         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44215         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44216         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44217         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44218         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44219         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44220         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44221         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44222         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44223         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44224         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44225         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44226         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44227         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44228         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44229         * sysdeps/i386/fpu/e_log.S: Likewise.
44230         * sysdeps/i386/fpu/e_log10.S: Likewise.
44231         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44232         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44233         * sysdeps/i386/fpu/e_log2.S: Likewise.
44234         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44235         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44236         * sysdeps/i386/fpu/e_logf.S: Likewise.
44237         * sysdeps/i386/fpu/e_logl.S: Likewise.
44238         * sysdeps/i386/fpu/e_pow.S: Likewise.
44239         * sysdeps/i386/fpu/e_powf.S: Likewise.
44240         * sysdeps/i386/fpu/e_powl.S: Likewise.
44241         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44242         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44243         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44244         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44245         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44246         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44247         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44248         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44249         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44250         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44251         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44252         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44253         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44254         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44255         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44256         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44257         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44258         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44259         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44260         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44261         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44263         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44264         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44265         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44266         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44267         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44268         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44269         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44270         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44271         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44272         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44273         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44274         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44275         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44276         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44277         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44278         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44279         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44280         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44281         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44282         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44283         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44284         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44285         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44286         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44287         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44288         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44289         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44290         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44291         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44292         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44293         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44294         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44295         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44296         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44297         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44298         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44299         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44300         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44301         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44302         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44303         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44304         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44305         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44306         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44307         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44308         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44309         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44310         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44311         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44312         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44313         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44314         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44315         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44316         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44317         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44318         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44319         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44320         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44321         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44322         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44323         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44324         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44325         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44326         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44327         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44328         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44329         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44330         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44331         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44332         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44333         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44334         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44335         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44336         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44337         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44338         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44339         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44340         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44341         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44342         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44343         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44344         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44345         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44346         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44347         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44348         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44349         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44350         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44351         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44352         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44353         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44354         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44355         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44356         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44357         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44358         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44359         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44360         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44361         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44362         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44363         (__isnanf): Likewise.
44364         (__isinf_ns): Likewise.
44365         (__isinf_nsf): Likewise.
44366         (__finite): Likewise.
44367         (__finitef): Likewise.
44368         (__ieee754_sqrt): Define as macro.
44369         (__ieee754_sqrtf): Define as macro.
44370         (__ieee754_sqrtl): Define as macro.
44371         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44372         inlined copy.
44373         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44374         __FINITE_MATH_ONLY__ consistent.
44375         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44376
44377 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44378
44379         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44380         of rawmemchr.
44381
44382         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44383
44384 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44385
44386         * po/ja.po: Update from translation team.
44387
44388 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44389
44390         * locale/programs/locarchive.c (prepare_address_space): New function.
44391         (create_archive, enlarge_archive, open_archive): Use it.
44392
44393         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44394         inside [SHARED], where it is used.
44395
44396         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44397
44398         * nss/getent.c (netgroup_keys): Remove unused variable.
44399         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44400
44401 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44402
44403         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44404         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44405         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44406         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44407         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44408         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44409         * math/Makefile (libm-calls): Add s_isinf_ns.
44410         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44411         * math/multc3.c: Likewise.
44412         * math/s_casin.c: Likewise.
44413         * math/s_casinf.c: Likewise.
44414         * math/s_casinl.c: Likewise.
44415         * math/s_ccos.c: Likewise.
44416         * math/s_ccosf.c: Likewise.
44417         * math/s_ccosl.c: Likewise.
44418         * math/s_ctan.c: Likewise.
44419         * math/s_ctanf.c: Likewise.
44420         * math/s_ctanh.c: Likewise.
44421         * math/s_ctanhf.c: Likewise.
44422         * math/s_ctanhl.c: Likewise.
44423         * math/s_ctanl.c: Likewise.
44424         * math/w_fmod.c: Likewise.
44425         * math/w_fmodf.c: Likewise.
44426         * math/w_fmodl.c: Likewise.
44427         * math/w_remainder.c: Likewise.
44428         * math/w_remainderf.c: Likewise.
44429         * math/w_remainderl.c: Likewise.
44430         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44431         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44432         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44433         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44434         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44435         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44436         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44437         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44438
44439         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44440         of the number.
44441         * stdio-common/printf_fphex.c: Likewise.
44442         * stdio-common/printf_size.c: Likewise.
44443
44444         * math/e_exp10.c: Include math_private.h using <...> not "...".
44445         * math/e_exp10f.c: Likewise.
44446         * math/e_exp10l.c: Likewise.
44447         * math/e_exp2l.c: Likewise.
44448         * math/e_j0l.c: Likewise.
44449         * math/e_j1l.c: Likewise.
44450         * math/e_jnl.c: Likewise.
44451         * math/e_lgammal_r.c: Likewise.
44452         * math/e_rem_pio2l.c: Likewise.
44453         * math/e_scalb.c: Likewise.
44454         * math/e_scalbf.c: Likewise.
44455         * math/e_scalbl.c: Likewise.
44456         * math/k_cosl.c: Likewise.
44457         * math/k_sinl.c: Likewise.
44458         * math/k_tanl.c: Likewise.
44459         * math/s_cacoshf.c: Likewise.
44460         * math/s_catan.c: Likewise.
44461         * math/s_catanf.c: Likewise.
44462         * math/s_catanh.c: Likewise.
44463         * math/s_catanhf.c: Likewise.
44464         * math/s_catanhl.c: Likewise.
44465         * math/s_catanl.c: Likewise.
44466         * math/s_ccosh.c: Likewise.
44467         * math/s_ccoshf.c: Likewise.
44468         * math/s_ccoshl.c: Likewise.
44469         * math/s_cexp.c: Likewise.
44470         * math/s_cexpf.c: Likewise.
44471         * math/s_cexpl.c: Likewise.
44472         * math/s_clog.c: Likewise.
44473         * math/s_clog10.c: Likewise.
44474         * math/s_clog10f.c: Likewise.
44475         * math/s_clog10l.c: Likewise.
44476         * math/s_clogf.c: Likewise.
44477         * math/s_clogl.c: Likewise.
44478         * math/s_csin.c: Likewise.
44479         * math/s_csinf.c: Likewise.
44480         * math/s_csinh.c: Likewise.
44481         * math/s_csinhf.c: Likewise.
44482         * math/s_csinhl.c: Likewise.
44483         * math/s_csinl.c: Likewise.
44484         * math/s_csqrt.c: Likewise.
44485         * math/s_csqrtf.c: Likewise.
44486         * math/s_csqrtl.c: Likewise.
44487         * math/s_ctan.c: Likewise.
44488         * math/s_ctanf.c: Likewise.
44489         * math/s_ctanh.c: Likewise.
44490         * math/s_ctanhf.c: Likewise.
44491         * math/s_ctanhl.c: Likewise.
44492         * math/s_ctanl.c: Likewise.
44493         * math/s_ldexp.c: Likewise.
44494         * math/s_ldexpf.c: Likewise.
44495         * math/s_ldexpl.c: Likewise.
44496         * math/s_significand.c: Likewise.
44497         * math/s_significandf.c: Likewise.
44498         * math/s_significandl.c: Likewise.
44499         * math/w_acos.c: Likewise.
44500         * math/w_acosf.c: Likewise.
44501         * math/w_acosh.c: Likewise.
44502         * math/w_acoshf.c: Likewise.
44503         * math/w_acoshl.c: Likewise.
44504         * math/w_acosl.c: Likewise.
44505         * math/w_asin.c: Likewise.
44506         * math/w_asinf.c: Likewise.
44507         * math/w_asinl.c: Likewise.
44508         * math/w_atan2.c: Likewise.
44509         * math/w_atan2f.c: Likewise.
44510         * math/w_atan2l.c: Likewise.
44511         * math/w_atanh.c: Likewise.
44512         * math/w_atanhf.c: Likewise.
44513         * math/w_atanhl.c: Likewise.
44514         * math/w_cosh.c: Likewise.
44515         * math/w_coshf.c: Likewise.
44516         * math/w_coshl.c: Likewise.
44517         * math/w_dremf.c: Likewise.
44518         * math/w_exp10.c: Likewise.
44519         * math/w_exp10f.c: Likewise.
44520         * math/w_exp10l.c: Likewise.
44521         * math/w_exp2.c: Likewise.
44522         * math/w_exp2f.c: Likewise.
44523         * math/w_fmod.c: Likewise.
44524         * math/w_fmodf.c: Likewise.
44525         * math/w_fmodl.c: Likewise.
44526         * math/w_hypot.c: Likewise.
44527         * math/w_hypotf.c: Likewise.
44528         * math/w_hypotl.c: Likewise.
44529         * math/w_j0.c: Likewise.
44530         * math/w_j0f.c: Likewise.
44531         * math/w_j0l.c: Likewise.
44532         * math/w_j1.c: Likewise.
44533         * math/w_j1f.c: Likewise.
44534         * math/w_j1l.c: Likewise.
44535         * math/w_jn.c: Likewise.
44536         * math/w_jnf.c: Likewise.
44537         * math/w_jnl.c: Likewise.
44538         * math/w_lgamma.c: Likewise.
44539         * math/w_lgamma_r.c: Likewise.
44540         * math/w_lgammaf.c: Likewise.
44541         * math/w_lgammaf_r.c: Likewise.
44542         * math/w_lgammal.c: Likewise.
44543         * math/w_lgammal_r.c: Likewise.
44544         * math/w_log.c: Likewise.
44545         * math/w_log10.c: Likewise.
44546         * math/w_log10f.c: Likewise.
44547         * math/w_log10l.c: Likewise.
44548         * math/w_log2.c: Likewise.
44549         * math/w_log2f.c: Likewise.
44550         * math/w_log2l.c: Likewise.
44551         * math/w_logf.c: Likewise.
44552         * math/w_logl.c: Likewise.
44553         * math/w_pow.c: Likewise.
44554         * math/w_powf.c: Likewise.
44555         * math/w_powl.c: Likewise.
44556         * math/w_remainder.c: Likewise.
44557         * math/w_remainderf.c: Likewise.
44558         * math/w_remainderl.c: Likewise.
44559         * math/w_scalb.c: Likewise.
44560         * math/w_scalbf.c: Likewise.
44561         * math/w_scalbl.c: Likewise.
44562         * math/w_sinh.c: Likewise.
44563         * math/w_sinhf.c: Likewise.
44564         * math/w_sinhl.c: Likewise.
44565         * math/w_sqrt.c: Likewise.
44566         * math/w_sqrtf.c: Likewise.
44567         * math/w_sqrtl.c: Likewise.
44568         * math/w_tgamma.c: Likewise.
44569         * math/w_tgammaf.c: Likewise.
44570         * math/w_tgammal.c: Likewise.
44571
44572         * po/ja.po: Update from translation team.
44573
44574 2011-09-29  Andreas Jaeger  <aj@suse.de>
44575
44576         [BZ #13179]
44577         * sunrpc/netname.c (netname2host): Fix logic.
44578
44579         [BZ #6779]
44580         [BZ #6783]
44581         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44582         correctly.
44583         * math/w_remainder.c (__remainder): Likewise.
44584         * math/w_remainderf.c (__remainderf): Likewise.
44585         * math/libm-test.inc (remainder_test): Add test cases.
44586
44587 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44588
44589         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44590         sdiv_qrnnd.
44591
44592 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44593
44594         * string/test-memcmp.c: Avoid unncessary #defines.
44595         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44596
44597 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44598
44599         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44600         Use new sse2 version for core i3 - i7 as it's faster
44601         than sse42 version.
44602         (bit_Prefer_PMINUB_for_stringop): New.
44603         * sysdeps/x86_64/rawmemchr.S: Update.
44604         Replace with faster SSE2 version.
44605         * sysdeps/x86_64/memrchr.S: New file.
44606         * sysdeps/x86_64/memchr.S: Update.
44607         Replace with faster SSE2 version.
44608
44609 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44610
44611         * elf/dl-load.c (lose): Add cast to avoid warning.
44612
44613 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44614
44615         * po/ca.po: Update from translation team.
44616
44617         * inet/getnetgrent_r.c: Hook up nscd.
44618         * nscd/Makefile (routines): Add nscd_netgroup.
44619         (nscd-modules): Add netgroupcache.
44620         (CFLAGS-netgroupcache.c): Define.
44621         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44622         (cache_search): Add const to second parameter.
44623         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44624         INNETGR.
44625         (dbs): Add netgrdb entry.
44626         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44627         (verify_persistent_db): Handle netgrdb.
44628         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44629         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44630         GETFDNETGR.
44631         (netgroup_response_header): Define.
44632         (innetgroup_response_header): Define.
44633         (datahead): Add netgroup_response_header and innetgroup_response_header
44634         elements.
44635         * nscd/nscd.conf: Add entries for netgroup cache.
44636         * nscd/nscd.h (dbtype): Add netgrdb.
44637         (_PATH_NSCD_NETGROUP_DB): Define.
44638         (netgroup_iov_disabled): Declare.
44639         (xmalloc, xcalloc, xrealloc): Move declarations here.
44640         (cache_search): Adjust prototype.
44641         Add netgroup-related prototypes.
44642         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44643         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44644         (__nscd_innetgr): Declare.
44645         * nscd/selinux.c (perms): Use access_vector_t as element type and
44646         add netgroup-related initializers.
44647         * nscd/netgroupcache.c: New file.
44648         * nscd/nscd_netgroup.c: New file.
44649         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44650         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44651         For four parameters use innetgr.
44652         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44653         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44654         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44655         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44656
44657         * nscd/connections.c (register_traced_file): Don't register file
44658         for disabled databases.
44659
44660 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44661
44662         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44663
44664         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44665         from tree and freeing node.
44666
44667 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44668
44669         * nss/nsswitch.c (__nss_database_lookup): Handle
44670         nss_parse_service_list out of memory case.
44671
44672 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44673
44674         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44675         out of memory case.
44676
44677 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44678
44679         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44680         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44681         pass it down.
44682         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44683         elf_machine_rela, elf_machine_lazy_rel.
44684         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44685         (ELF_DYNAMIC_DO_REL): Likewise.
44686         (ELF_DYNAMIC_DO_RELA): Likewise.
44687         (ELF_DYNAMIC_RELOCATE): Likewise.
44688         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44689         to ELF_DYNAMIC_DO_REL.
44690         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44691         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44692         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44693         elf_machine_rela.
44694         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44695         skip_ifunc, don't call ifunc function if non-zero.
44696         (elf_machine_rela): Likewise.
44697         (elf_machine_lazy_rel): Likewise.
44698         (elf_machine_lazy_rela): Likewise.
44699         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44700         (elf_machine_lazy_rel): Likewise.
44701         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44702         Likewise.
44703         (elf_machine_lazy_rel): Likewise.
44704         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44705         Likewise.
44706         (elf_machine_lazy_rel): Likewise.
44707         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44708         (elf_machine_lazy_rel): Likewise.
44709         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44710         (elf_machine_lazy_rel): Likewise.
44711         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44712         (elf_machine_lazy_rel): Likewise.
44713         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44714         (elf_machine_lazy_rel): Likewise.
44715         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44716         (elf_machine_lazy_rel): Likewise.
44717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44718         (elf_machine_lazy_rel): Likewise.
44719
44720 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44721
44722         * nss/nss_files/files-init.c (_nss_files_init): Use static
44723         initialization for all the *_traced_file variables.
44724
44725 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44726
44727         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44728
44729 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44730
44731         [BZ #13226]
44732         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44733
44734 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44735
44736         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44737         Reread the line before reparsing it.
44738
44739 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44740
44741         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44742
44743 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44744             Maxim Kuvyrkov  <maxim@codesourcery.com>
44745             Joseph Myers  <joseph@codesourcery.com>
44746
44747         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44748         if needed for __stack_chk_guard.
44749
44750 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44751
44752         * sysdeps/posix/spawni.c (script_execute): Always define it.
44753         It will be optimized away if unused.
44754         (maybe_script_execute): New function.
44755         (__spawni): Call it.
44756
44757         * Makerules: Don't include tls.make.
44758         (config-tls): Always set to thread.
44759         * tls.make.c: File removed.
44760
44761 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44762
44763         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44764         * config.make.in (CPPFLAGS-config): New substituted variable.
44765
44766 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44767
44768         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44769
44770         [BZ #13192]
44771         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44772         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44773
44774 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44775
44776         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44777         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44778         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44779         (CALL_FAIL): Likewise.
44780         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44781         (CALL_FAIL): Macro removed.
44782         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44783
44784 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44785
44786         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44787         for __FINITE_MATH_ONLY__ == 1.
44788
44789 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44790
44791         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44792         __ieee754_sqrt instead of sqrt.
44793         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44794         __ieee754_sqrtf instead of sqrtf.
44795         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44796         __floorf instead of floorf.
44797         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44798         __floorf, __truncf instead of floorf, truncf.
44799
44800 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44801
44802         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44803
44804         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44805         __extern_always_inline.
44806         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44807         32-bit.
44808
44809 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44810
44811         * elf/rtld.c (dl_main): Also relocate in dependency order when
44812         doing symbol dependency testing.
44813
44814 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44815
44816         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44817         Always define `refsym'.
44818
44819 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44820
44821         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44822         (__FD_ELT): Renamed from __FDELT.
44823         * misc/bits/select2.h (__FD_ELT): Likewise.
44824         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44825         __FD_MASK instead of __FDELT, __FDMASK.
44826         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44827         Likewise.
44828         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44829         Likewise.
44830
44831         * elf/Makefile (gen-ldd): Fix pattern.
44832
44833         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44834         (init_tls): Likewise.
44835
44836 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44837
44838         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44839
44840 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44841
44842         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44843         `struct cmsghdr *' instead of `void *'.
44844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44845         Likewise.
44846
44847 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44848
44849         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44850         if non-absolute.
44851         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44852         ldd_rewrite_script.
44853
44854 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44855
44856         * configure.in: Remove --with-tls option.
44857         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44858         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44859         out in case it is missing.
44860         * sysdeps/ia64/elf/configure.in: Likewise.
44861         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44862         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44863         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44864         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44865         * sysdeps/sh/elf/configure.in: Likewise.
44866         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44867         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44868         * sysdeps/x86_64/elf/configure.in: Likewise.
44869         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44870         * sysdeps/mach/hurd/tls.h: Likewise.
44871
44872         [BZ #13067]
44873         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44874
44875         [BZ #13090]
44876         * configure.in: Fix use of AC_INIT.
44877
44878         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44879
44880 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44881
44882         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44883         __set_errno.
44884         * malloc/hooks.c: Likewise.
44885
44886         [BZ #11929]
44887         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44888         variables statically.
44889         (narenas): Initialize.
44890         (list_lock): Initialize.
44891         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44892         initializtion of main_arena and list_lock.  Small cleanups.
44893         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44894         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44895         Add initializers to main_arena and mp_.
44896         (malloc_state): Remove pagesize member.  Change all users to use
44897         GLRO(dl_pagesize).
44898
44899         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44900         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44901         is always initialized.
44902
44903         * malloc/malloc.c: Removed unused configurations and dead code.
44904         * malloc/arena.c: Likewise.
44905         * malloc/hooks.c: Likewise.
44906         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44907
44908         * include/tls.h: Removed.  USE___THREAD must always be defined.
44909         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44910         * elf/dl-libc.c: Likewise.
44911         * elf/dl-tsd.c: Likewise.
44912         * include/errno.h: Likewise.
44913         * include/netdb.h: Likewise.
44914         * include/resolv.h: Likewise.
44915         * inet/herrno-loc.c: Likewise.
44916         * inet/herrno.c: Likewise.
44917         * malloc/arena.c: Likewise.
44918         * malloc/hooks.c: Likewise.
44919         * malloc/malloc.c: Likewise.
44920         * resolv/res-state.c: Likewise.
44921         * resolv/res_libc.c: Likewise.
44922         * sysdeps/i386/dl-machine.h: Likewise.
44923         * sysdeps/ia64/dl-machine.h: Likewise.
44924         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44925         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44926         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44927         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44928         * sysdeps/sh/dl-machine.h: Likewise.
44929         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44930         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44931         * sysdeps/unix/i386/sysdep.S: Likewise.
44932         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44933         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44934         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44936         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44938         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44942         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44943         * sysdeps/x86_64/dl-machine.h: Likewise.
44944         * tls.make.c: Likewise.
44945
44946         * configure.in: Remove --with-__thread option.  Make tests for
44947         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44948         tls_model attribute fail if no support is available.  Remove
44949         USE_IN_LIBIO.
44950         * Makeconfig: Adjust for dropped configure option.  All features are
44951         now mandatory.
44952         * Makerules: Likewise.
44953         * Versions.def: Likewise.
44954         * argp/argp-fmtstream.c: Likewise.
44955         * argp/argp-fmtstream.h: Likewise.
44956         * argp/argp-help.c: Likewise.
44957         * assert/assert.c: Likewise.
44958         * config.h.in: Likewise.
44959         * config.make.in: Likewise.
44960         * configure: Likewise.
44961         * configure.in: Likewise.
44962         * csu/Versions: Likewise.
44963         * csu/init.c: Likewise.
44964         * elf/tst-audit2.c: Likewise.
44965         * elf/tst-tls10.c: Likewise.
44966         * elf/tst-tls10.h: Likewise.
44967         * elf/tst-tls11.c: Likewise.
44968         * elf/tst-tls12.c: Likewise.
44969         * elf/tst-tls14.c: Likewise.
44970         * elf/tst-tlsmod11.c: Likewise.
44971         * elf/tst-tlsmod12.c: Likewise.
44972         * elf/tst-tlsmod13.c: Likewise.
44973         * elf/tst-tlsmod13a.c: Likewise.
44974         * elf/tst-tlsmod14a.c: Likewise.
44975         * elf/tst-tlsmod15b.c: Likewise.
44976         * elf/tst-tlsmod16a.c: Likewise.
44977         * elf/tst-tlsmod16b.c: Likewise.
44978         * elf/tst-tlsmod7.c: Likewise.
44979         * elf/tst-tlsmod8.c: Likewise.
44980         * elf/tst-tlsmod9.c: Likewise.
44981         * gmon/gmon.c: Likewise.
44982         * grp/fgetgrent_r.c: Likewise.
44983         * grp/putgrent.c: Likewise.
44984         * hurd/fopenport.c: Likewise.
44985         * include/libc-symbols.h: Likewise.
44986         * include/tls.h: Likewise.
44987         * intl/gettextP.h: Likewise.
44988         * intl/loadinfo.h: Likewise.
44989         * locale/global-locale.c: Likewise.
44990         * locale/localeinfo.h: Likewise.
44991         * mach/devstream.c: Likewise.
44992         * malloc/arena.c: Likewise.
44993         * malloc/set-freeres.c: Likewise.
44994         * misc/err.c: Likewise.
44995         * misc/getttyent.c: Likewise.
44996         * misc/mntent_r.c: Likewise.
44997         * posix/getopt.c: Likewise.
44998         * posix/wordexp.c: Likewise.
44999         * pwd/fgetpwent_r.c: Likewise.
45000         * resolv/Versions: Likewise.
45001         * resolv/res_hconf.c: Likewise.
45002         * shadow/fgetspent_r.c: Likewise.
45003         * shadow/putspent.c: Likewise.
45004         * stdio-common/printf_fphex.c: Likewise.
45005         * stdio-common/tmpfile.c: Likewise.
45006         * stdlib/abort.c: Likewise.
45007         * stdlib/fmtmsg.c: Likewise.
45008         * sunrpc/auth_unix.c: Likewise.
45009         * sunrpc/clnt_perr.c: Likewise.
45010         * sunrpc/clnt_tcp.c: Likewise.
45011         * sunrpc/clnt_udp.c: Likewise.
45012         * sunrpc/clnt_unix.c: Likewise.
45013         * sunrpc/openchild.c: Likewise.
45014         * sunrpc/svc_simple.c: Likewise.
45015         * sunrpc/svc_tcp.c: Likewise.
45016         * sunrpc/svc_udp.c: Likewise.
45017         * sunrpc/svc_unix.c: Likewise.
45018         * sunrpc/xdr.c: Likewise.
45019         * sunrpc/xdr_array.c: Likewise.
45020         * sunrpc/xdr_rec.c: Likewise.
45021         * sunrpc/xdr_ref.c: Likewise.
45022         * sunrpc/xdr_stdio.c: Likewise.
45023
45024 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45025
45026         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45027
45028 2011-07-03  Andreas Jaeger  <aj@suse.de>
45029
45030         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45031         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45032         regenerate with gen-libm-tests.pl.
45033
45034 2010-05-12  Petr Baudis  <pasky@suse.cz>
45035
45036         [BZ #11589]
45037         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45038         around j0() zero points by switching to j1().
45039         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45040         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45041         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45042         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45043
45044 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45045
45046         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45047         instead of 0.
45048         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45049         instead of 0.
45050         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45051         Patch in part by Pavel Roskin <proski@gnu.org>.
45052
45053         [BZ #13138]
45054         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45055         realloc.
45056         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45057         Free memory block if necessary.
45058
45059         [BZ #12847]
45060         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45061         be NULL.  Don't lock in this case.
45062
45063 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45064
45065         * elf/elf.h (ELFOSABI_GNU): New macro.
45066         (ELFOSABI_LINUX): Define to that.
45067
45068 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45069
45070         * string/strncat.c (strncat): Undef the symbol in case it has been
45071         defined in bits/string.h.
45072
45073 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45074
45075         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45076
45077         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45078         link map.
45079
45080 2011-08-17  Andreas Jaeger  <aj@suse.de>
45081
45082         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45083
45084 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45085             Ian Lance Taylor  <iant@google.com>
45086
45087         * math/libm-test.inc (lround_test): New testcase.
45088         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45089
45090 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45091
45092         * Makefile: Remove support for automatic cvs check-ins.
45093         * Makerules: Likewise.
45094         * config.make.in: Likewise.
45095         * configure.in: Likewise.
45096         * intl/Makefile: Likewise.
45097         * locale/Makefile: Likewise.
45098         * po/Makefile: Likewise.
45099         * posix/Makefile: Likewise.
45100         * sysdeps/gnu/Makefile: Likewise.
45101         * sysdeps/mach/hurd/Makefile: Likewise.
45102         * sysdeps/sparc/sparc32/Makefile: Likewise.
45103
45104         [BZ #13118]
45105         * posix/Makefile (bug-regex32-ENV): Define.
45106         Patch by John Stanley <jpsinthemix@verizon.net>.
45107
45108         * misc/Makefile (headers): Add bits/select2.h.
45109         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45110         * misc/bits/select2.h: New file.
45111         * include/bits/select2.h: New file.
45112         * debug/Makefile (routines): Add fdelt_chk.
45113         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45114         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45115         FD_ISSET.
45116         * debug/fdelt_chk.c: New file.
45117
45118         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45119         * wcsmbs/test-wmemcmp.c: Likewise.
45120         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45121         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45122
45123 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45124
45125         * string/Makefile (strop-tests): Add memcmp.
45126         * string/test-wmemcmp.c: New file.
45127         * string/test-memcmp.c: Add wmemcmp support.
45128
45129 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45130
45131         [BZ #13153]
45132         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45133         2011-07-19 change.
45134
45135         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45136         garbage value in a __mach_port_mod_refs call in the cases of the
45137         task-self and thread-self ports.
45138
45139 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45140
45141         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45142
45143 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45144
45145         * elf/dl-load.c (lose): Check for non-null L.
45146
45147 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45148
45149         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45150
45151         * elf/dl-libc.c (dlerror_run): Pass back error code from
45152         dl_catch_error.
45153
45154         [BZ #13123]
45155         * elf/dl-load.c (lose): Free l_origin if it is valid.
45156
45157         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45158         names.
45159         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45160         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45161         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45162         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45163         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45164         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45165
45166 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45167
45168         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45169         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45170         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45171         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45172         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45173         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45174         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45175         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45176         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45177         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45178
45179 2011-08-15  Alan Modra  <amodra@gmail.com>
45180
45181         [BZ #13092]
45182         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45183         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45184         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45185         ppc_mcount to static-only-routines.
45186         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45187         __mcount_internal.
45188         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45189         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45190
45191 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45192
45193         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45194         for finite and infinity parameters.
45195
45196 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45197
45198         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45199         and add nop instructions for throughput optimization.
45200         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45201
45202 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45203
45204         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45205         aligned copy for power7 with vector-scalar instructions.
45206         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45207
45208 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45209
45210         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45211         AVX check.
45212
45213 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45214
45215         [BZ #13144]
45216         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45217         last change.
45218
45219 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45220
45221         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45222         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45223         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45224         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45225         clock_gettime.
45226
45227 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45228
45229         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45230         Forgot to demangle the pointer.
45231
45232         * sysdeps/i386/sysdep.h: Define atom_text_section.
45233         * sysdeps/x86_64/sysdep.h: Likewise.
45234         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45235         section with atom_text_section.
45236         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45237         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45238         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45239         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45240         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45241
45242         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45243         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45244         already be defined.  Change to take two parameters and don't assign
45245         result to variable.  Adjust all users.
45246         Define INTERNAL_GETTIME if not already defined.
45247         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45248         call.
45249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45250         HAVE_CLOCK_GETTIME_VSYSCALL.
45251         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45252
45253         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45254         gettimeofday vsyscall, just use time.
45255
45256 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45257
45258         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45259         <errno.h>.
45260
45261 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45262
45263         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45264         syscall on x86-64.
45265         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45266         syscall.
45267         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45268         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45269         syscall if possible.
45270
45271 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45272
45273         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45274         e_ident.  Don't pass to find_mapsXX.
45275         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45276
45277 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45278
45279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45280         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45281         * sysdeps/x86_64/multiarch/strchr.S: Update.
45282         Check bit_slow_BSF bit.
45283         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45284         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45285         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45286
45287 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45288
45289         [BZ #13134]
45290         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45291         before glibc 2.15.
45292         (tryshell): Define.
45293         (__spawni): Change last parameter to be flag.  Test
45294         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45295         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45296         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45297         * posix/spawni.c: Likewise.
45298         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45299         * posix/spawnp.c: Likewise.  Change normal version to use
45300         SPAWN_XFLAGS_USE_PATH.
45301         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45302         SPAWN_XFLAGS_TRY_SHELL.
45303
45304         [BZ #13150]
45305         * posix/glob.h: Remove gcc 1.x support.
45306
45307         [BZ #13068]
45308         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45309
45310 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45311
45312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45313         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45314         strrchr-sse2-bsf
45315         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45316         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45317         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45318         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45319         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45320         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45321
45322 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45323
45324         * sysdeps/x86_64/wcscmp.S: New file.
45325
45326         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45327         wcscmp-c wcscmp-sse2
45328         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45329         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45330         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45331         * wcsmbs/wcscmp.c: Allow renaming.
45332
45333 2011-09-05  David S. Miller  <davem@davemloft.net>
45334
45335         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45336         stack slot, rather than the struct return pointer slot.
45337         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45338         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45340         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45341
45342 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45343
45344         * po/ja.po: Update from translation team.
45345
45346         [BZ #13144]
45347         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45348         kernel in 64-bit binaries.
45349
45350 2011-09-01  David S. Miller  <davem@davemloft.net>
45351
45352         * elf/elf.h (HWCAP_SPARC_*): Move to..
45353         * sysdeps/sparc/sysdep.h: this new file and add new values.
45354         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45355         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45356         _DL_HWCAP_COUNT to 24.
45357         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45358         entries.
45359         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45360         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45361         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45362         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45363         instead of magic constants.
45364         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45365
45366 2011-08-31  David S. Miller  <davem@davemloft.net>
45367
45368         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45370         Reimplement to do errno handling inline.
45371         (SYSCALL_ERROR_HANDLER): New macro.
45372         (__SYSCALL_STRING): Do not do errno handling in asm.
45373         (__CLONE_SYSCALL_STRING): Delete.
45374         (__INTERNAL_SYSCALL_STRING): Delete.
45375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45376         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45377         (PSEUDO): Reimplement to do errno handling inline.
45378         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45379         (SYSCALL_ERROR_HANDLER): New macro.
45380         (__SYSCALL_STRING): Do not do errno handling in asm.
45381         (__CLONE_SYSCALL_STRING): Delete.
45382         (__INTERNAL_SYSCALL_STRING): Delete.
45383         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45384         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45385         i386.
45386         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45387         (inline_syscall*): Add 'err' argument.
45388         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45389         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45390         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45391         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45392
45393         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45394         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45395
45396 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45397
45398         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45399
45400 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45401
45402         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45403         directive.
45404
45405 2011-08-24  David S. Miller  <davem@davemloft.net>
45406
45407         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45408
45409 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45410
45411         * elf/Makefile: Add rules to build and run unload8 test.
45412         * elf/unload8.c: New file.
45413         * elf/unload8mod1.c: New file.
45414         * elf/unload8mod1x.c: New file.
45415         * elf/unload8mod2.c: New file.
45416         * elf/unload8mod3.c: New file.
45417
45418         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45419         it wasn't used.
45420
45421 2011-08-23  David S. Miller  <davem@davemloft.net>
45422
45423         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45424         subtract stack bias.
45425         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45426         %sp not %fp in calculations.
45427         (_JMPBUF_UNWINDS_ADJ): Likewise.
45428
45429         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45430         (aio_suspend): Call it to force an exception region around the
45431         AIO_MISC_WAIT() invocation.
45432
45433 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45434
45435         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45436         backslash.
45437
45438 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45439
45440         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45441         protection macro.
45442         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45443         and <dl-machine.h>.
45444         (Elf64_FuncDesc): Remove.
45445
45446 2011-08-22  David S. Miller  <davem@davemloft.net>
45447
45448         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45449         sigaltstack check, add missing cfi directives.
45450         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45451         missing cfi directives, and sigaltstack handling.
45452
45453 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45454
45455         [BZ #11724]
45456         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45457         object is seen twice.
45458         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45459
45460         * elf/Makefile (distribute): Add tst-initorder2.c.
45461         (tests): Add tst-initorder2.
45462         (modules-names): Add tst-initorder2a tst-initorder2b
45463         tst-initorder2c tst-initorder2d.  Add rules to build them.
45464         ($(objpfx)tst-initorder2.out): New rule.
45465         * elf/tst-initorder2.c: New file.
45466         * elf/tst-initorder2.exp: New file.
45467
45468 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45469
45470         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45471
45472         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45473         dependencies back to end of function.
45474
45475         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45476         $(elfobjdir)/ld.so.
45477
45478 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45479
45480         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45481         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45482         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45483         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45484         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45485         of __vdso_gettimeofday.
45486         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45487         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45488         attribute_hidden.
45489         (_libc_vdso_platform_setup): Remove initialization of
45490         __vdso_gettimeofday and __vdso_time.
45491
45492 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45493
45494         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45495         and fgetc_unlocked.
45496         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45497         getc_unlocked.
45498
45499         * elf/dl-open.c (add_to_global): Report additions to the global scope
45500         for LD_DEBUG=scopes.
45501         (dl_open_worker): Also print scope of newly loaded dependencies.
45502         (_dl_show_scope): Indicate if there is no scope.
45503
45504         [BZ #13114]
45505         * stdio-common/Makefile (tests): Add bug24.
45506         * stdio-common/bug24.c: New file.
45507
45508 2011-08-19  Andreas Jaeger  <aj@suse.de>
45509
45510         [BZ #13114]
45511         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45512         non-existant file when using close-on-exec mode.
45513
45514 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45515
45516         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45517         the very first instruction.
45518
45519         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45520         the CFI state in the end.
45521         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45522         inclusion of dl-trampoline.h.
45523         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45524
45525 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45526
45527         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45528         expectations for long double.
45529
45530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45531         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45532
45533 2011-08-14  David S. Miller  <davem@davemloft.net>
45534
45535         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45536         artificual limit depends upon the system page size.
45537
45538 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45539
45540         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45541         * resolv/Makefile: Define CFLAGS-libresolv.
45542
45543 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45544
45545         * nss/makedb.c (compute_tables): Make variables used in nested
45546         function static.
45547
45548 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45549
45550         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45551         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45552         if buffer was too small.
45553
45554         * elf/pldd.c (main): Attach to all threads in the process.
45555         Rewrite /proc handling to use *at functions.
45556
45557 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45558
45559         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45560         specifies first scope to show.
45561         (dl_open_worker): Update callers.  Move printing scope of new
45562         object to before the relocation.
45563         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45564         * sysdeps/generic/ldsodefs.h: Update declaration.
45565
45566         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45567         string for the scope number.
45568
45569 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45570
45571         * nscd/servicescache.c (cache_addserv): Make sure written is always
45572         initialized.
45573
45574 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45575
45576         * sysdeps/i386/i486/bits/atomic.h
45577         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45578         statement expression, so as to suppress "set but not used" warning.
45579         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45580
45581         * string/strncat.c (STRNCAT): Use prototype definition.
45582
45583         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45584         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45585         -Iprograms here.
45586         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45587         (localedef-modules): Add localedef.
45588         (locale-modules): Add locale.
45589
45590         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45591         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45592         to avoid a warning.
45593
45594 2011-08-14  David S. Miller  <davem@davemloft.net>
45595
45596         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45597         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45598
45599 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45600
45601         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45602         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45603         * elf/rtld.c (dl_main): Set l_name of vDSO.
45604         Call _dl_show_scope when DL_DEBUG_SCOPES.
45605         (process_dl_debug): Recognize scopes flag and also set it for all.
45606         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45607         Declare _dl_show_scope.
45608
45609         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45610         (do_dlopen): Pass caller_dlopen to dl_open.
45611         (__libc_dlopen_mode): Initialize caller_dlopen.
45612
45613         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45614         of libc.  Make tolower call locale-independent.  Optimize a bit by
45615         using isdigit instead of isalnum.
45616         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45617
45618 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45619
45620         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45621         was a dependency or dynamically loaded.
45622
45623 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45624
45625         * intl/l10nflist.c: Allow architecture-specific pop function.
45626         * sysdeps/x86_64/l10nflist.c: New file.
45627
45628         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45629         classification.
45630
45631 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45632
45633         * include/dirent.h: Add libc_hidden_proto for scandirat and
45634         scandirat64.  Don't declare __scandirat64.
45635         * dirent/scandirat.c: Add libc_hidden_def.
45636         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45637         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45638
45639 2011-08-10  David S. Miller  <davem@davemloft.net>
45640
45641         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45642         enum.
45643         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45644         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45645         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45646
45647 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45648
45649         * Versions.def [libc]: Add GLIBC_2.15.
45650         * dirent/Makefile (routines): Add scandirat and scandirat64.
45651         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45652         GLIBC_2.15.
45653         * dirent/dirent.h: Declare scandirat and scandirat64.
45654         * dirent/scandirat.c: New file.
45655         * dirent/scandirat64.c: New file.
45656         * sysdeps/wordsize-64/scandirat.c: New file.
45657         * sysdeps/wordsize-64/scandirat64.c: New file.
45658         * dirent/opendir.c: Define opendirat.
45659         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45660         using scandirat.
45661         * dirent/scandir64.c: Adjust for scandir.c change.
45662         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45663         __scandirat64, and __scandir_cancel_handler.
45664         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45665         additional parameter and use openat instead of open (outside of ld.so).
45666         Add new __opendir as wrapper around __opendirat.
45667         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45668         here without requiring old scandirat implementation.
45669
45670 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45671
45672         * dirent/scandir.c (cancel_handler): Renamed to
45673         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45674         defined.  Adjust users.
45675         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45676         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45677
45678 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45679
45680         * string/test-string.h (IMPL): Use __STRING to expand name and then
45681         stringify it.
45682
45683         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45684         of cleanups.
45685
45686 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45687
45688         * string/Makefile: Update.
45689         (strop-tests): Append strncat.
45690         * string/test-wcscmp.c: New file.
45691         New comprehensive test for wcscmp.
45692         * string/test-strcmp.c: Update.
45693         (WIDE): New define.
45694
45695 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45696
45697         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45698         line.
45699
45700 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45701
45702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45703         encoding to ACE if AI_IDN.
45704
45705 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45706
45707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45708         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45709
45710 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45711
45712         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45713         Fix overflow bug in strncat.
45714         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45715
45716         * string/test-strncat.c: Update.
45717         Add new tests for checking overflow bugs.
45718
45719 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45720
45721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45722         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45723         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45724         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45725         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45726         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45727         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45728         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45729         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45730
45731         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45732         (USE_AS_STRCAT): Define.
45733         Add strcat and strncat support.
45734         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45735
45736 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45737
45738         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45739         __n bigger than INT_MAX+1.
45740         (__strncmp_g): Likewise.
45741
45742 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45743
45744         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45745         * libio/stido.h: Likewise.
45746
45747         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45748         (AF_NFC): Define.
45749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45750         (AF_NFC): Define.
45751
45752         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45753         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45754         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45755         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45756         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45757
45758         [BZ #13021]
45759         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45760         installed.
45761
45762         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45763         typo.
45764         (_dl_x86_64_save_sse): Likewise.
45765
45766 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45767
45768         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45769         OSXSAVE.
45770         (_dl_x86_64_save_sse): Likewise.
45771
45772         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45773
45774         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45775
45776 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45777
45778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45779         change.
45780         (_dl_x86_64_save_sse): Use correct AVX check.
45781
45782 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45783
45784         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45785         bug in strncpy/strncat.
45786         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45787
45788 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45789
45790         * string/tester.c (test_strcat): Add tests for different alignments
45791         of source and destination.
45792         (test_strncat): Likewise.
45793
45794 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45795
45796         [BZ #12852]
45797         * posix/glob.c (glob): Check passed in values before using them in
45798         expressions to avoid some overflows.
45799         (glob_in_dir): Likewise.
45800
45801         [BZ #13007]
45802         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45803         check for AVX enablement so that we don't crash with old kernels and
45804         new hardware.
45805         * elf/tst-audit4.c: Add same checks here.
45806         * elf/tst-audit6.c: Likewise.
45807
45808         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45809
45810 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45811
45812         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45813
45814 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45815
45816         * po/cs.po: Update from translation team.
45817         * po/bg.po: Likewise.
45818
45819 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45820
45821         * misc/sys/cdefs.h: Add support for const attribute.
45822         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45823         to gnu_dev_{major,minor,makedev} functions.
45824
45825 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45826
45827         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45828
45829 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45830
45831         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45832         strlen results.
45833
45834 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45835
45836         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45837         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45838         register in order to avoid conflicts with the soft frame pointer
45839         being held in r11 when necessary.
45840         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45841         (INTERNAL_VSYSCALL_NCS): Likewise.
45842
45843 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45844
45845         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45846         * elf/dl-fini.c (_dl_fini): Adjust caller.
45847         * elf/dl-close.c (_dl_close_worker): Likewise.
45848         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45849
45850 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45851
45852         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45853         "aux_cache->nlibs < 0".
45854
45855         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45856         in the reload-count case.
45857
45858 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45859
45860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45861         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45862         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45863         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45864         * sysdeps/x86_64/multiarch/strcat.S: New file.
45865         * sysdeps/x86_64/multiarch/strncat.S: New file.
45866         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45867         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45868         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45869         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45870         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45871         (USE_AS_STRCAT): Define.
45872         Add strcat and strncat support.
45873         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45874         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45875         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45876         * string/strncat.c: Update.
45877         (USE_AS_STRNCAT): Define.
45878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45879         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45880         and i7.
45881         * sysdeps/x86_64/multiarch/init-arch.h
45882         (bit_Prefer_PMINUB_for_stringop): New.
45883         (index_Prefer_PMINUB_for_stringop): Likewise.
45884         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45885         bit_Prefer_PMINUB_for_stringop.
45886
45887 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45888
45889         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45890         buffer64.
45891         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45892         of casting of buffer.
45893         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45894         buffer32 and buffer64.
45895         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45896         writes instead of casting of buffer.
45897         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45898         buffer32.
45899         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45900         casting of buffer.
45901
45902 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45903
45904         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45905
45906 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45907
45908         * nscd/nscd.c (termination_handler): Don't do anything for a database
45909         if it has not yet been initialized.
45910
45911 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45912
45913         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45914
45915 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45916
45917         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45918
45919 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45920
45921         * po/nl.po: Update from translation team.
45922         * po/sv.po: Likewise.
45923
45924 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45925
45926         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45927         now disallowed by GCC.
45928
45929         * configure.in (use-default-link): Default to yes if a test -shared
45930         link meets our qualifications.
45931         * configure: Regenerated.
45932
45933         * config.make.in (output-format): New variable.
45934         * configure.in: Check for ld --print-output-format support.
45935         * configure: Regenerated.
45936         * Makerules ($(common-objpfx)format.lds)
45937         [$(output-format) != unknown]: Just use $(output-format),
45938         instead of the linker-script munging.
45939
45940 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45941
45942         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45943         of $(common-objpfx)shlib.lds.
45944         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45945
45946         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45947         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45948
45949         * configure.in (-z relro check): Adjust test code to add a large
45950         writable data section after it.
45951         * configure: Regenerated.
45952
45953 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45954
45955         * configure.in (-z relro check): Fix test code to make the variable
45956         truly const.
45957         * configure: Regenerated.
45958
45959 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45960
45961         * nscd/nscd.h (struct traced_file): Define.
45962         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45963         elements.  Add traced_files.
45964         (inotify_fd): Declare.
45965         (register_traced_file): Declare.
45966         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45967         (inotify_fd): Export.
45968         (resolv_conf_descr): Remove.
45969         (nscd_init): Move inotify descriptor creation to main.
45970         Don't register files for notification here.
45971         (register_traced_file): New function.
45972         (invalidate_cache): Don't use reset_res to determine whether to call
45973         res_init, go through the list of registered files.
45974         (main_loop_poll): The inotify descriptors are now stored in the
45975         structures for the traced files.
45976         (main_loop_epoll): Likewise
45977         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45978         to __nss_disable_nscd.
45979         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45980         for a database anymore.  Check the records for all the registered
45981         files instead.
45982         * nss/Makefile (libnss_files-routines): Add files-init.
45983         (libnss_db-routines): Add db-init.
45984         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45985         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45986         * nss/nss_db/db-init.c: New file.
45987         * nss/nss_files/files-init.c: New file.
45988         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45989         __nss_lookup_function.
45990         (__nss_lookup_function): Call nss_load_library.
45991         (nss_load_all_libraries): New function.
45992         (__nss_disable_nscd): Take parameter with callback function for files
45993         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45994         used for the cached services.
45995         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45996         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45997         options for features to all the files in nscd.
45998
45999         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46000
46001 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46002
46003         * csu/elf-init.c (__libc_csu_init): Comment typo.
46004
46005 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46006
46007         * po/pl.po: Update from translation team.
46008         * po/ja.po: Likewise.
46009         * po/ru.po: Likewise.
46010         * po/ko.po: Likewise.
46011         * po/fr.po: Likewise.
46012
46013 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46014
46015         * configure.in (.ctors/.dtors header and trailer check):
46016         Use an empirical test on a built program.
46017         * configure: Regenerated.
46018
46019         * configure.in (-z relro check): Use an empirical test on a built DSO.
46020         Detect, but do not require, on ia64.
46021         * configure: Regenerated.
46022
46023         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46024         Update tests that use readelf to use $READELF instead.
46025         * configure: Regenerated.
46026
46027 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46028
46029         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46030         if the result is not used.
46031
46032 2011-07-05  Andreas Jaeger  <aj@suse.de>
46033
46034         [BZ#9696]
46035         * stdlib/tst-strtod.c: Add testcase.
46036
46037 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46038
46039         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46040         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46041         The latter has a higher limit.  Take additional parameter to pass to
46042         the new function.
46043         (__pathconf): Pass file to __statfs_link_max.
46044         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46045         __statfs_link_max.
46046         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46047         __statfs_link_max.
46048
46049         [BZ #12868]
46050         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46051         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46052         Handle Lustre.
46053         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46054         (__statfs_filesize_max): Likewise.
46055         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46056
46057 2011-07-05  Andreas Jaeger  <aj@suse.de>
46058
46059         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46060
46061 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46062
46063         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46064         `status' variable.
46065         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46066         Likewise.
46067
46068 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46069
46070         * Makefile (strop-tests): Add strncat.
46071         * string/test-strncat.c: New file.
46072
46073 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46074
46075         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46076
46077 2011-06-21  Andreas Jaeger  <aj@suse.de>
46078
46079         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46080         Copy rule from iconvdata/Makefile.
46081
46082 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46083
46084         [BZ #12922]
46085         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46086         but no long options are defined, just return 'W'.
46087
46088 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46089
46090         [BZ #9696]
46091         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46092
46093 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46094
46095         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46096         netgroups to read.
46097         (innetgr): Likewise.
46098
46099 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46100
46101         * config.make.in (install_root): Default to $(DESTDIR).
46102
46103 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46104
46105         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46106
46107 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46108
46109         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46110
46111         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46112         containing directory rather than embedding absolute directory names.
46113
46114         * scripts/check-local-headers.sh: Rewritten using awk.
46115         Match by word, not by line.  Print error messages for matches.
46116         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46117
46118         * Makerules [shlib-lds-flags empty]:
46119         ($(common-objpfx)libc_pic.opts): New target.
46120         ($(common-objpfx)libc_pic.os.clean): New target.
46121         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46122
46123         * config.make.in (OBJCOPY): New variable.
46124         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46125         * configure: Regenerated.
46126
46127         * config.make.in (use-default-link): New variable.
46128         * configure.in (use_default_link): Grok --with-default-link to set it.
46129         * configure: Regenerated.
46130         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46131         (shlib-lds, shlib-lds-flags): Define to empty.
46132
46133         * Makerules (shlib-lds): New variable.
46134         (shlib-lds-flags): New variable.
46135         (build-shlib, build-moduile, build-module-asneeded): Use it.
46136         ($(common-objpfx)libc.so): Use $(shlib-lds).
46137         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46138         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46139
46140         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46141         DT_FLAGS/DT_FLAGS_1 with zero flags.
46142
46143         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46144         linker script munging.
46145
46146 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46147
46148         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46149         as 128-bit value.
46150         * crypt/sha512.c (sha512_process_block): Perform total addition using
46151         128-bit if possible.
46152         (__sha512_finish_ctx): Likewise.
46153         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46154         as 64-bit value.
46155         * crypt/sha256.c (SWAP64): Define.
46156         (sha256_process_block): Perform total addition using 64-bit if
46157         possible.
46158         (__sha256_finish_ctx): Likewise.
46159
46160 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46161
46162         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46163         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46164         * nscd/hstcache.c (cache_addhst): Likewise.
46165         * nscd/grpcache.c (cache_addgr): Likewise.
46166         * nscd/aicache.c (addhstaiX): Likewise
46167         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46168
46169 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46170
46171         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46172         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46173         * nscd/hstcache.c (cache_addhst): Likewise.
46174         * nscd/grpcache.c (cache_addgr): Likewise.
46175         * nscd/aicache.c (addhstaiX): Likewise
46176
46177 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46178
46179         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46180         domain only when needed.
46181
46182 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46183
46184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46185         is always restored.
46186
46187 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46188
46189         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46190         are re-adding the entry.
46191         * nscd/servicescache.c (cache_addserv): Likewise.
46192
46193 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46194
46195         * sysdeps/generic/dl-irel.h: fix protection against multiple
46196         inclusions.
46197         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46198
46199 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46200
46201         [BZ #12935]
46202         * malloc/memusage.sh: Fix quoting in message.
46203         * debug/xtrace.sh: Likewise.
46204
46205         * configure.in: Remove support for --experimental-malloc option, make
46206         it the default.
46207         * config.make.in: Likewise.
46208         * malloc/Makefile: Likewise.
46209
46210 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46211
46212         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46213         two-byte characters.
46214
46215 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46216
46217         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46218         AC_CACHE_CHECK invocation.
46219         * configure: Regenerated.
46220
46221         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46222
46223 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46224
46225         [BZ #12350]
46226         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46227         bit from old_res_options.
46228
46229         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46230
46231         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46232         value type for setfct.
46233
46234 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46235
46236         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46237         __gettimeofday instead of gettimeofday.
46238
46239 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46240
46241         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46242
46243 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46244
46245         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46246
46247         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46248         info.
46249
46250 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46251
46252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46253         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46254         strcpy-sse2-unaligned strncpy-sse2-unaligned
46255         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46256         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46257         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46258         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46259         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46260         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46261         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46262         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46263         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46264         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46265         (STRCPY): Support SSE2 and SSSE3 versions.
46266
46267 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46268
46269         [BZ #12874]
46270         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46271         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46272         kernels which artificially limit size of requests.
46273
46274 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46275
46276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46277         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46278         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46279         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46280         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46281         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46282         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46283         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46284         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46285         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46286         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46287         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46288         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46289         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46290         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46292         Enable unaligned load optimization for Intel Core i3, i5 and i7
46293         processors.
46294         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46295         Define.
46296         (index_Fast_Unaligned_Load): Define.
46297         (HAS_FAST_UNALIGNED_LOAD): Define.
46298
46299 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46300
46301         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46302
46303 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46304
46305         [BZ #12907]
46306         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46307         until it is clear that the information is realy needed.
46308         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46309
46310 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46311
46312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46313
46314 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46315
46316         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46317         /sys/devices/system/cpu/online if it is usable.
46318
46319         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46320         reading the information from the /proc filesystem to once a second.
46321
46322 2011-06-21  Andreas Jaeger  <aj@suse.de>
46323
46324         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46325         NULL after inclusion of kernel headers.
46326
46327 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46328
46329         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46330         calls to internal_setent.
46331
46332         [BZ #12885]
46333         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46334         addresses using gethostbyname4_r ignore IPv4 addresses.
46335
46336         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46337         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46338
46339         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46340
46341 2011-06-20  David S. Miller  <davem@davemloft.net>
46342
46343         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46344         inclusions.
46345         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46346
46347         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46348         (elf_irel): Use it.
46349         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46350         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46351         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46352         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46353         * sysdeps/x86_64/dl-irel.h: Likewise.
46354
46355         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46356         * elf/dl-sym.c: Likewise.
46357
46358 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46359
46360         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46361         need to dereference resplen2.
46362
46363 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46364
46365         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46366
46367 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46368
46369         * Makeconfig: Define vardbdir and inst_vardbdir.
46370         * nss/Makefile: Add rules to install db-Makefile.
46371
46372         * nss/nss_db/db-XXX.c: Cleanup.
46373
46374         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46375         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46376         GLIBC_PRIVATE.
46377         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46378         * nss/makedb.c: Implement -g option to specify that value strings
46379         are generated and should not be added to table iterated over for
46380         get*ent calls.
46381         * nss/nss_db/db-initgroups.c: New file.
46382
46383         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46384         interface.
46385
46386         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46387         (internal_getgrouplist): Adjust to name change.
46388         Update use_initgroups_entry if this is not the first call.
46389         * nss/databases.def: Add initgroups entry.
46390
46391         * nss/makedb.c (compute_tables): Check result of multiple hash table
46392         sizes to minimize maximum chain length.
46393
46394 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46395
46396         * Versions.def: Add entry for libnss_db.
46397         * shlib-versions: Likewise.
46398         * nss/Makefile: Add rules to build libnss_db.
46399         * nss/Versions: Add libnss_db information.  Organize libnss_files
46400         entries better.
46401         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46402         makedb progra.  Some minor improvements to generate smaller files.
46403         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46404         here from...
46405         * nss/makedb.c: ...here.
46406         Improve database format to be smaller and require less memory at
46407         runtime.
46408         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46409         db anymore.
46410         * nss/nss_db/db-netgrp.c: Likewise.
46411         * nss/nss_db/db-open.c: Likewise.
46412         * nss/nss_files/flies-XXX.x: Adjust comments.
46413         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46414         * nss/nss_files/files-grp.c: Likewise.
46415         * nss/nss_files/files-hosts.c: Likewise.
46416         * nss/nss_files/files-network.c: Likewise.
46417         * nss/nss_files/files-proto.c: Likewise.
46418         * nss/nss_files/files-pwd.c: Likewise.
46419         * nss/nss_files/files-rpc.c: Likewise.
46420         * nss/nss_files/files-service.c: Likewise.
46421         * nss/nss_files/files-sgrp.c: Likewise.
46422         * nss/nss_files/files-spwd.c: Likewise.
46423         * nss/nss_db/db-alias.c: Removed.
46424         * nss/nss_db/dummy-db.h: Removed.
46425
46426 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46427
46428         * nss/makedb.c: Rewritten to not use database library.
46429         * nss/Makefile: Update to build new makedb program.
46430
46431 2011-06-14  Andreas Jaeger  <aj@suse.de>
46432
46433         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46434         memset declaration.
46435
46436 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46437
46438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46439         tmpbuf.
46440
46441 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46442
46443         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46444         * elf/Makefile ($(objpfx)ld.so): Likewise.
46445
46446         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46447         Don't list ld.so twice in dependencies.
46448
46449         * posix/bug-regex31.c: Include <stdlib.h>.
46450
46451         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46452
46453         * nis/nss_compat/compat-spwd.c
46454         (getspent_next_nss_netgr): Remove unused variable.
46455         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46456
46457         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46458         nonmembers" output to use the right array.
46459
46460         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46461
46462         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46463
46464         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46465         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46466         * catgets/gencat.c (read_input_file): Likewise.
46467         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46468
46469         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46470         variable definition inside #if's controlling its use.
46471
46472         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46473
46474         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46475
46476         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46477
46478         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46479         unreachable code.
46480
46481         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46482
46483         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46484         * configure: Regenerated.
46485
46486         * Makerules: Revert last change.
46487         * elf/Makefile: Likewise.
46488
46489 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46490
46491         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46492         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46493         (reloc-link): Likewise.
46494
46495 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46496
46497         * elf/Makefile: Add rules to build pldd.
46498         * elf/pldd.c: New file.
46499         * elf/pldd-xx.c: New file.
46500
46501 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46502
46503         * version.h: Update for 2.15 development version.
46504
46505 2011-06-07  David S. Miller  <davem@davemloft.net>
46506
46507         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46508         ifuncs.
46509         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46510         elf_machine_lazy_rel): Likewise.
46511         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46512         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46513         elf_machine_lazy_rel): Likewise.
46514         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46515         dl_hwcap via passed in argument.
46516         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46517         Likewise.
46518
46519 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46520
46521         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46522
46523 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46524
46525         [BZ #12849]
46526         * manual/fdl-1.1.texi: New file, verbatim from:
46527         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46528         * manual/lgpl-2.1.texi: New file, verbatim from:
46529         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46530         * manual/Makefile (licenses): New variable, list those new file names.
46531         (texis): Use it.
46532         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46533
46534         * manual/fdl.texi: File removed.
46535         * manual/lesser.texi: File removed.
46536         * manual/libc.texinfo (Copying, Documentation License):
46537         Use new @include file names, put @appendix directive before @include.
46538
46539 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46540
46541         [BZ #12841]
46542         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46543         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46544         (mq_open): Add __NTH.
46545
46546 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46547
46548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46549         Assume Intel Core i3/i5/i7 processor if AVX is available.
46550
46551 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46552
46553         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46554         typo.
46555
46556 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46557
46558         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46559         memory.  Use alloca_account.  Fix memory leak when retrying.
46560
46561 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46562
46563         * version.h (RELEASE): Bump for 2.14 release.
46564         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46565
46566         * config.make.in (RANLIB): Remove entry.
46567
46568 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46569
46570         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46571         (libc.pot): Work around missing support for .ksh extension in xgettext.
46572
46573         [BZ #12684]
46574         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46575         if both request failed.
46576         (send_dg): In case of server errors clear resplen or *resplen2.
46577
46578         [BZ #12454]
46579         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46580         when there are multiple maps.
46581         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46582         (_dl_fini): Remove test here.
46583
46584         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46585
46586 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46587
46588         [BZ #12350]
46589         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46590         bit from old_res_options.
46591         (gaih_inet): Likewise.
46592
46593         [BZ #11099]
46594         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46595         as signed.
46596
46597         * resolv/res_init.c (res_setoptions): Make the code more compact.
46598
46599         [BZ #11558]
46600         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46601         set RES_USEVC.
46602
46603         [BZ #11634]
46604         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46605
46606         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46607
46608         [BZ #11781]
46609         * malloc/malloc.h: Declare malloc hook variables as volatile.
46610
46611         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46612         in last patch.
46613
46614         [BZ #11799]
46615         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46616         raise in the comment.
46617         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46618         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46619         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46620
46621 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46622
46623         [BZ #12811]
46624         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46625         grow the buffers more if it already has to be sufficient.
46626         (build_wcs_upper_buffer): Likewise.
46627         * posix/regexec.c (check_matching): Likewise.
46628         (clean_state_log_if_needed): Likewise.
46629         (extend_buffers): Don't enlarge buffers beyond size of the input
46630         buffer.
46631         Patches mostly by Emil Wojak <emil@wojak.eu>.
46632         * posix/bug-regex32.c: New file.
46633         * posix/Makefile (tests): Add bug-regex32.
46634
46635         * locale/findlocale.c (_nl_find_locale): Return right away if
46636         _nl_explode_name failed.
46637         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46638
46639         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46640
46641         * debug/xtrace.sh: Unify messages.
46642         * malloc/memusage.sh: Likewise.
46643
46644         [BZ #12813]
46645         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46646         time symbol from vDSO.  Substitute with vsyscall if not available.
46647         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46648         __vdso_time.
46649
46650         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46651         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46652         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46653         Add sendmmsg and internal_sendmmsg.
46654         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46655         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46656         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46657
46658         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46659         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46660         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46661
46662 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46663
46664         [BZ #12813]
46665         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46666         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46667         available.
46668         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46669         __vdso_getcpu.
46670
46671         [BZ #12814]
46672         * iconvdata/Makefile (tests): Add bug-iconv9.
46673         * iconvdata/bug-iconv9.c: New file.
46674
46675 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46676
46677         [BZ #12814]
46678         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46679
46680 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46681
46682         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46683         (struct user_regs_struct): Change intcs field back to cs.
46684
46685 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46686
46687         * po/ja.po: Update from translation team.
46688
46689 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46690
46691         [BZ #12795]
46692         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46693         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46694
46695 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46696
46697         * stdlib/longlong.h: Update from GCC.
46698
46699 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46700
46701         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46702         parameter name.
46703         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46704         Add parameter name.
46705         (__sysconf): Pass it down.
46706
46707 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46708
46709         [BZ #12671]
46710         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46711         some situations.
46712         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46713         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46714         add in in __libc_use_alloca calls.  Adjust callers.
46715         (glob): Use malloc in some situations.
46716
46717         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46718         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46719         pltexit.
46720
46721 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46722
46723         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46724         and CLOCK_BOOTTIME_ALARM.
46725
46726         [BZ #12782]
46727         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46728         is returned.
46729
46730         * string/_strerror.c (__strerror_r): Print negative errors as signed
46731         numbers.
46732
46733         [BZ #12777]
46734         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46735         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46736         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46737
46738         * configure.in: Fix typo in redirection and correct removal of test
46739         files in two cases.
46740
46741         [BZ #12788]
46742         * locale/setlocale.c (new_composite_name): Fix test to check for
46743         identical name of all categories.
46744
46745         [BZ #12792]
46746         * libio/filedoalloc.c (local_isatty): New function.
46747         (_IO_file_doallocate): Use local_isatty.
46748         * stdio-common/perror.c (perror): In case a new stream is used
46749         forward the stream error.
46750         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46751         error flag.
46752
46753 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46754
46755         [BZ #11869]
46756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46757         alloca.
46758         * include/alloca.h (extend_alloca_account): Define.
46759
46760         [BZ #11857]
46761         * posix/regex.h: Fix comments with documentation of user-accessible
46762         fields after compilation and describe correct free'ing of pattern
46763         after re_compile_pattern.
46764         Patch by Reuben Thomas <rrt@sc3d.org>.
46765
46766 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46767
46768         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46769         and -mno-altivec to prevent the compiler from using Altivec and/or
46770         VSX instructions when the corresponding registers are not available.
46771
46772 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46773
46774         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46775
46776 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46777
46778         * libio/freopen.c (freopen): Use __dup2, not dup2.
46779         * libio/freopen64.c (freopen64): Likewise.
46780
46781 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46782
46783         [BZ #12775]
46784         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46785         * math/Makefile (tests): Add test-powl.
46786         (CFLAGS-test-powl.c): Define.
46787         * math/test-powl.c: New file.
46788
46789 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46790
46791         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46792
46793 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46794
46795         [BZ #11837]
46796         * iconvdata/gb18030.c: Update to GB18020-2005.
46797
46798 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46799
46800         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46801         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46802         Patch by Aharon Robbins <arnold@skeeve.com>.
46803
46804         [BZ #11892]
46805         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46806         on the stack.
46807
46808         [BZ #11895]
46809         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46810         through underflows.
46811
46812         [BZ #12766]
46813         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46814         point to strings before performing equality test for error_one_per_line
46815         mode.
46816
46817         [BZ #11697]
46818         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46819
46820         [BZ #11820]
46821         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46822         (struct user_fpregs_struct): Avoid __uint*_t types.
46823
46824         [BZ #6420]
46825         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46826         symbol info.  Use it instead of calling _dl_addr locally.
46827         (lock_and_info): New function.
46828         (tr_freehook): Call lock_and_info and pass symbol info as additional
46829         parameter to tr_where.
46830         (tr_mallochook): Likewise.
46831         (tr_reallochook): Likewise.
46832         (tr_memalignhook): Likewise.
46833
46834         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46835         used and couldn't be at all thread-safe.
46836
46837 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46838
46839         * libio/freopen.c (freopen): Don't close old file descriptor
46840         before the new one is opened.  Instead dup the new file descriptor
46841         to the old one after the new stream is created.
46842         * libio/freopen64.c (freopen64): Likewise.
46843         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46844         * libio/fileops.c (_IO_new_file_close_it): Handle new
46845         _IO_FLAGS2_NOCLOSE flag.
46846         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46847         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46848         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46849         _IO_FLAGS2_NOCLOSE flag.
46850         * include/unistd.h: Add hidden_proto for dup3.
46851         Define __have_dup3.
46852         * io/dup3.c: Define hidden symbol.
46853         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46854
46855         [BZ #7101]
46856         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46857         when an incomplete long option is used.
46858         * posix/tst-getopt_long1.c: New file.
46859         * posix/Makefile (tests): Add tst-getopt_long1.
46860
46861         [BZ #10138]
46862         * scripts/config.guess: Update from autoconf-2.68.
46863         * scripts/config.sub: Likewise.
46864
46865         [BZ #10157]
46866         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46867         tests into ...
46868         (has_cpuclock): ...this.  New function.
46869         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46870         macro here based on has_cpuclock code.
46871
46872         [BZ #10149]
46873         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46874         First byte (not low byte) is now always NUL.
46875         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46876
46877         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46878         Use non-cancelable interfaces.
46879
46880         [BZ #9809]
46881         * locale/iso-639.def: Add entry for Sorani.
46882
46883         [BZ #11901]
46884         * include/stdlib.h: Move include protection to the right place.
46885         Define abort_msg_s.  Declare __abort_msg with it.
46886         * stdlib/abort.c (__abort_msg): Adjust type.
46887         * assert/assert.c (__assert_fail_base): New function.  Majority
46888         of code from __assert_fail.  Allocate memory for __abort_msg with
46889         mmap.
46890         (__assert_fail): Now call __assert_fail_base.
46891         * assert/assert-perr.c: Remove bulk of implementation.  Use
46892         __assert_fail_base.
46893         * include/assert.hL Declare __assert_fail_base.
46894         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46895         mmap.
46896         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46897
46898 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46899
46900         [BZ #11952]
46901         [BZ #12453]
46902         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46903         until all modules are registered in the DTV.
46904         * elf/Makefile: Add rules to build and run tst-tls19.
46905         * elf/tst-tls19.c: New file.
46906         * elf/tst-tls19mod1.c: New file.
46907         * elf/tst-tls19mod2.c: New file.
46908         * elf/tst-tls19mod3.c: New file.
46909         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46910
46911         [BZ #12083]
46912         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46913         correctly.
46914
46915         [BZ #12601]
46916         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46917         two-byte sequence errors.
46918         * iconvdata/Makefile (tests): Add bug-iconv8.
46919         * iconvdata/bug-iconv8.c: New file.
46920
46921         [BZ #12626]
46922         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46923         buf2 definition.
46924
46925         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46926
46927         [BZ #12432]
46928         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46929         (dummy_getcfa): New function.
46930         (init): Get _Unwind_GetCFA address, use dummy if not found.
46931         (backtrace_helper): In recursion check, also check whether CFA changes.
46932         (__backtrace): Completely initialize arg.
46933
46934         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46935         storing incomplete byte sequence in state object.  Avoid testing for
46936         guaranteed too small input if we know there is enough data available.
46937
46938 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46939
46940         * Makeconfig (+link-pie): Indent.
46941         * Rules (binaries-pie): Define if $(have-fpie) and
46942         $(build-shared).
46943         (binaries-shared): Also filter out $(binaries-pie).
46944         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46945         * nscd/Makefile (others-pie): Add nscd.
46946         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46947         ($(objpfx)nscd): Remove command override.
46948         * login/Makefile (others-pie): Add pt_chown.
46949         ($(objpfx)pt_chown): Remove command override.
46950         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46951         remove command overrides.
46952
46953 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46954
46955         * libio/tst_putwc.c: Fix error messages.
46956
46957         [BZ #12724]
46958         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46959         currently writing and seek to current position when not.
46960         * libio/Makefile (tests): Add bug-fclose1.
46961         * libio/bug-fclose1.c: New file.
46962
46963 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46964
46965         [BZ #12511]
46966         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46967         don't set DF_1_NODELETE here.
46968         (do_lookup_x): When entering new entry test for copy relocation
46969         and if necessary set DF_1_NODELETE flag.
46970         * elf/tst-unique4.cc: New file.
46971         * elf/tst-unique4.h: New file.
46972         * elf/tst-unique4lib.cc: New file.
46973         * elf/Makefile: Add rules to build and run tst-unique4.
46974         Patch by Piotr Bury <pbury@goahead.com>.
46975
46976 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46977
46978         [BZ #12052]
46979         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46980
46981         [BZ #12625]
46982         * misc/mntent_r.c (addmntent): Flush the stream after the output
46983
46984         [BZ #12393]
46985         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46986         (is_trusted_path_normalize): Skip initial colon.  Append slash
46987         to empty buffer.  Duplicate is_trusted_path code but allow
46988         constructed patch to be prefix.
46989         (is_dst): Allow $ORIGIN followed by /.
46990         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46991         Correct testing of result of is_trusted_path_normalize
46992         (decompose_rpath): Fix warning.
46993
46994 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46995
46996         [BZ #11257]
46997         * grp/initgroups.c (internal_getgrouplist): When we found the service
46998         list through the initgroups entry in nsswitch.conf do not always
46999         continue on a successful lookup.  Don't always use the
47000         __nss_group_database value if it is set.
47001         * nss/nsswitch.conf (initgroups): Change action for successful db
47002         lookup to continue for compatibility.
47003
47004 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47005
47006         [BZ #11532]
47007         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47008         and CP774 modules.
47009         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47010         and CP774 modules.
47011         * iconvdata/tst-tables.sh: Likewise.
47012         * iconvdata/cp770.c: New file.
47013         * iconvdata/cp771.c: New file.
47014         * iconvdata/cp772.c: New file.
47015         * iconvdata/cp773.c: New file.
47016         * iconvdata/cp774.c: New file.
47017         * iconvdata/testdata/CP770: New file.
47018         * iconvdata/testdata/CP770..UTF8: New file.
47019         * iconvdata/testdata/CP771: New file.
47020         * iconvdata/testdata/CP771..UTF8: New file.
47021         * iconvdata/testdata/CP772: New file.
47022         * iconvdata/testdata/CP772..UTF8: New file.
47023         * iconvdata/testdata/CP773: New file.
47024         * iconvdata/testdata/CP773..UTF8: New file.
47025         * iconvdata/testdata/CP774: New file.
47026         * iconvdata/testdata/CP774..UTF8: New file.
47027
47028         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47029         END CHARMAP line.
47030         * iconvdata/gen-8bit-gap.sh: Likewise.
47031         * iconvdata/gen-8bit.sh: Likewise.
47032
47033         * locale/iso-639.def: Add ary entry.
47034
47035         [BZ #11258]
47036         * locale/C-translit.h.in: Add U20A1 transliteration.
47037
47038         [BZ #12178]
47039         * locale/iso-639.def: Add wae entry.
47040         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47041
47042         [BZ #12545]
47043         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47044         for n.
47045
47046         [BZ #12711]
47047         * locale/C-translit.h.in: Add entry for U20B9.
47048         Patch by pravin.d.s@gmail.com.
47049
47050 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47051
47052         [BZ #12713]
47053         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47054         ENAMETOOLONG use generic getcwd.
47055         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47056         in rtld.  Use *stat64.
47057         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47058         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47059         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47060         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47061         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47062         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47063         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47064         __fstatat64 macros.
47065         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47066         * dirent/rewinddir.c: Add libc_hidden_def.
47067         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47068         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47069
47070         * include/dirent.h (__alloc_dir): Add flags parameter.
47071         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47072         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47073         __alloc_dir.
47074         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47075         from fdopendir if O_CLOEXEC is already set.
47076
47077 2011-03-15  Alan Modra  <amodra@gmail.com>
47078
47079         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47080         l_tls_firstbyte_offset non-zero.  Save padding offset in
47081         l_tls_firstbyte_offset for later use.
47082         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47083         freeing static tls block.
47084
47085 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47086
47087         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47088         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47089         being defined by the kernel headers.
47090
47091 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47092
47093         [BZ #12734]
47094         * resolv/resolv.h: Define RES_NOTLDQUERY.
47095         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47096         no-tld-query and set RES_NOTLDQUERY.
47097         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47098         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47099         modern BIND to search name as TLD unless forbidden.
47100
47101 2011-05-07  Petr Baudis  <pasky@suse.cz>
47102             Ulrich Drepper  <drepper@gmail.com>
47103
47104         [BZ #12393]
47105         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47106         (is_trusted_path): ...to here.
47107         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47108         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47109         using is_trusted_path_normalize() in setuid scripts.
47110
47111 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47112
47113         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47114         __BEGIN/__END_DECLS.
47115
47116 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47117
47118         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47119         NSS_STATUS_NOTFOUND if no record was found.
47120
47121 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47122
47123         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47124         (headers-not-in-tirpc): Remove rpc/netdb.h
47125         * resolv/netdb.h: Revert last change.
47126
47127 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47128
47129         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47130         circular dependency between libgcc.a and libc.a.
47131
47132 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47133
47134         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47135         * nis/Makefile: Don't install rpcsvc/*.
47136         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47137         instead of <rpc/types.h>.
47138         (MAXHOSTNAMELEN): Define.
47139
47140 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47141
47142         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47143
47144 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47145
47146         [BZ #12714]
47147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47148         gethostbyname4_r when IPv6 results are possible.
47149
47150 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47151
47152         [BZ #12723]
47153         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47154         _PC_PIPE_BUF handling.
47155
47156 2011-04-30  Bruno Haible  <bruno@clisp.org>
47157
47158         [BZ #12717]
47159         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47160         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47161         to 'int'.
47162         * inet/getnameinfo.c (getnameinfo): Likewise.
47163
47164 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47165
47166         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47167         to groups setting in database lookup.
47168         * nss/nsswitch.conf: Add initgroups entry.
47169
47170 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47171
47172         [BZ #12685]
47173         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47174         mode string.
47175         Patch by Eric Blake <eblake@redhat.com>.
47176
47177 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47178
47179         * sunrpc/Makefile (need-export-routines): Add svc_run.
47180         (routines): Remove svc_run.
47181         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47182         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47183         * sunrpc/svc_run.c (svc_run): Likewise.
47184         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47185
47186 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47187
47188         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47189         problem in reallocation in last patch.
47190
47191 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47192
47193         * sunrpc/Makefile: Move inclusion of Rules.
47194
47195 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47196
47197         * nss/nss_files/files-initgroups.c: New file.
47198         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47199         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47200         _nss_files_initgroups_dyn.
47201
47202 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47203
47204         * elf/elf.h (R_ARM_IRELATIVE): Define.
47205
47206 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47207
47208         * po/ru.po: Update from translation team.
47209
47210 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47211
47212         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47213         dependencies.
47214
47215 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47216
47217         [BZ #12653]
47218         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47219         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47220         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47221         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47222         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47223
47224 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47225
47226         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47227         differing bytes.
47228         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47229         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47230         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47231
47232 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47233
47234         [BZ #12420]
47235         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47236         storing it.
47237         * stdlib/bug-getcontext.c: New file.
47238         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47239
47240 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47241
47242         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47243         instructions into .machine "z9-109".
47244         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47245         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47246
47247 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47248
47249         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47250         between environment variables and auxiliary vector.
47251
47252 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47253
47254         * Makefile: Add rules to build linkobj/libc.so.
47255         * include/libc-symbols.h: Define libc_hidden_nolink.
47256         * include/rpc/auth.h: Mark functions which are to be hidden.
47257         * include/rpc/auth_des.h: Likewise.
47258         * include/rpc/auth_unix.h: Likewise.
47259         * include/rpc/clnt.h: Likewise.
47260         * include/rpc/des_crypt.h: Likewise.
47261         * include/rpc/key_prot.h: Likewise.
47262         * include/rpc/pmap_clnt.h: Likewise.
47263         * include/rpc/pmap_prot.h: Likewise.
47264         * include/rpc/pmap_rmt.h: Likewise.
47265         * include/rpc/rpc_msg.h: Likewise.
47266         * include/rpc/svc.h: Likewise.
47267         * include/rpc/svc_auth.h: Likewise.
47268         * include/rpc/xdr.h: Likewise.
47269         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47270         * nss/Makefile: Likewise.
47271         * sunrpc/Makefile: Don't install headers.  Build library with normal
47272         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47273         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47274         for the compat linking library.  Remove use of INTDEF/INTUSE.
47275         * sunrpc/auth_none.c: Likewise.
47276         * sunrpc/auth_unix.c: Likewise.
47277         * sunrpc/authdes_prot.c: Likewise.
47278         * sunrpc/authuxprot.c: Likewise.
47279         * sunrpc/clnt_gen.c: Likewise.
47280         * sunrpc/clnt_perr.c: Likewise.
47281         * sunrpc/clnt_raw.c: Likewise.
47282         * sunrpc/clnt_simp.c: Likewise.
47283         * sunrpc/clnt_tcp.c: Likewise.
47284         * sunrpc/clnt_udp.c: Likewise.
47285         * sunrpc/clnt_unix.c: Likewise.
47286         * sunrpc/des_crypt.c: Likewise.
47287         * sunrpc/des_soft.c: Likewise.
47288         * sunrpc/get_myaddr.c: Likewise.
47289         * sunrpc/key_call.c: Likewise.
47290         * sunrpc/key_prot.c: Likewise.
47291         * sunrpc/netname.c: Likewise.
47292         * sunrpc/pm_getmaps.c: Likewise.
47293         * sunrpc/pm_getport.c: Likewise.
47294         * sunrpc/pmap_clnt.c: Likewise.
47295         * sunrpc/pmap_prot.c: Likewise.
47296         * sunrpc/pmap_prot2.c: Likewise.
47297         * sunrpc/pmap_rmt.c: Likewise.
47298         * sunrpc/publickey.c: Likewise.
47299         * sunrpc/rpc_cmsg.c: Likewise.
47300         * sunrpc/rpc_common.c: Likewise.
47301         * sunrpc/rpc_dtable.c: Likewise.
47302         * sunrpc/rpc_prot.c: Likewise.
47303         * sunrpc/rpc_thread.c: Likewise.
47304         * sunrpc/rtime.c: Likewise.
47305         * sunrpc/svc.c: Likewise.
47306         * sunrpc/svc_auth.c: Likewise.
47307         * sunrpc/svc_authux.c: Likewise.
47308         * sunrpc/svc_raw.c: Likewise.
47309         * sunrpc/svc_run.c: Likewise.
47310         * sunrpc/svc_simple.c: Likewise.
47311         * sunrpc/svc_tcp.c: Likewise.
47312         * sunrpc/svc_udp.c: Likewise.
47313         * sunrpc/svc_unix.c: Likewise.
47314         * sunrpc/svcauth_des.c: Likewise.
47315         * sunrpc/xcrypt.c: Likewise.
47316         * sunrpc/xdr.c: Likewise.
47317         * sunrpc/xdr_array.c: Likewise.
47318         * sunrpc/xdr_float.c: Likewise.
47319         * sunrpc/xdr_intXX_t.c: Likewise.
47320         * sunrpc/xdr_mem.c: Likewise.
47321         * sunrpc/xdr_rec.c: Likewise.
47322         * sunrpc/xdr_ref.c: Likewise.
47323         * sunrpc/xdr_sizeof.c: Likewise.
47324         * sunrpc/xdr_stdio.c: Likewise.
47325
47326 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47327
47328         [BZ #12650]
47329         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47330         * sysdeps/ia64/dl-tls.h: Likewise.
47331         * sysdeps/powerpc/dl-tls.h: Likewise.
47332         * sysdeps/s390/dl-tls.h: Likewise.
47333         * sysdeps/sh/dl-tls.h: Likewise.
47334         * sysdeps/sparc/dl-tls.h: Likewise.
47335         * sysdeps/x86_64/dl-tls.h: Likewise.
47336         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47337
47338 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47339
47340         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47341         rpath element also skip the following colon.
47342         (expand_dynamic_string_token): Add is_path parameter and pass
47343         down to DL_DST_REQUIRED and _dl_dst_substitute.
47344         (decompose_rpath): Call expand_dynamic_string_token with
47345         non-zero is_path.  Ignore empty rpaths.
47346         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47347         with zero is_path.
47348
47349 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47350
47351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47352         Make cancelable.
47353
47354 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47355
47356         [BZ #12655]
47357         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47358         Patch by Filipe David Manana <fdmanana@apache.org>.
47359
47360 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47361
47362         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47363         Maintain aligned stack.
47364         (CHECK_RSP): Remove unused macro.
47365
47366 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47367
47368         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47369         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47370
47371 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47372
47373         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47374
47375         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47376
47377 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47378
47379         [BZ #12518]
47380         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47381         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47382         * sysdeps/x86_64/memmove.c: New file.
47383         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47384         (memcpy): Renamed to ...
47385         (__new_memcpy): This.
47386         (memcpy): Provide GLIBC_2_14 memcpy.
47387         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47388         (memcpy): Provide GLIBC_2_2_5 memcpy.
47389
47390 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47391
47392         [BZ #12631]
47393         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47394
47395 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47396
47397         * misc/syncfs.c: New file.
47398         * misc/Makefile (routines): Add syncfs.
47399         * posix/unistd.h: Declare syncfs.
47400         * sysdeps/unix/syscalls.list: Add syncfs.
47401
47402 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47403
47404         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47405         open_by_handle_at.
47406         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47407         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47408         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47409         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47410         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47411         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47412         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47413
47414 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47415
47416         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47417         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47418         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47420         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47422         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47423
47424         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47425         sync_file_range.c with -fexceptions.
47426         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47427         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47428         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47429         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47430         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47431         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47432         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47433         sync_file_range as cancellation point
47434         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47435         now a wrapper around __call_sync_file_range with cancellation handling.
47436         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47437         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47438         function name to __call_sync_file_range.
47439         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47440         Add call_sync_file_range.
47441
47442 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47443
47444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47445         bits/timex.h.
47446
47447 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47448
47449         * iconv/iconv.h: Fix typo in comment.
47450         * io/fcntl.h: Likewise.
47451         * libio/stdio.h: Likewise.
47452         * posix/spawn.h: Likewise.
47453         * posix/unistd.h: Likewise.
47454         * stdlib/stdlib.h: Likewise.
47455         * time/time.h: Likewise.
47456         * wcsmbs/wchar.h: Likewise.
47457
47458         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47459         open_by_handle): Add.
47460         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47461         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47462         Augment a few comments.
47463         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47468         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47469         open_by_handle.
47470
47471         * io/fcntl.h (AT_EMPTY_PATH): Define.
47472
47473 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47474
47475         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47476         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47477         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47478         to...
47479         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47480         * Versions.def: Add GLIBC_2.14.
47481         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47482         Export.
47483
47484 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47485
47486         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47487         round counter.
47488         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47489
47490 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47491
47492         [BZ #12597]
47493         * string/test-strncmp.c (do_page_test): New function.
47494         (check2): Likewise.
47495         (test_main): Call check2.
47496         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47497
47498 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47499
47500         [BZ #12587]
47501         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47502         Handle cache information in CPU leaf 4.
47503         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47504
47505 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47506
47507         [BZ #12583]
47508         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47509         character representation.
47510         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47511
47512 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47513
47514         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47515         END(__isnan) to END(__isnanf) to match function entry point/label
47516         EALIGN(__isnanf,...).
47517
47518 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47519
47520         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47521
47522 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47523
47524         [BZ #12510]
47525         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47526         copy from the symbol referenced in the relocation to initialize the
47527         used variable.
47528         Patch by Piotr Bury <pbury@goahead.com>.
47529         * elf/Makefile: Add rules to build and tst-unique3.
47530         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47531         * elf/tst-unique3.cc: New file.
47532         * elf/tst-unique3.h: New file.
47533         * elf/tst-unique3lib.cc: New file.
47534         * elf/tst-unique3lib2.cc: New file.
47535
47536         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47537
47538 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47539
47540         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47541         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47542         to _start.
47543
47544 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47545
47546         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47547         to-be-loaded object along a path to loader is ld.so.
47548
47549 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47550             Ulrich Drepper  <drepper@gmail.com>
47551
47552         * sysdeps/x86_64/memset.S: After aligning destination, code
47553         branches to different locations depending on the value of
47554         misalignment, when multiarch is enabled. Fix this.
47555
47556 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47557
47558         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47559         Set _x86_64_preferred_memory_instruction for AMD processsors.
47560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47561         Set bit_Prefer_SSE_for_memop for AMD processors.
47562
47563 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47564
47565         * libio/fmemopen.c (fmemopen): Optimize a bit.
47566
47567 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47568
47569         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47570
47571 2011-03-03  Roland McGrath  <roland@redhat.com>
47572
47573         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47574
47575 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47576
47577         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47578         __bzero_ultra1 instead of __memset_ultra1.
47579
47580 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47581             Ulrich Drepper  <drepper@gmail.com>
47582
47583         [BZ #12509]
47584         * include/link.h (struct link_map): Add l_orig_initfini.
47585         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47586         returning unsuccessfully.
47587         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47588         close of a file loaded at startup, restore the original l_initfini
47589         list.
47590         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47591         list, store the pointer.
47592         * elf/Makefile ($(objpfx)noload-mem): New rule.
47593         (noload-ENV): Define.
47594         (tests): Add $(objpfx)noload-mem.
47595         * elf/noload.c: Include <memcheck.h>.
47596         (main): Call mtrace.  Close all opened handles.
47597
47598 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47599
47600         [BZ #12454]
47601         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47602         dependencies are missing.
47603
47604 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47605
47606         Fix __if_freereq crash: Unlike the generic version which uses free,
47607         Hurd needs munmap.
47608         * sysdeps/mach/hurd/ifreq.h: New file.
47609
47610 2011-01-27  Petr Baudis  <pasky@suse.cz>
47611             Ulrich Drepper  <drepper@gmail.com>
47612
47613         [BZ 12445]#
47614         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47615         to extend_alloca().
47616         * stdio-common/bug23.c: New file.
47617         * stdio-common/Makefile (tests): Add bug23.
47618
47619 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47620             Ulrich Drepper  <drepper@gmail.com>
47621
47622         [BZ #12489]
47623         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47624         before performing relro protection.  At old place add assertion
47625         to make sure nothing changed.
47626
47627 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47628             Glauber de Oliveira Costa  <glommer@gmail.com>
47629
47630         * elf/elf.h: Add new ARM TLS relocs.
47631
47632 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47633
47634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47635         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47636         cast from r3.
47637         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47638         'tests' variable.
47639         * sysdeps/wordsize-64/tst-writev.c: New file.
47640
47641 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47642
47643         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47644         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47645         insns in _dl_start to prevent a TOC reference before relocs are
47646         resolved.
47647
47648 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47649
47650         [BZ #12469]
47651         * Makeconfig: Remove RANLIB definition.
47652         * Makerules: Don't use RANLIB.
47653         * aclocal.m4: Remove ranlib test.
47654         * configure.in: No need to check for ranlib.
47655         * elf/rtld-Rules: Don't use RANLIB.
47656
47657 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47658
47659         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47660         protection macro.
47661         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47662         inclusion protection macro.
47663
47664         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47665         SIGRTMIN and SIGRTMAX and print information in that case only when
47666         SIGRTMIN is defined.
47667
47668 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47669
47670         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47671         arginfo fn returning -1.
47672
47673         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47674         and thousands string is zero terminated.
47675
47676 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47677
47678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47679         sysdeps/unix/sysv/linux/bits/socket.h.
47680
47681 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47682
47683         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47684         (__CPU_COUNT): Remove old macros.
47685         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47686         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47687         (__CPU_ALLOC, __CPU_FREE): Add macros.
47688         (__sched_cpualloc, __sched_cpufree): Add declarations.
47689
47690 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47691
47692         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47693         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47694         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47695         (readdhstai): Return value of addhstaiX call.
47696         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47697         (addgrbyX): Return value returned by cache_addgr.
47698         (readdgrbyname): Return value returned by addgrbyX.
47699         (readdgrbygid): Likewise.
47700         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47701         (addpwbyX): Return value returned by cache_addpw.
47702         (readdpwbyname): Return value returned by addhstbyX.
47703         (readdpwbyuid): Likewise.
47704         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47705         (addservbyX): Return value returned by cache_addserv.
47706         (readdservbyname): Return value returned by addservbyX:
47707         (readdservbyport): Likewise.
47708         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47709         (addhstbyX): Return value returned by cache_addhst.
47710         (readdhstbyname): Return value returned by addhstbyX.
47711         (readdhstbyaddr): Likewise.
47712         (readdhstbynamev6): Likewise.
47713         (readdhstbyaddrv6): Likewise.
47714         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47715         (readdinitgroups): Return value returned by addinitgroupsX.
47716         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47717         (prune_cache): Keep track of timeout value of re-added entries.
47718         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47719         * nscd/nscd.h: Adjust prototypes of readd* functions.
47720
47721 2011-02-04  Roland McGrath  <roland@redhat.com>
47722
47723         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47724         (nis_stats): Likewise.
47725         * nis/nis_modify.c (nis_modify): Likewise.
47726         * nis/nis_remove.c (nis_remove): Likewise.
47727         * nis/nis_add.c (nis_add): Likewise.
47728
47729         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47730
47731         * posix/fnmatch_loop.c: Add some consts.
47732
47733         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47734
47735 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47736
47737         [BZ #12460]
47738         * config.make.in (config-cflags-novzeroupper): Define.
47739         * configure.in: Substitute libc_cv_cc_novzeroupper.
47740         * elf/Makefile (AVX-CFLAGS): Define.
47741         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47742         (CFLAGS-tst-auditmod4a.c): Likewise.
47743         (CFLAGS-tst-auditmod4b.c): Likewise.
47744         (CFLAGS-tst-auditmod6b.c): Likewise.
47745         (CFLAGS-tst-auditmod6c.c): Likewise.
47746         (CFLAGS-tst-auditmod7b.c): Likewise.
47747         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47748
47749 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47750
47751         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47752         function to the callback.
47753         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47754
47755 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47756
47757         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47758         of errno.
47759
47760 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47761
47762         [BZ #11724]
47763         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47764         of constructors.
47765         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47766         of destructors.
47767         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47768
47769         [BZ #11724]
47770         * elf/Makefile: Add rules to build and run new test.
47771         * elf/tst-initorder.c: New file.
47772         * elf/tst-initorder.exp: New file.
47773         * elf/tst-initordera1.c: New file.
47774         * elf/tst-initordera2.c: New file.
47775         * elf/tst-initordera3.c: New file.
47776         * elf/tst-initordera4.c: New file.
47777         * elf/tst-initorderb1.c: New file.
47778         * elf/tst-initorderb2.c: New file.
47779         * elf/tst-order-a1.c: New file.
47780         * elf/tst-order-a2.c: New file.
47781         * elf/tst-order-a3.c: New file.
47782         * elf/tst-order-a4.c: New file.
47783         * elf/tst-order-b1.c: New file.
47784         * elf/tst-order-b2.c: New file.
47785         * elf/tst-order-main.c: New file.
47786         New test case by George Gensure <werkt0@gmail.com>.
47787
47788 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47789
47790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47791         decoding ACE if AI_CANONIDN.
47792
47793 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47794
47795         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47796
47797 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47798
47799         * version.h (RELEASE): Bump for 2.13 release.
47800         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47801
47802         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47803
47804         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47805         MADV_NOHUGEPAGE.
47806         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47807         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47808         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47809         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47810         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47811         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47812
47813         * posix/getconf.c: Update copyright year.
47814         * catgets/gencat.c: Likewise.
47815         * csu/version.c: Likewise.
47816         * debug/catchsegv.sh: Likewise.
47817         * debug/xtrace.sh: Likewise.
47818         * elf/ldconfig.c: Likewise.
47819         * elf/ldd.bash.in: Likewise.
47820         * elf/sprof.c (print_version): Likewise.
47821         * iconv/iconv_prog.c: Likewise.
47822         * iconv/iconvconfig.c: Likewise.
47823         * locale/programs/locale.c: Likewise.
47824         * locale/programs/localedef.c: Likewise.
47825         * malloc/memusage.sh: Likewise.
47826         * malloc/mtrace.pl: Likewise.
47827         * nscd/nscd.c (print_version): Likewise.
47828         * nss/getent.c: Likewise.
47829
47830         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47831         PF_CAIF, and PF_ALG.
47832         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47833
47834 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47835
47836         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47837         (modules-names): Use them.
47838         (ifunc-test-modules, ifunc-pie-tests): Define.
47839         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47840         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47841         (test-extras): Likewise.
47842         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47843         $(compile-command.c).
47844         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47845         (all-built-dso): Define.
47846         (check-textrel.out, check-execstack.out): Depend on it.
47847
47848         * configure.in: Don't override --enable-multi-arch.
47849
47850 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47851
47852         [BZ #6812]
47853         * nscd/hstcache.c (tryagain): Define.
47854         (cache_addhst): Return tryagain not notfound for temporary errors.
47855         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47856         failed.
47857
47858 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47859
47860         [BZ #10563]
47861         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47862         to make the syscall.
47863         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47864
47865         [BZ #12378]
47866         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47867         and fall back to matching as normal character if the string ends before
47868         the matching ']' is found.  This is what POSIX requires.
47869         * posix/testfnm.c: Adjust test result.
47870         * posix/globtest.sh: Adjust test result.  Add new test.
47871         * posix/tst-fnmatch.input: Likewise.
47872         * posix/tst-fnmatch2.c: Add new test.
47873
47874 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47875
47876         * elf/Makefile (check-execstack): Revert last change.  Depend on
47877         check-execstack.h.
47878         (check-execstack.h): New target.
47879         (generated): Add check-execstack.h.
47880         * elf/check-execstack.c: Include "check-execstack.h".
47881         (main): Revert last change.
47882         (handle_file): Return zero if GNU_STACK is absent and
47883         DEFAULT_STACK_PERMS doesn't include PF_X.
47884
47885 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47886
47887         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47888         in child fails because the descriptor is already closed.
47889         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47890         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47891         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47892
47893         [BZ #12397]
47894         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47895         syscall.
47896
47897         [BZ #10484]
47898         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47899         temporary buffer used to handle multi lookups locally.
47900         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47901
47902 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47903
47904         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47905         loader is ld.so.
47906
47907 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47908
47909         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47910         alignment for SSE2.
47911
47912 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47913
47914         [BZ #12394]
47915         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47916         characters.  When rounding increased number of integer digits recompute
47917         number of groups.
47918         * stdio-common/tst-grouping.c: New file.
47919         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47920
47921 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47922
47923         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47924         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47925
47926         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47927         void.
47928         * bits/select.h: Likewise.
47929
47930 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47931
47932         * po/ja.po: Update from translation team.
47933
47934 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47935
47936         [BZ #11155]
47937         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47938         implementation just like for lxstat, fxstatat, et al.
47939
47940 2010-12-27  Jim Meyering  <meyering@redhat.com>
47941
47942         [BZ #12348]
47943         * posix/regexec.c (build_trtable): Return failure indication upon
47944         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47945
47946 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47947
47948         [BZ #12201]
47949         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47950         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47951         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47952         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47953
47954         [BZ #12207]
47955         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47956
47957         [BZ #12204]
47958         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47959         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47960
47961 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47962
47963         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47964         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47965         script has SORT_BY_INIT_PRIORITY.
47966         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47967         NO_CTORS_DTORS_SECTIONS is defined.
47968         * elf/soinit.c: Likewise.
47969         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47970         NO_CTORS_DTORS_SECTIONS is defined.
47971         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47972         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47973         * sysdeps/sh/init-first.c: Likewise.
47974         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47975
47976 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47977
47978         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47979         always use the slow path.
47980
47981 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47982
47983         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47984         similar rule which adds the sysdep directories to the header search in
47985         order to pick up the correct platform stackinfo.h.
47986         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47987         perform test if it is, otherwise return successfully without testing.
47988         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47989         DEFAULT_STACK_PERMS define in stackinfo.h.
47990         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47991         defined in stackinfo.h.
47992         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47993         DEFAULT_STACK_PERMS defined in stackinfo.h.
47994         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47995         * sysdeps/ia64/stackinfo.h: Likewise.
47996         * sysdeps/s390/stackinfo.h: Likewise.
47997         * sysdeps/sh/stackinfo.h: Likewise.
47998         * sysdeps/sparc/stackinfo.h: Likewise.
47999         * sysdeps/x86_64/stackinfo.h: Likewise.
48000         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48001         PF_X for powerpc64.  Retain PF_X for powerpc32.
48002
48003 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48004
48005         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48006         accurately.
48007         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48008         GETDENTS_64BIT_ALIGNED.
48009
48010 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48011
48012         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48013
48014 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48015
48016         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48017         _GNU_SOURCE.
48018
48019         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48020         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48021         Remove __restrict.
48022         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48023         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48024
48025 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48026
48027         [BZ #11655]
48028         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48029         are initialized.
48030
48031 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48032
48033         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48034
48035 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48036
48037         * po/it.po: Update from translation team.
48038
48039 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48040
48041         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48042         unused codes.
48043
48044 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48045
48046         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48047
48048 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48049
48050         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48051         specially.
48052         (gaih_getanswer_slice): Likewise.
48053
48054 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48055
48056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48057
48058 2010-05-31  Petr Baudis  <pasky@suse.cz>
48059
48060         [BZ #11149]
48061         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48062         silently even in the chroot mode.
48063
48064 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48065
48066         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48067         last patch a bit.  Pretty printing
48068
48069 2010-05-31  Petr Baudis <pasky@suse.cz>
48070
48071         [BZ #10085]
48072         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48073         initialization of skip_initgroups_dyn.
48074
48075 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48076
48077         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48078         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48079
48080 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48081
48082         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48083
48084 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48085
48086         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48087         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48088         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48089         ($(objpfx)tst-fnmatch-mem): New rule.
48090         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48091         * posix/tst-fnmatch.c (main): Call mtrace.
48092
48093 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48094
48095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48096         Support Intel processor model 6 and model 0x2c.
48097
48098 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48099
48100         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48101           signed comparison.
48102
48103 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48104
48105         [BZ #12205]
48106         * string/test-strncasecmp.c (check_result): New function.
48107         (do_one_test): Use it.
48108         (check1): New function.
48109         (test_main): Use it.
48110         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48111         Support strcasecmp and strncasecmp.
48112
48113 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48114
48115         [BZ #12194]
48116         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48117         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48118
48119 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48120
48121         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48122         IFUNC support.
48123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48124         memset-x86-64.
48125         * sysdeps/x86_64/multiarch/bzero.S: New file.
48126         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48127         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48128         * sysdeps/x86_64/multiarch/memset.S: New file.
48129         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48131         Set bit_Prefer_SSE_for_memop for Intel processors.
48132         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48133         Define.
48134         (index_Prefer_SSE_for_memop): Define.
48135         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48136
48137 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48138
48139         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48140         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48141
48142 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48143
48144         [BZ #12191]
48145         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48146         (__x86_64_raw_data_cache_size_half): Likewise.
48147         (__x86_64_raw_shared_cache_size): Likewise.
48148         (__x86_64_raw_shared_cache_size_half): Likewise.
48149
48150         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48151         (__x86_64_raw_data_cache_size_half): Likewise.
48152         (__x86_64_raw_shared_cache_size): Likewise.
48153         (__x86_64_raw_shared_cache_size_half): Likewise.
48154         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48155         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48156         and __x86_64_raw_shared_cache_size_half.  Round
48157         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48158         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48159         to multiple of 256 bytes.
48160
48161 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48162
48163         [BZ #12167]
48164         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48165         of inacessible symlinks.  Verify result of symlink before returning it.
48166         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48167         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48168
48169 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48170
48171         * math/math.h (isinf): Fix typo in comment.
48172
48173 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48174
48175         * po/da.po: Update from translation team.
48176
48177 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48178
48179         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48180         is added to the list.
48181
48182 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48183             Ulrich Drepper  <drepper@gmail.com>
48184
48185         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48186         the global list here.  Move code to...
48187         (_dl_add_to_namespace_list): ...here.  New function.
48188         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48189         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48190         * elf/dl-load.c (lose): Don't remove the element from the list.
48191         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48192         (_dl_map_object): Likewise.
48193
48194 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48195
48196         [BZ #12159]
48197         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48198         into all bytes of SSE register.
48199         Patch by Richard Li <richardpku@gmail.com>.
48200
48201 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48202
48203         [BZ #12140]
48204         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48205         perturbing.
48206
48207 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48208
48209         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48210         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48211         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48212         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48214         submachine.
48215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48216
48217 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48218
48219         * include/dlfcn.h (__RTLD_SECURE): Define.
48220         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48221         mode & __RTLD_SECURE instead.
48222         (open_path): Rename preloaded parameter to secure.
48223         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48224         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48225         * elf/dl-deps.c (openaux): Likewise.
48226         * elf/rtld.c (struct map_args): Remove is_preloaded.
48227         (map_doit): Don't use it.
48228         (dl_main): Likewise.
48229         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48230         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48231
48232 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48233
48234         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48235         (sysd-rules-targets): Remove duplicates.
48236         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48237         rtld-%.$o dependency.
48238
48239 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48240
48241         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48242         _dl_map_object do it.
48243
48244 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48245
48246         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48247         fast fma builtins, define the macros in the C99 standard.
48248         (FP_FAST_FMAF): Likewise.
48249         (FP_FAST_FMAL): Likewise.
48250         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48251
48252         * bits/mathdef.h: Update copyright year.
48253         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48254
48255 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48256
48257         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48258         builtins, define the macros in the C99 standard.
48259         (FP_FAST_FMAF): Likewise.
48260         (FP_FAST_FMAL): Likewise.
48261         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48262         multiply/add.
48263         (FP_FAST_FMAF): Likewise.
48264
48265 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48266
48267         [BZ #3268]
48268         * math/libm-test.inc (fma_test): Some new testcases.
48269         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48270         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48271         y and infinite z.  Do multiplication by C already in long double.
48272         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48273         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48274         y and infinite z.  Do bitwise or of inexact bit into u.d.
48275         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48276         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48277         * sysdeps/i386/fpu/s_fma.S: Removed.
48278         * sysdeps/i386/fpu/s_fmal.S: Removed.
48279
48280 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48281
48282         [BZ #3268]
48283         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48285         computation is not scheduled after fetestexcept.  Fix value
48286         of minimum denormal long double.
48287
48288 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48289
48290         [BZ #3268]
48291         * math/libm-test.inc (fma_test): Add some more tests.
48292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48293         correctly.
48294
48295 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48296
48297         * scripts/data/localplt-s390-linux-gnu.data: New file.
48298         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48299
48300 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48301
48302         [BZ #3268]
48303         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48304         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48305         instead of dbl-64.
48306         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48307         inlines.
48308         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48310         if one of x and y is very large and the other is subnormal.
48311         * sysdeps/s390/fpu/s_fmaf.c: New file.
48312         * sysdeps/s390/fpu/s_fma.c: New file.
48313         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48314         * sysdeps/powerpc/fpu/s_fma.S: New file.
48315         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48316         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48317         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48318
48319 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48320
48321         [BZ #3268]
48322         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48323         fma tests.
48324         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48325         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48326         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48327         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48328         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48329         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48330         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48331
48332 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48333
48334         [BZ #12078]
48335         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48336         * posix/bug-regex31.input: Add test case.
48337
48338 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48339
48340         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48341         * posix/bug-regex31.input: New file.
48342
48343         [BZ #12078]
48344         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48345         (parse_sub_exp): Fix last change, use postorder.
48346
48347         * posix/bug-regex31.c: New file.
48348         * posix/Makefile: Add rules to build and run bug-regex31.
48349
48350         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48351
48352         [BZ #12078]
48353         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48354
48355         [BZ #12108]
48356         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48357         to have entries in sys_siglist.
48358
48359         [BZ #12093]
48360         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48361         be NULL.
48362
48363 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48364
48365         [BZ #3268]
48366         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48367         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48368         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48369         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48370         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48371         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48372         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48373         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48374         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48375         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48376         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48377         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48378         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48379         * math/ftestexcept.c (fetestexcept): Likewise.
48380         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48381         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48382         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48383         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48384         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48385         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48386         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48387
48388 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48389
48390         [BZ #12107]
48391         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48392         newline.
48393
48394 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48395
48396         * string/bug-strstr1.c: New file.
48397         * string/Makefile: Add rules to build and run bug-strstr1.
48398
48399 2010-10-05  Eric Blake  <eblake@redhat.com>
48400
48401         [BZ #12092]
48402         * string/str-two-way.h (two_way_long_needle): Always clear memory
48403         when skipping input due to the shift table.
48404
48405 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48406
48407         [BZ #12005]
48408         * malloc/mcheck.c: Handle large requests.
48409
48410         [BZ #12077]
48411         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48412         for strncmp and strncasecmp.
48413         * string/stratcliff.c: Add tests for strcmp and strncmp.
48414         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48415
48416 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48417
48418         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48419         __set_fpscr.
48420
48421 2010-09-30  Andreas Jaeger  <aj@suse.de>
48422
48423         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48424         (CGROUP_SUPER_MAGIC): Define.
48425         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48426         Handle btrfs and cgroup file systems.
48427         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48428         Likewise.
48429
48430 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48431
48432         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48433         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48434
48435 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48436
48437         [BZ #12067]
48438         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48439         trying to locate the ELF header.
48440
48441 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48442
48443         [BZ #11611]
48444         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48445         Mask out sign-bit copies when constructing f_fsid.
48446
48447 2010-09-24  Petr Baudis <pasky@suse.cz>
48448
48449         * debug/stack_chk_fail_local.c: Add missing licence exception.
48450         * debug/warning-nop.c: Likewise.
48451
48452 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48453
48454         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48455         implementing getdents64 using getdents syscall, set d_type if
48456         __ASSUME_GETDENTS32_D_TYPE.
48457
48458 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48459
48460         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48461         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48462
48463 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48464
48465         [BZ #12037]
48466         * posix/unistd.h: Undo change of feature selection for ftruncate from
48467         2010-01-11.
48468
48469 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48470
48471         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48472         detection.
48473
48474 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48475
48476         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48477         fanotify_mark.
48478         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48479
48480 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48481
48482         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48483         variables after CHECK_SP call.
48484         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48485
48486 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48487             Ulrich Drepper  <drepper@redhat.com>
48488
48489         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48490         re-relocationg ld.so.
48491         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48492         _dl_init_paths call.
48493         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48494         here anymore.
48495
48496 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48497
48498         * resolv/res_init.c (__res_vinit): Count the default server we added.
48499
48500 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48501             Ulrich Drepper  <drepper@redhat.com>
48502
48503         [BZ #11968]
48504         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48505         (____longjmp_chk): Use %ebx for saving value across system call.
48506         Add unwind info.
48507
48508 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48509
48510         * manual/Makefile: Don't mix pattern rules with normal rules.
48511
48512 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48513
48514         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48515         operation.
48516         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48517         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48518         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48519         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48521         Likewise.
48522
48523 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48524
48525         [BZ #11979]
48526         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48527         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48528
48529 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48530
48531         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48532         * sysdeps/x86_64/addmul_1.S: Likewise.
48533         * sysdeps/x86_64/lshift.S: Likewise.
48534         * sysdeps/x86_64/mul_1.S: Likewise.
48535         * sysdeps/x86_64/rshift.S: Likewise.
48536         * sysdeps/x86_64/sub_n.S: Likewise.
48537         * sysdeps/x86_64/submul_1.S: Likewise.
48538
48539 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48540
48541         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48542         Define __sched_param instead of SCHED_* and sched_param when
48543         <bits/sched.h> is included with __need_schedparam defined.
48544         * bits/sched.h [__need_schedparam]
48545         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48546         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48547         (__defined_schedparam): Define to 1.
48548         (__sched_param): New structure, identical to sched_param.
48549         (__need_schedparam): Undefine.
48550
48551 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48552
48553         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48554         (epoll_create1): Declare.
48555
48556         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48557
48558 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48559
48560         [BZ #7066]
48561         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48562         shifting retval into place.
48563
48564 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48565
48566         * nis/rpcsvc/nis.h: Update copyright notice.
48567         * nis/rpcsvc/nis.x: Likewise.
48568         * nis/rpcsvc/nis_callback.h: Likewise.
48569         * nis/rpcsvc/nis_callback.x: Likewise.
48570         * nis/rpcsvc/nis_object.x: Likewise.
48571         * nis/rpcsvc/nis_tags.h: Likewise.
48572         * nis/rpcsvc/yp.h: Likewise.
48573         * nis/rpcsvc/yp.x: Likewise.
48574         * nis/rpcsvc/ypupd.h: Likewise.
48575         * nis/yp_xdr.c: Likewise.
48576         * nis/ypupdate_xdr.c: Likewise.
48577
48578         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48579         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48580         (pmap_getport): Use __libc_rpc_getport.
48581         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48582         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48583         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48584
48585 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48586
48587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48588         fanotify_mark.
48589
48590 2010-08-27  Roland McGrath  <roland@redhat.com>
48591
48592         * sysdeps/i386/i686/multiarch/Makefile
48593         (CFLAGS-varshift.c): New variable.
48594
48595 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48596
48597         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48598         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48599
48600         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48601
48602         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48603
48604 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48605
48606         * sysdeps/x86_64/strlen.S: Unroll the loop.
48607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48608         strlen-sse2 strlen-sse2-bsf.
48609         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48610         __strlen_no_bsf if bit_Slow_BSF is set.
48611         (__strlen_sse42): Removed.
48612         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48613         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48614
48615 2010-08-25  Roland McGrath  <roland@redhat.com>
48616
48617         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48618         * sysdeps/x86_64/multiarch/varshift.c: New file.
48619         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48620         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48621         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48622         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48623
48624 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48625
48626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48627         strlen-sse2 strlen-sse2-bsf.
48628         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48629         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48630         (__strlen_sse2): Removed.
48631         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48632         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48634         bit_Slow_BSF for Atom.
48635         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48636         (index_Slow_BSF): Define.
48637         (HAS_SLOW_BSF): Define.
48638
48639 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48640
48641         [BZ #10851]
48642         * resolv/res_init.c (__res_vinit): When no server address at all
48643         is given default to loopback.
48644
48645 2010-08-24  Roland McGrath  <roland@redhat.com>
48646
48647         * configure.in: Remove config-name.h generation.
48648         * configure: Regenerated.
48649         * config-name.in: File removed.
48650         * scripts/config-uname.sh: New file.
48651         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48652         ($(objdir)config-name.h): New target.
48653
48654         * sunrpc/rpc_parse.h: Avoid nested comment.
48655
48656 2010-08-24  Richard Henderson  <rth@redhat.com>
48657             Ulrich Drepper  <drepper@redhat.com>
48658             H.J. Lu  <hongjiu.lu@intel.com>
48659
48660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48662         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48663         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48664         _mm_alignr_epi8 with _mm_loadu_si128.
48665         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48666         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48667         (__m128i_shift_right): Removed.
48668         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48669         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48670         * sysdeps/x86_64/multiarch/varshift.h: New file.
48671         * sysdeps/x86_64/multiarch/varshift.S: New file.
48672
48673 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48674
48675         * configure.in: Move assembler checks to before sysdep dir checking.
48676
48677 2010-08-20  Petr Baudis  <pasky@suse.cz>
48678
48679         * LICENSES: Sync the sunrpc license.
48680
48681 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48682
48683         * sunrpc/auth_des.c: Update copyright notice once again.
48684         * sunrpc/auth_none.c: Likewise.
48685         * sunrpc/auth_unix.c: Likewise.
48686         * sunrpc/authdes_prot.c: Likewise.
48687         * sunrpc/authuxprot.c: Likewise.
48688         * sunrpc/bindrsvprt.c: Likewise.
48689         * sunrpc/clnt_gen.c: Likewise.
48690         * sunrpc/clnt_perr.c: Likewise.
48691         * sunrpc/clnt_raw.c: Likewise.
48692         * sunrpc/clnt_simp.c: Likewise.
48693         * sunrpc/clnt_tcp.c: Likewise.
48694         * sunrpc/clnt_udp.c: Likewise.
48695         * sunrpc/clnt_unix.c: Likewise.
48696         * sunrpc/des_crypt.c: Likewise.
48697         * sunrpc/des_soft.c: Likewise.
48698         * sunrpc/get_myaddr.c: Likewise.
48699         * sunrpc/getrpcport.c: Likewise.
48700         * sunrpc/key_call.c: Likewise.
48701         * sunrpc/key_prot.c: Likewise.
48702         * sunrpc/openchild.c: Likewise.
48703         * sunrpc/pm_getmaps.c: Likewise.
48704         * sunrpc/pm_getport.c: Likewise.
48705         * sunrpc/pmap_clnt.c: Likewise.
48706         * sunrpc/pmap_prot.c: Likewise.
48707         * sunrpc/pmap_prot2.c: Likewise.
48708         * sunrpc/pmap_rmt.c: Likewise.
48709         * sunrpc/rpc/auth.h: Likewise.
48710         * sunrpc/rpc/auth_unix.h: Likewise.
48711         * sunrpc/rpc/clnt.h: Likewise.
48712         * sunrpc/rpc/des_crypt.h: Likewise.
48713         * sunrpc/rpc/key_prot.h: Likewise.
48714         * sunrpc/rpc/netdb.h: Likewise.
48715         * sunrpc/rpc/pmap_clnt.h: Likewise.
48716         * sunrpc/rpc/pmap_prot.h: Likewise.
48717         * sunrpc/rpc/pmap_rmt.h: Likewise.
48718         * sunrpc/rpc/rpc.h: Likewise.
48719         * sunrpc/rpc/rpc_des.h: Likewise.
48720         * sunrpc/rpc/rpc_msg.h: Likewise.
48721         * sunrpc/rpc/svc.h: Likewise.
48722         * sunrpc/rpc/svc_auth.h: Likewise.
48723         * sunrpc/rpc/types.h: Likewise.
48724         * sunrpc/rpc/xdr.h: Likewise.
48725         * sunrpc/rpc_clntout.c: Likewise.
48726         * sunrpc/rpc_cmsg.c: Likewise.
48727         * sunrpc/rpc_common.c: Likewise.
48728         * sunrpc/rpc_cout.c: Likewise.
48729         * sunrpc/rpc_dtable.c: Likewise.
48730         * sunrpc/rpc_hout.c: Likewise.
48731         * sunrpc/rpc_main.c: Likewise.
48732         * sunrpc/rpc_parse.c: Likewise.
48733         * sunrpc/rpc_parse.h: Likewise.
48734         * sunrpc/rpc_prot.c: Likewise.
48735         * sunrpc/rpc_sample.c: Likewise.
48736         * sunrpc/rpc_scan.c: Likewise.
48737         * sunrpc/rpc_scan.h: Likewise.
48738         * sunrpc/rpc_svcout.c: Likewise.
48739         * sunrpc/rpc_tblout.c: Likewise.
48740         * sunrpc/rpc_util.c: Likewise.
48741         * sunrpc/rpc_util.h: Likewise.
48742         * sunrpc/rpcinfo.c: Likewise.
48743         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48744         * sunrpc/rpcsvc/key_prot.x: Likewise.
48745         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48746         * sunrpc/rpcsvc/mount.x: Likewise.
48747         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48748         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48749         * sunrpc/rpcsvc/rex.x: Likewise.
48750         * sunrpc/rpcsvc/rstat.x: Likewise.
48751         * sunrpc/rpcsvc/rusers.x: Likewise.
48752         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48753         * sunrpc/rpcsvc/spray.x: Likewise.
48754         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48755         * sunrpc/rtime.c: Likewise.
48756         * sunrpc/svc.c: Likewise.
48757         * sunrpc/svc_auth.c: Likewise.
48758         * sunrpc/svc_authux.c: Likewise.
48759         * sunrpc/svc_raw.c: Likewise.
48760         * sunrpc/svc_run.c: Likewise.
48761         * sunrpc/svc_simple.c: Likewise.
48762         * sunrpc/svc_tcp.c: Likewise.
48763         * sunrpc/svc_udp.c: Likewise.
48764         * sunrpc/svc_unix.c: Likewise.
48765         * sunrpc/svcauth_des.c: Likewise.
48766         * sunrpc/xcrypt.c: Likewise.
48767         * sunrpc/xdr.c: Likewise.
48768         * sunrpc/xdr_array.c: Likewise.
48769         * sunrpc/xdr_float.c: Likewise.
48770         * sunrpc/xdr_mem.c: Likewise.
48771         * sunrpc/xdr_rec.c: Likewise.
48772         * sunrpc/xdr_ref.c: Likewise.
48773         * sunrpc/xdr_sizeof.c: Likewise.
48774         * sunrpc/xdr_stdio.c: Likewise.
48775
48776         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48777         handling.
48778
48779 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48780
48781         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48782
48783 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48784
48785         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48786         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48787         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48788         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48789         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48790         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48791         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48792         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48793         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48794         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48795         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48796         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48797         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48798         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48799
48800 2010-07-26  Anton Blanchard  <anton@samba.org>
48801
48802         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48803         * malloc/arena.c (heap_trim): Likewise.
48804
48805 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48806
48807         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48808         here.  Not...
48809         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48810         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48811
48812 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48813
48814         * sysdeps/i386/elf/Makefile: New file.
48815
48816 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48817
48818         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48819         from fanotify_init.
48820         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48821         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48822
48823 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48824
48825         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48826         of strncasecmp_l.
48827         * sysdeps/multiarch/strcmp.S: Likewise.
48828
48829 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48830
48831         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48832         strncase_l-nonascii.
48833         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48834         Add strncase_l-ssse3.
48835         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48836         * sysdeps/x86_64/strcmp.S: Likewise.
48837         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48838         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48839         * sysdeps/x86_64/strncase.S: New file.
48840         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48841         * sysdeps/x86_64/strncase_l.S: New file.
48842         * string/Makefile (strop-tests): Add strncasecmp.
48843         * string/test-strncasecmp.c: New file.
48844
48845         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48846         warning.
48847
48848         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48849         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48850
48851 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48852
48853         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48854
48855 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48856
48857         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48858         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48859         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48860
48861 2010-05-01  Alan Modra  <amodra@gmail.com>
48862
48863         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48864         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48865         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48866         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48867         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48868         tidying.  Don't tail-call __sigjmp_save for static lib.
48869         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48870         save location.
48871         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48872         (CALL_MCOUNT): Add eh info, and nop after bl.
48873         (TAIL_CALL_SYSCALL_ERROR): New macro.
48874         (PSEUDO_RET): Use it.
48875         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48876         Correct save location of integer regs and cr.
48877         (_dl_profile_resolve): Correct cr save location.  Delete nops
48878         after bl when SHARED.  Reduce cfi size a little by better
48879         placement of cfi directives.
48880         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48881         make a stack frame.  Instead use parm save area as a temp.
48882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48883         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48885         Don't make a stack frame for parent, use parm save area.
48886         Increase child stack frame to 112 bytes.  Don't save unused reg,
48887         and adjust reg usage.  Set up cfi on error recovery and
48888         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48890         (__makecontext): Add dummy nop after jump to exit.
48891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48892         Use correct parm save area and cr save, reduce stack frame.
48893         Correct cfi for possible PSEUDO_RET frame setup.
48894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48895         Branch to local label emitted by PSEUDO_RET rather than
48896         __syscall_error.
48897
48898 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48899
48900         [BZ #11904]
48901         * locale/programs/locale.c (print_assignment): New function.
48902         (show_locale_vars): Use it.
48903
48904 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48905
48906         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48907         field.
48908         (struct statfs64): Likewise.
48909         (_STATFS_F_FLAGS): Define.
48910         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48911         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48912         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48913         (ST_VALID): Define locally.
48914         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48915         __statvfs_getflags, use the provided value.
48916         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48917         __ASSUME_STATFS_F_FLAGS.
48918
48919         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48920
48921         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48922         Add sys/fanotify.h.
48923         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48924         fanotify_mask for GLIBC_2.13.
48925         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48926         fanotify_init and fanotify_mark.
48927         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48928         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48929
48930         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48931         Add prlimit.
48932         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48933         prlimit64 for GLIBC_2.13.
48934         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48935         prlimit64.
48936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48937         syscall.
48938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48939         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48940         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48941         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48942         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48943         add prlimit alias.
48944         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48945
48946         [BZ #11903]
48947         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48948         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48949
48950         * nss/Makefile: Add rules to build and run tst-nss-test1.
48951         * shlib-versions: Add entry for libnss_test1.
48952         * nss/nss_test1.c: New file.
48953         * nss/tst-nss-test1.c: New file.
48954
48955         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48956         (__nss_configure_lookup): Set appropriate entry in
48957         __nss_configure_lookup to true.
48958         * nss/nsswitch.h: Define enum with indeces of databases in
48959         databases and __nss_database_custom arrays.  Declare
48960         __nss_database_custom.
48961         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48962         to avoid using nscd when custom rules are installed.
48963         * nss/getXXbyYY_r.c: Likewise.
48964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48965
48966         * nss/nss_files/files-parse.c: Whitespace fixes.
48967
48968 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48969
48970         [BZ #11883]
48971         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48972         * posix/fnmatch_loop.c: Likewise.
48973
48974 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48975
48976         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48977         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48978         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48979         * Versions.def [GLIBC_2.13]: Add.
48980
48981 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48982
48983         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48984         Also fail if tpwd after pwuid call is NULL.
48985
48986 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48987
48988         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48989         when converting to ms.
48990
48991 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48992
48993         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48994         EOPNOTSUPP errors with ENOTTY.
48995         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48996         EOPNOTSUPP errors with ENOTTY.
48997
48998 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48999
49000         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49001         Add strcasecmp_l-ssse3.
49002         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49003         strcasecmp.
49004         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49005         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49006         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49007
49008 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49009
49010         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49011
49012         * string/Makefile (strop-tests): Add strcasecmp.
49013         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49014         strcasecmp_l-nonascii.
49015         (gen-as-const-headers): Add locale-defines.sym.
49016         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49017         * sysdeps/x86_64/strcasecmp.S: New file.
49018         * sysdeps/x86_64/strcasecmp_l.S: New file.
49019         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49020         * sysdeps/x86_64/locale-defines.sym: New file.
49021         * string/test-strcasecmp.c: New file.
49022
49023         * string/test-strcasestr.c: Test both ends of the range of characters.
49024         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49025
49026 2010-07-29  Roland McGrath  <roland@redhat.com>
49027
49028         [BZ #11856]
49029         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49030
49031 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49032
49033         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49034         for ld.so.
49035
49036 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49037
49038         * manual/memory.texi (Malloc Tunable Parameters): Document
49039         M_PERTURB.
49040
49041 2010-07-26  Roland McGrath  <roland@redhat.com>
49042
49043         [BZ #11840]
49044         * configure.in (-fgnu89-inline check): Set and substitute
49045         gnu89_inline, not libc_cv_gnu89_inline.
49046         * configure: Regenerated.
49047         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49048
49049 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49050
49051         * string/test-strnlen.c: New file.
49052         * string/Makefile (strop-tests): Add strnlen.
49053         * string/tester.c (test_strnlen): Add a few more test cases.
49054         * string/tst-strlen.c: Better error reporting.
49055
49056         * sysdeps/x86_64/strnlen.S: New file.
49057
49058 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49059
49060         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49061         lower-latency instructions.
49062
49063 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49064
49065         * string/test-strcasestr.c: New file.
49066         * string/test-strstr.c: New file.
49067         * string/Makefile (strop-tests): Add strstr and strcasestr.
49068         * string/str-two-way.h: Don't undefine MAX.
49069         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49070
49071 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49072
49073         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49074         strcasestr-nonascii.
49075         (CFLAGS-strcasestr-nonascii.c): Define.
49076         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49077         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49078         Remove unused attribute.
49079
49080 2010-07-20  Roland McGrath  <roland@redhat.com>
49081
49082         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49083         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49084         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49085         like LD_HWCAP_MASK can disable hwcaps.
49086
49087 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49088
49089         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49090
49091 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49092
49093         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49094         call in strcasestr.
49095         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49096         __strcasestr_sse42_nonascii.
49097         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49098         strcasestr-nonascii.c.
49099         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49100
49101 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49102
49103         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49104         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49105         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49106         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49107
49108 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49109
49110         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49111         fcntl.
49112
49113 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49114
49115         [BZ #11577]
49116         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49117         dl_signal_cerror.
49118
49119 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49120
49121         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49122         _PC_PIPE_BUF using F_GETPIPE_SZ.
49123
49124 2010-07-05  Roland McGrath  <roland@redhat.com>
49125
49126         * manual/arith.texi (Rounding Functions): Fix rint description
49127         implicit in round description.
49128
49129 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49130
49131         * elf/Makefile: Fix linking for a few tests to make recent linker
49132         happy.
49133
49134 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49135
49136         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49137         $(common-objpfx)libc_nonshared.a.
49138
49139 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49140
49141         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49142         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49143         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49144         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49145         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49146         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49147         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49148         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49163         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49164         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49165         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49166         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49167         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49168         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49169         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49170         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49171         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49172         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49173         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49174         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49189
49190 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49191
49192         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49193         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49194         * string/memmove.c (memmove): Renamed to ...
49195         (MEMMOVE): ...this.  Default to memmove.
49196         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49197         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49198         (END_CHK): Define.
49199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49200         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49201         mempcpy-ssse3-back memmove-ssse3-back.
49202         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49203         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49204         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49205         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49206         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49207         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49208         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49209         * sysdeps/x86_64/multiarch/memmove.c: New file.
49210         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49211         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49212         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49213         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49214         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49215         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49216         Define.
49217         (index_Fast_Copy_Backward): Define.
49218         (HAS_ARCH_FEATURE): Define.
49219         (HAS_FAST_REP_STRING): Define.
49220         (HAS_FAST_COPY_BACKWARD): Define.
49221
49222 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49223
49224         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49225         Restore proper fallback handling.
49226
49227 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49228
49229         [BZ #11701]
49230         * posix/group_member.c (__group_member): Correct checking loop.
49231
49232         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49233         OOM in getpwuid_r correctly.  Return error number when the caller
49234         should return, otherwise -1.
49235         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49236         call returning > 0 value.
49237         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49238
49239 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49240
49241         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49242         libc_nonshared.a from targets in modules-names.
49243
49244 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49245
49246         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49247         requires it.
49248
49249 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49250
49251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49252         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49253         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49254         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49255
49256 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49257
49258         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49259
49260 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49261
49262         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49263         and F_GETPIPE_SZ.
49264         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49265         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49266         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49268         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49269         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49270
49271 2010-06-14  Roland McGrath  <roland@redhat.com>
49272
49273         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49274
49275 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49276
49277         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49278         __REDIRECT followed by __THROW.
49279         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49280         * posix/getopt.h (getopt): Likewise.
49281
49282 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49283
49284         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49285         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49286         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49287         in AT_FLAGS.
49288         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49289         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49290
49291 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49292
49293         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49294
49295 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49296
49297         [BZ #11640]
49298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49299         Properly check family and model.
49300
49301 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49302
49303         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49304
49305 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49306
49307         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49308
49309 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49310
49311         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49312         symbol reference.
49313
49314 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49315
49316         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49317         symbol reference.
49318
49319 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49320
49321         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49322         and internal_recvmmsg.
49323         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49324         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49325         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49326         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49327
49328         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49329         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49330         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49331
49332 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49333
49334         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49335
49336 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49337
49338         POWER7 optimizations.
49339         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49340         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49341
49342 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49343
49344         * version.h: Update for 2.13 development version.
49345
49346 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49347
49348         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49349         exceptions.  Return 0.
49350
49351 2010-05-07  Roland McGrath  <roland@redhat.com>
49352
49353         * elf/ldconfig.c (main): Add a const.
49354
49355 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49356
49357         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49358         (args_options): Add no-idn option.
49359         (ahosts_keys_int): Add idn_flags to ai_flags.
49360         (parse_option): Handle 'i' option to clear idn_flags.
49361
49362         * malloc/malloc.c (_int_free): Possible race in the most recently
49363         added check.  Only act on the data if no current modification
49364         happened.
49365
49366 See ChangeLog.17 for earlier changes.