Remove declarations of two nonexistent variables from nptl/pthreadP.h.
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-15  Roland McGrath  <roland@hack.frob.com>
2
3         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4         Remove dead declarations.
5
6 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7
8         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10         config-cflags-avx2.
11         * sysdeps/x86_64/configure.ac: Likewise.
12         * sysdeps/i386/configure: Regenerated.
13         * sysdeps/x86_64/configure: Likewise.
14         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15         memset-avx2 only if config-cflags-avx2 is yes.
16         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
18         defined.
19         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
20         only if HAVE_AVX2_SUPPORT is defined.
21         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22
23 2014-07-14  Alan Modra  <amodra@gmail.com>
24
25         [BZ #17153]
26         * elf/elf.h (DT_PPC64_NUM): Correct value.
27         * NEWS: Add to fixed bug list.
28
29 2014-07-13  Jim Meyering  <meyering@fb.com>
30
31         [BZ 17150]
32         regex: don't deref NULL upon heap allocation failure
33         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34         failure in one more place.
35         To trigger the segfault, configure grep -with-included-regex,
36         build it, and run these commands:
37         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38
39 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40
41         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42
43 2014-07-11  Richard Henderson  <rth@redhat.com>
44
45         * sysdeps/aarch64/libm-test-ulps: Update.
46
47 2014-07-10  Florian Weimer  <fweimer@redhat.com>
48
49         [BZ #17135]
50         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
51         * nptl/allocatestack.c (__nptl_setxid_error): New function.
52         (__nptl_setxid): Initialize error member.  Call
53         __nptl_setxid_error.
54         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
55         * nptl/descr.h (struct xid_command): Add error member.
56         * nptl/tst-setuid3.c: New file.
57         * nptl/Makefile (tests): Add it.
58
59 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60
61         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
62         New define.
63         (__lll_trylock): Use __lll_base_trylock.
64         (__lll_cond_trylock): Likewise.
65
66 2014-07-10  Roland McGrath  <roland@hack.frob.com>
67
68         * nptl/pthread_create.c (start_thread): Use atomic_or and
69         lll_futex_wake directly rather than lll_robust_dead.
70         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
71         (lll_robust_dead): Macro removed.
72         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
73         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
74         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
75         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
76         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
77         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
78         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
79         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
80         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
81         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
82         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
83         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
84         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
85         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
86         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
87
88         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
89         Use atomic_compare_and_exchange_val_acq directly rather than
90         lll_robust_trylock.
91         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
92         (__lll_robust_trylock, lll_robust_trylock): Removed.
93         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
94         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
95         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
96         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
97         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
98         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
99         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
100         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
101         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
102         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
103         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
104         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
105         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
106         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
107
108 2014-07-02  Florian Weimer  <fweimer@redhat.com>
109
110         * manual/locale.texi (Locale Names): New section documenting
111         locale name syntax.  Adjust menu and node chaining accordingly.
112         (Choosing Locale): Reference Locale Names, Locale Categories.
113         Mention setting LC_ALL=C.  Reflect that name syntax is now
114         documented.
115         (Locale Categories): New section title.  Reference Locale Names.
116         LC_ALL is an environment variable, but not a category.
117         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
118         description, now in Locale Name.  Reference that section.  Locale
119         name syntax is now documented.
120
121 2014-07-02  Florian Weimer  <fweimer@redhat.com>
122
123         [BZ #17137]
124         * locale/findlocale.c (name_present, valid_locale_name): New
125         functions.
126         (_nl_find_locale): Use the loc_name variable to store name
127         candidates.  Call name_present and valid_locale_name to check and
128         validate locale names.  Return an error if the locale is invalid.
129
130 2014-07-02  Florian Weimer  <fweimer@redhat.com>
131
132         * locale/setlocale.c (setlocale): Use strdup for allocating
133         composite name copy.
134
135 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
136
137         Sync up with gnulib.
138         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
139         [!_LIBC && ENABLE_NLS]: Include gettext.h.
140         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
141         and _GL_ARG_NONNULL.
142         [USE_UNLOCKED_IO]: Include unlocked-io.h.
143         [!_LIBC]: Include code for Windows and Cygwin.
144         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
145         Include prototype for int strerror_r.
146         [!_LIBC] (is_open): New function.
147         (flush_stdout): New function.
148         (print_errno_message): Use it.
149         (error): Likewise.
150         (error_at_line): Likewise.
151         (error_tail) Add function attribute macros.  Use
152         __builtin_expect.
153
154         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
155
156         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
157
158         * io/ftw.c: Include sys/param.h unconditionally.
159
160         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
161
162         [BZ #17125]
163         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
164         libc_freeres_ptr.
165         (freecache): New function to free CACHE on exit.
166
167         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
168         initialization.
169
170 2014-07-09  David S. Miller  <davem@davemloft.net>
171
172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
173
174         * sysdeps/sparc/nptl/internaltypes.h: Delete.
175         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
176         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
177         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
178         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
179         * sysdeps/sparc/nptl/sem_init.c: Likewise.
180         * sysdeps/sparc/nptl/sem_post.c: Likewise.
181         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
182         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
183         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
184         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
185         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
186         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
187
188 2014-07-09  Andreas Schwab  <schwab@suse.de>
189
190         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
191         output.
192         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
193         (do_test): Likewise.
194
195         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
196
197 2014-07-09  Will Newton  <will.newton@linaro.org>
198
199         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
200         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
201         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
202         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
203         * sysdeps/hppa/start.S (_start): Likewise.
204
205 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
206
207         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
208
209         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
210         defined.
211
212 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
213
214         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
215         after checking that it is non-NULL.
216
217         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
218
219 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
220
221         * sysdeps/powerpc/memmove.c: Remove file.
222         * sysdeps/powerpc/powerpc32/power4/memcopy.h
223         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
224         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
225         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
226         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
227         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
228         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
229         string memmove instead of removed powerpc one.
230
231         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
232         [weak_alias]: Fix compiler warning due trailing data.
233         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
234         [weak_alias]: Likewise.
235         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
236         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
237
238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
239         (__libc_ifunc_impl_list): Add memmove functions.
240
241 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
242
243         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
244         Remove code.
245         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
246         Likewise
247         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
248         Likewise
249         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
250         Likewise
251         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
252         Likewise
253         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
254         Likewise
255         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
256         Likewise
257         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
258         Likewise
259         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
260         Likewise
261         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
262         Likewise
263         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
264         Likewise
265         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
266         Likewise
267         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
268         Likewise
269         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
270         Likewise
271         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
272         Likewise
273         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
274         Likewise
275         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
276         Likewise
277
278 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
279
280         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
281         to avoid alignment traps in non-cacheable memory.
282         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
283
284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
285         multiarch objects.
286         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
287         file: multiarch power7 memmove.
288         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
289         multiarch default memmove.
290         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
291         multiarch memove for powerpc32/power4.
292
293         * string/bcopy.c: Use full path to include memmove.c.
294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
295         multiarch objects.
296         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
297         bcopy for powerpc64.
298         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
299         bcopy for powerpc64.
300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
301         and memmove implementations.
302         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
303         optimized multiarch memmove for POWER7/powerpc64.
304         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
305         default multiarch memmove for powerpc64.
306         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
307         multiarch for powerpc64.
308         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
309         for POWER7/powerpc64.
310         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
311         memmove for POWER7/powerpc64.
312
313         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
314         glibc default one.
315
316         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
317         __ELF_NATIVE_CLASS equal to 64.
318
319 2014-07-07  Roland McGrath  <roland@hack.frob.com>
320
321         * sysdeps/nptl/lowlevellock.h: File removed.
322
323         * NEWS: NPTL is no longer an add-on!
324         * nptl/internaltypes.h: Moved ...
325         * sysdeps/nptl/internaltypes.h: ... here.
326         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
327         * sysdeps/nptl/fork.c: Likewise.
328         * sysdeps/nptl/gai_misc.h: Likewise.
329         * sysdeps/nptl/librt-cancellation.c: Likewise.
330         * sysdeps/nptl/jmp-unwind.c: Likewise.
331         * sysdeps/nptl/setxid.h: Likewise.
332         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
333         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
334         * sysdeps/unix/sysv/linux/arm/Implies: New file.
335         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
336         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
337         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
338         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
339         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
340         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
341         * sysdeps/unix/sysv/linux/mips/Implies: New file.
342         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
343         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
344         * sysdeps/unix/sysv/linux/sh/Implies: New file.
345         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
346         * sysdeps/unix/sysv/linux/tile/Implies: New file.
347         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
348         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
349         * nptl/Makeconfig: Moved ...
350         * sysdeps/nptl/Makeconfig: ... here.
351         * nptl/configure: File removed.
352         * nptl/ANNOUNCE: File removed.
353         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
354         * sysdeps/unix/sysv/linux/configure: Regenerated.
355
356         * nptl/Makefile (routines): Add libc_pthread_init,
357         libc_multiple_threads, register-atfork and unregister-atfork.
358         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
359         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
360         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
361         pthread-pi-defines.sym, structsem.sym.
362         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
363         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
364         [$(subdir) = nptl] (tests): Add tst-setgetname.
365         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
366         * sysdeps/unix/sysv/linux/sigaction.c: Just include
367         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
368         [!LIBC_SIGACTION]: Remove aliases.
369         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
370         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
371         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
372         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
373         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
374         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
375         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
376         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
377         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
378         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
379         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
380         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
381         __libc_allocate_rtsig_private.
382         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
383         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
384         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
385         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
386         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
387         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
388         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
389         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
390         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
391         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
392         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
393         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
394         * nptl/internaltypes.h: ... here.
395         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
396         * sysdeps/nptl/jmp-unwind.c: ... here.
397         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
398         * nptl/libc-lowlevellock.c: ... here.
399         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
400         * nptl/libc_multiple_threads.c: ... here.
401         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
402         * nptl/libc_pthread_init.c: ... here.
403         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
404         * nptl/lowlevelbarrier.sym: ... here.
405         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
406         * nptl/lowlevelcond.sym: ... here.
407         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
408         * nptl/lowlevellock.c: ... here.
409         * nptl/lowlevellock.h: Moved ...
410         * sysdeps/nptl/lowlevellock.h: ... here.
411         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
412         * nptl/lowlevelrobustlock.c: ... here.
413         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
414         * nptl/lowlevelrobustlock.sym: ... here.
415         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
416         * nptl/lowlevelrwlock.sym: ... here.
417         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
418         * nptl/pt-fork.c: ... here.
419         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
420         * nptl/pthread-pi-defines.sym: ... here.
421         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
422         * nptl/pthread_attr_getaffinity.c: ... here.
423         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
424         * nptl/pthread_attr_setaffinity.c: ... here.
425         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
426         * nptl/pthread_mutex_cond_lock.c: ... here.
427         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
428         Update #include.
429         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
430         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
431         * nptl/pthread_once.c: ... here, replacing old file.
432         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
433         * nptl/pthread_yield.c: ... here.
434         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
435         * nptl/register-atfork.c: ... here.
436         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
437         * nptl/sem_post.c: ... here.
438         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
439         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
440         * nptl/sem_timedwait.c: ... here.
441         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
442         * nptl/sem_trywait.c: ... here.
443         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
444         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
445         * nptl/sem_wait.c: ... here.
446         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
447         * nptl/structsem.sym: ... here.
448         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
449         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
450         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
451         * nptl/unregister-atfork.c: ... here.
452         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
453         * nptl/unwindbuf.sym: ... here.
454         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
455         * sysdeps/nptl/fork.c: ... here.
456         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
457         * sysdeps/nptl/fork.h: ... here.
458         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
459         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
460         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
461         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
462         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
463         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
464         * sysdeps/unix/sysv/linux/getpid.c: ... here.
465         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
466         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
467         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
468         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
469         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
470         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
471         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
472         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
473         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
474         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
475         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
476         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
477         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
478         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
479         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
480         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
481         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
482         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
483         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
484         * sysdeps/unix/sysv/linux/raise.c: ... here.
485         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
486         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
487         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
488         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
489         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
490         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
491         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
492         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
493         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
494         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
495         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
496         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
497         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
498         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
499         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
500
501 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
502
503         * sysdeps/generic/memcopy.h: Add comment for
504         MEMCPY_OK_FOR_FWD_MEMMOVE.
505
506 2014-07-04  Will Newton  <will.newton@linaro.org>
507
508         * string/memchr.c: Merge from gnulib.
509         [_LIBC]: Remove conditionals.
510         (__ptr_t): Remove define.
511         (LONG_MAX_32_BITS): Likewise.
512         (LONG_MAX): Likewise.
513         (MEMCHR): Use ANSI prototype and optimize algorithm.
514
515         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
516
517 2014-07-03  Roland McGrath  <roland@hack.frob.com>
518
519         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
520         (lll_futex_timed_wait_bitset): Fix syscall argument count.
521
522         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
523         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
524         in a bare environment with no <stdlib.h> installed.
525         * sysdeps/nptl/configure: Regenerated.
526
527         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
528
529         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
530         AC_EGREP_CPP for kernel header checks, so they only succeed if
531         including <linux/version.h> actually works right.
532         * sysdeps/unix/sysv/linux/configure: Regenerated.
533
534         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
535         value so it's not diagnosed as unused.
536
537         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
538         thing) with "ifeq ($(subdir),rt)".
539
540 2014-07-03  Richard Henderson  <rth@redhat.com>
541
542         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
543         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
544         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
545
546         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
547         (math_force_eval): New.
548
549         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
550         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
551
552         * sysdeps/alpha/fpu/s_round.c: Remove file.
553         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
554
555         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
556         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
557         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
558         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
559         (_dl_start, print_statistics): Likewise.
560         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
561         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
562
563         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
564         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
565         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
566         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
567         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
568         (HP_SMALL_TIMING_AVAIL): Define.
569         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
570         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
571         (HP_SMALL_TIMING_AVAIL): Define.
572         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
573         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
574
575         * sysdeps/aarch64/hp-timing.h: New file.
576
577         * sysdeps/generic/hp-timing.h: Remove dead comment.
578         * sysdeps/generic/hp-timing-common.h: New file.
579         * sysdeps/alpha/hp-timing.h: Include it.
580         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
581         * sysdeps/i386/i686/hp-timing.h: Likewise.
582         * sysdeps/ia64/hp-timing.h: Likewise.
583         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
584         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
585         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
586         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
587         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
588         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
589         (hp_timing_t): New.
590
591         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
592         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
593         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
594         * elf/rtld.c (_dl_start_final): Likewise.
595         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
596         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
597         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
598         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
599         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
601         (HP_TIMING_DIFF_INIT): Remove.
602         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
603         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
604         (HP_TIMING_DIFF_INIT): Remove.
605         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
606         * sysdeps/i386/i686/hp-timing.c: Remove file.
607         * sysdeps/x86_64/hp-timing.c: Remove file.
608         * sysdeps/ia64/hp-timing.c: Remove file.
609         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
610         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
611         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
612         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
613
614         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
615         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
616         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
617         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
618         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
619         (HP_TIMING_ACCUM): Remove.
620         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
621         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
622         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
623
624         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
625         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
626         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
627         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
628         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
629         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
631         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
632
633         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
634
635 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
636
637         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
638
639 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
640
641         Sync up with gettext.
642         * intl/loadmsgcat.c: Define O_BINARY if not defined.
643         [_MSC_VER]: Include malloc.h
644         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
645         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
646         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
647         TEMP_FAILURE_RETRY.  Cast return of alloca.
648         [!_LIBC] Call gl_rwlock_init.
649         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
650
651 2014-07-02  Roland McGrath  <roland@hack.frob.com>
652
653         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
654         before checking its value.
655
656 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
657
658         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
659
660         * debug/memcpy_chk.c: Don't include pagecopy.h.
661         * debug/mempcpy_chk.c: Likewise.
662         * string/memcpy.c: Likewise.
663         * string/memmove.c: Likewise.
664         * sysdeps/powerpc/memmove.c: Likewise.
665         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
666         definition of PAGE_COPY_FWD_MAYBE here...
667         * sysdeps/generic/pagecopy.h: ... from here.
668         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
669
670 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
671             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
672
673         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
675         optimizations.
676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
677         (__libc_ifunc_impl_list): Likewise.
678         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
679         multiarch strcat for PPC64.
680         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
681         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
682
683 2014-07-02  Roland McGrath  <roland@hack.frob.com>
684
685         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
686
687 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
688
689         * intl/loadmsgcat.c: Remove declaration of
690         get_sysdep_segment_value.
691         (get_sysdep_segment_value): Use ISO C style.
692         (_nl_load_domain): Use ISO C style.  Get rid of redundant
693         semicolon.  Fix typo and formatting in comment.
694         (_nl_unload_domain): Use ISO C style.
695
696         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
697
698 2014-07-02  Will Newton  <will.newton@linaro.org>
699
700         * malloc/obstack.c: Merge from gnulib master.
701         [HAVE_CONFIG_H]: Remove conditional code.
702         [!_LIBC]: Include config.h.
703         [!ELIDE_CODE]: Don't include inttypes.h, include
704         stdint.h unconditionally.
705         (print_and_abort): Mark as _Noreturn.
706         (_obstack_allocated_p): Mark as __attribute_pure__.
707         (obstack_free): Rename to __obstack_free.
708         [!__attribute__]: Remove conditional code.
709         * malloc/obstack.h: Merge from gnulib master.
710         [__cplusplus]: Move conditional down.
711         [!__attribute_pure__]: Define __attribute_pure__ here
712         if it is not already defined.
713         (_obstack_memory_used): Mark as __attribute_pure__.
714         [!__obstack_free]: Define as obstack_free.
715         [__GNUC__]: Remove check for ancient NeXT gcc.
716
717 2014-07-02  Will Newton  <will.newton@linaro.org>
718             Paul Eggert  <eggert@cs.ucla.edu>
719
720         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
721
722 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
723
724         * resolv/gethnamaddr.c: Add comment warning that the file is
725         not maintained.
726
727 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
728
729         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
730         entries.
731
732         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
733         entry for aio_cancel and aio_cancel64.
734         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
735         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
736         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
737         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
738         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
739         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
740         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
741         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
742         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
743         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
744         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
745         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
746         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
747
748 2014-07-01  Roland McGrath  <roland@hack.frob.com>
749
750         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
751         * nptl/pthread_mutex_lock.c: Likewise.
752         * nptl/pthread_mutex_timedlock.c: Likewise.
753         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
754
755 2014-07-01  Richard henderson  <rth@redhat.com>
756
757         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
758         (__isnan, __isnanl): Remove.
759         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
760
761         * sysdeps/alpha/fpu/libm-test-ulps: Update.
762
763 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
764
765         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
766
767 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
768
769         * resolv/nss_dns/dns-host.c (getanswer_r)
770         [MULTI_PTRS_ARE_ALIASES]: Remove code.
771
772 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
773
774         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
775         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
776         undefine.
777         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
778         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
779
780 2014-07-01  Roland McGrath <roland@hack.frob.com>
781
782         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
783         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
784
785         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
786         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
787
788         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
789         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
790         ... here.
791         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
792         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
793
794         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
795         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
796         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
797         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
798
799         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
800         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
801         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
802         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
803         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
804         Moved ...
805         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
806         ... here.
807         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
808         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
809         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
810         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
811         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
812         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
813         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
814         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
815         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
816         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
817         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
818         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
819         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
820         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
821         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
822         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
823         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
824         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
825         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
827         ... here.
828         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
829         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
830         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
831         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
832         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
833         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
834         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
835         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
836
837 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
838
839         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
840         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
841         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
842         Add sysdep.
843
844 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
845
846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
847
848 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
849
850         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
851         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
852
853         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
854
855         * sysdeps/arm/libm-test-ulps: Regenerated.
856
857 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
858             Roland McGrath <roland@hack.frob.com>
859
860         * test-skeleton.c (signal_handler): Kill the whole process group
861         before killing the child individually.
862         (main): Report any failure on `setpgid'.
863
864 2014-06-30  Roland McGrath  <roland@hack.frob.com>
865
866         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
867         from _TLS_H to _ARM_NPTL_TLS_H.
868         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
869         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
870
871 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
872
873         [BZ #16539]
874         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
875         (__expm1l): Return argument unchanged when small but not
876         subnormal.
877
878         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
879         include macro name.
880         (_FP_UNPACK_RAW_1_P): Likewise.
881         (_FP_PACK_RAW_1): Likewise.
882         (_FP_PACK_RAW_1_P): Likewise.
883         (_FP_MUL_MEAT_1_wide): Likewise.
884         (_FP_MUL_MEAT_DW_1_hard): Likewise.
885         (_FP_MUL_MEAT_1_hard): Likewise.
886         (_FP_DIV_MEAT_1_imm): Likewise.
887         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
888         (_FP_DIV_MEAT_1_udiv): Likewise.
889         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
890         (_FP_UNPACK_RAW_2): Likewise.
891         (_FP_UNPACK_RAW_2_P): Likewise.
892         (_FP_PACK_RAW_2): Likewise.
893         (_FP_PACK_RAW_2_P): Likewise.
894         (_FP_MUL_MEAT_DW_2_wide): Likewise.
895         (_FP_MUL_MEAT_2_wide): Likewise.
896         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
897         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
898         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
899         (_FP_MUL_MEAT_2_gmp): Likewise.
900         (_FP_DIV_MEAT_2_udiv): Likewise.
901         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
902         (_FP_FRAC_SRL_4): Likewise.
903         (_FP_FRAC_SRST_4): Likewise.
904         (_FP_FRAC_SRS_4): Likewise.
905         (_FP_UNPACK_RAW_4): Likewise.
906         (_FP_UNPACK_RAW_4_P): Likewise.
907         (_FP_PACK_RAW_4): Likewise.
908         (_FP_PACK_RAW_4_P): Likewise.
909         (_FP_MUL_MEAT_DW_4_wide): Likewise.
910         (_FP_MUL_MEAT_4_wide): Likewise.
911         (_FP_MUL_MEAT_4_gmp): Likewise.
912         (umul_ppppmnnn): Likewise.
913         (_FP_DIV_MEAT_4_udiv): Likewise.
914         (__FP_FRAC_ADD_4): Likewise.
915         (__FP_FRAC_SUB_3): Likewise.
916         (__FP_FRAC_SUB_4): Likewise.
917         (__FP_FRAC_DEC_3): Likewise.
918         (__FP_FRAC_DEC_4): Likewise.
919         (__FP_FRAC_ADDI_4): Likewise.
920         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
921         (_FP_FRAC_SRL_8): Likewise.
922         (_FP_FRAC_SRS_8): Likewise.
923
924         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
925         include macro name.
926         (FP_UNPACK_RAW_EP): Likewise.
927         (FP_PACK_RAW_E): Likewise.
928         (FP_PACK_RAW_EP): Likewise.
929         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
930         (_FP_ISSIGNAN): Likewise.
931         (_FP_ADD_INTERNAL): Likewise.
932         (_FP_FMA): Likewise.
933         (_FP_CMP): Likewise.
934         (_FP_SQRT): Likewise.
935         (_FP_TO_INT): Likewise.
936         (_FP_FROM_INT): Likewise.
937         (FP_EXTEND): Likewise.
938         (_FP_DIV_MEAT_N_loop): Likewise.
939
940 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
941
942         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
943         throughout.
944
945 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
946
947         [BZ #17097]
948         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
949         result with correct sign in case of exponents that produce
950         overflow except for X very close to 1.
951
952 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
953
954         mktime: merge #if/#ifdef usage from glibc
955         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
956         as that works with both Glibc's and Gnulib's style.
957         See thread starting at Siddhesh Poyarekar's bug report at:
958         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
959
960 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
961
962         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
963         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
964         * sysdeps/tile/tilegx/memmove.c: Remove file.
965
966 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
967
968         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
969         abi-name definition.
970         * scripts/soversions.awk: Do not handle or generate ABI lines.
971         * shlib-versions: Remove ABI entries.
972         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
973         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
974
975 2014-06-27  Roland McGrath  <roland@hack.frob.com>
976
977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
978         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
979         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
980         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
982         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
984         Moved ...
985         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
986         ... here.
987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
988         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
990         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
992         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
994         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
996         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
998         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1000         Moved ...
1001         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1003         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1005         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1007         Moved ...
1008         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1010         Moved ...
1011         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1013         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1015         Moved ...
1016         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1018         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1020         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1022         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1024         Moved ...
1025         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1027         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1028         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1029         Moved ...
1030         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1032         Moved ...
1033         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1035         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1037         Moved ...
1038         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1039         ... here.
1040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1041         Identical file removed.
1042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1043         Moved ...
1044         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1045         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1046         Identical file removed.
1047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1048         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1050         Moved ...
1051         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1052         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1053         Identical file removed.
1054         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1055         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1057         Identical file removed.
1058         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1059         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1060         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1061         Identical file removed.
1062         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1063         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1065         Identical file removed.
1066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1067         Moved ...
1068         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1070         Identical file removed.
1071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1072         Moved ...
1073         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1075         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1077         Identical file removed.
1078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1079         Moved ...
1080         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1081         ... here.
1082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1083         Identical file removed.
1084         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1085         Moved ...
1086         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1088         Identical file removed.
1089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1090         Moved ...
1091         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1092         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1093         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1095         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1096         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1097         Moved ...
1098         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1099         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1100         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1101
1102         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1103         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1104         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1105         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1106         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1107
1108 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1109
1110         [BZ #17092]
1111         * nscd/nscd.c (monitor_child): Return exit status of child
1112         instead of return value from wait syscall.
1113
1114 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1115
1116         * configure.ac (libc_commonpagesize): Remove variable.
1117         (libc_relro_required): Likewise.
1118         (libc_cv_z_relro): Remove configure test.
1119         * configure: Regenerated.
1120         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1121         variable.
1122         (libc_relro_required): Likewise.
1123         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1124         (libc_relro_required): Likewise.
1125         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1126         (libc_relro_required): Likewise.
1127         * sysdeps/arm/preconfigure: Regenerated.
1128         * sysdeps/ia64/preconfigure: Remove file.
1129         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1130         variable.
1131         (libc_relro_required): Likewise.
1132
1133         [BZ #16561]
1134         [BZ #16562]
1135         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1136         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1137         recompute overflowing results in original rounding mode.
1138         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1139         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1140         recompute overflowing results in original rounding mode.
1141         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1142         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1143         recompute overflowing results in original rounding mode.
1144         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1145         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1146         recompute overflowing results in original rounding mode.
1147         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1148         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1149         recompute overflowing results in original rounding mode.
1150         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1151         (libc_feholdsetround_ctx): New macro.
1152         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1153         * sysdeps/i386/fpu/libm-test-ulps: Update.
1154         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1155
1156 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1157
1158         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1159         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1160         corresponding .cpsetup call.
1161
1162 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1163
1164         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1165         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1166         * sysdeps/arm/Makefile [$(subdir) = csu]
1167         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1168         (static-only-routines): Add aeabi_read_tp here.
1169         (shared-only-routines): Add libc-aeabi_read_tp here.
1170         (CFLAGS-libc-start.c): Add -fexceptions here.
1171         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1172         (sysdep_routines, static-only-routines, shared-only-routines):
1173         Don't add to these here.
1174         (CFLAGS-libc-start.c): Likewise.
1175
1176         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1177         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1178         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1179         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1180         * sysdeps/arm/Makefile [$(subdir) = rt]
1181         (librt-sysdep_routines, librt-shared-only-routines):
1182         Append rt-aeabi_unwind_cpp_pr1 here.
1183         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1184         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1185         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1186         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1187         Append nptl-aeabi_unwind_cpp_pr1 here.
1188         (tests): Filter out tst-cleanupx4 here.
1189         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1190         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1191         Don't do those here.
1192
1193 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1194
1195         * scripts/list-sources.sh: Do not handle ports specially.
1196
1197 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1198
1199         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1200         * sysdeps/arm/feupdateenv.c: Likewise.
1201
1202         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1203
1204 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1205
1206         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1207         trailing whitespace removed.
1208         * scripts/config.guess: Update to version 2014-03-23.
1209         * scripts/config.sub: Update to version 2014-05-01
1210         * scripts/install-sh: Update to version 2013-12-25.23.
1211         * scripts/move-if-change: Update from gnulib.
1212
1213 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1214
1215         * debug/memmove_chk.c: Remove pagecopy.h include.
1216
1217 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1218
1219         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1220         identical to gnulib mktime.
1221
1222 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1223
1224         * configure.ac: Do not test for machine being rs6000.  Do not test
1225         for powerpc*-*soft.
1226         * configure: Regenerated.
1227
1228         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1229         test.
1230         * configure: Regenerated.
1231         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1232         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1233         Remove configure test.
1234         * sysdeps/arm/configure: Regenerated.
1235         * sysdeps/nptl/configure.ac: Do not check
1236         libc_cv_asm_cfi_directives.
1237         * sysdeps/nptl/configure: Regenerated.
1238         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1239         * sysdeps/x86_64/nptl/configure: Remove generated file.
1240         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1241         unconditional.
1242         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1243
1244 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1245
1246         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1247         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1248         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1249         it is defined.
1250
1251         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1252         instead of whether it is defined.
1253         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1254         * sysdeps/hppa/dl-machine.h: Likewise.
1255         * sysdeps/ia64/dl-machine.h: Likewise.
1256         * sysdeps/m68k/dl-machine.h: Likewise.
1257         * sysdeps/microblaze/dl-machine.h: Likewise.
1258         * sysdeps/mips/dl-machine.: Likewise.
1259         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1260         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1261         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1262         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1263         * sysdeps/sh/dl-machine.h: Likewise.
1264         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1265         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1266         * sysdeps/tile/dl-machine.h: Likewise.
1267         * sysdeps/x86_64/dl-machine.h: Likewise.
1268
1269         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1270         code.
1271         (verify_persistent_db): Likewise.
1272
1273 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1274
1275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1276         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1278         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1280         Moved ...
1281         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1282         ... here.
1283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1284         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1286         Identical file removed.
1287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1288         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1290         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1292         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1294         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1296         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1298         Moved ...
1299         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1301         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1303         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1305         Moved ...
1306         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1308         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1310         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1312         Identical file removed.
1313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1314         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1316         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1318         Moved ...
1319         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1320         ... here.
1321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1322         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1324         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1326         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1328         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1330         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1332         Moved ...
1333         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1335         Moved ...
1336         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1338         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1340         Moved ...
1341         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1343         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1344
1345         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1346         folded into ...
1347         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1348         * sysdeps/unix/sysv/linux/s390/Versions
1349         (libpthread: GLIBC_2.19): New version set.
1350         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1351         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1352         (librt: GLIBC_2.3.3): New version set.
1353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1354         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1355         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1356         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1357         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1358         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1359         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1360         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1361         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1362         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1363         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1364         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1365         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1366         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1367         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1368         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1369         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1371         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1373         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1374         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1375         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1376         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1377         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1378         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1379         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1380         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1381         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1382         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1383         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1384         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1389         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1391         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1393         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1395         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1397         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1398
1399         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1400         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1401         (__libc_vfork): Define the function under this name.
1402         [!NOT_IN_libc] (__vfork): Make this an alias.
1403         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1404         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1405         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1406         (__libc_vfork): Define the function under this name.
1407         [!NOT_IN_libc] (__vfork): Make this an alias.
1408         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1409         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1410         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1412         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1413         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1414
1415         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1416         code that was previously under [RESET_PID].
1417         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1418         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1420
1421         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1422         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1423         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1424         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1425         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1426         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1427         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1428         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1429         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1430         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1431         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1432         Moved ...
1433         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1434         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1435         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1436         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1437         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1438         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1439         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1440         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1441         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1442         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1443         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1444         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1445         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1446         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1447         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1448         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1449         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1450         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1451         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1452         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1453         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1454         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1455         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1456         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1457         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1458         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1459         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1460         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1461         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1462
1463 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1464
1465         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1466         that was previously under [RESET_PID].
1467         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1468
1469 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1470
1471         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1472         not undefine and redefine.
1473         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1474         [O_CLOEXEC]: Make code unconditional.
1475         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1476         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1477         <kernel-features.h>.
1478         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1479         conditional variable definition.
1480         (shm_open) [O_CLOEXEC]: Make code unconditional.
1481         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1482         code.
1483
1484         * configure.ac (USE_REGPARMS): Don't define here.
1485         * configure: Regenerated.
1486         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1487         * sysdeps/i386/configure: Regenerated.
1488
1489         * nptl/createthread.c: Don't include kernel-features.h.
1490         * nptl/pthread_cancel.c: Likewise.
1491         * nptl/pthread_condattr_setclock.c: Likewise.
1492         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1493         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1494         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1495         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1496         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1497         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1498         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1501         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1502         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1503         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1504         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1505         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1506         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1507         * nscd/gai.c: Likewise.
1508         * nss/nss_db/db-open.c: Likewise.
1509         * sysdeps/generic/ldsodefs.h: Likewise.
1510         * sysdeps/sh/nptl/tls.h: Likewise.
1511         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1512         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1513         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1514         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1515         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1516         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1517         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1518         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1519         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1520         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1521         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1522         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1523         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1524         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1525         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1526         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1527         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1528         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1529         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1530         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1533         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1534         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1539         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1540         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1541         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1542         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1543         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1544         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1545         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1546         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1547         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1548         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1549         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1550         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1551         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1552         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1553         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1554         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1555         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1556         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1557         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1558         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1559         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1560         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1561         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1562         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1563         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1564         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1565         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1566         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1567         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1568         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1591         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1592         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1593         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1594         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1595         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1596         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1597         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1598         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1599         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1600         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1601         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1602         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1603         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1604         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1605         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1606         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1607         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1608         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1609         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1610         * sysdeps/unix/sysv/linux/system.c: Likewise.
1611         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1612         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1613         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1614         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1615         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1616         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1617         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1618
1619         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1620         * configure: Regenerated.
1621         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1622
1623         * configure.ac (base_machine): Do not set specially for particular
1624         machines here.
1625         * configure: Regenerated.
1626         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1627         settings from configure.ac.
1628         * sysdeps/i386/preconfigure: New file.
1629         * sysdeps/s390/preconfigure: Likewise.
1630         * sysdeps/sh/preconfigure: Likewise.
1631         * sysdeps/sparc/preconfigure: Likewise.
1632
1633 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1634
1635         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1636         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1637         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1638         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1639         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1640         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1641         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1642         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1643         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1644         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1645         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1646         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1647         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1648         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1649         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1650         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1651         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1652         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1653         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1654
1655         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1656         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1657         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1658         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1659         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1660         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1661         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1662         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1663         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1664         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1665         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1666         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1667         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1668         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1669         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1670         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1671         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1672         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1673         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1674         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1675         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1676         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1678         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1680         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1681         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1682         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1683         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1685         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1686         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1687         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1688         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1689         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1690         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1691         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1692         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1693
1694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1695         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1697         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1699         Moved ...
1700         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1701         ... here.
1702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1703         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1705         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1707         Moved ...
1708         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1710         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1712         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1714         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1716         Moved ...
1717         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1719         Moved ...
1720         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1722         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1724         Moved ...
1725         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1727         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1729         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1731         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1733         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1735         Moved ...
1736         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1737         ... here.
1738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1739         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1741         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1743         Moved ...
1744         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1746         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1748         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1750         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1752         Moved ...
1753         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1755         Moved ...
1756         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1758         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1760         Moved ...
1761         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1763         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1765         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1766
1767 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1768
1769         * timezone/checktab.awk: Update from tzcode 2014e.
1770         * timezone/private.h: Likewise.
1771         * timezone/tzfile.h: Likewise.
1772         * timezone/zdump.c: Likewise.
1773         * timezone/zic.c: Likewise.
1774
1775         * sysdeps/unix/sysv/linux/kernel-features.h
1776         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1777         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1778         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1779         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1780         Remove conditional code.
1781
1782 2014-06-25  Will Newton  <will.newton@linaro.org>
1783
1784         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1785         (_dl_arm_cap_flags): Add HWCAP2 values.
1786         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1787         (_DL_HWCAP_COUNT): Increase to 37.
1788         (_DL_HWCAP_LAST): New define.
1789         (_DL_HWCAP2_LAST): New define.
1790         (_dl_procinfo): Add support for printing
1791         AT_HWCAP2 entries.
1792         (_dl_string_hwcap): Use _dl_hwcap_string.
1793
1794 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1795
1796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1797
1798 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1799
1800         * README: Do not mention ports directory.
1801
1802         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1803         Remove macro.
1804         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1805         <kernel-features.h>.
1806         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1807         conditional variable definition.
1808         (__futimes): Update comment.
1809         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1810         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1811
1812         [BZ #16560]
1813         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1814         arguments close to 0.
1815         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1816         Likewise.
1817         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1818         Likewise.
1819         * math/auto-libm-test-in: Add more tests of exp10.
1820         * math/auto-libm-test-out: Regenerated.
1821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1822
1823         * sysdeps/unix/sysv/linux/kernel-features.h
1824         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1825         * sysdeps/unix/sysv/linux/readv.c: Do not include
1826         <kernel-features.h>.
1827         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1828         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1829         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1830         unconditional.
1831         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1832         conditional code.
1833         * sysdeps/unix/sysv/linux/writev.c: Do not include
1834         <kernel-features.h>.
1835         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1836         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1837         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1838         unconditional.
1839         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1840         conditional code.
1841
1842 2014-06-25  Will Newton  <will.newton@linaro.org>
1843
1844         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1845         comment changes throughout the file.  Remove checks
1846         for HAVE_*_H definitions that are not required.
1847         (__gen_tempname): Call abort if an unknown kind value is
1848         passed.
1849
1850 2014-06-25  Andreas Schwab  <schwab@suse.de>
1851
1852         [BZ #17086]
1853         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1854         scalbln, scalblnf, scalblnl in libc.
1855
1856 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1857
1858         [BZ #17086]
1859         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1860         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1861         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1862
1863 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1864
1865         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1866         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1867         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1868         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1869         Update #include.
1870         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1871         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1872         Update #include.
1873         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1874         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1875         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1876         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1877         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1878         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1879         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1880         * sysdeps/x86/bits/semaphore.h: ... here.
1881         * sysdeps/x86/nptl/elide.h: Moved ...
1882         * sysdeps/x86/elide.h: ... here.
1883         * sysdeps/x86_64/nptl/Implies: File removed.
1884         * sysdeps/i386/nptl/Implies: File removed.
1885
1886 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1887
1888         [BZ #16539]
1889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1890         return the argument for normal arguments with exponent below -64.
1891         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1892         Likewise.
1893         * math/auto-libm-test-in: Add another test of expm1.
1894         * math/auto-libm-test-out: Regenerated.
1895
1896         [BZ #16287]
1897         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1898         calling __erfcl for arguments at least 16.
1899         * math/auto-libm-test-in: Add more tests of erf.
1900         * math/auto-libm-test-out: Regenerated.
1901
1902         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1903         individual architectures.
1904         * sysdeps/unix/sysv/linux/configure: Regenerated.
1905         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1906         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1907         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1908         (ldd_rewrite_script): Define variable.
1909         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1911         file.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1913         generated file.
1914         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1915         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1916         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1917         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1918         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1919         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1920         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1921         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1922
1923 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1924
1925         [BZ #17084]
1926         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1927         Rename member __data.d to __data.__elision_data.
1928
1929 2014-06-24  Wilco  <wdijkstr@arm.com>
1930
1931         * NEWS: Add 16918 to fixed bug list.
1932
1933 2014-06-24  Wilco  <wdijkstr@arm.com>
1934
1935         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1936
1937 2014-06-24  Wilco  <wdijkstr@arm.com>
1938
1939         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1940         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1941         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1942         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1943         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1944         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1945         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1946         Use _FPU_MASK_RM.
1947
1948 2014-06-24  Wilco  <wdijkstr@arm.com>
1949
1950         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1951
1952 2014-06-24  Wilco  <wdijkstr@arm.com>
1953
1954         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1955         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1956         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1957         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1958
1959 2014-06-24  Wilco  <wdijkstr@arm.com>
1960
1961         [BZ #16918]
1962         * sysdeps/arm/feupdateenv.c (feupdateenv):
1963         Rewrite to reduce FPSCR accesses and fix return value.
1964
1965 2014-06-24  Wilco  <wdijkstr@arm.com>
1966
1967         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1968         Optimize to avoid unnecessary FPSCR writes.
1969         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1970         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1971         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1972         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1973
1974 2014-06-24  Wilco  <wdijkstr@arm.com>
1975
1976         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1977         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1978         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1979         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1980         Call libc_fetestexcept_vfp.
1981         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1982         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1983         __SOFTFP__ ifdef so that they can be built for softfp.
1984
1985 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1986
1987         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1988         argument type signed char.
1989
1990         * Makerules (check-abi): Dump diff of symlist if the test
1991         fails.
1992
1993 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1994
1995         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1996         using abort.
1997
1998         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1999         Remove unused variable ST.
2000
2001 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2002
2003         [BZ #16354]
2004         [BZ #17061]
2005         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2006         small arguments before calling __expm1.
2007         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2008         small arguments before calling __expm1f.
2009         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2010         small arguments before calling __expm1l.
2011         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2012         Likewise.
2013         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2014         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2015         spurious underflow for some cosh tests.
2016         * math/auto-libm-test-out: Regenerated.
2017         * sysdeps/i386/fpu/libm-test-ulps: Update.
2018
2019         [BZ #17050]
2020         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2021         (__ieee754_y1): Set errno if return value overflows.
2022         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2023         (__ieee754_y1f): Set errno if return value overflows.
2024         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2025         (__ieee754_y1l): Set errno if return value overflows.
2026         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2027         (__ieee754_y1l): Set errno if return value overflows.
2028         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2029         * math/auto-libm-test-out: Regenerated.
2030
2031         * math/gen-auto-libm-tests.c: Document use of
2032         ignore-zero-inf-sign.
2033         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2034         (input_flags): Add ignore-zero-inf-sign.
2035         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2036         * math/gen-libm-test.pl (generate_testfile): Handle
2037         ignore-zero-inf-sign.
2038         * math/auto-libm-test-in: Mark some cpow tests with
2039         ignore-zero-inf-sign and some with xfail-rounding.
2040         * math/auto-libm-test-out: Regenerated.
2041         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2042         * sysdeps/i386/fpu/libm-test-ulps: Update.
2043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2044
2045         [BZ #16315]
2046         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2047         overflowing or underflowing operations take place with sign of
2048         result.
2049         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2050         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2051         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2052         (__ieee754_pow): Recompute overflowing and underflowing results in
2053         original rounding mode.
2054         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2055         (__powl_helper): Allow negative argument X and scale negated value
2056         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2057         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2058         overflowing or underflowing operations take place with sign of
2059         result.
2060         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2061         Include <math.h>.
2062         * math/auto-libm-test-in: Add more tests of pow.
2063         * math/auto-libm-test-out: Regenerated.
2064         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2065         (pow_tonearest_test_data): Remove.
2066         (pow_test_tonearest): Likewise.
2067         (pow_towardzero_test_data): Likewise.
2068         (pow_test_towardzero): Likewise.
2069         (pow_downward_test_data): Likewise.
2070         (pow_test_downward): Likewise.
2071         (pow_upward_test_data): Likewise.
2072         (pow_test_upward): Likewise.
2073         (main): Don't call removed functions.
2074         * sysdeps/i386/fpu/libm-test-ulps: Update.
2075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2076
2077 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2078
2079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2080         Moved ...
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2083         Moved ...
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2086         Moved ...
2087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2089         Moved ...
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2092         File removed.
2093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2094         File removed.
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2096         File removed.
2097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2098         File removed.
2099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2100         File removed.
2101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2102         File removed.
2103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2104         File removed.
2105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2106         File removed.
2107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2108         File removed.
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2110         File removed.
2111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2112         File removed.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2114         File removed.
2115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2116         Moved ...
2117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2119         Moved ...
2120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2121         ... here.
2122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2123         Moved ...
2124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2126         Moved ...
2127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2129         Moved ...
2130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2132         Moved ...
2133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2135         Moved ...
2136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2138         Moved ...
2139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2141         Moved ...
2142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2145         ... here.
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2147         Moved ...
2148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2150         Moved ...
2151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2152         ... here.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2154         Moved ...
2155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2156         ... here.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2158         Moved ...
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2160         ... here.
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2162         Moved ...
2163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2165         Moved ...
2166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2170         Moved ...
2171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2172         ... here.
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2174         Moved ...
2175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2176         ... here.
2177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2178         Moved ...
2179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2181         Moved ...
2182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2184         Moved ...
2185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2187         Moved ...
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2190         Moved ...
2191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2192         ... here.
2193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2194         Moved ...
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2197         Moved ...
2198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2200         Moved ...
2201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2203         Moved ...
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2208         Moved ...
2209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2211         Moved ...
2212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2214         Moved ...
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2216         ... here.
2217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2218         Moved ...
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2220         ... here.
2221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2222         Moved ...
2223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2224         ... here.
2225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2226         Moved ...
2227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2229         Moved ...
2230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2232         Moved ...
2233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2235         Moved ...
2236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2237         ... here.
2238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2239         Moved ...
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2241         ... here.
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2243         Moved ...
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2245         ... here.
2246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2247         Moved ...
2248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2250         Moved ...
2251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2252
2253 2014-06-23  Will Newton  <will.newton@linaro.org>
2254             Wilco  <wdijkstr@arm.com>
2255
2256         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2257         implementation.  Include get-rounding-mode.h.
2258         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2259         [!libc_feholdsetround_noex_ctx]: Define
2260         libc_feholdsetround_noex_ctx.
2261         [!libc_feholdsetround_noexf_ctx]: Define
2262         libc_feholdsetround_noexf_ctx.
2263         [!libc_feholdsetround_noexl_ctx]: Define
2264         libc_feholdsetround_noexl_ctx.
2265         (libc_feholdsetround_ctx): New function.
2266         (libc_feresetround_ctx): New function.
2267         (libc_feholdsetround_noex_ctx): New function.
2268         (libc_feresetround_noex_ctx): New function.
2269
2270 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2271
2272         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2273         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2274         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2275         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2276         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2277         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2278
2279         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2280         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2281         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2282         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2283         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2284         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2285         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2286         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2288         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2290         Moved ...
2291         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2292         ... here.
2293         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2294         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2296         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2298         Moved ...
2299         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2301         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2302         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2303         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2305         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2307         Moved ...
2308         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2310         Moved ...
2311         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2313         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2315         Moved ...
2316         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2320         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2321         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2322         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2324         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2326         Moved ...
2327         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2328         ... here.
2329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2338         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2342         Moved ...
2343         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2344         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2345         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2347         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2349         Moved ...
2350         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2352         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2353         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2354         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2355
2356         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2357         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2358         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2363         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2365         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2366         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2367         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2371         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2375         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2377         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2379         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2380         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2381         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2382         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2383         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2384
2385 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2386
2387         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2388         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2389         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2390         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2391         (IPV6_PMTUDISC_INTERFACE): Likewise.
2392         (IPV6_PMTUDISC_OMIT): Likewise.
2393
2394 2014-06-23  Andreas Schwab  <schwab@suse.de>
2395
2396         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2397         Remove unused errout label.
2398
2399 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2400
2401         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2402         macro: hardware supports Vector Crypto instructions.
2403
2404 2014-06-23  Will Newton  <will.newton@linaro.org>
2405
2406         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2407         rather than __builtin_expect.
2408
2409         * elf/dl-lookup.c (undefined_msg): Remove variable.
2410         (_dl_lookup_symbol_x): Replace undefined_msg with string
2411         literal.
2412
2413         * elf/dl-lookup.c (do_lookup_unique): New function.
2414         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2415         to a separate function.
2416
2417 2014-06-23  Andreas Schwab  <schwab@suse.de>
2418
2419         [BZ #17079]
2420         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2421         before reading the next line.
2422
2423 2014-06-23  Will Newton  <will.newton@linaro.org>
2424
2425         * test-skeleton.c (signal_handler): Use printf and %m
2426         rather than perror.  Use printf rather than fprintf to
2427         stderr.  Use puts rather than fputs to stderr.
2428         (main): Likewise.
2429
2430 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2431
2432         * nscd/nscd.c (thread_info_t): Remove typedef.
2433         (thread_info): Remove variable.
2434
2435 2014-06-21  Allan McRae  <allan@archlinux.org>
2436
2437         * NEWS: Mention CVE-2014-4043.
2438
2439 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2440
2441         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2442         * nptl/smp.h: ... here.
2443
2444         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2445
2446         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2447         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2448         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2449         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2450
2451         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2452         * nptl/stack-aliasing.h: New file.
2453         * sysdeps/i386/i686/stack-aliasing.h: New file.
2454         * sysdeps/i386/i686/nptl/Makefile: File removed.
2455         * sysdeps/x86_64/stack-aliasing.h: New file.
2456         * sysdeps/x86_64/nptl/Makefile
2457         (CFLAGS-pthread_create.c): Variable removed.
2458
2459         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2460         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2461         old file.
2462         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2463         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2464         old file.
2465
2466 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2467
2468         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2469         (__ASSUME_SIGFRAME_V2): Remove macro.
2470         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2471         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2472         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2473         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2474         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2475         Declare as function.  Remove conditional macro definitions.
2476         (__default_rt_sa_restorer): Likewise.
2477         (__default_sa_restorer_v1): Remove declaration.
2478         (__default_sa_restorer_v2): Likewise.
2479         (__default_rt_sa_restorer_v1): Likewise.
2480         (__default_rt_sa_restorer_v2): Likewise.
2481         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2482         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2483         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2484
2485 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2486
2487         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2488         (libpthread-routines): Add sysdep.
2489         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2490         * sysdeps/unix/sysv/linux/sparc/Versions
2491         (libpthread: GLIBC_2.3.3): New version set.
2492         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2493         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2494         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2495         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2496         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2497         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2498         Moved ...
2499         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2500         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2501         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2502         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2503         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2504         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2505         * sysdeps/sparc/nptl/sem_init.c: ... here.
2506         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2507         * sysdeps/sparc/nptl/sem_post.c: ... here.
2508         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2509         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2510         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2511         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2512         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2513         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2514         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2515         (libpthread-routines): Add cpu_relax.
2516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2517         File removed.
2518         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2519         (librt: GLIBC_2.3.3): New version set.
2520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2521         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2522         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2523         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2526         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2528         Moved ...
2529         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2531         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2533         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2535         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2537         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2539         Moved ...
2540         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2541         Update #include.
2542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2543         Moved ...
2544         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2545         Update #include.
2546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2547         Moved ...
2548         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2549         Update #include.
2550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2551         Moved ...
2552         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2553         Update #include.
2554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2555         Moved ...
2556         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2557         Update #include.
2558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2559         Moved ...
2560         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2561         Update #include.
2562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2563         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2567         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2569         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2571         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2573         Moved ...
2574         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2576         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2578         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2579
2580 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2581
2582         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2583         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2584         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2585         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2586         * nscd/nscd.c: Likewise.
2587         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2588         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2589         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2590         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2591
2592         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2593         <kernel-features.h>.
2594         (init_mq_netlink): Remove conditional have_sock_cloexec
2595         definitions.  Remove code conditional on have_sock_cloexec < 0.
2596         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2597         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2598         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2599         <kernel-features.h>.
2600         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2601         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2602
2603 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2604
2605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2606         Add tests for memset_chk and memset.
2607
2608         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2609         with AVX2_Usable.
2610
2611 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2612
2613         [BZ #16046]
2614         * elf/tst-dl-iter-static.c: New file.
2615         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2616
2617         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2618         error.
2619
2620 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2621
2622         * sysdeps/unix/sysv/linux/kernel-features.h
2623         (__ASSUME_F_GETOWN_EX): Remove macro.
2624         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2625         <kernel-features.h>.
2626         (miss_F_GETOWN_EX): Remove variable or macro.
2627         (do_fcntl): Do not check miss_F_GETOWN_EX.
2628         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2629
2630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2631         Remove macro.
2632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2633         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2634         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2635
2636         * sysdeps/unix/sysv/linux/kernel-features.h
2637         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2638         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2639         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2640         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2641
2642 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2643
2644         [BZ #17075]
2645         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2646         Fix calculation of the symbol's value.
2647         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2648         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2649         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2650         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2651         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2652         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2653         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2654         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2655         (modules-names): Add `tst-armtlsdescmod',
2656         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2657         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2658         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2659         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2660         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2661         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2662         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2663         ($(objpfx)tst-armtlsdescloc): New dependency.
2664         ($(objpfx)tst-armtlsdescextnow): Likewise.
2665         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2666         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2667         TLS scheme support.
2668         * sysdeps/arm/configure: Regenerate.
2669
2670 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2671
2672         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2673         (__atfct_seterrno_2): Likewise.
2674         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2675         <kernel-features.h>.
2676         (__ASSUME_ATFCTS): Do not undefine and redefine.
2677         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2678         (__have_atfcts): Remove conditional definition.
2679         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2680         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2681         unreachable if [__ASSUME_ATFCTS].
2682         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2683         not undefine and redefine.
2684         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2685         <kernel-features.h>.
2686         (faccessat) [__NR_faccessat]: Make code unconditional.
2687         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2688         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2689         <kernel-features.h>.
2690         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2691         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2692         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2693         <kernel-features.h>.
2694         (fchownat) [__NR_fchownat]: Make code unconditional.
2695         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2696         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2697         <kernel-features.h>.
2698         (futimesat) [__NR_futimesat]: Make code unconditional.
2699         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2700         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2701         <kernel-features.h>.
2702         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2703         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2704         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2705         <kernel-features.h>.
2706         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2707         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2708         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2709         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2710         <kernel-features.h>.
2711         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2712         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2713         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2714         <kernel-features.h>.
2715         (linkat) [__NR_linkat]: Make code unconditional.
2716         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2717         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2718         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2719         <kernel-features.h>.
2720         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2721         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2722         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2723         <kernel-features.h>.
2724         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2725         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2726         * sysdeps/unix/sysv/linux/openat.c: Do not include
2727         <kernel-features.h>.
2728         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2729         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2730         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2731         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2732         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2733         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2734         <kernel-features.h>.
2735         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2736         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2737         result of INLINE_SYSCALL directly, not via int variable.
2738         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2739         <kernel-features.h>.
2740         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2741         (renameat) [__NR_renameat]: Make code unconditional.
2742         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2743         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2744         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2745         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2746         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2747         (__ASSUME_ATFCTS): Do not undefine and redefine.
2748         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2749         <kernel-features.h>.
2750         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2751         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2752         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2753         <kernel-features.h>.
2754         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2755         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2756         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2757         (__ASSUME_ATFCTS): Do not undefine and redefine.
2758         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2759         <kernel-features.h>.
2760         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2761         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2762         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2763         <kernel-features.h>.
2764         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2765         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2766
2767 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2768
2769         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2770
2771 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2772
2773         [BZ #17069]
2774         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2775         constructed tree before returning error.
2776         * posix/bug-regexp36.c: Expand test case.
2777
2778 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2779
2780         [BZ #6803]
2781         * math/libm-test.inc (scalbln_test_date):
2782         Add errno expectations.
2783         * math/w_scalblnf.c: New File.
2784         Add wrapper which checks for setting errno to ERANGE.
2785         Add weak_alias for corresponding scalbln function.
2786         * math/w_scalbln.c: Likewise.
2787         * math/w_scalblnl.c: Likewise.
2788         * math/Makefile (libm-calls): Add w_scalbln.
2789         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2790         Remove weak_alias for corresponding scalbln function.
2791         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2792         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2793         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2794         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2795         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2796         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2797         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2798         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2799         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2800         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2801         Remove long_double_symbol for scalblnl function in libm, libc.
2802         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2803         Add wrapper which checks for setting errno to ERANGE.
2804         Add long_double_symbol for scalblnl function in libm, libc.
2805         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2806         Remove long_double_symbol for scalblnl in libm.
2807         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2808         Add wrapper which checks for setting errno to ERANGE.
2809         Add long_double_symbol for scalblnl function in libm.
2810         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2811         Do not use wrapper because of own implementation.
2812
2813 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2814
2815         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2816         3 bytes for __pad1 for x32.
2817         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2818
2819 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2820             H.J. Lu  <hongjiu.lu@intel.com>
2821
2822         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2823         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2824         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2825         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2826         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2827
2828 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2829
2830         [BZ #17069]
2831         * posix/regcomp.c (parse_expression): Deallocate partially
2832         constructed tree before returning error.
2833         * posix/Makefile.c (tests): Add bug-regex36.
2834         (generated): Add bug-regex36.mtrace.
2835         (tests-special): Add $(objpfx)bug-regex36-mem.out
2836         (bug-regex36-ENV): New variable.
2837         ($(objpfx)bug-regex36-mem.out): New rule.
2838         * posix/bug-regex36.c: New file.
2839
2840 2014-06-19  Will Newton  <will.newton@linaro.org>
2841
2842         * malloc/malloc.c (systrim): If extra is zero then return
2843         early.
2844
2845 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2846
2847         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2848
2849 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2850
2851         * sysdeps/aarch64/strchr.S: New file.
2852
2853 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2854
2855         [BZ #17022]
2856         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2857         from arguments -2 or below.
2858         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2859         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2860
2861 2014-06-18  Andreas Schwab  <schwab@suse.de>
2862
2863         [BZ #17062]
2864         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2865         of a bracket expr not to run off the end of the string.
2866         * posix/Makefile (tests): Add tst-fnmatch3.
2867         * posix/tst-fnmatch3.c: New file.
2868
2869 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2870
2871         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2872         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2873         [$(cross-compiling) = no]: Likewise.
2874         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2875         [$(cross-compiling) = no]: Likewise.
2876
2877 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2878
2879         [BZ #17031]
2880         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2881         double, adjusted for any remainder from the high double.
2882         * math/libm-test.inc (nearbyint): Add tests.
2883         (rint): Likewise.
2884
2885 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2886
2887         * nptl/sysdeps/powerpc/Makefile: Moved ...
2888         * sysdeps/powerpc/nptl/Makefile: ... here.
2889         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2890         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2891         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2892         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2893         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2894         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2895         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2896         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2897         * nptl/sysdeps/powerpc/tls.h: Moved ...
2898         * sysdeps/powerpc/nptl/tls.h: ... here.
2899
2900 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2901
2902         [BZ #16681]
2903         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2904         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2905         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2906         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2907         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2908         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2909         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2910         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2911         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2912
2913 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2914
2915         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2916
2917 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2918
2919         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2920         defined operator.
2921
2922         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2923         $TIMEOUTFACTOR.
2924
2925 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2926
2927         [BZ #17058]
2928         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2929         non-executed part of the test.
2930
2931 2014-06-16  Andreas Schwab  <schwab@suse.de>
2932
2933         * string/bits/string2.h (strdup, strndup): Update feature guard.
2934
2935 2014-06-14  David S. Miller  <davem@davemloft.net>
2936
2937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2938
2939 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2940
2941         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2942         that was previously under [RESET_PID].
2943         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2944
2945         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2946         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2947         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2948         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2949         (__libc_vfork): New strong alias.
2950         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2951
2952 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2953
2954         * sysdeps/generic/elide.h: New file.
2955
2956 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2957
2958         * Makefile (installed-headers): Adjust path of pthread.h header.
2959
2960 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2961
2962         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2963         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2964         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2965         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2966
2967         * nptl/sysdeps/s390/Makefile: Moved ...
2968         * sysdeps/s390/nptl/Makefile: ... here.
2969         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2970         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2971         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2972         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2973         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2974         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2975         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2976         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2977         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2978         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2979         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2980         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2981         * nptl/sysdeps/s390/tls.h: Moved ...
2982         * sysdeps/s390/nptl/tls.h: ... here.
2983
2984         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2985         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2986
2987 2014-06-13  David S. Miller  <davem@davemloft.net>
2988
2989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2992         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2996         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2997         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2998         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2999         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3000         Remove RESET_PID cpp guards.
3001         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3002         Remove RESET_PID cpp guards.
3003         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3004
3005 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3006
3007         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3008         __sp to uintptr_t.
3009
3010 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3011
3012         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3013         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3015         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3016         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3017         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3018         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3019         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3020         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3021         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3023         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3024         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3025         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3026         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3027         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3028         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3029         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3030         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3031         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3032
3033         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3034         (pthread_rwlock_rdlock): Add elision.
3035         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3036         (pthread_rwlock_wrlock): Add elision.
3037         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3038         (pthread_rwlock_trywrlock): Add elision.
3039         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3040         (pthread_rwlock_tryrdlock): Add elision.
3041         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3042         (pthread_rwlock_tryrdlock): Add elision unlock.
3043         * nptl/sysdeps/pthread/pthread.h:
3044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3045         (PTHREAD_RWLOCK_INITIALIZER,
3046         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3047         Handle new elision field.
3048         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3049         * sysdeps/arm/nptl/bits/pthreadtypes.h
3050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3051         * sysdeps/sh/nptl/bits/pthreadtypes.h
3052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3053         * sysdeps/tile/nptl/bits/pthreadtypes.h
3054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3055         * sysdeps/a/nptl/bits/pthreadtypes.h
3056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3057         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3059         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3061         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3063         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3065         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3067         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3069         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3071         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3073         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3074         (elision_init): Set try_xbegin to zero when no RTM.
3075         * sysdeps/x86/nptl/bits/pthreadtypes.h
3076         (pthread_rwlock_t): Change __pad1 to __rwelision.
3077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3078
3079 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3080
3081         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3082         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3083         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3084         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3085
3086 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3087
3088         [BZ #16996]
3089         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3090         that the cached result has been set before returning it.
3091
3092 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3093
3094         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3095         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3096         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3097         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3098         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3099         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3100
3101         * nptl/sysdeps/sparc/Makefile: Moved ...
3102         * sysdeps/sparc/nptl/Makefile: ... here.
3103         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3104         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3105         * nptl/sysdeps/sparc/tls.h: Moved ...
3106         * sysdeps/sparc/nptl/tls.h: ... here.
3107         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3108         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3109         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3110         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3111         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3112         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3113         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3114         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3115         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3116         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3117         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3118         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3119         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3120         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3121         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3122         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3123         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3124         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3125         Update #include.
3126         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3127         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3128         Update #include.
3129         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3130         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3131         Update #include.
3132         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3133         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3134         Update #include.
3135
3136         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3137
3138         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3139         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3140
3141         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3142         (struct list_links): Type removed.
3143         (struct thread_node, struct timer_node): Replace struct list_links
3144         with struct list_head.
3145         (list_unlink_ip): Likewise.
3146         * sysdeps/pthread/timer_routines.c
3147         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3148         (list_append, list_insbefore): Likewise.
3149         (list_init): Function removed.
3150         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3151         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3152         * sysdeps/pthread/Makefile: ... here, new file.
3153
3154         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3155         * sysdeps/nptl/Implies: ... here.
3156         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3157         * nptl/sysdeps/pthread/list.h: Moved ...
3158         * include/list.h: ... here.
3159         * nptl/sysdeps/pthread/createthread.c: Moved ...
3160         * nptl/createthread.c: ... here.
3161         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3162         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3163         * nptl/pt-longjmp.c: ... here.
3164         * nptl/sysdeps/pthread/Makefile: Moved ...
3165         * sysdeps/nptl/Makefile: ... here.
3166         * nptl/sysdeps/pthread/Subdirs: Moved ...
3167         * sysdeps/nptl/Subdirs: ... here.
3168         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3169         * sysdeps/nptl/aio_misc.h: ... here.
3170         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3171         * sysdeps/nptl/bits/libc-lock.h: ... here.
3172         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3173         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3174         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3175         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3176         * nptl/sysdeps/pthread/configure: Moved ...
3177         * sysdeps/nptl/configure: ... here.
3178         * nptl/sysdeps/pthread/configure.ac: Moved ...
3179         * sysdeps/nptl/configure.ac: ... here.
3180         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3181         * sysdeps/nptl/gai_misc.h: ... here.
3182         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3183         * sysdeps/nptl/librt-cancellation.c: ... here.
3184         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3185         * sysdeps/nptl/malloc-machine.h: ... here.
3186         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3187         * sysdeps/nptl/pthread-functions.h: ... here.
3188         * nptl/sysdeps/pthread/pthread.h: Moved ...
3189         * sysdeps/nptl/pthread.h: ... here.
3190         * nptl/sysdeps/pthread/setxid.h: Moved ...
3191         * sysdeps/nptl/setxid.h: ... here.
3192         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3193         * sysdeps/nptl/sigfillset.c: ... here.
3194         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3195         * sysdeps/nptl/tcb-offsets.h: ... here.
3196         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3197         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3198         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3199         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3200         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3201         * sysdeps/pthread/allocalim.h: ... here.
3202         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3203         * sysdeps/pthread/bits/sigthread.h: ... here.
3204         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3205         * sysdeps/pthread/flockfile.c: ... here.
3206         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3207         * sysdeps/pthread/ftrylockfile.c: ... here.
3208         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3209         * sysdeps/pthread/funlockfile.c: ... here.
3210         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3211         * sysdeps/pthread/posix-timer.h: ... here.
3212         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3213         * sysdeps/pthread/timer_create.c: ... here.
3214         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3215         * sysdeps/pthread/timer_delete.c: ... here.
3216         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3217         * sysdeps/pthread/timer_getoverr.c: ... here.
3218         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3219         * sysdeps/pthread/timer_gettime.c: ... here.
3220         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3221         * sysdeps/pthread/timer_routines.c: ... here.
3222         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3223         * sysdeps/pthread/timer_settime.c: ... here.
3224         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3225         * sysdeps/pthread/tst-timer.c: ... here.
3226         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3227         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3228
3229         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3230         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3231
3232         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3233         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3234         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3235         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3236         Update #include target.
3237         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3238         * sysdeps/i386/i686/nptl/Makefile: ... here.
3239         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3240         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3241         Update #include target.
3242         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3243         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3244         * nptl/sysdeps/i386/Makefile: Moved ...
3245         * sysdeps/i386/nptl/Makefile: ... here.
3246         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3247         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3248         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3249         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3250         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3251         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3252         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3253         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3254         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3255         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3256         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3257         * nptl/sysdeps/i386/tls.h: Moved ...
3258         * sysdeps/i386/nptl/tls.h: ... here.
3259
3260         * sysdeps/sh/Makefile [$(subdir) = csu]
3261         (gen-as-const-headers): Add tcb-offsets.sym.
3262         * nptl/sysdeps/sh/Makefile: File removed.
3263         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3264         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3265         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3266         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3267         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3268         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3269         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3270         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3271         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3272         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3273         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3274         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3275         * nptl/sysdeps/sh/tls.h: Moved ...
3276         * sysdeps/sh/nptl/tls.h: ... here.
3277         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3278         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3279         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3280         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3281         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3282         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3283         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3284         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3285         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3286         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3287         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3288         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3289         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3290         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3292         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3294         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3296         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3297         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3298         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3300         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3302         Moved ...
3303         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3304         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3305         Moved ...
3306         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3307         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3308         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3309         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3310         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3311         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3312         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3313         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3314         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3315         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3316         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3317         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3318         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3319         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3320         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3321         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3322         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3323         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3324         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3325
3326 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3327
3328         * posix/spawn_faction_addopen.c: Include string.h.
3329
3330 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3331
3332         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3333         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3334         * nptl/sysdeps/x86_64/Makefile: Moved ...
3335         * sysdeps/x86_64/nptl/Makefile: ... here.
3336         * nptl/sysdeps/x86_64/configure: Moved ...
3337         * sysdeps/x86_64/nptl/configure: ... here.
3338         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3339         * sysdeps/x86_64/nptl/configure.ac: ... here.
3340         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3341         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3342         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3343         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3344         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3345         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3346         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3347         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3348         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3349         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3350         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3351         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3352         * nptl/sysdeps/x86_64/tls.h: Moved ...
3353         * sysdeps/x86_64/nptl/tls.h: ... here.
3354         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3355         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3356         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3357         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3358
3359         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3360
3361 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3362
3363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3364
3365 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3366
3367         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3368         type.
3369         [POSIX] (off_t): Likewise.
3370         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3371         [POSIX] (S_ISBLK): Require macro.
3372         [POSIX] (S_ISCHR): Likewise.
3373         [POSIX] (S_ISDIR): Likewise.
3374         [POSIX] (S_ISFIFO): Likewise.
3375         [POSIX] (S_ISREG): Likewise.
3376         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3377         optional-macro.
3378         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3379         type.
3380         [POSIX] (time_t): Likewise.
3381         [POSIX] (timer_t): Likewise.
3382
3383 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3384
3385         [BZ #17048]
3386         * posix/spawn_int.h (struct __spawn_action): Make the path string
3387         non-const to support deallocation.
3388         * posix/spawn_faction_addopen.c
3389         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3390         * posix/spawn_faction_destroy.c
3391         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3392         path in all spawn_do_open actions.
3393         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3394         posix_spawn_file_actions_addopen.
3395
3396 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3397
3398         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3399         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3400         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3401         conditional code always true.
3402         (__libc_vfork): New alias.
3403
3404 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3405
3406         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3407         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3408
3409         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3410
3411         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3412         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3413
3414         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3415         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3416
3417         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3418         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3419
3420 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3421
3422         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3423         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3424         multiarch strcmp for PPC64.
3425         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3426         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3428         multiarch optimizations.
3429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3430         (__libc_ifunc_impl_list): Likewise.
3431
3432 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3433
3434         * benchtests/scripts/validate_benchout.py: New script.
3435         * benchtests/Makefile (bench-func): Call it.
3436         * benchtests/scripts/benchout.schema.json: New file.
3437
3438 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3439
3440         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3441         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3442         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3443         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3444         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3445         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3446         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3447         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3448         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3449         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3450         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3451         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3452         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3453         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3454         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3455         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3457         Moved ...
3458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3459         ... here.
3460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3461         Moved ...
3462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3464         Moved ...
3465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3466         ... here.
3467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3468         Moved ...
3469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3470         ... here.
3471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3472         Moved ...
3473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3475         Moved ...
3476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3477         ... here.
3478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3479         Moved ...
3480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3481         ... here.
3482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3483         Moved ...
3484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3486         Moved ...
3487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3488         ... here.
3489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3490         Moved ...
3491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3492         ... here.
3493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3494         Moved ...
3495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3496         ... here.
3497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3498         Moved ...
3499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3501         Moved ...
3502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3503         ... here.
3504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3505         Moved ...
3506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3507         ... here.
3508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3509         Moved ...
3510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3511         ... here.
3512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3513         Moved ...
3514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3516         Moved ...
3517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3518         ... here.
3519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3520         Moved ...
3521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3522         ... here.
3523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3524         Moved ...
3525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3527         Moved ...
3528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3529         ... here.
3530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3531         Moved ...
3532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3534         Moved ...
3535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3537         Moved ...
3538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3539         ... here.
3540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3541         Moved ...
3542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3543         ... here.
3544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3545         Moved ...
3546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3547         ... here.
3548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3549         Moved ...
3550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3552         Moved ...
3553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3554         ... here.
3555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3556         Moved ...
3557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3558         ... here.
3559         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3560         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3562         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3564         Moved ...
3565         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3566         ... here.
3567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3568         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3570         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3572         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3574         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3576         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3578         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3580         Moved ...
3581         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3582         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3583         Moved ...
3584         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3586         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3588         Moved ...
3589         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3590         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3591         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3592         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3593         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3594         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3595         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3596
3597 2014-06-10  Wilco  <wdijkstr@arm.com>
3598
3599         * math/test-fenv-return.c: New file.
3600         * math/Makefile: Add new test test-fenv-return.
3601
3602 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3603
3604         [BZ #17042]
3605         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3606         when x - 1 is zero.
3607         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3608         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3609         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3610         0.0L for an argument of 1.0L.
3611         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3612         Likewise.
3613         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3614         value when x - 1 is zero.
3615         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3616         * sysdeps/i386/fpu/libm-test-ulps: Update.
3617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3618
3619 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3620
3621         [BZ #15119]
3622         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3623
3624 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3625
3626         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3627         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3628
3629 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3630
3631         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3632         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3633
3634         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3635         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3636
3637         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3638         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3639
3640         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3641         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3642
3643         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3644         if not already defined.
3645         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3646         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3647         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3648         (TLS_INIT_TP): Use it.
3649         (TLS_DEFINE_INIT_TP): New macro.
3650         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3651
3652 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3653
3654         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3655         constant.
3656         [POSIX] (IXANY): Likewise.
3657         [POSIX] (OLCUC): Likewise.
3658         [POSIX || POSIX2008] (CBAUD): Do not allow.
3659         [POSIX || POSIX2008] (DEFECHO): Likewise.
3660         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3661         [POSIX || POSIX2008] (ECHOKE): Likewise.
3662         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3663         [POSIX || POSIX2008] (EXTA): Likewise.
3664         [POSIX || POSIX2008] (EXTB): Likewise.
3665         [POSIX || POSIX2008] (FLUSHO): Likewise.
3666         [POSIX || POSIX2008] (LOBLK): Likewise.
3667         [POSIX || POSIX2008] (PENDIN): Likewise.
3668         [POSIX || POSIX2008] (SWTCH): Likewise.
3669         [POSIX || POSIX2008] (VDISCARD): Likewise.
3670         [POSIX || POSIX2008] (VDSUSP): Likewise.
3671         [POSIX || POSIX2008] (VLNEXT): Likewise.
3672         [POSIX || POSIX2008] (VREPRINT): Likewise.
3673         [POSIX || POSIX2008] (VSTATUS): Likewise.
3674         [POSIX || POSIX2008] (VWERASE): Likewise.
3675         (B*): Change to B[0123456789]*.
3676         * conform/data/time.h-data [POSIX || UNIX98]
3677         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3678         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3679         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3680         [POSIX] (tm_*): Do not allow.
3681
3682 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3683
3684         * Makefile (install): Don't set LANGUAGE.
3685         * Makefile.in (install): Likewise.
3686         * assert/Makefile (test-assert-ENV): Remove variable.
3687         (test-assert-perr-ENV): Likewise.
3688         * elf/Makefile (neededtest4-ENV): Likewise.
3689         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3690         [$(cross-compiling) = no]: Don't set LANGUAGE.
3691         * io/ftwtest-sh (LANG): Remove variable.
3692         * libio/Makefile (tst-widetext-ENV): Likewise.
3693         * manual/install.texi (Running make install): Don't refer to
3694         environment settings for make install.
3695         * INSTALL: Regenerated.
3696         * nptl/tst-tls6.sh: Don't set LANG.
3697         * posix/globtest.sh (LANG): Remove variable.
3698         * string/Makefile (tester-ENV): Likewise.
3699         (inl-tester-ENV): Likewise.
3700         (noinl-tester-ENV): Likewise.
3701         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3702         [$(cross-compiling) = no]: Don't set LANGUAGE.
3703         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3704         without explicit environment settings.
3705
3706 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3707
3708         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3709         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3710         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3711         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3712
3713 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3714
3715         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3716         other files in the crypt directory.
3717         * crypt/crypt.c: Remove duplicate includes.
3718         * crypt/crypt-entry.c: Likewise.
3719         * crypt/crypt_util.c: Likewise.
3720
3721 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3722
3723         * Makeconfig (run-program-env): New variable.
3724         (run-program-prefix-before-env): Likewise.
3725         (run-program-prefix-after-env): Likewise.
3726         (run-program-prefix): Define in terms of new variables.
3727         (built-program-cmd-before-env): New variable.
3728         (built-program-cmd-after-env): Likewise.
3729         (built-program-cmd): Define in terms of new variables.
3730         (test-program-prefix-before-env): New variable.
3731         (test-program-prefix-after-env): Likewise.
3732         (test-program-prefix): Define in terms of new variables.
3733         (test-program-cmd-before-env): New variable.
3734         (test-program-cmd-after-env): Likewise.
3735         (test-program-cmd): Define in terms of new variables.
3736         * Rules (make-test-out): Use $(run-program-env).
3737         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3738         (help): Do not mention environment variables.  Mention
3739         --timeoutfactor option.
3740         (timeoutfactor): New variable.
3741         (blacklist_exports): Remove function.
3742         (exports): Remove variable.
3743         (command): Do not include ${exports}.
3744         * manual/install.texi (Configuring and compiling): Do not mention
3745         test wrappers preserving environment variables.  Mention that last
3746         assignment to a variable must take precedence.
3747         * INSTALL: Regenerated.
3748         * benchtests/Makefile (run-bench): Use $(run-program-env).
3749         * catgets/Makefile ($(objpfx)test1.cat): Use
3750         $(built-program-cmd-before-env), $(run-program-env) and
3751         $(built-program-cmd-after-env).
3752         ($(objpfx)test2.cat): Do not specify environment variables
3753         explicitly.
3754         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3755         $(run-program-env) and $(built-program-cmd-after-env).
3756         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3757         $(run-program-env) and $(test-program-cmd-after-env).
3758         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3759         explicitly.
3760         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3761         run_program_env and test_program_cmd_after_env arguments.
3762         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3763         * elf/tst-pathopt.sh: Use run_program_env argument.
3764         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3765         $(test-wrapper-env) and $(run-program-env).
3766         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3767         run_program_env arguments.
3768         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3769         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3770         $(test-program-prefix-before-env), $(run-program-env) and
3771         $(test-program-prefix-after-env).
3772         ($(objpfx)tst-gettext2.out): Likewise.
3773         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3774         run_program_env and test_program_prefix_after_env arguments.
3775         * intl/tst-gettext2.sh: Likewise.
3776         * intl/tst-gettext4.sh: Do not set environment variables
3777         explicitly.
3778         * intl/tst-gettext6.sh: Likewise.
3779         * intl/tst-translit.sh: Likewise.
3780         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3781         $(test-program-prefix-before-env), $(run-program-env) and
3782         $(test-program-prefix-after-env).
3783         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3784         run_program_env and test_program_prefix_after_env arguments.
3785         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3786         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3787         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3788         explicitly with each use of ${test_wrapper_env}.
3789         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3790         $(test-program-prefix-before-env), $(run-program-env) and
3791         $(test-program-prefix-after-env).
3792         * posix/tst-getconf.sh: Do not set environment variables
3793         explicitly.
3794         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3795         run_program_env and test_program_prefix_after_env arguments.
3796         * stdio-common/tst-printf.sh: Do not set environment variables
3797         explicitly.
3798         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3799         $(test-program-prefix-before-env), $(run-program-env) and
3800         $(test-program-prefix-after-env).
3801         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3802         run_program_env and test_program_prefix_after_env arguments.
3803         Split $test calls into $test_pre and $test.
3804         * timezone/Makefile (build-testdata): Use
3805         $(built-program-cmd-before-env), $(run-program-env) and
3806         $(built-program-cmd-after-env).
3807
3808 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3809
3810         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3811         strlen for non SHARED builds.
3812
3813 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3814
3815         * nptl/allocatestack.c (check_list): Inlined function...
3816         (__reclaim_stacks): ... here.
3817
3818 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3819
3820         [BZ #15698]
3821         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3822         memory overrun.
3823
3824 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3825
3826         * Rules (make-test-out): Include
3827         LOCPATH=$(common-objpfx)localedata in default environment.
3828         * debug/Makefile (tst-chk1-ENV): Remove variable.
3829         (tst-chk2-ENV): Likewise.
3830         (tst-chk3-ENV): Likewise.
3831         (tst-chk4-ENV): Likewise.
3832         (tst-chk5-ENV): Likewise.
3833         (tst-chk6-ENV): Likewise.
3834         (tst-lfschk1-ENV): Likewise.
3835         (tst-lfschk2-ENV): Likewise.
3836         (tst-lfschk3-ENV): Likewise.
3837         (tst-lfschk4-ENV): Likewise.
3838         (tst-lfschk5-ENV): Likewise.
3839         (tst-lfschk6-ENV): Likewise.
3840         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3841         (tst-iconv7-ENV): Likewise.
3842         * intl/Makefile (LOCPATH-ENV): Likewise.
3843         (tst-codeset-ENV): Likewise.
3844         (tst-gettext3-ENV): Likewise.
3845         (tst-gettext5-ENV): Likewise.
3846         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3847         (tst-fopenloc-ENV): Likewise.
3848         (tst-fgetws-ENV): Remove variable.
3849         (tst-ungetwc1-ENV): Likewise.
3850         (tst-ungetwc2-ENV): Likewise.
3851         (bug-ungetwc2-ENV): Likewise.
3852         (tst-swscanf-ENV): Likewise.
3853         (bug-ftell-ENV): Likewise.
3854         (tst-fgetwc-ENV): Likewise.
3855         (tst-fseek-ENV): Likewise.
3856         (tst-ftell-partial-wide-ENV): Likewise.
3857         (tst-ftell-active-handler-ENV): Likewise.
3858         (tst-ftell-append-ENV): Likewise.
3859         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3860         (tst-regexloc-ENV): Likewise.
3861         (bug-regex1-ENV): Likewise.
3862         (tst-regex-ENV): Likewise.
3863         (tst-regex2-ENV): Likewise.
3864         (bug-regex5-ENV): Likewise.
3865         (bug-regex6-ENV): Likewise.
3866         (bug-regex17-ENV): Likewise.
3867         (bug-regex18-ENV): Likewise.
3868         (bug-regex19-ENV): Likewise.
3869         (bug-regex20-ENV): Likewise.
3870         (bug-regex22-ENV): Likewise.
3871         (bug-regex23-ENV): Likewise.
3872         (bug-regex25-ENV): Likewise.
3873         (bug-regex26-ENV): Likewise.
3874         (bug-regex30-ENV): Likewise.
3875         (bug-regex32-ENV): Likewise.
3876         (bug-regex33-ENV): Likewise.
3877         (bug-regex34-ENV): Likewise.
3878         (bug-regex35-ENV): Likewise.
3879         (tst-rxspencer-ENV): Likewise.
3880         (tst-rxspencer-no-utf8-ENV): Likewise.
3881         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3882         (tst-sscanf-ENV): Likewise.
3883         (tst-swprintf-ENV): Likewise.
3884         (tst-swscanf-ENV): Likewise.
3885         (test-vfprintf-ENV): Likewise.
3886         (scanf13-ENV): Likewise.
3887         (bug14-ENV): Likewise.
3888         (tst-grouping-ENV): Likewise.
3889         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3890         (tst-strtod3-ENV): Likewise.
3891         (tst-strtod4-ENV): Likewise.
3892         (tst-strtod5-ENV): Likewise.
3893         (testmb2-ENV): Likewise./
3894         * string/Makefile (tst-strxfrm-ENV): Likewise.
3895         (tst-strxfrm2-ENV): Likewise.
3896         (bug-strcoll1-ENV): Likewise.
3897         (test-strcasecmp-ENV): Likewise.
3898         (test-strncasecmp-ENV): Likewise.
3899         * time/Makefile (tst-strptime-ENV): Likewise.
3900         (tst-ftime_l-ENV): Likewise.
3901         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3902         (tst-mbrtowc-ENV): Likewise.
3903         (tst-wcrtomb-ENV): Likewise.
3904         (tst-mbrtowc2-ENV): Likewise.
3905         (tst-c16c32-1-ENV): Likewise.
3906         (tst-mbsnrtowcs-ENV): Likewise.
3907
3908 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3909
3910         * manual/resource.texi (How to get information about the memory
3911         subsystem?): Fix typo.
3912         Reported by Peon de la Parra Ivan <peon@keba.com>
3913
3914 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3915
3916         [BZ #16882]
3917         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3918         (pthread_spin_lock): Branch out of spin loop to proper location.
3919         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3920         (pthread_spin_lock): Likewise.
3921
3922         * nptl/tst-spin4.c: New test.
3923         * nptl/Makefile (tests): Add tst-spin4.
3924
3925 2014-06-03  Andreas Schwab  <schwab@suse.de>
3926
3927         [BZ #15946]
3928         * resolv/res_send.c (send_dg): Reload file descriptor after
3929         calling reopen.
3930
3931 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3932
3933         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3934
3935 2014-06-03  Richard Henderson  <rth@redhat.com>
3936
3937         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3938         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3939         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3940         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3941         in the SAVE_PID block.
3942         (__libc_vfork): New alias.
3943         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3944
3945         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3946         child in registers, not on the stack.  Remove RESET_PID conditionals.
3947         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3948
3949 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3950
3951         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3952
3953 2014-06-03  Wilco  <wdijkstr@arm.com>
3954
3955         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3956         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3957         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3958         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3959         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3960         Likewise.
3961
3962 2014-06-03  Wilco  <wdijkstr@arm.com>
3963
3964         * sysdeps/aarch64/fpu/math_private.h
3965         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3966         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3967         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3968         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3969         Fix declarations.
3970
3971 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3972
3973         * crypt/crypt-private.h: Include ufc-crypt.h.
3974         (__b64_from_24bit): Declare extern.
3975         * crypt/crypt_util.c(__b64_from_24bit): New function.
3976         (b64t): New static const variable.
3977         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3978         (b64t): Remove variable.
3979         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3980         * crypt/sha256-crypt.c: Include crypt-private.h.
3981         (b64t): Remove variable.
3982         (__sha256_crypt_r): Remove b64_from_24bit and replace
3983         with __b64_from_24bit.
3984         * crypt/sha512-crypt.c: Likewise.
3985
3986 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3987
3988         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3989         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3990         Label the code __libc_vfork rather than __vfork.
3991         [!NOT_IN_libc] (vfork): Define as weak alias.
3992         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3993         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3994         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3995
3996 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3997
3998         * malloc/malloc.c (malloc_info): Fix format specifier for
3999         n_mmaps.
4000
4001 2014-06-02  Wilco  <wdijkstr@arm.com>
4002
4003         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4004         FPCR write.
4005
4006 2014-06-02  Wilco  <wdijkstr@arm.com>
4007
4008         [BZ #17009]
4009         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4010         Rewrite to reduce FPCR/FPSR accesses.
4011
4012 2014-06-01  David S. Miller  <davem@davemloft.net>
4013
4014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4015
4016 2014-05-31  David S. Miller  <davem@davemloft.net>
4017
4018         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4019         to occur in round to nearest mode when |x| >= 2.0
4020
4021 2014-05-30  Richard Henderson  <rth@twiddle.net>
4022
4023         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4024         (PSEUDO_RET_NOERRNO): Remove.
4025         (ret): Don't redefine.
4026         (ret_NOERRNO): Define in terms of ret.
4027         (ret_ERRVAL): Likewise.
4028
4029         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4030         use of PSEUDO_RET; perform the error check directly.
4031
4032 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4033
4034         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4035         with __int128_t.
4036
4037 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4038
4039         * malloc/malloc (malloc_info): Fix formatting.
4040
4041 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4042             Roland McGrath  <roland@hack.frob.com>
4043
4044         * malloc/malloc (malloc_info): Also print mmapped statistics.
4045
4046 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4047
4048         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4049         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4050
4051 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4052
4053         * malloc/malloc.c (malloc_info): Inline mi_arena.
4054
4055 2014-05-29  Richard Henderson  <rth@twiddle.net>
4056
4057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4058         Remove comma before expanding ASM_ARGS_##nr.
4059         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4060         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4061         of ASM_ARGS_##nr.
4062         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4063         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4064         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4065         (ASM_ARGS_1): Add leading comma.
4066
4067         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4068         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4069         to __errno_location.
4070         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4071         Remove the expected plt for __errno_location.
4072
4073         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4074         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4075         call to __read_tp.
4076
4077         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4078         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4079         it and break it down.
4080         (DOCARGS_0, DOCARGS_1): Do nothing.
4081         (DOCARGS_2): Update to store into the new stack frame.
4082         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4083         (UNDOCARGS_1): Update to restore from the new stack frame.
4084         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4085         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4086
4087         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4088         (SINGLE_THREAD_P): New parameter for result regno.
4089         (PSEUDO): Update to match; use cbz instead of beq.
4090
4091         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4092         Use ENTRY to define the _nocancel entry point.  Share the syscall
4093         and syscall error check paths with the cancel path.
4094         (PSEUDO_END): New.
4095
4096         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4097         whitespace; tabs before and after asm mnemonics.
4098
4099 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4100
4101         [BZ #15132]
4102         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4103         Call fstat64 or stat64 internally, depending on arguments passed.
4104         Replace stat buffer argument with file descriptor argument.
4105         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4106         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4107         Pass fd to __internal_statvfs instead of calling fstat64.
4108         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4109         Pass fd to __internal_statvfs64 instead of calling fstat64.
4110         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4111         Pass -1 to __internal_statvfs instead of calling stat64.
4112         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4113         Pass -1 to __internal_statvfs64 instead of calling stat64.
4114
4115 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4116
4117         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4118         that was previously under [RESET_PID].
4119         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4120
4121         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4122         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4123
4124 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4125
4126         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4127
4128         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4129         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4130
4131 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4132
4133         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4134
4135 2014-05-27  Andreas Schwab  <schwab@suse.de>
4136
4137         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4138         TLS_INIT_TP macro.
4139         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4140         * elf/rtld.c (init_tls, dl_main): Likewise.
4141         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4142         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4143         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4144         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4145         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4146         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4147         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4148         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4149         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4150         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4151         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4152         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4153         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4154         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4155         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4156         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4157         * sysdeps/generic/tls.h: Update description.
4158
4159 2014-05-27  Will Newton  <will.newton@linaro.org>
4160
4161         [BZ #16990]
4162         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4163         and restore r2 rather than just restoring.
4164
4165 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4166
4167         [BZ #16724]
4168         * libio/tst-ftell-append.c: New test case.
4169         * libio/Makefile (tests): Add test case.
4170         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4171         append mode.
4172         * libio/wfileops.c (do_ftell_wide): Likewise.
4173
4174 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4175
4176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4177
4178         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4179         ...
4180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4182         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4183         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4185         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4187         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4189         Moved ...
4190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4192         Moved ...
4193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4194         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4195         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4196         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4197         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4198         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4199         ...
4200         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4202         Moved ...
4203         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4204         here.
4205         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4206         ...
4207         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4208         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4209         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4210
4211         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4212         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4214         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4215
4216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4217         merge into ...
4218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4220         ...
4221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4223         ...
4224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4226         Moved ...
4227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4228         here.
4229         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4230         Moved ...
4231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4233         Moved ...
4234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4235
4236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4237         conditional [RESET_PID].
4238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4239         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4240         removed.
4241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4242         removed.
4243
4244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4245         <tcb-offsets.h>.
4246         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4247         (__libc_vfork): New strong alias.
4248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4249         removed.
4250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4251         Removed.
4252
4253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4254         <tcb-offsets.h>.
4255         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4256         (__libc_vfork): New strong alias.
4257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4258         removed.
4259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4260         removed.
4261
4262 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4263
4264         * malloc/malloc.c (mi_arena): New function.
4265         (malloc_info): Remove nested function mi_arena. Call non-nosted
4266         function mi_arena.
4267
4268 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4269
4270         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4271         by insrwi.
4272         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4273         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4274         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4275         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4276         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4277         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4278         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4279
4280 2014-05-26  Andreas Schwab  <schwab@suse.de>
4281
4282         [BZ #16984]
4283         * locale/programs/repertoire.c (repertoire_read): Add slash
4284         between I18NPATH element and file name.
4285         * locale/programs/locfile.c (locfile_read): Likewise.
4286
4287 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4288
4289         * nptl/pthread_mutexattr_settype.c
4290         (__pthread_mutexattr_settype):
4291         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4292
4293 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4294
4295         * nptl/tst-mutex5 (do_test):
4296         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4297
4298 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4299
4300         * benchtests/README: Document 'init' directive.
4301         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4302         BENCH_INIT.
4303         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4304         (parse_file): Recognize 'init' directive.
4305
4306 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4307
4308         [BZ #16796]
4309         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4310         alignment of struct pthread.
4311
4312 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4313
4314         [BZ #16878]
4315         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4316         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4317         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4318         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4319
4320 2014-05-25  Richard Henderson  <rth@twiddle.net>
4321
4322         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4323         (SINGLE_THREAD_P_PIC): Remove.
4324         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4325         (SINGLE_THREAD_P_PIC): Remove.
4326
4327         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4328         branch to syscall error ...
4329         (PSEUDO): ... here.
4330         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4331         from __local_syscall_error to .Lsyscall_error.
4332         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4333         (SYSCALL_ERROR): Update label name.
4334
4335         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4336         Do not use DOARGS/UNDOARGS.
4337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4338         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4339         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4340         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4341         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4342
4343         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4344         block comment.
4345
4346         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4347         define if !NOT_IN_libc.
4348         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4349         define with non-default symbol versions.
4350
4351 2014-05-23  Richard Henderson  <rth@twiddle.net>
4352
4353         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4354         (vfork, __vfork): Define via compat_symbol.
4355
4356         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4357         [!HAVE_IFUNC] (vfork_compat): Remove.
4358         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4359
4360 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4361
4362         [BZ #16978]
4363         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4364         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4365         variable.
4366
4367 2014-05-23  Richard Henderson  <rth@twiddle.net>
4368
4369         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4370         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4371         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4372         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4373
4374         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4375         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4376         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4377         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4378         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4379         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4380         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4381         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4382         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4383         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4384         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4385         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4386         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4387         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4388         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4389         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4390         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4391         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4392         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4393         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4394         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4395         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4396         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4397         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4398         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4399         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4400         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4401         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4402         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4403         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4404         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4405         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4406         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4407         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4408         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4409         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4410         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4411         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4412         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4413         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4414         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4415         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4416         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4417         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4418         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4419         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4420         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4421         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4422         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4423         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4424         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4425         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4426         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4427         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4428         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4429         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4430
4431         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4432         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4433         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4434         before exiting on error.
4435         (__libc_vfork): New strong alias.
4436         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4437         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4438
4439         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4440         that was previously under [RESET_PID].
4441         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4442
4443         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4444
4445 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4446
4447         [BZ #16977]
4448         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4449         value when x - 1 is zero.
4450         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4451         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4452         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4453         0.0L for an argument of 1.0L.
4454         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4455         Likewise.
4456         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4457         value when x - 1 is zero.
4458         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4459         * sysdeps/i386/fpu/libm-test-ulps: Update.
4460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4461
4462 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4463
4464         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4465         alphasort and versionsort.
4466
4467 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4468
4469         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4470         macro.
4471         [copysignf]: Likewise.
4472
4473 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4474
4475         * crypt/md5-crypt.c: Fix formatting.
4476
4477 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4478
4479         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4480         (b64_from_24bit): New function.
4481
4482 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4483
4484         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4485         libc_hidden_builtin_def to ifunc.
4486         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4487         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4488
4489 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4490
4491         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4492         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4493
4494 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4495
4496         * nscd/Depend (linuxthreads): Remove.
4497         (nptl): Add.
4498         * resolv/Depend (linuxthreads): Remove.
4499         * rt/Depend (linuxthreads): Remove.
4500
4501         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4502         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4503         $(common-objpfx)elf/.
4504         (link-libc-before-gnulib): Likewise.
4505         (elfobjdir): Remove variable.
4506         * Makefile (install): Use $(elf-objpfx) instead of
4507         $(common-objpfx)elf/.
4508         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4509         $(elfobjdir)/.
4510         (link-libc-deps): Likewise.
4511         ($(common-objpfx)libc.so): Likewise.
4512         ($(common-objpfx)linkobj/libc.so): Likewise.
4513         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4514         instead of $(common-objpfx)elf/.
4515         (symbolic-link-list): Likewise.
4516         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4517         [$(cross-compiling) = no]: Likewise.
4518         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4519         $(elfobjdir)/.
4520         (static-gnulib-arch): Likewise.
4521         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4522         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4523         $(common-objpfx)elf/.
4524
4525 2014-05-21  Richard Henderson  <rth@redhat.com>
4526
4527         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4528         (SINGLE_THREAD_P): Use the correct width load.  Fold
4529         into the ldr offset.
4530
4531         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4532         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4533
4534 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4535
4536         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4537         (libgcc_s_resume): Use __attribute_used__.
4538         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4539         Likewise.
4540
4541 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4542
4543         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4544         optimization when used with float constants.
4545
4546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4547
4548 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4549
4550         [BZ #16915]
4551         * locale/nl_langinfo_l.c: Make direct reference to every
4552         _nl_current_CATEGORY symbol.
4553         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4554         (tests-static): Add tst-langinfo-static.
4555         (tests-special): Add tst-langinfo-static.out.
4556         ($(objpfx)tst-langinfo.out): Redirect output.
4557         ($(objpfx)tst-langinfo-static.out): New.
4558         * localedata/tst-langinfo.sh: Send output to stdout.
4559         * localedata/tst-langinfo-static.c: New file.
4560
4561         [BZ #16965]
4562         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4563         when the shift amount is modulo the limb size.
4564
4565 2014-05-20  Richard Henderson  <rth@redhat.com>
4566
4567         [BZ #16967]
4568         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4569         Change type of sa_flags from unsigned int to int.
4570
4571         [BZ #16966]
4572         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4573
4574         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4575
4576 2014-05-20  Will Newton  <will.newton@linaro.org>
4577
4578         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4579         Test the return value of the system call in the nocancel case.
4580
4581 2014-05-20  Will Newton  <will.newton@linaro.org>
4582             Yvan Roux  <yvan.roux@linaro.org>
4583
4584         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4585         #include of asm/ptrace.h.
4586         (PTRACE_GET_THREAD_AREA): Remove #undef.
4587         (PTRACE_GETHBPREGS): Likewise.
4588         (PTRACE_SETHBPREGS): Likewise.
4589         (struct user_regs_struct): New structure.
4590         (struct user_fpsimd_struct): New structure.
4591         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4592         #include of asm/ptrace.h and second #include of sys/user.h.
4593         (PTRACE_GET_THREAD_AREA): Remove #undef.
4594         (PTRACE_GETHBPREGS): Likewise.
4595         (PTRACE_SETHBPREGS): Likewise.
4596         (ELF_NGREG): Use new struct user_regs_struct.
4597         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4598
4599 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4600
4601         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4602         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4603
4604 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4605
4606         [BZ #16958]
4607         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4608         membar to avoid block loads/stores to overlap previous stores.
4609
4610 2014-05-17  Richard Henderson  <rth@redhat.com>
4611
4612         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4613         Create the __##syscall_name##_nocancel entry point.
4614         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4615         Remove; let the sysdep-cancel.h code create it.
4616
4617 2014-05-17  David S. Miller  <davem@davemloft.net>
4618
4619         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4620         Protect with __USE_GNU.
4621         (TIOCSET_TEMPT): Likewise.
4622         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4623         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4624         these are already provided in bits/ioctl-types.h
4625
4626 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4627
4628         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4629         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4630
4631         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4632         Use wait4 regardless of [__NR_waitpid].
4633
4634 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4635
4636         PR libgcc/60166
4637         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4638         (_FP_NANSIGN_Q): Set the quiet bit.
4639
4640 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4641
4642         * benchtests/Makefile
4643         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4644         not $(common-objpfx)math/libm.so.
4645         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4646         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4647         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4648         $(common-objpfx)dlfcn/libdl.so.
4649         ($(objpfx)tst-audit8): Depend on $(libm), not
4650         $(common-objpfx)math/libm.so.
4651         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4652         not $(common-objpfx)dlfcn/libdl.so.
4653         * math/Makefile
4654         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4655         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4656         [$(build-shared) = yes].
4657         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4658         $(common-objpfx)nptl/libpthread.so.
4659         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4660         $(common-objpfx)math/libm.so$(libm.so-version) or
4661         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4662         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4663         $(common-objpfx)dlfcn/libdl.so.
4664         * setjmp/Makefile (link-libm): Remove variable.
4665         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4666         * stdio-common/Makefile (link-libm): Remove variable.
4667         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4668         * stdlib/Makefile (link-libm): Remove variable.
4669         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4670         ($(objpfx)tst-strtod-round): Likewise.
4671         ($(objpfx)tst-tininess): Likewise.
4672         ($(objpfx)tst-strtod-underflow): Likewise.
4673         ($(objpfx)tst-strtod6): Likewise.
4674         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4675         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4676         $(common-objpfx)dlfcn/libdl.so.
4677
4678 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4679
4680         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4681         BSD terminal modes definitions.
4682
4683 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4684
4685         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4686         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4687
4688         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4689         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4690         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4691         Don't do #include_next.
4692         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4693         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4694         Don't do #include_next.
4695         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4696         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4697         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4698         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4699
4700 2014-05-16  Allan McRae  <allan@archlinux.org>
4701
4702         * po/sv.po: Update Swedish translation from translation project.
4703
4704         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4705         in sed expression.
4706
4707 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4708
4709         [BZ #16917]
4710         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4711         errno if the TIOCGPTN ioctl fails with an error different than
4712         EINVAL.
4713         * login/tst-ptsname.c: New file.
4714         * login/Makefile (tests): Add tst-ptsname.
4715
4716         [BZ #16943]
4717         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4718         and prlimit64.
4719
4720 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4721
4722         [BZ #16849]
4723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4724         herrno to return EAI_AGAIN.
4725
4726 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4727
4728         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4729         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4730         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4731         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4732         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4733         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4734         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4735         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4736         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4737         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4738         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4739         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4740         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4741         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4742         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4743         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4744         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4745         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4746         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4747         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4748         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4749         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4750         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4751         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4752         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4753         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4754         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4755         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4756         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4757         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4759         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4761         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4763         Moved ...
4764         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4766         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4768         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4770         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4772         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4774         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4776         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4778         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4780         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4782         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4784         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4786         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4788         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4790         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4792         Moved ...
4793         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4795         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4797         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4799         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4801         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4803         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4805         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4807         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4809         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4811         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4813         Moved ...
4814         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4816         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4817
4818         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4819         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4820         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4821         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4822         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4823         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4824         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4825         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4826         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4827         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4828         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4829         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4830         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4831         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4832         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4833         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4834         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4835         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4836         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4837         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4838         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4839         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4840         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4841         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4842         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4843         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4844         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4845         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4846         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4847         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4848         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4849
4850         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4851         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4852
4853         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4854         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4855         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4856         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4857         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4858         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4859         Moved ...
4860         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4861         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4862         Moved ...
4863         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4864         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4865         Moved ...
4866         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4867         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4868         Moved ...
4869         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4870         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4871         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4872         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4873         Moved ...
4874         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4875         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4876         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4877         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4878         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4879         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4880         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4881         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4882         Moved ...
4883         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4885         Moved ...
4886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4887         ... here.
4888         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4889         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4890         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4891         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4893         Moved ...
4894         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4895         ... here.
4896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4897         Moved ...
4898         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4899         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4900         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4901         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4902         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4903         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4904         Moved ...
4905         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4906         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4907         Moved ...
4908         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4909         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4910         Moved ...
4911         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4912         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4913         Moved ...
4914         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4915         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4916         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4917         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4918         Moved ...
4919         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4920         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4921         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4922         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4923         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4924         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4925         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4926         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4927         Moved ...
4928         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4930         Moved ...
4931         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4932         ... here.
4933         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4934         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4935         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4936         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4938         Moved ...
4939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4940         ... here.
4941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4942         Moved ...
4943         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4944         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4945         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4946         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4947         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4948         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4949         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4950         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4951         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4952         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4953         Moved ...
4954         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4955         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4956         Moved ...
4957         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4958         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4959         Moved ...
4960         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4961         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4962         Moved ...
4963         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4964         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4965         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4966         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4967         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4968         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4969         Moved ...
4970         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4971         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4972         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4973         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4974         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4975         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4976         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4977         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4978         Moved ...
4979         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4980         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4981         Moved ...
4982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4983         ... here.
4984         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4985         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4986         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4987         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4988         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4989         Moved ...
4990         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4991         ... here.
4992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4993         Moved ...
4994         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4995         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4996         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4997         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4998         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4999         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5000         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5001         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5002         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5003         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5004         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5005
5006         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5007         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5008
5009         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5010         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5011
5012         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5013         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5014         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5015         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5016         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5017         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5018         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5019         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5020         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5021         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5022         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5023         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5024         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5025         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5026         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5028         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5030         Moved ...
5031         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5032         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5033         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5035         Moved ...
5036         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5037         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5038         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5039         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5040         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5042         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5044         Moved ...
5045         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5047         Moved ...
5048         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5050         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5051         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5052         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5054         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5055         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5056         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5057         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5058         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5059         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5060         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5061         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5062         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5063         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5064         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5065
5066         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5067         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5068         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5069         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5070         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5071
5072         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5073         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5074         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5075         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5076         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5077         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5078         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5079         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5080         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5081         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5082
5083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5085
5086         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5087         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5088         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5089         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5090         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5091         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5092         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5093         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5094         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5095         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5096         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5097         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5098         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5099         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5101         Update #include.
5102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5103         Likewise.
5104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5105         Likewise.
5106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5107         Likewise.
5108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5109         Likewise.
5110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5111         Likewise.
5112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5113         Likewise.
5114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5115         Likewise.
5116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5117         Likewise.
5118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5119         Likewise.
5120         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5121         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5125         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5126         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5127         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5128         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5129         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5130         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5131         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5132         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5133         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5134         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5135
5136         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5137         that was previously under [RESET_PID].
5138         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5139         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5140         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5141
5142         * sysdeps/i386/nptl/Implies: New file.
5143         * sysdeps/x86_64/nptl/Implies: New file.
5144         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5145         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5146         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5147         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5148
5149         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5150         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5151         (__libc_vfork): New strong alias.
5152         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5153         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5154
5155         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5156         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5157         (__libc_vfork): New strong alias.
5158         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5159         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5160
5161         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5162         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5163         (__libc_vfork): New strong alias.
5164         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5165         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5166         * nptl/pt-vfork.c: New file.
5167         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5168         (libpthread: GLIBC_2.20): New version set (empty).
5169
5170 2014-05-14  Will Newton  <will.newton@linaro.org>
5171
5172         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5173         rather than #if.
5174
5175 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5176
5177         [BZ #16564]
5178         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5179         arguments with exponent 65 or above.
5180         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5181         arguments 0x1p113L or above.
5182         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5183         to arguments 0x1p107L or above.
5184         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5185         positive arguments with exponent 65 or above.
5186         * math/auto-libm-test-in: Add more tests of log1p.
5187         * math/auto-libm-test-out: Regenerated.
5188
5189         [BZ #16928]
5190         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5191         non-finite arguments is +0.
5192         * math/s_cacosf.c (__cacosf): Likewise.
5193         * math/s_cacosl.c (__cacosl): Likewise.
5194         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5195         * sysdeps/i386/fpu/libm-test-ulps: Update.
5196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5197
5198         [BZ #16927]
5199         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5200         value.
5201         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5202         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5203         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5204         for explicit high bit of mantissa when testing for argument equal
5205         to 1.
5206         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5207         * sysdeps/i386/fpu/libm-test-ulps: Update.
5208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5209
5210         [BZ #16516]
5211         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5212         (__erf): Scale by 16 instead of 8 in potentially underflowing
5213         case.  Ensure exception if result actually underflows.
5214         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5215         (__erff): Scale by 16 instead of 8 in potentially underflowing
5216         case.  Ensure exception if result actually underflows.
5217         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5218         (efx8): Remove variable.
5219         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5220         case.  Ensure exception if result actually underflows.
5221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5222         (efx8): Remove variable.
5223         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5224         case.  Ensure exception if result actually underflows.
5225         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5226         (efx8): Remove variable.
5227         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5228         case.  Ensure exception if result actually underflows.
5229         * math/auto-libm-test-in: Add more tests of erf.
5230         * math/auto-libm-test-out: Regenerated.
5231
5232 2014-05-14  Andreas Schwab  <schwab@suse.de>
5233
5234         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5235         Remove code conditionalized on USE___THREAD.
5236
5237         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5238         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5239         not definedness.
5240
5241 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5242
5243         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5244         Define unconditionally.
5245         (__ASSUME_O_CLOEXEC): Likewise.
5246         (__ASSUME_SOCK_CLOEXEC): Likewise.
5247         (__ASSUME_IN_NONBLOCK): Likewise.
5248         (__ASSUME_PIPE2): Likewise.
5249         (__ASSUME_EVENTFD2): Likewise.
5250         (__ASSUME_SIGNALFD4): Likewise.
5251         (__ASSUME_DUP3): Likewise.
5252         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5253         (__ASSUME_DUP3): Do not define.
5254         (__ASSUME_EVENTFD2): Likewise.
5255         (__ASSUME_IN_NONBLOCK): Likewise.
5256         (__ASSUME_O_CLOEXEC): Likewise.
5257         (__ASSUME_PIPE2): Likewise.
5258         (__ASSUME_SIGNALFD4): Likewise.
5259         (__ASSUME_SOCK_CLOEXEC): Likewise.
5260         (__ASSUME_UTIMES): Undefine.
5261         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5262         (__ASSUME_UTIMES): Do not define.
5263         (__ASSUME_O_CLOEXEC): Likewise.
5264         (__ASSUME_SOCK_CLOEXEC): Likewise.
5265         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5266         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5267         0x020621].
5268         (__ASSUME_PIPE2): Likewise.
5269         (__ASSUME_EVENTFD2): Likewise.
5270         (__ASSUME_SIGNALFD4): Likewise.
5271         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5272         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5273         Do not define.
5274         (__ASSUME_EVENTFD2): Likewise.
5275         (__ASSUME_SIGNALFD4): Likewise.
5276         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5277         (__ASSUME_32BITUIDS): Likewise.
5278         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5279         (__ASSUME_IPC64): Likewise.
5280         (__ASSUME_ST_INO_64_BIT): Likewise.
5281         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5282         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5283         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5284         (__ASSUME_UTIMES): Do not define.
5285         (__ASSUME_PSELECT): Likewise.
5286         (__ASSUME_PPOLL): Likewise.
5287         (__ASSUME_O_CLOEXEC): Likewise.
5288         (__ASSUME_SOCK_CLOEXEC): Likewise.
5289         (__ASSUME_IN_NONBLOCK): Likewise.
5290         (__ASSUME_PIPE2): Likewise.
5291         (__ASSUME_EVENTFD2): Likewise.
5292         (__ASSUME_SIGNALFD4): Likewise.
5293         (__ASSUME_DUP3): Likewise.
5294         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5295         (__ASSUME_UTIMES): Likewise.
5296         (__ASSUME_O_CLOEXEC): Likewise.
5297         (__ASSUME_SOCK_CLOEXEC): Likewise.
5298         (__ASSUME_IN_NONBLOCK): Likewise.
5299         (__ASSUME_PIPE2): Likewise.
5300         (__ASSUME_EVENTFD2): Likewise.
5301         (__ASSUME_SIGNALFD4): Likewise.
5302         (__ASSUME_DUP3): Likewise.
5303         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5304         (__ASSUME_UTIMES): Likewise.
5305         (__ASSUME_O_CLOEXEC): Likewise.
5306         (__ASSUME_SOCK_CLOEXEC): Likewise.
5307         (__ASSUME_IN_NONBLOCK): Likewise.
5308         (__ASSUME_PIPE2): Likewise.
5309         (__ASSUME_EVENTFD2): Likewise.
5310         (__ASSUME_SIGNALFD4): Likewise.
5311         (__ASSUME_DUP3): Likewise.
5312         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5313         Likewise.
5314         (__ASSUME_UTIMES): Likewise.
5315         (__ASSUME_EVENTFD2): Likewise.
5316         (__ASSUME_SIGNALFD4): Likewise.
5317         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5318         (__ASSUME_O_CLOEXEC): Likewise.
5319         (__ASSUME_SOCK_CLOEXEC): Likewise.
5320         (__ASSUME_IN_NONBLOCK): Likewise.
5321         (__ASSUME_PIPE2): Likewise.
5322         (__ASSUME_EVENTFD2): Likewise.
5323         (__ASSUME_SIGNALFD4): Likewise.
5324         (__ASSUME_DUP3): Likewise.
5325         (__ASSUME_UTIMES): Undefine.
5326
5327         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5328         feclearexcept.  Remove symbol versioning code.
5329         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5330         symbol versioning code.
5331         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5332         symbol versioning code.
5333         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5334         feupdateenv.  Remove symbol versioning code.
5335         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5336         fegetexceptflag.  Remove symbol versioning code.
5337         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5338         fesetexceptflag.  Remove symbol versioning code.
5339         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5340         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5341         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5342         (__posix_fadvise64_l32): Remove prototype.
5343         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5344         code.
5345
5346 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5347
5348         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5349         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5350         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5351         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5352
5353 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5354
5355         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5356         current working directory
5357
5358 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5359
5360         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5361         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5362         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5363         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5364         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5365         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5366         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5367         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5368         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5369         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5370         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5371         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5372         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5373         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5374         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5375         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5376         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5377         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5378         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5379         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5380         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5381         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5382         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5383         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5384         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5385         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5386         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5387         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5388         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5389         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5390         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5391         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5392         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5393         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5394         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5395         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5396         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5397         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5398         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5399         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5400         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5401         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5402
5403         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5404         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5405
5406         * sysdeps/unix/sysv/linux/arm/Makefile
5407         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5408         Add rt-aeabi_unwind_cpp_pr1.
5409         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5410         Add nptl-aeabi_unwind_cpp_pr1.
5411         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5412         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5413         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5414         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5415         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5416         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5417
5418         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5419         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5420         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5421         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5422
5423         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5424         Deconditionalize the code that was previously under [RESET_PID].
5425         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5426
5427         * sysdeps/generic/exit-thread.h: New file.
5428         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5429         * include/unistd.h (__exit_thread): Remove declaration.
5430         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5431         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5432         * csu/libc-start.c: Include <exit-thread.h>.
5433         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5434         * nptl/pthread_create.c: Include <exit-thread.h>.
5435         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5436         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5437         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5438         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5439         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5440         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5441         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5442         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5443         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5444         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5445         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5446         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5447         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5448         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5449         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5450         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5451         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5452
5453 2014-05-13  Andreas Schwab  <schwab@suse.de>
5454
5455         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5456
5457 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5458
5459         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5460         (__ASSUME_UTIMES): Do not condition on kernel version.
5461         (__ASSUME_PSELECT): Define unconditionally.
5462         (__ASSUME_PPOLL): Likewise.
5463         (__ASSUME_ATFCTS): Likewise.
5464         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5465         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5466         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5467         (__ASSUME_UTIMENSAT): Define unconditionally.
5468         (__ASSUME_PRIVATE_FUTEX): Likewise.
5469         (__ASSUME_FALLOCATE): Likewise.
5470         (__ASSUME_O_CLOEXEC): Likewise.
5471         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5472         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5473         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5474         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5475         (__ASSUME_IN_NONBLOCK): Likewise.
5476         (__ASSUME_PIPE2): Likewise.
5477         (__ASSUME_EVENTFD2): Likewise.
5478         (__ASSUME_SIGNALFD4): Likewise.
5479         (__ASSUME_DUP3): Likewise.
5480         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5481         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5482         (__ASSUME_AT_RANDOM): Likewise.
5483         (__ASSUME_PREADV): Likewise.
5484         (__ASSUME_PWRITEV): Likewise.
5485         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5486         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5487         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5488         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5489         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5490         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5491         (__ASSUME_O_CLOEXEC): Define unconditionally.
5492         (__ASSUME_PSELECT): Do not undefine conditionally.
5493         (__ASSUME_PPOLL): Likewise.
5494         (__ASSUME_ATFCTS): Likewise.
5495         (__ASSUME_SET_ROBUST_LIST): Likewise.
5496         (__ASSUME_UTIMENSAT): Likewise.
5497         (__ASSUME_FDATASYNC): Define unconditionally.
5498         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5499         (__ASSUME_SIGFRAME_V2): Likewise.
5500         )__ASSUME_EVENTFD2): Likewise.
5501         (__ASSUME_SIGNALFD4): Likewise.
5502         (__ASSUME_PSELECT): Do not undefine conditionally.
5503         (__ASSUME_PPOLL): Likewise.
5504         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5505         (__ASSUME_PSELECT): Define unconditionally.
5506         (__ASSUME_PPOLL): Likewise.
5507         (__ASSUME_O_CLOEXEC): Likewise.
5508         (__ASSUME_SOCK_CLOEXEC): Likewise.
5509         (__ASSUME_IN_NONBLOCK): Likewise.
5510         (__ASSUME_PIPE2): Likewise.
5511         (__ASSUME_EVENTFD2): Likewise.
5512         (__ASSUME_SIGNALFD4): Likewise.
5513         (__ASSUME_DUP3): Likewise.
5514         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5515         (__ASSUME_O_CLOEXEC): Likewise.
5516         (__ASSUME_SOCK_CLOEXEC): Likewise.
5517         (__ASSUME_IN_NONBLOCK): Likewise.
5518         (__ASSUME_PIPE2): Likewise.
5519         (__ASSUME_EVENTFD2): Likewise.
5520         (__ASSUME_SIGNALFD4): Likewise.
5521         (__ASSUME_DUP3): Likewise.
5522         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5523         (__ASSUME_EVENTFD2): Likewise.
5524         (__ASSUME_SIGNALFD4): Likewise.
5525         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5526
5527 2014-05-12  Andreas Schwab  <schwab@suse.de>
5528
5529         [BZ #16932]
5530         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5531         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5532         than maximum RPC packet size.
5533         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5534         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5535         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5536         (_nss_nis_getservbyport_r): Likewise.
5537
5538 2014-05-12  Will Newton  <will.newton@linaro.org>
5539
5540         * malloc/Makefile (tests): Add tst-mallopt.
5541         * malloc/tst-mallopt.c: New file.
5542
5543 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5544
5545         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5546         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5547
5548 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5549
5550         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5551         (tst-tlsmod6.so): Likewise.
5552
5553 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5554
5555         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5556
5557 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5558
5559         [BZ #16064]
5560         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5561         and <dl-procinfo.h>.
5562         (__fegetenv): Save SSE state in envp->__eip if supported.
5563         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5564         envp->__eip if supported.
5565         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5566         and <dl-procinfo.h>.
5567         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5568         __data_offset and __data_selector in environment to 0.  Set SSE
5569         state if supported.
5570         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5571         test-fenv-sse.
5572         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5573         -mfpmath=sse.
5574         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5575
5576 2014-05-09  Will Newton  <will.newton@linaro.org>
5577
5578         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5579         and libc_relro_required for ARM.
5580         * sysdeps/arm/preconfigure: Regenerate.
5581
5582 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5583             Stefan Liebler  <stli@linux.vnet.ibm.com>
5584
5585         * config.make.in (enable-lock-elision): New Makefile variable.
5586         * configure.ac: Likewise.
5587         * configure: Regenerate.
5588         * sysdeps/s390/configure.ac:
5589         Add check for gcc transactions support.
5590         * sysdeps/s390/configure: Regenerate.
5591         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5592         Build elision files if enabled.
5593         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5594         Add lock elision support for s390.
5595         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5596         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5597         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5598         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5599         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5600         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5601         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5602         Likewise.
5603         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5604         Likewise.
5605         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5606         Likewise.
5607         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5608         Likewise.
5609         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5610         (__lll_timedlock_elision, __lll_lock_elision)
5611         (__lll_unlock_elision, __lll_trylock_elision)
5612         (lll_timedlock_elision, lll_lock_elision)
5613         (lll_unlock_elision, lll_trylock_elision): Add.
5614         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5615         (pthread_mutex_t): Add lock elision support for s390.
5616
5617 2014-05-14  Wilco  <wdijkstr@arm.com>
5618
5619         * sysdeps/arm/fclrexcpt.c: Cleanup.
5620         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5621         * sysdeps/arm/feenablxcpt.c: Cleanup.
5622         * sysdeps/arm/fegetenv.c: Cleanup.
5623         * sysdeps/arm/fegetexcept.c: Cleanup.
5624         * sysdeps/arm/fegetround.c: Cleanup.
5625         * sysdeps/arm/feholdexcpt.c: Cleanup.
5626         * sysdeps/arm/fesetenv.c: Cleanup.
5627         * sysdeps/arm/fesetround.c: Cleanup.
5628         * sysdeps/arm/feupdateenv.c: Cleanup.
5629         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5630         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5631         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5632         * sysdeps/arm/ftestexcept.c: Cleanup.
5633         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5634         * sysdeps/arm/setfpucw.c: Cleanup.
5635
5636 2014-05-09  Will Newton  <will.newton@linaro.org>
5637
5638         * sysdeps/arm/armv7/strcmp.S: New file.
5639         * NEWS: Mention addition of ARMv7 optimized strcmp.
5640
5641 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5642
5643         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5644         look for %.ac rather than %.in.
5645
5646         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5647         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5648         * sysdeps/mach/hurd/configure: Regenerated.
5649         * sysdeps/unix/sysv/linux/configure: Regenerated.
5650
5651         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5652
5653 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5654
5655         [BZ# 16922]
5656         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5657         (LONG_SUB): Ditto.
5658         (PTR_SUB): Ditto.
5659
5660 2014-05-07  Andreas Schwab  <schwab@suse.de>
5661
5662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5663         when skipping over non-matching result from nscd.
5664
5665 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5666
5667         [BZ #16876]
5668         * nptl/sockperf.c (client): Check socket return value.
5669
5670         [BZ #16877]
5671         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5672         nscd security class.
5673
5674 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5675
5676         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5677         * sysdeps/arm/unwind.h: ... here.
5678
5679 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5680
5681         [BZ# 16916]
5682         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5683         Define.
5684
5685 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5686
5687         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5688         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5689         multiarch strncpy for PPC64.
5690         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5691         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5693         multiarch optimizations.
5694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5695         (__libc_ifunc_impl_list): Likewise.
5696         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5697         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5698         multiarch stpncpy for PPC64.
5699         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5700         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5701
5702 2014-05-06  Andreas Schwab  <schwab@suse.de>
5703
5704         [BZ #16912]
5705         * gmon/mcount.c (_MCOUNT_DECL): Use
5706         atomic_compare_and_exchange_bool_acq instead of
5707         catomic_compare_and_exchange_bool_acq.
5708
5709 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5710
5711         * elf/Makefile (others, install-bin): Remove pldd.
5712         (pldd-modules): Variable removed.
5713         ($(objpfx)pldd): Target removed.
5714         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5715         (others, install-bin): Append pldd here.
5716         ($(objpfx)pldd): New target.
5717
5718         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5719         to 0, so the first #if test emitted later doesn't see it undefined.
5720         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5721         * sysdeps/gnu/errlist.c: Regenerated.
5722
5723 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5724
5725         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5726         [libc_hidden_builtin_def]: Define to empty value.
5727         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5728         [libc_hidden_builtin_def]: Likewise.
5729         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5730         [libc_hidden_builtin_def]: Likewise.
5731         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5732         [libc_hidden_builtin_def]: Likewise.
5733         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5734         __redirect_memcpy and define ifunc as default hidden symbol.
5735         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5736         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5737
5738 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5739
5740         * locale/iso-4217.def: Reintroduce XDR currency.
5741
5742 2014-05-04  Allan McRae  <allan@archlinux.org>
5743
5744         * po/eo.po: Update Esperanto translation from translation project.
5745
5746 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5747
5748         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5749         and FEATURE_INDEX_MAX to 1.
5750         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5751
5752 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5753
5754         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5755         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5756         * iconvdata/big5.c (ONE_DIRECTION): Define.
5757         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5758         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5759         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5760         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5761         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5762         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5763         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5764         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5765         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5766         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5767         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5768         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5769         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5770         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5771         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5772         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5773         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5774         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5775         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5776         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5777         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5778         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5779         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5780         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5781         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5782         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5783         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5784         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5785         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5786         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5787         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5788         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5789         * iconvdata/johab.c (ONE_DIRECTION): Define.
5790         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5791         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5792         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5793         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5794         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5795         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5796         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5797         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5798         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5799         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5800
5801 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5802
5803         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5804         (_IO_JUMPS_OFFSET): Define to 0.
5805
5806         * nptl/sysdeps/pthread/bits/libc-lock.h
5807         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5808         (__libc_lock_define_initialized_recursive): Always define using
5809         initializer.  Modern compilers treat uninitialized (implicit zero) and
5810         explicit zero initializers the same (i.e. put the datum in bss).
5811
5812 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5813
5814         * nscd/nscd-client.h: Include <string.h>.
5815
5816 2014-05-01  David S. Miller  <davem@davemloft.net>
5817
5818         [BZ #16885]
5819         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5820         multiple zero bytes exist at the end of a string.
5821         Reported by Aurelien Jarno <aurelien@aurel32.net>
5822
5823         * string/test-strcmp.c (check): Add explicit test for situations where
5824         there are multiple zero bytes after the first.
5825
5826 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5827
5828         [BZ #16890]
5829         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5830         when compiling wprintf.
5831         * stdio-common/tstdiomisc.c (t3): New function.
5832         (main): Call it.
5833
5834 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5835
5836         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5837         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5838         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5839         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5840
5841 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5842
5843         * stdlib/longlong.h: Updated from GCC.
5844
5845 2014-05-01  Will Newton  <will.newton@linaro.org>
5846             Bernard Ogden  <bernie.ogden@linaro.org>
5847
5848         * NEWS: Update fixed bug list.
5849
5850         [BZ #15119]
5851         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5852
5853 2014-04-30  David S. Miller  <davem@davemloft.net>
5854
5855         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5856         (libc_feholdexcept_setround_sparc_ctx): New function.
5857         (libc_fesetenv_sparc_ctx): Likewise.
5858         (libc_feupdateenv_sparc_ctx): Likewise.
5859         (libc_feholdsetround_sparc_ctx): Likewise.
5860         (libc_feholdexcept_setround_ctx): Define.
5861         (libc_feholdexcept_setroundf_ctx): Likewise.
5862         (libc_feholdexcept_setroundl_ctx): Likewise.
5863         (libc_fesetenv_ctx): Likewise.
5864         (libc_fesetenvf_ctx): Likewise.
5865         (libc_fesetenvl_ctx): Likewise.
5866         (libc_feupdateenv_ctx): Likewise.
5867         (libc_feupdateenvf_ctx): Likewise.
5868         (libc_feupdateenvl_ctx): Likewise.
5869         (libc_feresetround_ctx): Likewise.
5870         (libc_feresetroundf_ctx): Likewise.
5871         (libc_feresetroundl_ctx): Likewise.
5872         (libc_feholdsetround_ctx): Likewise.
5873         (libc_feholdsetroundf_ctx): Likewise.
5874         (libc_feholdsetroundl_ctx): Likewise.
5875
5876         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5877         with __USE_GNU instead of XOPEN cpp guards.
5878
5879         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5880         0.
5881
5882         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5883         with XOPEN cpp guards.
5884
5885 2014-04-30  Julian Brown  <julian@codesourcery.com>
5886
5887         [BZ #16888]
5888         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5889         handling.
5890
5891 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5892
5893         [BZ #9894]
5894         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5895         Change to 2.6.32.
5896         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5897         * sysdeps/unix/sysv/linux/configure: Regenerated.
5898         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5899         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5900         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5901         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5902         * README: Update reference to required Linux kernel version.
5903         * manual/install.texi (Linux): Update reference to required Linux
5904         kernel headers version.
5905         * INSTALL: Regenerated.
5906
5907         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5908         header inclusion.
5909         [POSIX] (limits.h): Likewise.
5910         [POSIX] (math.h): Likewise.
5911         [POSIX] (sys/wait.h): Likewise.
5912         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5913         function.
5914         [POSIX] (stddef.h): Do not allow header inclusion.
5915
5916 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5917
5918         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5919
5920 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5921
5922         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5923         Return immediately after lll_futex_wake.
5924
5925 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5926
5927         [BZ #16791]
5928         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5929         structure.
5930         (datahead_init_pos): Call datahead_init_common early.
5931         (datahead_init_neg): Likewise.
5932
5933         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5934         datahead_init_neg): New functions.
5935         * nscd/aicache.c (addhstaiX): Use them.
5936         * nscd/grpcache.c (cache_addgr): Likewise.
5937         * nscd/hstcache.c (cache_addhst): Likewise.
5938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5939         * nscd/netgroupcache.c (do_notfound): Likewise.
5940         (addgetnetgrentX): Likewise.
5941         (addinnetgrX): Likewise.
5942         * nscd/pwdcache.c (cache_addpw): Likewise.
5943         * nscd/servicescache.c (cache_addserv): Likewise.
5944
5945 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5946             Atsushi Onoe  <atsushi@onoe.org>
5947
5948         [BZ #14308]
5949         [BZ #12994]
5950         [BZ #13651]
5951         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5952         one response is valid.
5953         * resolv/res_send.c (send_dg): Check for validity of other
5954         response if the current response is a referral.
5955
5956 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5957
5958         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5959
5960 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5961
5962         [BZ #16823]
5963         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5964         Always divide by positive zero when computing -Inf result.
5965         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5966         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5967
5968 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5969
5970         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5971         FPSCR if value do not change.
5972         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5973         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5974         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5975         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5976         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5977         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5978         function.
5979
5980 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5981
5982         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5983         * sysdeps/unix/sysv/linux/hppa: Move directory from
5984         ports/systeps/unix/sysv/linux/hppa.
5985         * README: Update listing for hppa-*-linux-gnu.
5986
5987 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5988
5989         [BZ #16754]
5990         * manual/stdio.texi (Hook functions): Fix types of stream hook
5991         functions.
5992         [BZ #16854]
5993         * socket/sys/socket.h: Fix typo in comment.
5994
5995 2014-04-28  Wilco  <wdijkstr@arm.com>
5996
5997         * sysdeps/arm/fenv_private.h: New file.
5998         * sysdeps/arm/math_private.h: New file.
5999         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6000
6001 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6002
6003         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6004         with __int128_t.
6005         (La_x86_64_retval): Likewise.
6006
6007 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6008
6009         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6010         fpsr if value didn't change.
6011         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6012         to fpcr if value didn't change.
6013         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6014         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6015         fpsr or fpcr if value didn't change.
6016         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6017         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6018         fpcr if value didn't change.
6019         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6020         to fpsr if value didn't change.
6021
6022 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6023
6024         * nptl/tst-sem3.c: Use test-skeleton.c
6025         (main): Rename to do_test.  Use return instead of
6026         exit.
6027         * nptl/tst-sem4.c: Use test-skeleton.c
6028         (main): Rename to do_test.
6029
6030 2014-04-22  David S. Miller  <davem@davemloft.net>
6031
6032         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6033         (struct sigaction): New struct member __glibc_reserved0, change
6034         type of sa_flags to int.
6035
6036 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6037
6038         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6039         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6040
6041 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6042
6043         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6044         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6045
6046 2014-04-22  Will Newton  <will.newton@linaro.org>
6047             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6048
6049         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6050         (__longjmp): Add longjmp and longjmp_target SystemTap
6051         probes.
6052         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6053         (__sigsetjmp): Add setjmp SystemTap probe.
6054
6055 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6056
6057         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6058         match manual order.
6059
6060 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6061
6062         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6063
6064         * sysdeps/powerpc/fpu/fenv_private.h
6065         (libc_feholdexcept_setroundl_ctx): Define to
6066         libc_feholdexcept_setround_ppc_ctx.
6067         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6068         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6069         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6070         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6071
6072 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6073
6074         * sysdeps/aarch64/math-tests.h: New file.
6075
6076 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6077
6078         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6079         New.
6080         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6081         Check and set bit_AVX2_Usable.
6082         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6083         macro.
6084         (bit_AVX2): Likewise.
6085         (index_AVX2_Usable): Likewise.
6086         (CPUID_AVX2): Likewise.
6087         (HAS_AVX2): Likewise.
6088
6089 2014-04-17  Will Newton  <will.newton@linaro.org>
6090
6091         * manual/setjmp.texi (System V contexts): Add note that
6092         calling setcontext on a context created by a call to a
6093         signal handler is undefined.  Update text to note that
6094         setcontext from a signal handler is possible but not
6095         recommended.
6096
6097         [BZ #16629]
6098         * stdlib/tst-setcontext.c: Include signal.h.
6099         (main): Check that the signal stack before and
6100         after swapcontext is the same.
6101
6102         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6103         Re-implement to restore registers in user code and avoid
6104         rt_sigreturn system call.
6105
6106 2014-04-17  Wilco  <wdijkstr@arm.com>
6107
6108         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6109         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6110         * math/test-fenv.c: Skip exception trap tests on targets which only
6111         support non-stop mode.
6112
6113 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6114             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6115
6116         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6117         (libc_feholdsetround_aarch64_ctx)
6118         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6119         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6120         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6121         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6122         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6123         (libc_feresetround_noexl_ctx): Define.
6124
6125 2014-04-16  Richard Henderson  <rth@redhat.com>
6126
6127         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6128
6129         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6130         unwind tables.
6131
6132         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6133         const from the non-libc, non-ldso copy.
6134
6135         * sysdeps/alpha/libm-test-ulps: Regenerate.
6136
6137 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6138             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6139
6140         * sysdeps/aarch64/fpu/math_private.h: New file.
6141
6142 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6143
6144         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6145
6146 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6147
6148         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6149         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6150         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6151         Intel MPX bound registers before _dl_profile_fixup.
6152         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6153         registers after _dl_profile_fixup.  Save and restore bound
6154         registers bnd0/bnd1 when calling _dl_call_pltexit.
6155         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6156         (LR_BND_OFFSET): Likewise.
6157         (LRV_BND0_OFFSET): Likewise.
6158         (LRV_BND1_OFFSET): Likewise.
6159
6160 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6161
6162         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6163         to...
6164         * sysdeps/mach/hurd/i386/tls.h: ... here.
6165         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6166         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6167         fields.
6168
6169 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6170
6171         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6172
6173 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6174
6175         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6176
6177 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6178
6179         [BZ #14770]
6180         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6181         * sysdeps/s390/configure: Regenerate.
6182
6183         [BZ #16824]
6184         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6185         Set round-to-nearest internally to reduce error accumulation.
6186
6187 2014-04-16  Alan Modra  <amodra@gmail.com>
6188
6189         [BZ #16740]
6190         [BZ #16619]
6191         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6192         * math/libm-test.inc (frexp_test_data): Add tests.
6193         * NEWS: Update fixed bug list.
6194
6195 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6196
6197         * benchtests/Makefile: Depend on libraries in build directory.
6198         (bench-math): Separate out math tests.
6199         (bench-pthread): Separate out pthread tests.
6200         (bench): Include math and pthread tests.
6201
6202 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6203
6204         [BZ #16831]
6205         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6206         _dl_debug_initialize.
6207
6208         * configure.ac: Remove SELinux header check.
6209         * configure: Regenerate.
6210         * nscd/selinux.c (perms): Array of const char* to permission names.
6211         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6212         default policy. Call string_to_security_class and string_to_av_perm to
6213         translate strings. Enforce default policy and call avs_has_perm with
6214         results of translated strings.
6215
6216 2014-04-13  David S. Miller  <davem@davemloft.net>
6217
6218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6219
6220 2014-04-12  Allan McRae  <allan@archlinux.org>
6221
6222         [BZ #16838]
6223         * manual/string.texi (Collation Functions): Fix qsort argument
6224         order in example.
6225         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6226
6227 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6228
6229         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6230         Make the test a no-op if there are no exceptions defined.
6231
6232 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6233
6234         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6235         enable-hardcoded-path-in-tests
6236
6237 2014-04-11  Will Newton  <will.newton@linaro.org>
6238
6239         * benchtests/Makefile (extra-objs): Add json-lib.o.
6240         (bench-func): Tidy up JSON output.
6241         * benchtests/bench-skeleton.c: Include json-lib.h.
6242         (main): Use JSON library functions to do output of
6243         benchmark results.
6244         * benchtests/bench-timing-type.c (main): Output the
6245         timing type simply, leaving formatting to the user.
6246         * benchtests/json-lib.c: New file.
6247         * benchtests/json-lib.h: Likewise.
6248
6249 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6250
6251         [BZ #15215]
6252         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6253         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6254         memory barriers.  Add comments.
6255         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6256         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6257         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6258         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6259         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6260         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6261
6262 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6263
6264         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6265         * sysdeps/s390/s390-64/configure.ac: ... this ...
6266         * sysdeps/s390/configure.ac: ... to here.
6267         * sysdeps/s390/s390-32/configure: Delete file.
6268         * sysdeps/s390/s390-64/configure: Delete file.
6269         * sysdeps/s390/configure: Regenerate.
6270
6271 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6272
6273         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6274
6275 2014-04-11  Will Newton  <will.newton@linaro.org>
6276
6277         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6278         to zero if it is not defined elsewhere.  (mtrim): Test
6279         the value of MALLOC_DEBUG with #if rather than #ifdef.
6280
6281 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6282
6283         * benchtests/pthread_once-inputs: New file.
6284         * benchtests/pthread_once-source.c: New file.
6285         * benchtests/README: Update documentation.
6286
6287 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6288             H.J. Lu  <hongjiu.lu@intel.com>
6289
6290         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6291         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6292         * sysdeps/x86_64/configure: Regenerated.
6293         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6294         macro.
6295         (REGISTER_SAVE_RAX): Likewise.
6296         (REGISTER_SAVE_RCX): Likewise.
6297         (REGISTER_SAVE_RDX): Likewise.
6298         (REGISTER_SAVE_RSI): Likewise.
6299         (REGISTER_SAVE_RDI): Likewise.
6300         (REGISTER_SAVE_R8): Likewise.
6301         (REGISTER_SAVE_R9): Likewise.
6302         (REGISTER_SAVE_BND0): Likewise.
6303         (REGISTER_SAVE_BND1): Likewise.
6304         (REGISTER_SAVE_BND2): Likewise.
6305         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6306         bound registers when calling _dl_fixup.
6307
6308 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6309
6310         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6311         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6312         of its definition.
6313         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6314         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6315         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6316         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6317         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6318         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6319         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6320
6321 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6322
6323         [BZ #15514]
6324         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6325         pathconf(_PC_NAME_MAX).
6326
6327 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6328
6329         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6330         Remove macro usage.
6331         (__PTHREAD_SPINS): Move definition to ...
6332         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6333         (__PTHREAD_SPINS): ... here.
6334         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6335         (__PTHREAD_SPIN): Likewise.
6336         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6337         (__PTHREAD_SPIN): Likewise.
6338         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6339         (__PTHREAD_SPIN): Likewise.
6340         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6341         (__PTHREAD_SPIN): Likewise.
6342         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6343         (__PTHREAD_SPIN): Likewise.
6344         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6345         (__PTHREAD_SPIN): Likewise.
6346         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6347         (__PTHREAD_SPIN): Likewise.
6348         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6349         (__PTHREAD_SPIN): Likewise.
6350         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6351         (__PTHREAD_SPIN): Likewise.
6352         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6353         (__PTHREAD_SPIN): Likewise.
6354         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6355         (__PTHREAD_SPIN): Likewise.
6356         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6357         (__PTHREAD_SPIN): Likewise.
6358
6359         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6360         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6361         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6362         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6363         imply folder.
6364         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6365         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6366         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6367         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6368         correct imply path.
6369         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6370         strlen symbol for non multi-arch builds.
6371         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6372         missing hidden_def and weak_alias.
6373
6374 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6375
6376         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6377
6378 2014-04-07  Will Newton  <will.newton@linaro.org>
6379
6380         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6381         and contents.  [!_LIBC] Remove #ifndef and contents.
6382         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6383         * string/memccpy.c (__memccpy): Use ANSI prototype.
6384         * string/memfrob.c (memfrob): Likewise.
6385         * string/strcoll.c (STRCOLL): Likewise.
6386         * string/strlen.c (strlen): Likewise.
6387         * string/strtok.c (STRTOK): Likewise.
6388         * string/strcat.c: Remove unused #include of memcopy.h.
6389         (strcat): Use ANSI prototype.
6390         * string/strchr.c: Remove unused #include of memcopy.h.
6391         (strchr): Use ANSI prototype.
6392         * string/strcmp.c: Remove unused #include of memcopy.h.
6393         (strcmp): Use ANSI prototype.
6394         * string/strcpy.c: Remove unused #include of memcopy.h.
6395         (strcpy): Use ANSI prototype.
6396
6397 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6398
6399         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6400         * config.make.in (config-extra-cppflags): Set it from
6401         libc_extra_cppflags.
6402         * configure.ac (libc_extra_cflags): Make it accumulate over
6403         configure fragments.
6404         (libc_extra_cppflags): New flag.
6405         * configure. Regenerate.
6406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6407         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6408         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6410
6411         [BZ #16815]
6412         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6413         result for FE_DOWNWARD rounding mode.
6414         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6415         Likewise.
6416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6417
6418 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6419
6420         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6421         in function argument name.
6422
6423 2014-04-03  David Svoboda  <svoboda@cert.org>
6424
6425         [BZ #5666]
6426         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6427         explicitly.
6428
6429 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6430
6431         * elf/dl-unmap-segments.h: New file.
6432         * sysdeps/generic/ldsodefs.h
6433         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6434         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6435         * elf/dl-fptr.c: Likewise.
6436         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6437         * sysdeps/aarch64/tlsdesc.c: Likewise.
6438         * sysdeps/arm/tlsdesc.c: Likewise.
6439         * sysdeps/i386/tlsdesc.c: Likewise.
6440         * sysdeps/tile/dl-runtime.c: Likewise.
6441         * sysdeps/x86_64/tlsdesc.c: Likewise.
6442         * elf/dl-load.h: New file.
6443         * elf/dl-load.c: Include it.
6444         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6445         Macros moved to dl-load.h.
6446         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6447         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6448         Use _dl_unmap_segments in place of __munmap.
6449         Break out segment-mapping loop into ...
6450         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6451
6452 2014-04-03  Will Newton  <will.newton@linaro.org>
6453
6454         * elf/dl-lookup.c (do_lookup_x): Remove comment
6455         referring to nested function and move variable
6456         declarations down to before first use.
6457
6458 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6459
6460         [BZ #16799]
6461         [BZ #16800]
6462         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6463         with 0 numerator.
6464         * math/s_catanf.c (__catanf): Likewise.
6465         * math/s_catanh.c (__catanh): Likewise.
6466         * math/s_catanhf.c (__catanhf): Likewise.
6467         * math/s_catanhl.c (__catanhl): Likewise.
6468         * math/s_catanl.c (__catanl): Likewise.
6469         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6470         by positive zero when computing -Inf result.
6471         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6472         (catanh_test): Likewise.
6473         * sysdeps/i386/fpu/libm-test-ulps: Update.
6474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6475
6476         [BZ #16789]
6477         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6478         instead of using underflowing value in computing result.
6479         * math/s_clog10.c (__clog10): Likewise.
6480         * math/s_clog10f.c (__clog10f): Likewise.
6481         * math/s_clog10l.c (__clog10l): Likewise.
6482         * math/s_clogf.c (__clogf): Likewise.
6483         * math/s_clogl.c (__clogl): Likewise.
6484         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6485         (clog10_test): Likewise.
6486         * sysdeps/i386/fpu/libm-test-ulps: Update.
6487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488
6489 2014-04-02  Alan Modra  <amodra@gmail.com>
6490
6491         [BZ #16739]
6492         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6493         output when value is near a power of two.  Use int64_t for lx and
6494         remove casts.  Use decimal rather than hex exponent constants.
6495         Don't use long double multiplication when double will suffice.
6496         * math/libm-test.inc (nextafter_test_data): Add tests.
6497         * NEWS: Add 16739 and 16786 to bug list.
6498
6499         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6500
6501         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6502
6503 2014-04-01  Will Newton  <will.newton@linaro.org>
6504
6505         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6506         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6507
6508 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6509
6510         [BZ #13347]
6511         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6512         * nptl/tst-setuid2.c: New file.
6513         * nptl/Makefile (xtests): Add tst-setuid2.
6514
6515 2014-04-01  Alan Modra  <amodra@gmail.com>
6516
6517         [BZ #16786]
6518         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6519
6520 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6521
6522         [BZ #6803]
6523         [BZ #6804]
6524         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6525         set errno as appropriate.
6526         * math/w_scalbf.c (__scalbf): Likewise.
6527         * math/w_scalbl.c (__scalbl): Likewise.
6528         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6529         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6530         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6531         Add more NaN tests.
6532
6533         [BZ #16349]
6534         * math/w_atan2.c: Include <errno.h>.
6535         (__atan2): Set errno for result underflowing to zero.
6536         * math/w_atan2f.c: Include <errno.h>.
6537         (__atan2f): Set errno for result underflowing to zero.
6538         * math/w_atan2l.c: Include <errno.h>.
6539         (__atan2l): Set errno for result underflowing to zero.
6540         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6541         tests.
6542         * math/auto-libm-test-out: Regenerated.
6543
6544 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6545
6546         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6547         Encode instruction correctly in little endian.
6548         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6549         Likewise.
6550         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6551         Likewise.
6552         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6553         Likewise.
6554         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6555         Likewise.
6556
6557 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6558
6559         [BZ #9894]
6560         * sysdeps/unix/sysv/linux/kernel-features.h
6561         [__sparc__ && !__arch64__ && !__sparc_v9__]
6562         (__ASSUME_SET_ROBUST_LIST): Do not define.
6563         [__sparc__ && !__arch64__ && !__sparc_v9__]
6564         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6565         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6566         Likewise.
6567         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6568         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6569         (__ASSUME_REQUEUE_PI): Likewise.
6570         (__ASSUME_SET_ROBUST_LIST): Likewise.
6571         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6572         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6573         Undefine.
6574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6575         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6576         Likewise.
6577         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6578         Likewise.
6579         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6580         Likewise.
6581         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6582         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6583         Undefine.
6584         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6585         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6586         Likewise.
6587
6588         [BZ #16648]
6589         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6590         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6591         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6592
6593 2014-03-31  Will Newton  <will.newton@linaro.org>
6594
6595         * benchtests/Makefile (bench): Add ffs and ffsll to list
6596         of tests.
6597         * benchtests/ffs-inputs: New file.
6598         * benchtests/ffsll-inputs: Likewise.
6599
6600 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6601
6602         [BZ #16770]
6603         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6604         too large before casting to int.
6605         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6606         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6607         * math/libm-test.inc (scalb_test_data): Add more tests.
6608
6609 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6610
6611         * benchtests/Makefile (DETAILED_OPT): New make option.
6612         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6613         set.
6614         * benchtests/bench-skeleton.c: Include stdbool.h.
6615         (main): Store and print timings per input.
6616         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6617         member to each argument value.
6618         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6619         (_print_arg_data): Initialize per-input timing to 0.
6620
6621         * benchtests/Makefile (timing-type): New binary.
6622         (bench-clean): Also remove bench-timing-type.
6623         (bench): New target for timing-type.
6624         (bench-func): Print output in JSON format.
6625         * benchtests/bench-skeleton.c (main): Print output in JSON
6626         format.
6627         * benchtests/bench-timing-type.c: New file.
6628         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6629         (TIMING_PRINT_STATS): Remove.
6630         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6631         name separately.
6632
6633         * benchtests/bench-modf.c: Remove.
6634         * benchtests/modf-inputs: New inputs file.
6635
6636 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6637
6638         [BZ #16362]
6639         * math/s_clog10.c (M_PI_LOG10E): New macro.
6640         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6641         imaginary parts are 0.
6642         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6643         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6644         imaginary parts are 0.
6645         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6646         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6647         imaginary parts are 0.
6648         * math/libm-test.inc (clog10_test_data): Update expected results
6649         for when real and imaginary parts are 0.
6650
6651 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6652
6653         * elf/dl-load.c: Finish conversion of __builtin_expect into
6654         __glibc_{un}likely.
6655
6656 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6657
6658         [BZ #16348]
6659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6660         1+x for argument with exponent below -67.
6661         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6662         Likewise.
6663         * math/auto-libm-test-in: Add more tests of exp.
6664         * math/auto-libm-test-out: Regenerated.
6665
6666 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6667
6668         [BZ #16759]
6669         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6670         (nscd_getnetgrent): Use it.
6671
6672         [BZ #16760]
6673         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6674         of stpcpy.
6675
6676 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6677
6678         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6679         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6680         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6681         (lll_robust_unlock): Remove out of line section. Use cfi
6682         intrinsics.
6683         (LLL_STUB_UNWIND_INFO*): Remove.
6684         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6685         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6686         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6687         (lll_robust_unlock): Remove out of line section. Use cfi
6688         intrinsics.
6689         (LLL_STUB_UNWIND_INFO*): Remove.
6690
6691 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6692
6693         [BZ #16758]
6694         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6695         blank values.
6696
6697 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6698
6699         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6700
6701 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6702
6703         [BZ #16198]
6704         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6705         fnstenv.
6706         * math/test-fenv-preserve.c: New file.
6707         * math/Makefile (tests): Add test-fenv-preserve.
6708
6709 2014-03-26  Will Newton <will.newton@linaro.org>
6710
6711         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6712
6713 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6714
6715         * scripts/versionlist.awk: Partition the version sets and emit all
6716         GLIBC_* (sorted) before all others (sorted).
6717
6718 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6719
6720         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6721         GLIBC_2.2.5 version.
6722
6723 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6724
6725         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6726         calls.
6727
6728         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6729         previous change.
6730
6731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6732
6733 2014-03-25  Andreas Schwab  <schwab@suse.de>
6734
6735         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6736         label to be used after in6ailist is initialized.
6737
6738 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6739
6740         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6741         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6742
6743 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6744
6745         [BZ #16357]
6746         [BZ #16599]
6747         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6748         min_plus_half.
6749         (fp_formats): Update initializers.
6750         (init_fp_formats): Initialize new field.
6751         (output_for_one_input_case): Allow underflow for results up to
6752         min_plus_half.
6753         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6754         * math/auto-libm-test-in: Don't mark some underflows from asin and
6755         atanh as spurious.
6756         * math/auto-libm-test-out: Regenerated.
6757         * sysdeps/i386/fpu/libm-test-ulps: Update.
6758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6759
6760 2014-03-25  Andreas Schwab  <schwab@suse.de>
6761
6762         * libio/Makefile (tst-ftell-partial-wide-ENV)
6763         (tst-ftell-active-handler-ENV): Define.
6764
6765 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6766
6767         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6768
6769 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6770
6771         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6772
6773 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6774
6775         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6776         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6777         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6778
6779 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6780
6781         [BZ #16634]
6782         * elf/dl-load.c (open_verify): Add mode parameter.
6783         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6784         (open_path): Change from boolean 'secure' to complete flag 'mode'
6785         (_dl_map_object): Adjust.
6786         * elf/Makefile (tests): Add tst-dlopen-aout.
6787         * elf/tst-dlopen-aout.c: New test.
6788
6789 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6790
6791         [BZ #16714]
6792         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6793         (struct stat): Rename member pad0 to __glibc_reserved0.
6794
6795         [BZ #16712]
6796         * sysdeps/s390/s390-32/bits/wordsize.h
6797         (__WORDSIZE32_SIZE_ULONG): New define.
6798         * sysdeps/s390/s390-64/bits/wordsize.h
6799         (__WORDSIZE32_SIZE_ULONG): Likewise.
6800         * sysdeps/generic/stdint.h (SIZE_MAX):
6801         Define as UL if __WORDSIZE32_SIZE_ULONG.
6802
6803         [BZ #16713]
6804         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6805         (__glibc_reserved0): New variable.
6806         (sa_flags): Change type to int.
6807
6808         * posix/Makefile (before-compile): Use += before-compile instead
6809         of a :=.
6810
6811         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6812         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6813
6814 2014-03-20  Andreas Schwab  <schwab@suse.de>
6815
6816         [BZ #16743]
6817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6818         non-matching result from nscd.
6819
6820 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6821
6822         * scripts/bench.py: Moved to ...
6823         * benchtests/scripts/bench.py: ... here.
6824         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6825
6826 2014-03-24  Andreas Schwab  <schwab@suse.de>
6827
6828         [BZ #16002]
6829         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6830         alloca_account and account alloca use for struct in6ailist.
6831
6832 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6833
6834         [BZ #16284]
6835         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6836         rounding mode to recompute results that overflow to infinity or
6837         underflow to zero.
6838         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6839         bug 16284.
6840         * math/auto-libm-test-out: Regenerated.
6841         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6842         (ccosh_test): Likewise.
6843         (csin_test_data): Use plus_oflow.
6844         (csin_test): Use ALL_RM_TEST.
6845         (csinh_test_data): Use plus_oflow.
6846         (csinh_test): Use ALL_RM_TEST.
6847         * sysdeps/i386/fpu/libm-test-ulps: Update.
6848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6849
6850 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6851
6852         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6853         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6854         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6855
6856         [BZ #16731]
6857         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6858         when x - 1 is zero.
6859         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6860         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6861         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6862         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6863         argument is 1.
6864         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6865         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6866         zero.
6867         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6868         * sysdeps/i386/fpu/libm-test-ulps: Update.
6869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6870
6871 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6872
6873         * scripts/bench.pl: Remove file.
6874         * scripts/bench.py: New benchmark script.
6875         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6876         * benchtests/README: Mention python dependency.
6877         * scripts/pylintrc: New file.
6878         * scripts/pylint: New file.
6879
6880         * bits/mathdef.h: Use #ifdef instead of #if.
6881         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6882         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6883         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6884         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6885         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6886         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6887
6888 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6889             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6890
6891         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6893         and strpbrk-ppc64 objects.
6894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6895         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6896         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6897         multiarch strpbrk for POWER7.
6898         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6899         multiarch strpbrk for PPC64.
6900         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6901         ifunc selector.
6902         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6903         strpbrk for POWER7.
6904
6905 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6906
6907         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6908         (atan_test): Likewise.
6909         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6910         (atanh_test): Use ALL_RM_TEST.
6911         (atan2_test_data): Likewise.
6912         (cabs_test): Likewise.
6913         (cacosh_test): Likewise.
6914         (carg_test): Likewise.
6915         (casin_test): Likewise.
6916         (casinh_test): Likewise.
6917         (cbrt_test): Likewise.
6918         (csqrt_test): Likewise.
6919         (erf_test): Likewise.
6920         (erfc_test): Likewise.
6921         (pow10_test): Likewise.
6922         (exp2_test): Likewise.
6923         (hypot_test): Likewise.
6924         (j0_test): Likewise.
6925         (j1_test): Likewise.
6926         (lgamma_test): Likewise.
6927         (gamma_test): Likewise.
6928         (sincos_test): Likewise.
6929         (tanh_test): Likewise.
6930         (y0_test): Likewise.
6931         (y1_test): Likewise.
6932         * sysdeps/i386/fpu/libm-test-ulps: Update.
6933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6934
6935 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6936
6937         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6939         and strcspn-ppc64 objects.
6940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6941         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6942         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6943         multiarch strcspn for POWER7.
6944         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6945         multiarch strcspn for PPC64.
6946         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6947         ifunc selector.
6948         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6949         strcspn for POWER7.
6950
6951 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6952
6953         * math/gen-libm-test.pl (generate_testfile): Expect only function
6954         name as argument to AUTO_TESTS_* and pass results for all rounding
6955         modes to parse_args.
6956         (parse_auto_input): Separate inputs of automatic tests from
6957         outputs before storing in %auto_tests.
6958         * math/libm-test.inc (acos_test_data): Update call to
6959         AUTO_TESTS_f_f.
6960         (acos_test): Use ALL_RM_TEST.
6961         (acos_tonearest_test_data): Remove.
6962         (acos_test_tonearest): Likewise.
6963         (acos_towardzero_test_data): Likewise.
6964         (acos_test_towardzero): Likewise.
6965         (acos_downward_test_data): Likewise.
6966         (acos_test_downward): Likewise.
6967         (acos_upward_test_data): Likewise.
6968         (acos_test_upward): Likewise.
6969         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6970         (asin_test_data): Likewise.
6971         (asin_test): Use ALL_RM_TEST.
6972         (asin_tonearest_test_data): Remove.
6973         (asin_test_tonearest): Likewise.
6974         (asin_towardzero_test_data): Likewise.
6975         (asin_test_towardzero): Likewise.
6976         (asin_downward_test_data): Likewise.
6977         (asin_test_downward): Likewise.
6978         (asin_upward_test_data): Likewise.
6979         (asin_test_upward): Likewise.
6980         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6981         (atan_test_data): Likewise.
6982         (atanh_test_data): Likewise.
6983         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6984         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6985         (carg_test_data): Likewise.
6986         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6987         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6988         (ccosh_test_data): Likewise.
6989         (cexp_test_data): Likewise.
6990         (clog_test_data): Likewise.
6991         (clog10_test_data): Likewise.
6992         (cos_test_data): Update call to AUTO_TESTS_f_f.
6993         (cos_test): Use ALL_RM_TEST.
6994         (cos_tonearest_test_data): Remove.
6995         (cos_test_tonearest): Likewise.
6996         (cos_towardzero_test_data): Likewise.
6997         (cos_test_towardzero): Likewise.
6998         (cos_downward_test_data): Likewise.
6999         (cos_test_downward): Likewise.
7000         (cos_upward_test_data): Likewise.
7001         (cos_test_upward): Likewise.
7002         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7003         (cosh_test): Use ALL_RM_TEST.
7004         (cosh_tonearest_test_data): Remove.
7005         (cosh_test_tonearest): Likewise.
7006         (cosh_towardzero_test_data): Likewise.
7007         (cosh_test_towardzero): Likewise.
7008         (cosh_downward_test_data): Likewise.
7009         (cosh_test_downward): Likewise.
7010         (cosh_upward_test_data): Likewise.
7011         (cosh_test_upward): Likewise.
7012         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7013         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7014         (ctan_test_data): Likewise.
7015         (ctan_test): Use ALL_RM_TEST.
7016         (ctan_tonearest_test_data): Remove.
7017         (ctan_test_tonearest): Likewise.
7018         (ctan_towardzero_test_data): Likewise.
7019         (ctan_test_towardzero): Likewise.
7020         (ctan_downward_test_data): Likewise.
7021         (ctan_test_downward): Likewise.
7022         (ctan_upward_test_data): Likewise.
7023         (ctan_test_upward): Likewise.
7024         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7025         (ctanh_test): Use ALL_RM_TEST.
7026         (ctanh_tonearest_test_data): Remove.
7027         (ctanh_test_tonearest): Likewise.
7028         (ctanh_towardzero_test_data): Likewise.
7029         (ctanh_test_towardzero): Likewise.
7030         (ctanh_downward_test_data): Likewise.
7031         (ctanh_test_downward): Likewise.
7032         (ctanh_upward_test_data): Likewise.
7033         (ctanh_test_upward): Likewise.
7034         (erf_test_data): Update call to AUTO_TESTS_f_f.
7035         (erfc_test_data): Likewise.
7036         (exp_test_data): Likewise.
7037         (exp_test): Use ALL_RM_TEST.
7038         (exp_tonearest_test_data): Remove.
7039         (exp_test_tonearest): Likewise.
7040         (exp_towardzero_test_data): Likewise.
7041         (exp_test_towardzero): Likewise.
7042         (exp_downward_test_data): Likewise.
7043         (exp_test_downward): Likewise.
7044         (exp_upward_test_data): Likewise.
7045         (exp_test_upward): Likewise.
7046         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7047         (exp10_test): Use ALL_RM_TEST.
7048         (exp10_tonearest_test_data): Remove.
7049         (exp10_test_tonearest): Likewise.
7050         (exp10_towardzero_test_data): Likewise.
7051         (exp10_test_towardzero): Likewise.
7052         (exp10_downward_test_data): Likewise.
7053         (exp10_test_downward): Likewise.
7054         (exp10_upward_test_data): Likewise.
7055         (exp10_test_upward): Likewise.
7056         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7057         (expm1_test_data): Likewise.
7058         (expm1_test): Use ALL_RM_TEST.
7059         (expm1_tonearest_test_data): Remove.
7060         (expm1_test_tonearest): Likewise.
7061         (expm1_towardzero_test_data): Likewise.
7062         (expm1_test_towardzero): Likewise.
7063         (expm1_downward_test_data): Likewise.
7064         (expm1_test_downward): Likewise.
7065         (expm1_upward_test_data): Likewise.
7066         (expm1_test_upward): Likewise.
7067         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7068         (fma_test): Use ALL_RM_TEST.
7069         (fma_towardzero_test_data): Remove.
7070         (fma_test_towardzero): Likewise.
7071         (fma_downward_test_data): Likewise.
7072         (fma_test_downward): Likewise.
7073         (fma_upward_test_data): Likewise.
7074         (fma_test_upward): Likewise.
7075         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7076         (j0_test_data): Update call to AUTO_TESTS_f_f.
7077         (j1_test_data): Likewise.
7078         (jn_test_data): Update call to AUTO_TESTS_if_f.
7079         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7080         (log_test_data): Update call to AUTO_TESTS_f_f.
7081         (log10_test_data): Likewise.
7082         (log1p_test_data): Likewise.
7083         (log2_test_data): Likewise.
7084         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7085         (pow_tonearest_test_data): Likewise.
7086         (sin_test_data): Update call to AUTO_TESTS_f_f.
7087         (sin_test): Use ALL_RM_TEST.
7088         (sin_tonearest_test_data): Remove.
7089         (sin_test_tonearest): Likewise.
7090         (sin_towardzero_test_data): Likewise.
7091         (sin_test_towardzero): Likewise.
7092         (sin_downward_test_data): Likewise.
7093         (sin_test_downward): Likewise.
7094         (sin_upward_test_data): Likewise.
7095         (sin_test_upward): Likewise.
7096         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7097         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7098         (sinh_test): Use ALL_RM_TEST.
7099         (sinh_tonearest_test_data): Remove.
7100         (sinh_test_tonearest): Likewise.
7101         (sinh_towardzero_test_data): Likewise.
7102         (sinh_test_towardzero): Likewise.
7103         (sinh_downward_test_data): Likewise.
7104         (sinh_test_downward): Likewise.
7105         (sinh_upward_test_data): Likewise.
7106         (sinh_test_upward): Likewise.
7107         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7108         (sqrt_test): Use ALL_RM_TEST.
7109         (sqrt_tonearest_test_data): Remove.
7110         (sqrt_test_tonearest): Likewise.
7111         (sqrt_towardzero_test_data): Likewise.
7112         (sqrt_test_towardzero): Likewise.
7113         (sqrt_downward_test_data): Likewise.
7114         (sqrt_test_downward): Likewise.
7115         (sqrt_upward_test_data): Likewise.
7116         (sqrt_test_upward): Likewise.
7117         (tan_test_data): Update call to AUTO_TESTS_f_f.
7118         (tan_test): Use ALL_RM_TEST.
7119         (tan_tonearest_test_data): Remove.
7120         (tan_test_tonearest): Likewise.
7121         (tan_towardzero_test_data): Likewise.
7122         (tan_test_towardzero): Likewise.
7123         (tan_downward_test_data): Likewise.
7124         (tan_test_downward): Likewise.
7125         (tan_upward_test_data): Likewise.
7126         (tan_test_upward): Likewise.
7127         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7128         (tgamma_test_data): Likewise.
7129         (y0_test_data): Likewise.
7130         (y1_test_data): Likewise.
7131         (yn_test_data): Update call to AUTO_TESTS_if_f.
7132         (main): Do not call removed functions.
7133
7134 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7135
7136         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7137         (ldexp_test_data): Remove.
7138         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7139         scalbn_test_data.
7140         (scalb_test): Use ALL_RM_TEST.
7141
7142 2014-03-19  Andreas Schwab  <schwab@suse.de>
7143
7144         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7145
7146 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7147
7148         [BZ #16649]
7149         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7150         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7151         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7152         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7153         (__ASSUME_PREADV): Undefine.
7154         (__ASSUME_PWRITEV): Likewise.
7155
7156 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7157
7158         * bits/mman-linux.h: Add comment about non-Linux use.
7159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7160         bits/mman-linux.h resting place.
7161
7162         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7163         * bits/mman-linux.h: ... here.
7164
7165 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7166
7167         * conform/conformtest.pl: Add standard definition when calling C
7168         preprocessor on data files.
7169         (checknamespace): Remove unused variable.
7170
7171 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7172
7173         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7174         minus_oflow, plus_uflow and minus_uflow in expected results.
7175         * math/libm-test.inc (scalbn_test_data): Add more tests of
7176         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7177         minus_uflow.
7178         (scalbn_test): Use ALL_RM_TEST.
7179         (scalbln_test_data): Add more tests of negative arguments.  Use
7180         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7181         (scalbln_test): Use ALL_RM_TEST.
7182
7183 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7184
7185         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7186
7187 2014-03-18  Will Newton  <will.newton@linaro.org>
7188
7189         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7190         inaccurate comment.
7191
7192 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7193
7194         * Makerules [!subdir] (check-abi): Exit with error status if a
7195         test failed.
7196
7197 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7198
7199         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7200         for rint.  Include results for all rounding modes.
7201         (nearbyint_test): Use ALL_RM_TEST.
7202         (rint_test_data): Include all tests used for nearbyint.
7203
7204 2014-03-17  Will Newton  <will.newton@linaro.org>
7205
7206         * nptl/sysdeps/pthread/pthread.h: Revert previous
7207         change.
7208
7209         * sysdeps/generic/ldsodefs.h: Revert previous
7210         change.
7211
7212         * libio/genops.c: Revert previous change.
7213         * libio/libioP.h: Likewise.
7214         * stdio-common/vfprintf.c: Likewise.
7215
7216         * sysdeps/generic/math_private.h: Revert previous
7217         change.
7218
7219         * sysdeps/generic/math_private.h: Check whether
7220         HAVE_RM_CTX is defined with #ifdef rather
7221         than #if.
7222
7223         * argp/argp-fmtstream.h: Check whether
7224         __STRICT_ANSI__ is defined with #ifdef rather
7225         than #if.
7226         * argp/argp.h: Likewise.
7227
7228         * libio/genops.c: Check whether
7229         _IO_JUMPS_OFFSET is defined with #ifdef rather
7230         than #if.
7231         * libio/libioP.h: Likewise.
7232         * stdio-common/vfprintf.c: Likewise.
7233
7234         * sysdeps/generic/ldsodefs.h: Check whether
7235         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7236         than #if.
7237
7238         * nptl/sysdeps/pthread/pthread.h: Check
7239         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7240         its value.
7241
7242 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7243
7244         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7245         setting O_APPEND.
7246         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7247         test case.
7248
7249         [BZ #16680]
7250         * libio/fileops.c (_IO_file_open): Seek to end of file but
7251         don't cache the offset.
7252         (get_file_offset): Remove function.
7253         (do_ftell): Use cached offset when available.
7254         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7255         don't cache the offset.
7256         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7257         case.
7258         (do_one_test): Call it.
7259         (do_ftell_test): Fix up expected old offset for a+ mode.
7260         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7261         available.
7262
7263         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7264         up test status with function return status.
7265         (do_write_test): Likewise.
7266         (do_append_test): Likewise.
7267
7268         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7269         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7270         Remove.
7271
7272 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7273
7274         * math/gen-libm-test.pl (parse_args): Handle results specified for
7275         each rounding mode separately.
7276         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7277         tests and results from lrint_tonearest_test_data,
7278         lrint_towardzero_test_data, lrint_downward_test_data and
7279         lrint_upward_test_data.
7280         (lrint_test): Use ALL_RM_TEST.
7281         (lrint_tonearest_test_data): Remove.
7282         (lrint_test_tonearest): Likewise.
7283         (lrint_towardzero_test_data): Likewise.
7284         (lrint_test_towardzero): Likewise.
7285         (lrint_downward_test_data): Likewise.
7286         (lrint_test_downward): Likewise.
7287         (lrint_upward_test_data): Likewise.
7288         (lrint_test_upward): Likewise.
7289         (llrint_test_data): Merge in per-rounding-mode tests and results
7290         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7291         llrint_downward_test_data and llrint_upward_test_data.
7292         (llrint_test): Use ALL_RM_TEST.
7293         (llrint_tonearest_test_data): Remove.
7294         (llrint_test_tonearest): Likewise.
7295         (llrint_towardzero_test_data): Likewise.
7296         (llrint_test_towardzero): Likewise.
7297         (llrint_downward_test_data): Likewise.
7298         (llrint_test_downward): Likewise.
7299         (llrint_upward_test_data): Likewise.
7300         (llrint_test_upward): Likewise.
7301         (rint_test_data): Merge in per-rounding-mode tests and results
7302         from rint_tonearest_test_data, rint_towardzero_test_data,
7303         rint_downward_test_data and rint_upward_test_data.  Add
7304         per-rounding-mode results for tests not in those arrays.
7305         (rint_test): Use ALL_RM_TEST.
7306         (rint_tonearest_test_data): Remove.
7307         (rint_test_tonearest): Likewise.
7308         (rint_towardzero_test_data): Likewise.
7309         (rint_test_towardzero): Likewise.
7310         (rint_downward_test_data): Likewise.
7311         (rint_test_downward): Likewise.
7312         (rint_upward_test_data): Likewise.
7313         (rint_test_upward): Likewise.
7314         (main): Don't call removed functions.
7315
7316 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7317
7318         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7319         "Compiled on ..." crapola.  It is anti-useful.
7320
7321 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7322
7323         * scripts/evaluate-test.sh: Handle fourth argument to determine
7324         whether test run should stop on failure.
7325         * Makeconfig (stop-on-test-failure): New variable.
7326         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7327         $(stop-on-test-failure).
7328         * Makefile (tests): Give a summary of results from testing and
7329         exit with failure status if they include an ERROR or FAIL.
7330         (xtests): Likewise.
7331         * manual/install.texi (Configuring and compiling): Mention
7332         stop-on-test-failure=y.
7333         * INSTALL: Regenerated.
7334
7335 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7336
7337         * scripts/versionlist.awk: New file.
7338         * Makerules [$(build-shared) = yes]
7339         (postclean-generated): Add Versions.def, not Versions.def.v and
7340         Versions.def.v.i.
7341         ($(common-objpfx)Versions.def.v.i): Target removed.
7342         ($(common-objpfx)Versions.def): New target.
7343         ($(common-objpfx)Versions.all): Depend on that rather that
7344         $(common-objpfx)Versions.def.v.
7345         * Versions.def: File removed.
7346
7347         * Makeconfig (+gccwarn): Add -Wundef.
7348         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7349         a dl-sysdep.h breaking its contract.
7350         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7351         * include/stackinfo.h: New file.
7352         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7353         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7354         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7355         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7356         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7357         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7358         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7359         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7360         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7361         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7362         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7363         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7364         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7365         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7366         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7367
7368 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7369
7370         [BZ #16707]
7371         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7372         implementation.
7373         * math/libm-test.inc (round_test_data): Add more tests.
7374
7375         [BZ #16706]
7376         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7377         implementation.
7378         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7379
7380         [BZ #16701]
7381         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7382         implementation.
7383         * math/libm-test.inc (ceil_test_data): Add more tests.
7384
7385         * math/libm-test.inc (trunc_test_data): Add more tests related to
7386         BZ#16414.
7387
7388 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7389
7390         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7391         with #if rather than #ifdef.
7392         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7393
7394 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7395
7396         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7397         first.  Disable AVX-512 GCC support if assembler doesn't support
7398         it.
7399         * sysdeps/x86_64/configure: Regenerated.
7400
7401 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7402
7403         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7404         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7405         (__old_pthread_attr_setstack): Likewise.
7406         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7407         [!_STACK_GROWS_DOWN]: Likewise.
7408
7409 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7410
7411         * config.make.in (have-bash2): Delete.
7412         * configure.ac (libc_cv_have_bash2): Delete.
7413         * configure: Regenerate.
7414         * elf/Makefile (common-ldd-rewrite): Rename to ...
7415         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7416         (sh-ldd-rewrite): Delete.
7417         (bash-ldd-rewrite): Delete.
7418         (have-bash2): Delete checks.
7419         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7420         ldd-rewrite.
7421
7422         * config.make.in (have-ksh): Delete.
7423         (KSH): Delete.
7424         * configure.ac (libc_cv_have_ksh): Delete.
7425         * configure: Regenerate.
7426
7427         * elf/Makefile: Delete $(have-ksh) check.
7428         ($(objpfx)sotruss): Change KSH to BASH.
7429         * elf/sotruss.ksh: Rename to ...
7430         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7431         function style to match POSIX.  Drop ksh vim mode setting.
7432
7433         * manual/time.texi (Specifying the Time Zone with TZ): Change
7434         Tuesday to Thursday.
7435
7436         * debug/tst-longjmp_chk2.c: Update header comment.
7437         (stackoverflow_handler): Add comment.  Call assert on pass value.
7438
7439 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7440
7441         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7442         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7443         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7444         (La_x86_64_vector): Add zmm.
7445         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7446         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7447         ($(objpfx)tst-audit10): New target.
7448         ($(objpfx)tst-audit10.out): Likewise.
7449         (tst-audit10-ENV): New.
7450         (AVX512-CFLAGS): Likewise.
7451         (CFLAGS-tst-audit10.c): Likewise.
7452         (CFLAGS-tst-auditmod10a.c): Likewise.
7453         (CFLAGS-tst-auditmod10b.c): Likewise.
7454         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7455         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7456         * sysdeps/x86_64/configure: Regenerated.
7457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7458         AVX-512 zmm register support.
7459         (_dl_x86_64_save_sse): Likewise.
7460         (_dl_x86_64_restore_sse): Likewise.
7461         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7462         size vector registers.
7463         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7464         (ZMM_SIZE): Likewise.
7465         * sysdeps/x86_64/tst-audit10.c: New file.
7466         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7467         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7468
7469 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7470
7471         * configure.ac (HAVE_EHDR_START): New check.
7472         * configure: Regenerated.
7473         * config.h.in (HAVE_EHDR_START): New #undef.
7474         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7475         assuming the lowest-addressed segment maps the start of the file.
7476
7477 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7478
7479         * INSTALL: Regenerated.
7480
7481 2014-03-13  Will Newton  <will.newton@linaro.org>
7482
7483         * manual/setjmp.texi (System V contexts): Improve
7484         clarity and grammar of documentation.
7485
7486 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7487
7488         [BZ #16381]
7489         * elf/Makefile (tests): Add tst-pie2.
7490         (tests-pie): Add tst-pie2.
7491         * elf/tst-pie2.c: New file.
7492         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7493         for ET_EXEC.
7494         * elf/rtld.c (map_doit): Load executable as lt_executable.
7495         (dl_main): Likewise.
7496
7497 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7498
7499         [BZ #16642]
7500         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7501         (__ASSUME_PSELECT): Undefine.
7502
7503 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7504
7505         [BZ #16689]
7506         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7507         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7508         static build.
7509         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7510         selector for static builds.
7511
7512 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7513
7514         [BZ #16695]
7515         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7516         key in the buffer.
7517
7518 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7519
7520         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7521         IFUNC selector for static builds.
7522
7523 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7524
7525         * sysdeps/mips/math_private.h [__mips_hard_float]
7526         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7527         libc_feresetround_mips_ctx.
7528         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7529         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7530         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7531
7532         [BZ #16677]
7533         * math/s_nextafter.c (__nextafter): Do not return value from
7534         overflowing computation.
7535         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7536         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7537         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7538         Likewise.
7539         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7540         Likewise.
7541         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7542         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7543
7544 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7545
7546         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7547         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7548         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7549         the new mov targetting sp.
7550
7551 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7552
7553         [BZ #16683]
7554         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7555         Define it for static builds as well.
7556         (NO_BZERO_IMPL): Likewise.
7557
7558 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7559
7560         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7561         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7562         multiarch strspn for PPC64.
7563         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7564         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7566         (__libc_ifunc_impl_list): Likewise.
7567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7568         multiarch optimizations
7569         * string/strspn.c (strspn): Using macro to redefine symbol name.
7570
7571 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7572             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7573
7574         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7575         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7576         multiarch strncat for PPC64.
7577         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7578         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7580         (__libc_ifunc_impl_list): Likewise.
7581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7582         multiarch optimizations
7583
7584 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7585
7586         [BZ #16639]
7587         * nscd/nscd.service: Make service type forking.
7588
7589 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7590
7591         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7592         sign in non default rounding modes.
7593         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7594
7595 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7596
7597         * math/libm-test.inc (ALL_RM_TEST): New macro.
7598         (ceil_test): Use ALL_RM_TEST.
7599         (cimag_test): Likewise.
7600         (conj_test): Likewise.
7601         (copysign_test): Likewise.
7602         (cproj_test): Likewise.
7603         (creal_test): Likewise.
7604         (fabs_test): Likewise.
7605         (floor_test): Likewise.
7606         (fmax_test): Likewise.
7607         (fmin_test): Likewise.
7608         (fmod_test): Likewise.
7609         (fpclassify_test): Likewise.
7610         (frexp_test): Likewise.
7611         (ilogb_test): Likewise.
7612         (isfinite_test): Likewise.
7613         (finite_test): Likewise.
7614         (isgreater_test): Likewise.
7615         (isgreaterequal_test): Likewise.
7616         (isinf_test): Likewise.
7617         (isless_test): Likewise.
7618         (islessequal_test): Likewise.
7619         (islessgreater_test): Likewise.
7620         (isnan_test): Likewise.
7621         (isnormal_test): Likewise.
7622         (issignaling_test): Likewise.
7623         (isunordered_test): Likewise.
7624         (logb_test): Likewise.
7625         (logb_downward_test_data): Remove.
7626         (logb_test_downward): Likewise.
7627         (lround_test): Use ALL_RM_TEST.
7628         (llround_test): Likewise.
7629         (modf_test): Likewise.
7630         (nexttoward_test): Likewise.
7631         (remainder_test): Likewise.
7632         (drem_test): Likewise.
7633         (remainder_tonearest_test_data): Likewise.
7634         (remainder_test_tonearest): Likewise.
7635         (drem_test_tonearest): Likewise.
7636         (remainder_towardzero_test_data): Likewise.
7637         (remainder_test_towardzero): Likewise.
7638         (drem_test_towardzero): Likewise.
7639         (remainder_downward_test_data): Likewise.
7640         (remainder_test_downward): Likewise.
7641         (drem_test_downward): Likewise.
7642         (remainder_upward_test_data): Likewise.
7643         (remainder_test_upward): Likewise.
7644         (drem_test_upward): Likewise.
7645         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7646         (round_test): Use ALL_RM_TEST.
7647         (signbit_test): Likewise.
7648         (trunc_test): Likewise.
7649         (significand_test): Likewise.
7650         (main): Don't call removed functions.
7651
7652 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7653
7654         [BZ #16674]
7655         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7656         || __USE_XOPEN2K8].
7657         (ILL_ILLOPN): Likewise.
7658         (ILL_ILLADR): Likewise.
7659         (ILL_ILLTRP): Likewise.
7660         (ILL_PRVOPC): Likewise.
7661         (ILL_PRVREG): Likewise.
7662         (ILL_COPROC): Likewise.
7663         (ILL_BADSTK): Likewise.
7664         (FPE_INTDIV): Likewise.
7665         (FPE_INTOVF): Likewise.
7666         (FPE_FLTDIV): Likewise.
7667         (FPE_FLTOVF): Likewise.
7668         (FPE_FLTUND): Likewise.
7669         (FPE_FLTRES): Likewise.
7670         (FPE_FLTINV): Likewise.
7671         (FPE_FLTSUB): Likewise.
7672         (SEGV_MAPERR): Likewise.
7673         (SEGV_ACCERR): Likewise.
7674         (BUS_ADRALN): Likewise.
7675         (BUS_ADRERR): Likewise.
7676         (BUS_OBJERR): Likewise.
7677         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7678         (TRAP_TRACE): Likewise.
7679         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7680         __USE_XOPEN2K8].
7681         (CLD_KILLED): Likewise.
7682         (CLD_DUMPED): Likewise.
7683         (CLD_TRAPPED): Likewise.
7684         (CLD_STOPPED): Likewise.
7685         (CLD_CONTINUED): Likewise.
7686         (POLL_IN): Likewise.
7687         (POLL_OUT): Likewise.
7688         (POLL_MSG): Likewise.
7689         (POLL_ERR): Likewise.
7690         (POLL_PRI): Likewise.
7691         (POLL_HUP): Likewise.
7692         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7693         Likewise.
7694         (ILL_ILLOPN): Likewise.
7695         (ILL_ILLADR): Likewise.
7696         (ILL_ILLTRP): Likewise.
7697         (ILL_PRVOPC): Likewise.
7698         (ILL_PRVREG): Likewise.
7699         (ILL_COPROC): Likewise.
7700         (ILL_BADSTK): Likewise.
7701         (FPE_INTDIV): Likewise.
7702         (FPE_INTOVF): Likewise.
7703         (FPE_FLTDIV): Likewise.
7704         (FPE_FLTOVF): Likewise.
7705         (FPE_FLTUND): Likewise.
7706         (FPE_FLTRES): Likewise.
7707         (FPE_FLTINV): Likewise.
7708         (FPE_FLTSUB): Likewise.
7709         (SEGV_MAPERR): Likewise.
7710         (SEGV_ACCERR): Likewise.
7711         (BUS_ADRALN): Likewise.
7712         (BUS_ADRERR): Likewise.
7713         (BUS_OBJERR): Likewise.
7714         (BUS_MCEERR_AR): Likewise.
7715         (BUS_MCEERR_AO): Likewise.
7716         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7717         (TRAP_TRACE): Likewise.
7718         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7719         __USE_XOPEN2K8].
7720         (CLD_KILLED): Likewise.
7721         (CLD_DUMPED): Likewise.
7722         (CLD_TRAPPED): Likewise.
7723         (CLD_STOPPED): Likewise.
7724         (CLD_CONTINUED): Likewise.
7725         (POLL_IN): Likewise.
7726         (POLL_OUT): Likewise.
7727         (POLL_MSG): Likewise.
7728         (POLL_ERR): Likewise.
7729         (POLL_PRI): Likewise.
7730         (POLL_HUP): Likewise.
7731         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7732         (ILL_ILLOPN): Likewise.
7733         (ILL_ILLADR): Likewise.
7734         (ILL_ILLTRP): Likewise.
7735         (ILL_PRVOPC): Likewise.
7736         (ILL_PRVREG): Likewise.
7737         (ILL_COPROC): Likewise.
7738         (ILL_BADSTK): Likewise.
7739         (FPE_INTDIV): Likewise.
7740         (FPE_INTOVF): Likewise.
7741         (FPE_FLTDIV): Likewise.
7742         (FPE_FLTOVF): Likewise.
7743         (FPE_FLTUND): Likewise.
7744         (FPE_FLTRES): Likewise.
7745         (FPE_FLTINV): Likewise.
7746         (FPE_FLTSUB): Likewise.
7747         (SEGV_MAPERR): Likewise.
7748         (SEGV_ACCERR): Likewise.
7749         (BUS_ADRALN): Likewise.
7750         (BUS_ADRERR): Likewise.
7751         (BUS_OBJERR): Likewise.
7752         (BUS_MCEERR_AR): Likewise.
7753         (BUS_MCEERR_AO): Likewise.
7754         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7755         (TRAP_TRACE): Likewise.
7756         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7757         __USE_XOPEN2K8].
7758         (CLD_KILLED): Likewise.
7759         (CLD_DUMPED): Likewise.
7760         (CLD_TRAPPED): Likewise.
7761         (CLD_STOPPED): Likewise.
7762         (CLD_CONTINUED): Likewise.
7763         (POLL_IN): Likewise.
7764         (POLL_OUT): Likewise.
7765         (POLL_MSG): Likewise.
7766         (POLL_ERR): Likewise.
7767         (POLL_PRI): Likewise.
7768         (POLL_HUP): Likewise.
7769         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7770         Likewise.
7771         (ILL_ILLOPN): Likewise.
7772         (ILL_ILLADR): Likewise.
7773         (ILL_ILLTRP): Likewise.
7774         (ILL_PRVOPC): Likewise.
7775         (ILL_PRVREG): Likewise.
7776         (ILL_COPROC): Likewise.
7777         (ILL_BADSTK): Likewise.
7778         (ILL_BADIADDR): Likewise.
7779         (ILL_BREAK): Likewise.
7780         (FPE_INTDIV): Likewise.
7781         (FPE_INTOVF): Likewise.
7782         (FPE_FLTDIV): Likewise.
7783         (FPE_FLTOVF): Likewise.
7784         (FPE_FLTUND): Likewise.
7785         (FPE_FLTRES): Likewise.
7786         (FPE_FLTINV): Likewise.
7787         (FPE_FLTSUB): Likewise.
7788         (FPE_DECOVF): Likewise.
7789         (FPE_DECDIV): Likewise.
7790         (FPE_DECERR): Likewise.
7791         (FPE_INVASC): Likewise.
7792         (FPE_INVDEC): Likewise.
7793         (SEGV_MAPERR): Likewise.
7794         (SEGV_ACCERR): Likewise.
7795         (SEGV_PSTKOVF): Likewise.
7796         (BUS_ADRALN): Likewise.
7797         (BUS_ADRERR): Likewise.
7798         (BUS_OBJERR): Likewise.
7799         (BUS_MCEERR_AR): Likewise.
7800         (BUS_MCEERR_AO): Likewise.
7801         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7802         (TRAP_TRACE): Likewise.
7803         (TRAP_BRANCH): Likewise.
7804         (TRAP_HWBKPT): Likewise.
7805         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7806         __USE_XOPEN2K8].
7807         (CLD_KILLED): Likewise.
7808         (CLD_DUMPED): Likewise.
7809         (CLD_TRAPPED): Likewise.
7810         (CLD_STOPPED): Likewise.
7811         (CLD_CONTINUED): Likewise.
7812         (POLL_IN): Likewise.
7813         (POLL_OUT): Likewise.
7814         (POLL_MSG): Likewise.
7815         (POLL_ERR): Likewise.
7816         (POLL_PRI): Likewise.
7817         (POLL_HUP): Likewise.
7818         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7819         (ILL_ILLOPN): Likewise.
7820         (ILL_ILLADR): Likewise.
7821         (ILL_ILLTRP): Likewise.
7822         (ILL_PRVOPC): Likewise.
7823         (ILL_PRVREG): Likewise.
7824         (ILL_COPROC): Likewise.
7825         (ILL_BADSTK): Likewise.
7826         (FPE_INTDIV): Likewise.
7827         (FPE_INTOVF): Likewise.
7828         (FPE_FLTDIV): Likewise.
7829         (FPE_FLTOVF): Likewise.
7830         (FPE_FLTUND): Likewise.
7831         (FPE_FLTRES): Likewise.
7832         (FPE_FLTINV): Likewise.
7833         (FPE_FLTSUB): Likewise.
7834         (SEGV_MAPERR): Likewise.
7835         (SEGV_ACCERR): Likewise.
7836         (BUS_ADRALN): Likewise.
7837         (BUS_ADRERR): Likewise.
7838         (BUS_OBJERR): Likewise.
7839         (BUS_MCEERR_AR): Likewise.
7840         (BUS_MCEERR_AO): Likewise.
7841         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7842         (TRAP_TRACE): Likewise.
7843         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7844         __USE_XOPEN2K8].
7845         (CLD_KILLED): Likewise.
7846         (CLD_DUMPED): Likewise.
7847         (CLD_TRAPPED): Likewise.
7848         (CLD_STOPPED): Likewise.
7849         (CLD_CONTINUED): Likewise.
7850         (POLL_IN): Likewise.
7851         (POLL_OUT): Likewise.
7852         (POLL_MSG): Likewise.
7853         (POLL_ERR): Likewise.
7854         (POLL_PRI): Likewise.
7855         (POLL_HUP): Likewise.
7856         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7857         (ILL_ILLOPN): Likewise.
7858         (ILL_ILLADR): Likewise.
7859         (ILL_ILLTRP): Likewise.
7860         (ILL_PRVOPC): Likewise.
7861         (ILL_PRVREG): Likewise.
7862         (ILL_COPROC): Likewise.
7863         (ILL_BADSTK): Likewise.
7864         (FPE_INTDIV): Likewise.
7865         (FPE_INTOVF): Likewise.
7866         (FPE_FLTDIV): Likewise.
7867         (FPE_FLTOVF): Likewise.
7868         (FPE_FLTUND): Likewise.
7869         (FPE_FLTRES): Likewise.
7870         (FPE_FLTINV): Likewise.
7871         (FPE_FLTSUB): Likewise.
7872         (SEGV_MAPERR): Likewise.
7873         (SEGV_ACCERR): Likewise.
7874         (BUS_ADRALN): Likewise.
7875         (BUS_ADRERR): Likewise.
7876         (BUS_OBJERR): Likewise.
7877         (BUS_MCEERR_AR): Likewise.
7878         (BUS_MCEERR_AO): Likewise.
7879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7880         (TRAP_TRACE): Likewise.
7881         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7882         __USE_XOPEN2K8].
7883         (CLD_KILLED): Likewise.
7884         (CLD_DUMPED): Likewise.
7885         (CLD_TRAPPED): Likewise.
7886         (CLD_STOPPED): Likewise.
7887         (CLD_CONTINUED): Likewise.
7888         (POLL_IN): Likewise.
7889         (POLL_OUT): Likewise.
7890         (POLL_MSG): Likewise.
7891         (POLL_ERR): Likewise.
7892         (POLL_PRI): Likewise.
7893         (POLL_HUP): Likewise.
7894         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7895         (ILL_ILLOPN): Likewise.
7896         (ILL_ILLADR): Likewise.
7897         (ILL_ILLTRP): Likewise.
7898         (ILL_PRVOPC): Likewise.
7899         (ILL_PRVREG): Likewise.
7900         (ILL_COPROC): Likewise.
7901         (ILL_BADSTK): Likewise.
7902         (FPE_INTDIV): Likewise.
7903         (FPE_INTOVF): Likewise.
7904         (FPE_FLTDIV): Likewise.
7905         (FPE_FLTOVF): Likewise.
7906         (FPE_FLTUND): Likewise.
7907         (FPE_FLTRES): Likewise.
7908         (FPE_FLTINV): Likewise.
7909         (FPE_FLTSUB): Likewise.
7910         (SEGV_MAPERR): Likewise.
7911         (SEGV_ACCERR): Likewise.
7912         (BUS_ADRALN): Likewise.
7913         (BUS_ADRERR): Likewise.
7914         (BUS_OBJERR): Likewise.
7915         (BUS_MCEERR_AR): Likewise.
7916         (BUS_MCEERR_AO): Likewise.
7917         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7918         (TRAP_TRACE): Likewise.
7919         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7920         __USE_XOPEN2K8].
7921         (CLD_KILLED): Likewise.
7922         (CLD_DUMPED): Likewise.
7923         (CLD_TRAPPED): Likewise.
7924         (CLD_STOPPED): Likewise.
7925         (CLD_CONTINUED): Likewise.
7926         (POLL_IN): Likewise.
7927         (POLL_OUT): Likewise.
7928         (POLL_MSG): Likewise.
7929         (POLL_ERR): Likewise.
7930         (POLL_PRI): Likewise.
7931         (POLL_HUP): Likewise.
7932         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7933         (ILL_ILLOPN): Likewise.
7934         (ILL_ILLADR): Likewise.
7935         (ILL_ILLTRP): Likewise.
7936         (ILL_PRVOPC): Likewise.
7937         (ILL_PRVREG): Likewise.
7938         (ILL_COPROC): Likewise.
7939         (ILL_BADSTK): Likewise.
7940         (ILL_DBLFLT): Likewise.
7941         (ILL_HARDWALL): Likewise.
7942         (FPE_INTDIV): Likewise.
7943         (FPE_INTOVF): Likewise.
7944         (FPE_FLTDIV): Likewise.
7945         (FPE_FLTOVF): Likewise.
7946         (FPE_FLTUND): Likewise.
7947         (FPE_FLTRES): Likewise.
7948         (FPE_FLTINV): Likewise.
7949         (FPE_FLTSUB): Likewise.
7950         (SEGV_MAPERR): Likewise.
7951         (SEGV_ACCERR): Likewise.
7952         (BUS_ADRALN): Likewise.
7953         (BUS_ADRERR): Likewise.
7954         (BUS_OBJERR): Likewise.
7955         (BUS_MCEERR_AR): Likewise.
7956         (BUS_MCEERR_AO): Likewise.
7957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7958         (TRAP_TRACE): Likewise.
7959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7960         __USE_XOPEN2K8].
7961         (CLD_KILLED): Likewise.
7962         (CLD_DUMPED): Likewise.
7963         (CLD_TRAPPED): Likewise.
7964         (CLD_STOPPED): Likewise.
7965         (CLD_CONTINUED): Likewise.
7966         (POLL_IN): Likewise.
7967         (POLL_OUT): Likewise.
7968         (POLL_MSG): Likewise.
7969         (POLL_ERR): Likewise.
7970         (POLL_PRI): Likewise.
7971         (POLL_HUP): Likewise.
7972         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7973         (ILL_ILLOPN): Likewise.
7974         (ILL_ILLADR): Likewise.
7975         (ILL_ILLTRP): Likewise.
7976         (ILL_PRVOPC): Likewise.
7977         (ILL_PRVREG): Likewise.
7978         (ILL_COPROC): Likewise.
7979         (ILL_BADSTK): Likewise.
7980         (FPE_INTDIV): Likewise.
7981         (FPE_INTOVF): Likewise.
7982         (FPE_FLTDIV): Likewise.
7983         (FPE_FLTOVF): Likewise.
7984         (FPE_FLTUND): Likewise.
7985         (FPE_FLTRES): Likewise.
7986         (FPE_FLTINV): Likewise.
7987         (FPE_FLTSUB): Likewise.
7988         (SEGV_MAPERR): Likewise.
7989         (SEGV_ACCERR): Likewise.
7990         (BUS_ADRALN): Likewise.
7991         (BUS_ADRERR): Likewise.
7992         (BUS_OBJERR): Likewise.
7993         (BUS_MCEERR_AR): Likewise.
7994         (BUS_MCEERR_AO): Likewise.
7995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7996         (TRAP_TRACE): Likewise.
7997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7998         __USE_XOPEN2K8].
7999         (CLD_KILLED): Likewise.
8000         (CLD_DUMPED): Likewise.
8001         (CLD_TRAPPED): Likewise.
8002         (CLD_STOPPED): Likewise.
8003         (CLD_CONTINUED): Likewise.
8004         (POLL_IN): Likewise.
8005         (POLL_OUT): Likewise.
8006         (POLL_MSG): Likewise.
8007         (POLL_ERR): Likewise.
8008         (POLL_PRI): Likewise.
8009         (POLL_HUP): Likewise.
8010         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8011         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8012
8013         [BZ #16670]
8014         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8015         before #include of <time.h>.
8016         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8017         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8018         (test-xfail-UNIX98/sched.h/conform): Likewise.
8019
8020 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8021
8022         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8023         error absence of trapping exception support.
8024         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8025
8026 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8027
8028         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8029         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8030         * timezone/Makefile (testdata): Move definition above include of
8031         Rules.
8032         (test-zones): New variable.
8033         (tests-special): Add zone files.
8034         (build-testdata): Use $(evaluate-test).
8035
8036         * elf/Makefile (tests-special): Rename tests to end with .out.
8037         ($(objpfx)noload-mem): Likewise.
8038         ($(objpfx)tst-leaks1-mem): Likewise.
8039         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8040         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8041         $(objpfx)test-iconvconfig.out.
8042         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8043         set -e inside subshell and redirect output to file.
8044         * iconvdata/Makefile (generated): Rename tests to end with .out.
8045         Correct type.
8046         (tests-special): Rename tests to end with .out.
8047         ($(objpfx)mtrace-tst-loading): Likewise.
8048         * intl/Makefile (generated): Likewise.
8049         (tests-special): Likewise.
8050         ($(objpfx)mtrace-tst-gettext): Likewise.
8051         * misc/Makefile (generated): Likewise.
8052         (tests-special): Likewise.
8053         ($(objpfx)tst-error1-mem): Likewise.
8054         * nptl/Makefile (tests-special): Likewise.
8055         ($(objpfx)tst-stack3-mem): Likewise.
8056         (generated): Likewise.
8057         * posix/Makefile (generated): Likewise.
8058         (tests-special): Likewise.
8059         (xtests-special): Likewise.
8060         ($(objpfx)tst-fnmatch-mem): Likewise.
8061         ($(objpfx)bug-regex2-mem): Likewise.
8062         ($(objpfx)bug-regex14-mem): Likewise.
8063         ($(objpfx)bug-regex21-mem): Likewise.
8064         ($(objpfx)bug-regex31-mem): Likewise.
8065         ($(objpfx)tst-vfork3-mem): Likewise.
8066         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8067         ($(objpfx)tst-pcre-mem): Likewise.
8068         ($(objpfx)tst-boost-mem): Likewise.
8069         ($(objpfx)bug-ga2-mem): Likewise.
8070         ($(objpfx)bug-glob2-mem): Likewise.
8071         * resolv/Makefile (generate): Likewise.
8072         (tests-special): Likewise.
8073         (xtests-special): Likewise.
8074         (generated): Likewise.
8075         ($(objpfx)mtrace-tst-leaks): Likewise.
8076         ($(objpfx)mtrace-tst-leaks2): Likewise.
8077
8078         * scripts/merge-test-results.sh: New file.
8079         * Makefile (tests-special-notdir): New variable.
8080         (tests): Run merge-test-results.sh.
8081         (xtests): Likewise.
8082         * Rules (tests-special-notdir): New variable.
8083         (xtests-special-notdir): Likewise.
8084         (tests): Run merge-test-results.sh
8085         (xtests): Likewise.
8086
8087         * Makeconfig (test-xfail-name): New variable.
8088         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8089         compute variable name for expected failures.
8090         * conform/Makefile (conformtest-headers-data): New variable.
8091         (conformtest-standards): Likewise.
8092         (conformtest-headers-ISO): Likewise.
8093         (conformtest-headers-ISO99): Likewise.
8094         (conformtest-headers-ISO11): Likewise.
8095         (conformtest-headers-POSIX): Likewise.
8096         (conformtest-headers-XPG3): Likewise.
8097         (conformtest-headers-XPG4): Likewise.
8098         (conformtest-headers-UNIX98): Likewise.
8099         (conformtest-headers-XOPEN2K): Likewise.
8100         (conformtest-headers-POSIX2008): Likewise.
8101         (conformtest-headers-XOPEN2K8): Likewise.
8102         (conformtest-header-list-base): Likewise.
8103         (conformtest-header-list-tests): Likewise.
8104         (conformtest-header-base): Likewise.
8105         (conformtest-header-tests): Likewise.
8106         (tests-special): Add $(conformtest-header-list-tests).  If
8107         [$(fast-check) && !$(cross-compiling)], add
8108         $(conformtest-header-tests) instead of
8109         $(objpfx)run-conformtest.out.
8110         (generated): Add $(conformtest-header-list-base).  If
8111         [$(fast-check) && !$(cross-compiling)], add
8112         $(conformtest-header-base).  Remove previous setting.
8113         ($(conformtest-header-list-tests)): New target.
8114         (test-xfail-run-conformtest): Remove variable.
8115         ($(objpfx)run-conformtest.out): Remove target.
8116         (test-xfail-ISO11/complex.h/conform): New variable.
8117         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8118         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8119         (test-xfail-XPG3/varargs.h/conform): Likewise.
8120         (test-xfail-XPG4/varargs.h/conform): Likewise.
8121         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8122         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8123         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8124         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8125         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8126         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8127         (test-xfail-XPG3/ftw.h/conform): Likewise.
8128         (test-xfail-XPG3/grp.h/conform): Likewise.
8129         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8130         (test-xfail-XPG3/limits.h/conform): Likewise.
8131         (test-xfail-XPG3/pwd.h/conform): Likewise.
8132         (test-xfail-XPG3/search.h/conform): Likewise.
8133         (test-xfail-XPG3/signal.h/conform): Likewise.
8134         (test-xfail-XPG3/stdio.h/conform): Likewise.
8135         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8136         (test-xfail-XPG3/string.h/conform): Likewise.
8137         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8138         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8139         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8140         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8141         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8142         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8143         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8144         (test-xfail-XPG3/termios.h/conform): Likewise.
8145         (test-xfail-XPG3/time.h/conform): Likewise.
8146         (test-xfail-XPG3/unistd.h/conform): Likewise.
8147         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8148         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8149         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8150         (test-xfail-XPG4/netdb.h/conform): Likewise.
8151         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8152         (test-xfail-XPG4/signal.h/conform): Likewise.
8153         (test-xfail-XPG4/stdio.h/conform): Likewise.
8154         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8155         (test-xfail-XPG4/stropts.h/conform): Likewise.
8156         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8157         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8158         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8159         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8160         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8161         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8162         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8163         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8164         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8165         (test-xfail-XPG4/termios.h/conform): Likewise.
8166         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8167         (test-xfail-XPG4/unistd.h/conform): Likewise.
8168         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8169         (test-xfail-POSIX/sched.h/conform): Likewise.
8170         (test-xfail-POSIX/signal.h/conform): Likewise.
8171         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8172         (test-xfail-POSIX/tar.h/conform): Likewise.
8173         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8174         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8175         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8176         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8177         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8178         (test-xfail-UNIX98/sched.h/conform): Likewise.
8179         (test-xfail-UNIX98/signal.h/conform): Likewise.
8180         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8181         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8182         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8183         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8184         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8185         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8186         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8187         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8188         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8189         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8190         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8191         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8192         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8193         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8194         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8195         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8196         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8197         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8198         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8199         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8200         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8201         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8202         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8203         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8204         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8205         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8206         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8207         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8208         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8209         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8210         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8211         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8212         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8213         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8214         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8215         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8216         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8217         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8218         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8219         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8220         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8221         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8222         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8223         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8224         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8225         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8226         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8227         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8228         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8229         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8230         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8231         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8232         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8233         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8234         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8235         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8236         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8237         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8238         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8239         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8240         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8241         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8242         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8243         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8244         (conformtest-cc-flags): Likewise.
8245         ($(conformtest-header-tests): New target.
8246         * conform/check-header-lists.sh: New file.
8247         * conform/run-conformtest.sh: Remove.
8248
8249         * conform/conformtest.pl: Allow ' and \ in values given for
8250         constants.
8251         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8252         inclusion.
8253         [POSIX] (sys/types.h): Likewise.
8254         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8255         inclusion.
8256         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8257         inclusion.
8258         * conform/data/signal.h-data (SIGIO): Remove expectation.
8259         [XPG3] (SIGBUS): Do not expect.
8260         [POSIX || XPG3] (SIGPOLL): Likewise.
8261         [POSIX || XPG3] (SIGPROF): Likewise.
8262         [POSIX || XPG3] (SIGSYS): Likewise.
8263         [XPG3] (SIGTRAP): Likewise.
8264         [POSIX || XPG3] (SIGURG): Likewise.
8265         [POSIX || XPG3] (SIGVTALRM): Likewise.
8266         [POSIX || XPG3] (SIGXCPU): Likewise.
8267         [POSIX || XPG3] (SIGXFSZ): Likewise.
8268         [POSIX] (SA_SIGINFO): Expect.
8269         [XPG3] (siginfo_t): Do not expect type or contents.
8270         [POSIX] (si_pid): Do not expect element.
8271         [POSIX] (si_uid): Likewise.
8272         [POSIX] (si_addr): Likewise.
8273         [POSIX] (si_status): Likewise.
8274         [POSIX] (si_band): Likewise.
8275         [XPG4] (si_value): Likewise.
8276         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8277         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8278         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8279         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8280         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8281         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8282         [POSIX || XPG3] (ILL_COPROC): Likewise.
8283         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8284         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8285         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8286         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8287         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8288         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8289         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8290         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8291         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8292         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8293         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8294         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8295         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8296         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8297         [POSIX || XPG3] (CLD_EXITED): Likewise.
8298         [POSIX || XPG3] (CLD_KILLED): Likewise.
8299         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8300         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8301         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8302         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8303         [POSIX || XPG3] (POLL_IN): Likewise.
8304         [POSIX || XPG3] (POLL_OUT): Likewise.
8305         [POSIX || XPG3] (POLL_MSG): Likewise.
8306         [POSIX || XPG3] (POLL_ERR): Likewise.
8307         [POSIX || XPG3] (POLL_PRI): Likewise.
8308         [POSIX || XPG3] (POLL_HUP): Likewise.
8309         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8310         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8311         (SIG*): Do not allow.
8312         [XPG3] (si_*): Likewise.
8313         [XPG3] (SI_*): Likewise.
8314         [XPG3 || XPG4] (sigev_*): Likewise.
8315         [XPG3 || XPG4] (SIGEV_*): Likewise.
8316         [XPG3 || XPG4] (sival_*): Likewise.
8317         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8318         [POSIX || XPG3] (BUS_*): Likewise.
8319         [POSIX || XPG3] (CLD_*): Likewise.
8320         [POSIX || XPG3] (FPE_*): Likewise.
8321         [POSIX || XPG3] (ILL_*): Likewise.
8322         [POSIX || XPG3] (POLL_*): Likewise.
8323         [POSIX || XPG3] (SEGV_*): Likewise.
8324         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8325         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8326         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8327         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8328         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8329         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8330         Specify type and value.
8331         (TVERSLEN): Likewise.
8332         (REGTYPE): Likewise.
8333         (AREGTYPE): Likewise.
8334         (LNKTYPE): Likewise.
8335         (SYMTYPE): Likewise.
8336         (CHRTYPE): Likewise.
8337         (BLKTYPE): Likewise.
8338         (DIRTYPE): Likewise.
8339         (FIFOTYPE): Likewise.
8340         (CONTTYPE): Likewise.
8341         (TSUID): Likewise.
8342         (TSGID): Likewise.
8343         (TSVTX): Likewise.
8344         (TUREAD): Likewise.
8345         (TUWRITE): Likewise.
8346         (TUEXEC): Likewise.
8347         (TGREAD): Likewise.
8348         (TGWRITE): Likewise.
8349         (TGEXEC): Likewise.
8350         (TOREAD): Likewise.
8351         (TOWRITE): Likewise.
8352         (TOEXEC): Likewise.
8353         [POSIX] (TSVTX): Expect constant.
8354
8355 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8356
8357         * Makefile (tests): Change dependencies to ....
8358         (tests-special): ... additions to this variable.
8359         (tests): Depend on $(tests-special).
8360         * Makerules (check-abi-list): New variable.
8361         (check-abi): Depend on $(check-abi-list).
8362         [$(subdir) = elf] (tests-special): Add
8363         $(objpfx)check-abi-libc.out.
8364         [$(build-shared) = yes && subdir] (tests-special): Add
8365         $(check-abi-list).
8366         [$(build-shared) = yes && subdir] (tests): Do not depend on
8367         check-abi.
8368         * Rules (tests): Depend on $(tests-special).
8369         (xtests): Depend on $(xtests-special).
8370         * catgets/Makefile (tests): Change dependencies to ....
8371         (tests-special): ... additions to this variable.
8372         * conform/Makefile (tests): Change dependencies to ....
8373         (tests-special): ... additions to this variable.
8374         * elf/Makefile (tests): Change dependencies to ....
8375         (tests-special): ... additions to this variable.
8376         * grp/Makefile (tests): Change dependencies to ....
8377         (tests-special): ... additions to this variable.
8378         * iconv/Makefile (xtests): Change dependencies to ....
8379         (xtests-special): ... additions to this variable.
8380         * iconvdata/Makefile (tests): Change dependencies to ....
8381         (tests-special): ... additions to this variable.
8382         * intl/Makefile (tests): Change dependencies to ....
8383         (tests-special): ... additions to this variable.  Also add
8384         $(objpfx)tst-gettext.out.
8385         * io/Makefile (tests): Change dependencies to ....
8386         (tests-special): ... additions to this variable.
8387         * libio/Makefile (tests): Change dependencies to ....
8388         (tests-special): ... additions to this variable.
8389         * malloc/Makefile (tests): Change dependencies to ....
8390         (tests-special): ... additions to this variable.
8391         * misc/Makefile (tests): Change dependencies to ....
8392         (tests-special): ... additions to this variable.
8393         * nptl/Makefile (tests): Change dependencies to ....
8394         (tests-special): ... additions to this variable.
8395         * nptl_db/Makefile (tests): Change dependencies to ....
8396         (tests-special): ... additions to this variable.
8397         * posix/Makefile (tests): Change dependencies to ....
8398         (tests-special): ... additions to this variable.
8399         (xtests): Change dependencies to ....
8400         (xtests-special): ... additions to this variable.
8401         * resolv/Makefile (tests): Change dependencies to ....
8402         (tests-special): ... additions to this variable.
8403         (xtests): Change dependencies to ....
8404         (xtests-special): ... additions to this variable.
8405         * stdio-common/Makefile (tests): Change dependencies to ....
8406         (tests-special): ... additions to this variable.
8407         (do-tst-unbputc): Remove target.
8408         (do-tst-printf): Likewise.
8409         * stdlib/Makefile (tests): Change dependencies to ....
8410         (tests-special): ... additions to this variable.
8411         * string/Makefile (tests): Change dependencies to ....
8412         (tests-special): ... additions to this variable.
8413         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8414         (tests-special): ... additions to this variable.
8415
8416         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8417         whole file.
8418         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8419         whole file.
8420         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8421         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8422
8423         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8424         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8425         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8426         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8427         * conform/data/libgen.h-data [XPG3]: Likewise.
8428         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8429         * conform/data/ndbm.h-data [XPG3]: Likewise.
8430         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8431         * conform/data/netdb.h-data [XPG3]: Likewise.
8432         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8433         * conform/data/poll.h-data [XPG3]: Likewise.
8434         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8435         * conform/data/strings.h-data [XPG3]: Likewise.
8436         * conform/data/stropts.h-data [XPG3]: Likewise.
8437         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8438         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8439         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8440         Likewise.
8441         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8442         * conform/data/sys/time.h-data [XPG3]: Likewise.
8443         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8444         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8445         * conform/data/sys/un.h-data [XPG3]: Likewise.
8446         * conform/data/syslog.h-data [XPG3]: Likewise.
8447         * conform/data/ucontext.h-data [XPG3]: Likewise.
8448         * conform/data/utmpx.h-data [XPG3]: Likewise.
8449         * conform/data/varargs.h-data [UNIX98]: Enable file.
8450
8451         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8452
8453         * math/libm-test.inc (struct test_f_f_data): Move expected results
8454         into structure for each rounding mode.
8455         (struct test_ff_f_data): Likewise.
8456         (struct test_ff_f_data_nexttoward): Likewise.
8457         (struct test_fi_f_data): Likewise.
8458         (struct test_fl_f_data): Likewise.
8459         (struct test_if_f_data): Likewise.
8460         (struct test_fff_f_data): Likewise.
8461         (struct test_c_f_data): Likewise.
8462         (struct test_f_f1_data): Likewise.
8463         (struct test_fF_f1_data): Likewise.
8464         (struct test_ffI_f1_data): Likewise.
8465         (struct test_c_c_data): Likewise.
8466         (struct test_cc_c_data): Likewise.
8467         (struct test_f_i_data): Likewise.
8468         (struct test_ff_i_data): Likewise.
8469         (struct test_f_l_data): Likewise.
8470         (struct test_f_L_data): Likewise.
8471         (struct test_fFF_11_data): Likewise.
8472         (RM_): New macro.
8473         (RM_FE_DOWNWARD): Likewise.
8474         (RM_FE_TONEAREST): Likewise.
8475         (RM_FE_TOWARDZERO): Likewise.
8476         (RM_FE_UPWARD): Likewise.
8477         (RUN_TEST_LOOP_f_f): Update references to expected results.
8478         (RUN_TEST_LOOP_2_f): Likewise.
8479         (RUN_TEST_LOOP_fff_f): Likewise.
8480         (RUN_TEST_LOOP_c_f): Likewise.
8481         (RUN_TEST_LOOP_f_f1): Likewise.
8482         (RUN_TEST_LOOP_fF_f1): Likewise.
8483         (RUN_TEST_LOOP_fI_f1): Likewise.
8484         (RUN_TEST_LOOP_ffI_f1): Likewise.
8485         (RUN_TEST_LOOP_c_c): Likewise.
8486         (RUN_TEST_LOOP_cc_c): Likewise.
8487         (RUN_TEST_LOOP_f_i): Likewise.
8488         (RUN_TEST_LOOP_f_i_tg): Likewise.
8489         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8490         (RUN_TEST_LOOP_f_b): Likewise.
8491         (RUN_TEST_LOOP_f_b_tg): Likewise.
8492         (RUN_TEST_LOOP_f_l): Likewise.
8493         (RUN_TEST_LOOP_f_L): Likewise.
8494         (RUN_TEST_LOOP_fFF_11): Likewise.
8495         * math/gen-libm-test.pl (parse_args): Output four copies of
8496         expected results for each test.
8497
8498         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8499         (__ASSUME_UTIMES): Remove.
8500         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8501         (__ASSUME_UTIMES): Likewise.
8502
8503         * math/gen-auto-libm-tests.c: Update comment on output format.
8504         (output_for_one_input_case): Generate before-rounding and
8505         after-rounding information as conditions on output flags not
8506         floating-point format.
8507         * math/auto-libm-test-out: Regenerated.
8508         * math/gen-libm-test.pl (cond_value): New function.
8509         (or_cond_value): Use cond_value.
8510         (generate_testfile): Handle conditional exceptions.
8511
8512 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8513
8514         * math/libm-test.inc (max_valid_error): New variable.
8515         (init_max_error): Take new argument specifying whether function
8516         results are exactly determined.  Set max_valid_error and bound
8517         other variables for errors based on this argument.
8518         (set_max_error): Do not record results above max_valid_error.
8519         (check_float_internal): Only accept errors of up to 0.5ulps if
8520         also at most max_valid_error.
8521         (START): Take new argument EXACT and pass it to init_max_error.
8522         (acos_test): Update call to START.
8523         (acos_test_tonearest): Likewise.
8524         (acos_test_towardzero): Likewise.
8525         (acos_test_downward): Likewise.
8526         (acos_test_upward): Likewise.
8527         (acosh_test): Likewise.
8528         (asin_test): Likewise.
8529         (asin_test_tonearest): Likewise.
8530         (asin_test_towardzero): Likewise.
8531         (asin_test_downward): Likewise.
8532         (asin_test_upward): Likewise.
8533         (asinh_test): Likewise.
8534         (atan_test): Likewise.
8535         (atanh_test): Likewise.
8536         (atan2_test): Likewise.
8537         (cabs_test): Likewise.
8538         (cacos_test): Likewise.
8539         (cacosh_test): Likewise.
8540         (carg_test): Likewise.
8541         (casin_test): Likewise.
8542         (casinh_test): Likewise.
8543         (catan_test): Likewise.
8544         (catanh_test): Likewise.
8545         (cbrt_test): Likewise.
8546         (ccos_test): Likewise.
8547         (ccosh_test): Likewise.
8548         (ceil_test): Likewise.
8549         (cexp_test): Likewise.
8550         (cimag_test): Likewise.
8551         (clog_test): Likewise.
8552         (clog10_test): Likewise.
8553         (conj_test): Likewise.
8554         (copysign_test): Likewise.
8555         (cos_test): Likewise.
8556         (cos_test_tonearest): Likewise.
8557         (cos_test_towardzero): Likewise.
8558         (cos_test_downward): Likewise.
8559         (cos_test_upward): Likewise.
8560         (cosh_test): Likewise.
8561         (cosh_test_tonearest): Likewise.
8562         (cosh_test_towardzero): Likewise.
8563         (cosh_test_downward): Likewise.
8564         (cosh_test_upward): Likewise.
8565         (cpow_test): Likewise.
8566         (cproj_test): Likewise.
8567         (creal_test): Likewise.
8568         (csin_test): Likewise.
8569         (csinh_test): Likewise.
8570         (csqrt_test): Likewise.
8571         (ctan_test): Likewise.
8572         (ctan_test_tonearest): Likewise.
8573         (ctan_test_towardzero): Likewise.
8574         (ctan_test_downward): Likewise.
8575         (ctan_test_upward): Likewise.
8576         (ctanh_test): Likewise.
8577         (ctanh_test_tonearest): Likewise.
8578         (ctanh_test_towardzero): Likewise.
8579         (ctanh_test_downward): Likewise.
8580         (ctanh_test_upward): Likewise.
8581         (erf_test): Likewise.
8582         (erfc_test): Likewise.
8583         (exp_test): Likewise.
8584         (exp_test_tonearest): Likewise.
8585         (exp_test_towardzero): Likewise.
8586         (exp_test_downward): Likewise.
8587         (exp_test_upward): Likewise.
8588         (exp10_test): Likewise.
8589         (exp10_test_tonearest): Likewise.
8590         (exp10_test_towardzero): Likewise.
8591         (exp10_test_downward): Likewise.
8592         (exp10_test_upward): Likewise.
8593         (pow10_test): Likewise.
8594         (exp2_test): Likewise.
8595         (expm1_test): Likewise.
8596         (expm1_test_tonearest): Likewise.
8597         (expm1_test_towardzero): Likewise.
8598         (expm1_test_downward): Likewise.
8599         (expm1_test_upward): Likewise.
8600         (fabs_test): Likewise.
8601         (fdim_test): Likewise.
8602         (floor_test): Likewise.
8603         (fma_test): Likewise.
8604         (fma_test_towardzero): Likewise.
8605         (fma_test_downward): Likewise.
8606         (fma_test_upward): Likewise.
8607         (fmax_test): Likewise.
8608         (fmin_test): Likewise.
8609         (fmod_test): Likewise.
8610         (fpclassify_test): Likewise.
8611         (frexp_test): Likewise.
8612         (hypot_test): Likewise.
8613         (ilogb_test): Likewise.
8614         (isfinite_test): Likewise.
8615         (finite_test): Likewise.
8616         (isgreater_test): Likewise.
8617         (isgreaterequal_test): Likewise.
8618         (isinf_test): Likewise.
8619         (isless_test): Likewise.
8620         (islessequal_test): Likewise.
8621         (islessgreater_test): Likewise.
8622         (isnan_test): Likewise.
8623         (isnormal_test): Likewise.
8624         (issignaling_test): Likewise.
8625         (isunordered_test): Likewise.
8626         (j0_test): Likewise.
8627         (j1_test): Likewise.
8628         (jn_test): Likewise.
8629         (ldexp_test): Likewise.
8630         (lgamma_test): Likewise.
8631         (gamma_test): Likewise.
8632         (lrint_test): Likewise.
8633         (lrint_test_tonearest): Likewise.
8634         (lrint_test_towardzero): Likewise.
8635         (lrint_test_downward): Likewise.
8636         (lrint_test_upward): Likewise.
8637         (llrint_test): Likewise.
8638         (llrint_test_tonearest): Likewise.
8639         (llrint_test_towardzero): Likewise.
8640         (llrint_test_downward): Likewise.
8641         (llrint_test_upward): Likewise.
8642         (log_test): Likewise.
8643         (log10_test): Likewise.
8644         (log1p_test): Likewise.
8645         (log2_test): Likewise.
8646         (logb_test): Likewise.
8647         (logb_test_downward): Likewise.
8648         (lround_test): Likewise.
8649         (llround_test): Likewise.
8650         (modf_test): Likewise.
8651         (nearbyint_test): Likewise.
8652         (nextafter_test): Likewise.
8653         (nexttoward_test): Likewise.
8654         (pow_test): Likewise.
8655         (pow_test_tonearest): Likewise.
8656         (pow_test_towardzero): Likewise.
8657         (pow_test_downward): Likewise.
8658         (pow_test_upward): Likewise.
8659         (remainder_test): Likewise.
8660         (drem_test): Likewise.
8661         (remainder_test_tonearest): Likewise.
8662         (drem_test_tonearest): Likewise.
8663         (remainder_test_towardzero): Likewise.
8664         (drem_test_towardzero): Likewise.
8665         (remainder_test_downward): Likewise.
8666         (drem_test_downward): Likewise.
8667         (remainder_test_upward): Likewise.
8668         (drem_test_upward): Likewise.
8669         (remquo_test): Likewise.
8670         (rint_test): Likewise.
8671         (rint_test_tonearest): Likewise.
8672         (rint_test_towardzero): Likewise.
8673         (rint_test_downward): Likewise.
8674         (rint_test_upward): Likewise.
8675         (round_test): Likewise.
8676         (scalb_test): Likewise.
8677         (scalbn_test): Likewise.
8678         (scalbln_test): Likewise.
8679         (signbit_test): Likewise.
8680         (sin_test): Likewise.
8681         (sin_test_tonearest): Likewise.
8682         (sin_test_towardzero): Likewise.
8683         (sin_test_downward): Likewise.
8684         (sin_test_upward): Likewise.
8685         (sincos_test): Likewise.
8686         (sinh_test): Likewise.
8687         (sinh_test_tonearest): Likewise.
8688         (sinh_test_towardzero): Likewise.
8689         (sinh_test_downward): Likewise.
8690         (sinh_test_upward): Likewise.
8691         (sqrt_test): Likewise.
8692         (sqrt_test_tonearest): Likewise.
8693         (sqrt_test_towardzero): Likewise.
8694         (sqrt_test_downward): Likewise.
8695         (sqrt_test_upward): Likewise.
8696         (tan_test): Likewise.
8697         (tan_test_tonearest): Likewise.
8698         (tan_test_towardzero): Likewise.
8699         (tan_test_downward): Likewise.
8700         (tan_test_upward): Likewise.
8701         (tanh_test): Likewise.
8702         (tgamma_test): Likewise.
8703         (trunc_test): Likewise.
8704         (y0_test): Likewise.
8705         (y1_test): Likewise.
8706         (yn_test): Likewise.
8707         (significand_test): Likewise.
8708
8709         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8710         individual tests in comment.
8711         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8712         (prev_max_error): New variable.
8713         (prev_real_max_error): Likewise.
8714         (prev_imag_max_error): Likewise.
8715         (compare_ulp_data): Don't refer to test names in comment.
8716         (find_test_ulps): Remove function.
8717         (find_function_ulps): Likewise.
8718         (find_complex_function_ulps): Likewise.
8719         (init_max_error): Take function name as argument.  Look up ulps
8720         for that function.
8721         (print_ulps): Remove function.
8722         (print_max_error): Use prev_max_error instead of calling
8723         find_function_ulps.
8724         (print_complex_max_error): Use prev_real_max_error and
8725         prev_imag_max_error instead of calling find_complex_function_ulps.
8726         (check_float_internal): Take max_ulp parameter instead of calling
8727         find_test_ulps.  Don't call print_ulps.
8728         (check_float): Update call to check_float_internal.
8729         (check_complex): Update calls to check_float_internal.
8730         (START): Pass argument to init_max_error.
8731         * math/gen-libm-test.pl (%results): Don't include "kind"
8732         information.
8733         (parse_ulps): Don't handle ulps of individual tests.
8734         (print_ulps_file): Likewise.
8735         (output_ulps): Likewise.
8736         * math/README.libm-test: Update.
8737         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8738         individual tests.
8739         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8740         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8741         * sysdeps/arm/libm-test-ulps: Likewise.
8742         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8743         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8744         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8745         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8746         * sysdeps/microblaze/libm-test-ulps: Likewise.
8747         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8748         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8749         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8750         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8751         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8752         * sysdeps/sh/libm-test-ulps: Likewise.
8753         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8754         * sysdeps/tile/libm-test-ulps: Likewise.
8755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8756
8757 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8758
8759         * math/libm-test.inc (print_complex_max_error): Check separately
8760         whether real and imaginary errors are within allowed range and
8761         pass 0 to print_complex_function_ulps instead of value within
8762         allowed range.
8763
8764 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8765
8766         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8767         formatting.
8768         (get_handles_fopen): Likewise.
8769         (do_write_test): Likewise.
8770
8771         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8772
8773         * libio/fileops.c (do_ftell): Use cached offset when
8774         available.
8775         * libio/iofwide.c (do_ftell_wide): Likewise.
8776         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8777         _IO_file_attach.
8778         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8779
8780         [BZ #16532]
8781         * libio/libioP.h (get_file_offset): New function.
8782         * libio/fileops.c (get_file_offset): Likewise.
8783         (do_ftell): Likewise.
8784         (_IO_new_file_seekoff): Split out ftell logic.
8785         * libio/wfileops.c (do_ftell_wide): Likewise.
8786         (_IO_wfile_seekoff): Split out ftell logic.
8787         * libio/tst-ftell-active-handler.c: New test case.
8788         * libio/Makefile (tests): Add it.
8789
8790 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8791
8792         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8793         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8794
8795 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8796
8797         [BZ #16639]
8798         * nscd/connections.c (nscd_init): Call do_exit.
8799         (start_threads): Call do_exit and notify_parent.
8800         (begin_drop_privileges): Call do_exit.
8801         (finish_drop_privileges): Likewise.
8802         * nscd/selinux.c (preserve_capabilities): Likewise.
8803         (install_real_capabilities): Likewise.
8804         (nscd_selinux_enabled): Likewise.
8805         (avc_create_thread): Likewise.
8806         (avc_alloc_lock): Likewise.
8807         (nscd_avc_init): Likewise.
8808         * nscd/nscd.c (parent_fd): New static variable.
8809         (main): Create a pipe between parent and child processes.
8810         Skip closing parent_fd.
8811         (monitor_child): New function.
8812         (do_exit): Likewise.
8813         (notify_parent): Likewise.
8814         * nscd/nscd.h (notify_parent): Likewise.
8815         (do_exit): Likewise.
8816
8817 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8818
8819         * malloc/malloc.c (__libc_calloc): Revert last change.
8820
8821 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8822
8823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8824
8825 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8826
8827         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8829         implementation.
8830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8831         (__libc_ifunc_impl_list): Likewise.
8832         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8833         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8834         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8835         * string/strrchr.c: Define STRRCHR.
8836
8837 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8838
8839         * benchtest/bench-strtok.c (simple_strtok): Delete.
8840         (strtok_string): Use as benchmark.
8841         * string/strtok (STRTOK): New macro.
8842
8843 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8844
8845         * manual/threads.texi: Add header and standard comments to all
8846         functions.
8847
8848         * elf/dl-lookup.c (check_match): New function.
8849         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8850         (do_lookup_x): Remove nested function check_match. Use non-nested
8851         function check_match.
8852
8853 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8854
8855         * csu/Makefile (generated, before-compile): Use += rather than =.
8856         * catgets/Makefile (generated, generated-dirs): Likewise.
8857         * debug/Makefile (generated): Likewise.
8858         * dlfcn/Makefile (generated): Likewise.
8859         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8860         * iconvdata/Makefile (before-compile, generated): Likewise.
8861         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8862         * libio/Makefile (generated): Likewise.
8863         * malloc/Makefile (generated): Likewise.
8864         * manual/Makefile (generated, generated-dirs): Likewise.
8865         * misc/Makefile (generated): Likewise.
8866         * posix/Makefile (generated): Likewise.
8867         * resolv/Makefile (generated): Likewise.
8868         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8869         * timezone/Makefile (generated, generated-dirs): Likewise.
8870
8871         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8872
8873 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8874
8875         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8876         power8 implementation.
8877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8878         file: POWER8 llround ifunc implementation.
8879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8880         (__lllround): Add POWER8 implementation.
8881         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8882         POWER8 llround implementation.
8883
8884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8885         power8 implementation.
8886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8887         file: POWER8 llrint ifunc implementation.
8888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8889         Add POWER8 implementation.
8890         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8891         POWER8 llrint implementation.
8892
8893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8894         power8 implementation.
8895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8896         file: POWER8 finite ifunc implementation.
8897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8898         Add POWER8 implementation.
8899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8900         Likewise.
8901         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8902         POWER8 finite implementation.
8903         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8904
8905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8906         power8 implementation.
8907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8908         file: POWER8 isinf ifunc implementation.
8909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8910         POWER8 implementation.
8911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8912         Likewise.
8913         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8914         isinf implementation.
8915         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8916
8917         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8918         (INIT_ARCH): Add hwcap2 initialization.
8919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8920         power8 implementation.
8921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8922         file: POWER8 isnan ifunc implementation.
8923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8924         POWER8 implementation.
8925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8926         Likewise.
8927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8928         isnan implementation.
8929         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8930
8931 2014-02-27  Joey Ye  <joey.ye@arm.com>
8932
8933         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8934         (_FP_NANFRAC_Q): Set to zero.
8935
8936 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8937
8938         [BZ #16623]
8939         * math/auto-libm-test-in: New test inputs.
8940         * math/auto-libm-test-out: Regenerate.
8941         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8942         and DA.
8943         (__cos): Likewise.
8944         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8945
8946 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8947
8948         * scripts/evaluate-test.sh: Take new argument indicating whether
8949         failure is expected.
8950         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8951         indicating whether failure is expected.
8952         * conform/Makefile (test-xfail-run-conformtest): New variable.
8953         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8954         level.
8955         * posix/Makefile (test-xfail-annexc): New variable.
8956         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8957
8958 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8959
8960         * argp/Makefile: Include Makeconfig immediately after defining
8961         subdir.
8962         * assert/Makefile: Likewise.
8963         * benchtests/Makefile: Likewise.
8964         * catgets/Makefile: Likewise.
8965         * conform/Makefile: Likewise.
8966         * crypt/Makefile: Likewise.
8967         * csu/Makefile: Likewise.
8968         (all): Remove target.
8969         * ctype/Makefile: Include Makeconfig immediately after defining
8970         subdir.
8971         * debug/Makefile: Likewise.
8972         * dirent/Makefile: Likewise.
8973         * dlfcn/Makefile: Likewise.
8974         * gmon/Makefile: Likewise.
8975         * gnulib/Makefile: Likewise.
8976         * grp/Makefile: Likewise.
8977         * gshadow/Makefile: Likewise.
8978         * hesiod/Makefile: Likewise.
8979         * hurd/Makefile: Likewise.
8980         (all): Remove target.
8981         * iconvdata/Makefile: Include Makeconfig immediately after
8982         defining subdir.
8983         * inet/Makefile: Likewise.
8984         * intl/Makefile: Likewise.
8985         * io/Makefile: Likewise.
8986         * libio/Makefile: Likewise.
8987         (all): Remove target.
8988         * locale/Makefile: Include Makeconfig immediately after defining
8989         subdir.
8990         * login/Makefile: Likewise.
8991         * mach/Makefile: Likewise.
8992         (all): Remove target.
8993         * malloc/Makefile: Include Makeconfig immediately after defining
8994         subdir.
8995         (all): Remove target.
8996         * manual/Makefile: Include Makeconfig immediately after defining
8997         subdir.
8998         * math/Makefile: Likewise.
8999         * misc/Makefile: Likewise.
9000         * nis/Makefile: Likewise.
9001         * nss/Makefile: Likewise.
9002         * po/Makefile: Likewise.
9003         (all): Remove target.
9004         * posix/Makefile: Include Makeconfig immediately after defining
9005         subdir.
9006         * pwd/Makefile: Likewise.
9007         * resolv/Makefile: Likewise.
9008         * resource/Makefile: Likewise.
9009         * rt/Makefile: Likewise.
9010         * setjmp/Makefile: Likewise.
9011         * shadow/Makefile: Likewise.
9012         * signal/Makefile: Likewise.
9013         * socket/Makefile: Likewise.
9014         * soft-fp/Makefile: Likewise.
9015         * stdio-common/Makefile: Likewise.
9016         * stdlib/Makefile: Likewise.
9017         * streams/Makefile: Likewise.
9018         * string/Makefile: Likewise.
9019         * sunrpc/Makefile: Likewise.
9020         (all): Remove target.
9021         * sysvipc/Makefile: Include Makeconfig immediately after defining
9022         subdir.
9023         * termios/Makefile: Likewise.
9024         * time/Makefile: Likewise.
9025         * timezone/Makefile: Likewise.
9026         (all): Remove target.
9027         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9028         subdir.
9029         * wctype/Makefile: Likewise.
9030
9031 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9032
9033         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9034         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9035         (libc_feholdexcept_setround_mips): Ditto.
9036         (libc_feholdsetround): New.
9037         (libc_feholdsetroundf): New.
9038         (libc_feholdsetroundl): New.
9039         (libc_feupdateenv_test_mips): New.
9040         (libc_feupdateenv_test): New.
9041         (libc_feupdateenv_testf): New.
9042         (libc_feupdateenv_testl): New.
9043         (libc_feresetround): New.
9044         (libc_feresetroundf): New.
9045         (libc_feresetroundl): New.
9046         (libc_fetestexcept_mips): New.
9047         (libc_fetestexcept): New.
9048         (libc_fetestexceptf): New.
9049         (libc_fetestexceptl): New.
9050         (HAVE_RM_CTX): New.
9051         (libc_feholdexcept_setround_mips_ctx): New.
9052         (libc_feholdexcept_setround_ctx): New.
9053         (libc_feholdexcept_setroundf_ctx): New.
9054         (libc_feholdexcept_setroundl_ctx): New.
9055         (libc_fesetenv_mips_ctx): New.
9056         (libc_fesetenv_ctx): New.
9057         (libc_fesetenv_ctxf): New.
9058         (libc_fesetenv_ctxl): New.
9059         (libc_feupdateenv_mips_ctx): New.
9060         (libc_feupdateenv_ctx): New.
9061         (libc_feupdateenvf_ctx): New.
9062         (libc_feupdateenvl_ctx): New.
9063         (libc_feholdsetround_mips_ctx): New.
9064         (libc_feholdsetround_ctx): New.
9065         (libc_feholdsetroundf_ctx): New.
9066         (libc_feholdsetroundl_ctx): New.
9067         (libc_feresetround_mips_ctx): New.
9068         (libc_feresetround_ctx): New.
9069         (libc_feresetroundf_ctx): New.
9070         (libc_feresetroundl_ctx): New.
9071
9072 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9073
9074         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9075
9076         * manual/ipc.texi: New file.
9077         * manual/Makefile (chapters): Add ipc.
9078         * manual/job.texi: Add "Inter-Process Communication" to next.
9079         * manual/process.texi: Add "Inter-Process Communication" to prev.
9080
9081 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9082
9083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9084
9085 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9086
9087         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9088
9089         * manual/arith.texi: Fix spaces after sentences.
9090         * manual/charset.texi: Likewise.
9091         * manual/errno.texi: Likewise.
9092         * manual/install.texi: Likewise.
9093         * manual/llio.texi: Likewise.
9094         * manual/locale.texi: Likewise.
9095         * manual/maint.texi: Likewise.
9096         * manual/math.texi: Likewise.
9097         * manual/memory.texi: Likewise.
9098         * manual/message.texi: Likewise.
9099         * manual/probes.texi: Likewise.
9100         * manual/resource.texi: Likewise.
9101         * manual/signal.texi: Likewise.
9102         * manual/socket.texi: Likewise.
9103         * manual/stdio.texi: Likewise.
9104         * manual/string.texi: Likewise.
9105         * manual/time.texi: Likewise.
9106         * manual/users.texi: Likewise.
9107
9108 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9109
9110         [BZ #16632]
9111         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9112         _DEFAULT_SOURCE is defined.
9113
9114 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9115             Carlos O'Donell  <carlos@redhat.com>
9116
9117         [BZ #16613]
9118         * elf/dl-tls.c (_dl_count_modids): New function.
9119         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9120         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9121         audit library and increment generation counter.
9122         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9123         * elf/tst-audit9.c: New file.
9124         * elf/tst-auditmod9a.c: New file.
9125         * elf/tst-auditmod9b.c: New file.
9126         * elf/Makefile: Add rules to build and run tst-audit9.
9127
9128 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9129
9130         [BZ #15347]
9131         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9132
9133 2014-02-25  Will Newton  <will.newton@linaro.org>
9134
9135         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9136         (__longjmp): Restore sp and lr before restoring callee
9137         saved registers.  Add longjmp and longjmp_target
9138         SystemTap probe point.
9139         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9140         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9141         Define to zero to match jmpbuf layout.
9142         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9143         (__sigsetjmp): Save sp and lr before saving callee
9144         saved registers.  Add setjmp SystemTap probe point.
9145
9146 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9147
9148         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9149
9150 2014-02-24  Andreas Schwab  <schwab@suse.de>
9151
9152         [BZ #15804]
9153         * elf/pldd.c (wait_for_ptrace_stop): New function.
9154         (main): Call it after attaching.
9155
9156 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9157
9158         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9159         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9160         Versions files is now verboten.
9161         * hurd/Versions (libc: GLIBC_2.0):
9162         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9163         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9164         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9165         * mach/Versions: Likewise.
9166
9167         * csu/Versions: Remove unused %include.
9168         * resolv/Versions: Likewise.
9169
9170 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9171
9172         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9173         ($(objpfx)check-local-headers.out): Likewise.
9174         ($(objpfx)begin-end-check.out): Likewise.
9175         * Makerules (check-abi-%.out): Likewise.
9176         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9177         ($(objpfx)test2.cat): Likewise.
9178         ($(objpfx)de/libc.cat): Likewise.
9179         ($(objpfx)test-gencat.out): Likewise.
9180         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9181         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9182         ($(objpfx)noload-mem): Likewise.
9183         ($(objpfx)tst-pathopt.out): Likewise.
9184         ($(objpfx)tst-rtld-load-self.out): Likewise.
9185         ($(objpfx)tst-array1-cmp.out): Likewise.
9186         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9187         ($(objpfx)tst-array2-cmp.out): Likewise.
9188         ($(objpfx)tst-array3-cmp.out): Likewise.
9189         ($(objpfx)tst-array4-cmp.out): Likewise.
9190         ($(objpfx)tst-array5-cmp.out): Likewise.
9191         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9192         ($(objpfx)check-textrel.out): Likewise.
9193         ($(objpfx)check-execstack.out): Likewise.
9194         ($(objpfx)check-localplt.out): Likewise.
9195         ($(objpfx)order2-cmp.out): Likewise.
9196         ($(objpfx)tst-leaks1-mem): Likewise.
9197         ($(objpfx)tst-leaks1-static-mem): Likewise.
9198         ($(objpfx)tst-initorder-cmp.out): Likewise.
9199         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9200         ($(objpfx)tst-unused-dep.out): Likewise.
9201         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9202         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9203         * iconv/Makefile (test-iconvconfig): Likewise.
9204         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9205         ($(objpfx)iconv-test.out): Likewise.
9206         ($(objpfx)tst-tables.out): Likewise.
9207         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9208         ($(objpfx)tst-gettext.out): Likewise.
9209         ($(objpfx)tst-translit.out): Likewise.
9210         ($(objpfx)tst-gettext2.out): Likewise.
9211         ($(objpfx)tst-gettext4.out): Likewise.
9212         ($(objpfx)tst-gettext6.out): Likewise.
9213         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9214         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9215         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9216         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9217         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9218         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9219         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9220         ($(objpfx)wordexp-tst.out): Likewise.
9221         ($(objpfx)annexc.out): Likewise.
9222         ($(objpfx)tst-fnmatch-mem): Likewise.
9223         ($(objpfx)bug-regex2-mem): Likewise.
9224         ($(objpfx)bug-regex14-mem): Likewise.
9225         ($(objpfx)bug-regex21-mem): Likewise.
9226         ($(objpfx)bug-regex31-mem): Likewise.
9227         ($(objpfx)tst-vfork3-mem): Likewise.
9228         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9229         ($(objpfx)tst-pcre-mem): Likewise.
9230         ($(objpfx)tst-boost-mem): Likewise.
9231         ($(objpfx)tst-getconf.out): Likewise.
9232         ($(objpfx)bug-ga2-mem): Likewise.
9233         ($(objpfx)bug-glob2-mem): Likewise.
9234         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9235         ($(objpfx)mtrace-tst-leaks2): Likewise.
9236         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9237         ($(objpfx)tst-printf.out): Likewise.
9238         ($(objpfx)tst-setvbuf1.out): Likewise.
9239         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9240         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9241         ($(objpfx)tst-fmtmsg.out): Likewise.
9242         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9243         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9244
9245         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9246         * bits/sigaction.h [__USE_MISC]: Likewise.
9247         * bits/waitstatus.h: Update #endif comments.
9248         * ctype/ctype.h: Likewise.
9249         * dirent/dirent.h: Likewise.
9250         [__USE_MISC]: Remove redundant conditionals.
9251         * grp/grp.h: Update #endif comments.
9252         [__USE_GNU]: Remove redundant conditionals.
9253         [__USE_MISC]: Likewise.
9254         * inet/netinet/in.h [__USE_GNU]: Likewise.
9255         * io/sys/stat.h [__USE_MISC]: Likewise.
9256         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9257         * libio/bits/stdio.h: Update #endif comments.
9258         [__USE_MISC]: Remove redundant conditionals.
9259         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9260         * libio/stdio.h: Update #endif comments.
9261         [__USE_MISC]: Remove redundant conditionals.
9262         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9263         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9264         * math/math.h: Update #else and #endif comments.
9265         [__USE_MISC]: Remove redundant conditionals.
9266         * misc/sys/uio.h: Update #endif comments.
9267         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9268         * posix/glob.h [__USE_MISC]: Likewise.
9269         * posix/sys/types.h: Update #endif comments.
9270         [__USE_MISC]: Remove redundant conditionals.
9271         * posix/sys/wait.h: Update #endif comments.
9272         [__USE_MISC]: Remove redundant conditionals.
9273         * posix/unistd.h: Update #endif comments.
9274         [__USE_MISC]: Remove redundant conditionals.
9275         * pwd/pwd.h [__USE_GNU]: Likewise.
9276         [__USE_MISC]: Likewise.
9277         * resolv/netdb.h [__USE_GNU]: Likewise.
9278         * signal/signal.h: Update #endif comments.
9279         [__USE_MISC]: Remove redundant conditionals.
9280         * stdlib/stdlib.h: Update #else and #endif comments.
9281         [__USE_MISC]: Remove redundant conditionals.
9282         [__USE_GNU]: Likewise.
9283         * string/bits/string2.h [__USE_MISC]: Likewise.
9284         * string/string.h: Update #endif comments.
9285         [__USE_MISC]: Remove redundant conditionals.
9286         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9287         Likewise.
9288         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9289         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9290         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9291         Likewise.
9292         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9293         Likewise.
9294         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9295         comments.
9296         [__USE_MISC]: Remove redundant conditionals.
9297         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9298         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9299         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9300         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9301         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9302         Likewise.
9303         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9304         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9305         Likewise.
9306         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9307         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9308         Likewise.
9309         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9310         Likewise.
9311         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9312         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9313         Likewise.
9314         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9315         Likewise.
9316         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9317         * sysdeps/x86/bits/string.h: Update #endif comments.
9318         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9319         conditionals.
9320         * time/sys/time.h: Update #endif comments.
9321         * time/time.h: Likewise.
9322         [__USE_MISC]: Remove redundant conditionals.
9323
9324 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9325
9326         [BZ #16600]
9327         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9328
9329 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9330
9331         * Versions.def (librt): Add GLIBC_2.17.
9332
9333 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9334
9335         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9336         synonym for _SYS_AUXV_H to allow direct inclusion.
9337         * sysdeps/sparc/bits/hwcap.h: Likewise.
9338         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9339         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9340         * sysdeps/sparc/sysdep.h: Likewise.
9341
9342 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9343
9344         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9345
9346 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9347
9348         * benchtests/bench-strrchr.c: Print length instead of position.
9349
9350 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9351
9352         [BZ #16611]
9353         * sysdeps/unix/sysv/linux/kernel-features.h
9354         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9355         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9356         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9357         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9358         Likewise.
9359         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9360         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9361         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9362         (__ASSUME_SENDMMSG): Define instead of using previous
9363         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9364         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9365         (__ASSUME_SENDMMSG_SYSCALL): Define.
9366         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9367         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9368         Likewise.
9369         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9370         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9371         Likewise.
9372         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9373         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9374         Likewise.
9375         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9376         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9377         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9378         [__ASSUME_SENDMMSG]: Change conditionals to
9379         [__ASSUME_SENDMMSG_SOCKETCALL].
9380         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9381         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9382         Define.
9383         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9384         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9385         Likewise.
9386         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9387         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9388         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9389         [!__ASSUME_SENDMMSG]: Change conditional to
9390         [!__ASSUME_SENDMMSG_SOCKETCALL].
9391         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9392         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9393         Define.
9394
9395         [BZ #16610]
9396         * sysdeps/unix/sysv/linux/kernel-features.h
9397         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9398         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9399         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9400         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9401         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9402         [__i386__ || __sparc__]
9403         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9404         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9405         (__ASSUME_RECVMMSG): Define instead of using previous
9406         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9408         (__ASSUME_RECVMMSG_SYSCALL): Define.
9409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9410         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9411         Likewise.
9412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9413         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9414         Likewise.
9415         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9416         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9417         Likewise.
9418         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9419         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9420         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9421         [__ASSUME_RECVMMSG]: Change condition to
9422         [__ASSUME_RECVMMSG_SOCKETCALL].
9423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9424         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9425         Define.
9426         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9427         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9428         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9429         Likewise.
9430         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9431         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9432         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9433         [!__ASSUME_RECVMMSG]: Change condition to
9434         [!__ASSUME_RECVMMSG_SOCKETCALL].
9435         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9436         (__ASSUME_RECVMMSG_SYSCALL): Define.
9437
9438         [BZ #16609]
9439         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9440         __powerpc__ || __s390__ || __sh__ || __sparc__]
9441         (__ASSUME_SOCKETCALL): Define.
9442         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9443         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9444         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9445         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9446         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9447         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9448         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9449         (__ASSUME_ACCEPT4): Define instead of using previous
9450         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9451         __powerpc__ || __sparc__ || __s390__)] condition.
9452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9453         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9454         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9455         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9456         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9457         [!__ASSUME_ACCEPT4]: Change condition to
9458         [!__ASSUME_ACCEPT4_SOCKETCALL].
9459         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9460         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9461         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9462         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9463         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9464         __ASSUME_ACCEPT4_SYSCALL.
9465         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9466         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9467         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9468         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9469         __ASSUME_ACCEPT4_SYSCALL.
9470         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9471         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9472         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9473         [__ASSUME_ACCEPT4]: Change condition to
9474         [__ASSUME_ACCEPT4_SOCKETCALL].
9475         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9476         (__ASSUME_SOCKETCALL): Define.
9477         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9478         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9479         (__ASSUME_SOCKETCALL): Define.
9480         (__ASSUME_ACCEPT4): Remove.
9481         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9482         Define.
9483         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9484         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9485         Likewise.
9486         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9487         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9488
9489         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9490         macro.
9491         (HWCAP_ARM_LPAE): Likewise.
9492         (HWCAP_ARM_EVTSTRM): Likewise.
9493         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9494         Add vpfd32, lpae and evtstrm.
9495         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9496         Increase to 22.
9497
9498 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9499
9500         * math/auto-libm-test-in: Add tests of clog10.
9501         * math/auto-libm-test-out: Regenerated.
9502         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9503         * sysdeps/i386/fpu/libm-test-ulps: Update.
9504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9505
9506 2014-02-18  Andreas Schwab  <schwab@suse.de>
9507
9508         [BZ #16574]
9509         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9510         Store non-zero if the second buffer was newly allocated.
9511         (send_dg): Likewise.
9512         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9513         to send_vc and send_dg.
9514         (res_nsend): Pass NULL for ansp2_malloced.
9515         * resolv/res_query.c (__libc_res_nquery): Add parameter
9516         answerp2_malloced and pass it down to __libc_res_nsend.
9517         (res_nquery): Pass additional NULL to __libc_res_nquery.
9518         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9519         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9520         second answer buffer if answerp2_malloced was set.
9521         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9522         (__libc_res_nquerydomain): Add parameter
9523         answerp2_malloced and pass it down to __libc_res_nquery.
9524         (res_nquerydomain): Pass additional NULL to
9525         __libc_res_nquerydomain.
9526         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9527         additional NULL to __libc_res_nsend and __libc_res_nquery.
9528         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9529         additional NULL to __libc_res_nsearch.
9530         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9531         parameter of __libc_res_nsearch to check for separately allocated
9532         second buffer.
9533         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9534         __libc_res_nquery.
9535         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9536         additional NULL to __libc_res_nquery.
9537         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9538         __libc_res_nsearch.
9539         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9540         * include/resolv.h: Update prototypes of __libc_res_nquery,
9541         __libc_res_nsearch, __libc_res_nsend.
9542
9543 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9544
9545         * math/auto-libm-test-in: Add tests of fma.
9546         * math/auto-libm-test-out: Regenerated.
9547         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9548         (fma_towardzero_test_data): Likewise.
9549         (fma_downward_test_data): Likewise.
9550         (fma_upward_test_data): Likewise.
9551         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9552         mpc_mode.
9553         (rounding_modes): Add values for new field.
9554         (func_calc_method): Add value mpfr_fff_f.
9555         (func_calc_desc): Add mpfr_fff_f union field.
9556         (test_function): Add field exact_args.
9557         (FUNC): Add macro argument EXACT_ARGS.
9558         (FUNC_mpfr_f_f): Update call to FUNC.
9559         (FUNC_mpfr_f_f): Likewise.
9560         (FUNC_mpfr_ff_f): Likewise.
9561         (FUNC_mpfr_if_f): Likewise.
9562         (FUNC_mpc_c_f): Likewise.
9563         (FUNC_mpc_c_c): Likewise.
9564         (test_functions): Add fma.  Update calls to FUNC.
9565         (handle_input_arg): Add argument exact_args.
9566         (add_test): Update call to handle_input_arg.
9567         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9568         (output_for_one_input_case): Update call to calc_generic_results.
9569         Recalculate exact zero results in each rounding mode.
9570
9571         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9572         non-negative before setting low bit.
9573         * math/auto-libm-test-in: Mark one asin test possibly having
9574         spurious underflow.
9575         * math/auto-libm-test-out: Regenerated.
9576         * sysdeps/i386/fpu/libm-test-ulps: Update.
9577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9578
9579 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9580
9581         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9582         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9583         ports/sysdeps/unix/sysv/linux/microblaze.
9584         * README: Add missing listing for microblaze*-*-linux-gnu.
9585
9586 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9587
9588         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9589         * sysdeps/unix/sysv/linux/ia64: Move directory from
9590         ports/sysdeps/unix/sysv/linux/ia64.
9591         * README: Update listing for ia64-*-linux-gnu.
9592
9593 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9594             Joseph Myers  <joseph@codesourcery.com>
9595
9596         * Makeconfig (test-name): New variable.
9597         (evaluate-test): Likewise.
9598         * Makerules (do-test-clean): Remove .test-result files.
9599         (common-mostlyclean): Likewise.
9600         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9601         * scripts/evaluate-test.sh: New file.
9602
9603 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9604
9605         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9606         separate $(objpfx)tst-fopenloc-cmp.out and
9607         $(objpfx)tst-fopenloc-mem.out targets.
9608         (tests): Update dependencies.
9609         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9610         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9611         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9612         (tst-rxspencer-no-utf8-ARGS): New variable.
9613         (tst-rxspencer-no-utf8-ENV): Likewise.
9614         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9615         instead of $(objpfx)tst-rxspencer-mem.
9616         ($(objpfx)tst-rxspencer-mem): Change target to
9617         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9618         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9619         * posix/tst-rxspencer-no-utf8.c: New file.
9620
9621         * elf/Makefile ($(objpfx)order.out): Remove rule.
9622         [$(run-built-tests) = yes] (tests): Depend on
9623         $(objpfx)order-cmp.out.
9624         ($(objpfx)order-cmp.out): New rule.
9625         [$(run-built-tests) = yes] (tests): Depend on
9626         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9627         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9628         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9629         $(objpfx)tst-array5-static-cmp.out.
9630         ($(objpfx)tst-array1.out): Remove rule.
9631         ($(objpfx)tst-array1-cmp.out): New rule.
9632         ($(objpfx)tst-array1-static.out): Remove rule.
9633         ($(objpfx)tst-array1-static-cmp.out): New rule.
9634         ($(objpfx)tst-array2.out): Remove rule.
9635         ($(objpfx)tst-array2-cmp.out): New rule.
9636         ($(objpfx)tst-array3.out): Remove rule.
9637         ($(objpfx)tst-array3-cmp.out): New rule.
9638         ($(objpfx)tst-array4.out): Remove rule.
9639         ($(objpfx)tst-array4-cmp.out): New rule.
9640         ($(objpfx)tst-array5.out): Remove rule.
9641         ($(objpfx)tst-array5-cmp.out): New rule.
9642         ($(objpfx)tst-array5-static.out): Remove rule.
9643         ($(objpfx)tst-array5-static-cmp.out): New rule.
9644         [$(run-built-tests) = yes] (tests): Depend on
9645         $(objpfx)order2-cmp.out.
9646         ($(objpfx)order2.out): Remove rule.
9647         ($(objpfx)order2-cmp.out): New rule.
9648         ($(objpfx)tst-initorder.out): Remove rule.
9649         [$(run-built-tests) = yes] (tests): Depend on
9650         $(objpfx)tst-initorder-cmp.out.
9651         ($(objpfx)tst-initorder-cmp.out): New rule.
9652         ($(objpfx)tst-initorder2.out): Remove rule.
9653         [$(run-built-tests) = yes] (tests): Depend on
9654         $(objpfx)tst-initorder2-cmp.out.
9655         ($(objpfx)tst-initorder2-cmp.out): New rule.
9656         [$(run-built-tests) = yes] (tests): Depend on
9657         $(objpfx)tst-unused-dep-cmp.out.
9658         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9659         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9660         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9661         on $(objpfx)tst-setvbuf1-cmp.out.
9662         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9663         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9664         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9665         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9666         ($(objpfx)tst-svc.out): Remove rule.
9667         ($(objpfx)tst-svc-cmp.out): New rule.
9668
9669 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9670
9671         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9672         * ctype/ctype.h [__USE_MISC]: Likewise.
9673         * dirent/dirent.h [__USE_MISC]: Likewise.
9674         * grp/grp.h [__USE_MISC]: Likewise.
9675         * io/fcntl.h [__USE_MISC]: Likewise.
9676         * io/sys/stat.h [__USE_MISC]: Likewise.
9677         * libio/stdio.h [__USE_MISC]: Likewise.
9678         * posix/unistd.h [__USE_MISC]: Likewise.
9679         * pwd/pwd.h [__USE_MISC]: Likewise.
9680         * stdlib.h [__USE_MISC]: Likewise.
9681         * string/bits/string2.h [__USE_MISC]: Likewise.
9682         * string/string.h [__USE_MISC]: Likewise.
9683         * time/time.h [__USE_MISC]: Likewise.
9684
9685 2014-02-13  Andreas Schwab  <schwab@suse.de>
9686
9687         [BZ #16574]
9688         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9689         second answer buffer if it was separately allocated.
9690
9691 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9692
9693         * sysdeps/mips/math-tests.h: Include <features.h>.
9694         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9695         (ROUNDING_TESTS_long_double): Do not define.
9696         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9697         (EXCEPTION_TESTS_long_double): Likewise.
9698         * sysdeps/mips/mips64/libm-test-ulps: Update.
9699
9700         * include/features.h (__USE_BSD): Remove macro definitions.
9701         (__USE_SVID): Likewise.
9702         (_BSD_SOURCE): Likewise.
9703         (_SVID_SOURCE): Likewise.
9704         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9705         from definition of _DEFAULT_SOURCE.
9706         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9707         [_DEFAULT_SOURCE].
9708         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9709         * bits/mman.h [__USE_BSD]: Likewise.
9710         * bits/termios.h [__USE_BSD]: Likewise.
9711         * bits/waitstatus.h [__USE_BSD]: Likewise.
9712         * ctype/ctype.h [__USE_SVID]: Likewise.
9713         * dirent/dirent.h [__USE_BSD]: Likewise.
9714         * grp/grp.h [__USE_SVID]: Likewise.
9715         [__USE_BSD]: Likewise.
9716         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9717         * io/fcntl.h [__USE_BSD]: Likewise.
9718         * io/ftw.h [__USE_BSD]: Likewise.
9719         * io/sys/stat.h [__USE_BSD]: Likewise.
9720         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9721         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9722         * libio/stdio.h [__USE_SVID]: Likewise.
9723         [__USE_BSD]: Likewise.
9724         * math/math.h [__USE_SVID]: Likewise.
9725         [__USE_BSD]: Likewise.
9726         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9727         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9728         * misc/search.h [__USE_SVID]: Likewise.
9729         * misc/sys/mman.h [__USE_BSD]: Likewise.
9730         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9731         * misc/sys/uio.h [__USE_BSD]: Likewise.
9732         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9733         * posix/glob.h [__USE_BSD]: Likewise.
9734         * posix/regex.h [__USE_BSD]: Likewise.
9735         * posix/sys/types.h [__USE_BSD]: Likewise.
9736         [__USE_SVID]: Likewise.
9737         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9738         * posix/sys/wait.h [__USE_BSD]: Likewise.
9739         [__USE_SVID]: Likewise.
9740         * posix/unistd.h [__USE_BSD]: Likewise.
9741         [__USE_SVID]: Likewise.
9742         * pwd/pwd.h [__USE_SVID]: Likewise.
9743         * resolv/netdb.h [__USE_BSD]: Likewise.
9744         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9745         * signal/signal.h [__USE_BSD]: Likewise.
9746         [__USE_SVID]: Likewise.
9747         * socket/sys/socket.h [__USE_BSD]: Likewise.
9748         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9749         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9750         [__USE_SVID]: Likewise.
9751         * string/bits/string2.h [__USE_BSD]: Likewise.
9752         [__USE_SVID]: Likewise.
9753         * string/bits/string3.h [__USE_BSD]: Likewise.
9754         * string/endian.h [__USE_BSD]: Likewise.
9755         * string/string.h [__USE_SVID]: Likewise.
9756         [__USE_BSD]: Likewise.
9757         * string/strings.h [__USE_BSD]: Likewise.
9758         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9759         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9760         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9761         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9762         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9763         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9764         Likewise.
9765         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9766         Likewise.
9767         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9768         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9769         Likewise.
9770         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9771         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9772         Likewise.
9773         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9774         Likewise.
9775         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9776         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9777         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9778         Likewise.
9779         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9780         Likewise.
9781         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9782         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9783         * termios/termios.h [__USE_BSD]: Likewise.
9784         * time/sys/time.h [__USE_BSD]: Likewise.
9785         * time/time.h [__USE_BSD]: Likewise.
9786         [__USE_SVID]: Likewise.
9787
9788         * Makefile (subdir_targets): Remove subdir_lint.out.
9789
9790         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9791         (do-tst-printf): Likewise.
9792         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9793         $(objpfx)tst-printf.out.
9794
9795         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9796
9797         * Makerules (check-abi-%): Change target to
9798         $(objpfx)check-abi-%.out.
9799         (check-abi target): Update dependencies.
9800         (check-abi-pattern variable): Redirect output of diff to $@.
9801         (check-abi variable): Likewise.
9802         * elf/Makefile (check-abi): Update dependencies.
9803
9804         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9805         unused.
9806         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9807         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9808         subnormal range.
9809         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9810         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9811         value has largest subnormal exponent.
9812         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9813         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9814         * sysdeps/aarch64/soft-fp/sfp-machine.h
9815         (_FP_TININESS_AFTER_ROUNDING): New macro.
9816         * sysdeps/alpha/soft-fp/sfp-machine.h
9817         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9818         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9819         Likewise.
9820         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9821         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9822         * sysdeps/mips/soft-fp/sfp-machine.h
9823         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9824         * sysdeps/powerpc/soft-fp/sfp-machine.h
9825         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9826         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9827         Likewise.
9828         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9829         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9830         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9831         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9832         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9833         Likewise.
9834
9835 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9836
9837         [BZ #16545]
9838         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9839         model 1.
9840
9841 2014-02-12  Richard Henderson  <rth@redhat.com>
9842
9843         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9844         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9845         * sysdeps/unix/sysv/linux/alpha: Move directory from
9846         ports/sysdeps/unix/sysv/linux/alpha.
9847         * README: Update listing for alpha-*-linux-gnu.
9848
9849 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9850
9851         * include/features.h: Update comment documenting feature test
9852         macros.
9853         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9854         _DEFAULT_SOURCE.
9855         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9856         (_SVID_SOURCE): Likewise.
9857         (_DEFAULT_SOURCE): Update description of default features.
9858         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9859         with _GNU_SOURCE.
9860         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9861         (S_ISVTX): Likewise.
9862         * manual/math.texi (Mathematical Constants): Likewise.
9863         * manual/signal.texi (Interrupted Primitives): Likewise.
9864         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9865         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9866         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9867         Don't refer to _SVID_SOURCE in warning text.
9868
9869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9870
9871         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9872         already defined.
9873         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9874         * sysdeps/mips/dl-lookup.c: Remove.
9875         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9876
9877 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9878
9879         [BZ #16447]
9880         * math/auto-libm-test-in: Add testcase for expl.
9881         * math/auto-libm-test-out: Regenerate.
9882         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9883         calculation of unsafe.
9884         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9885
9886 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9887
9888         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9889         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9890         ports/sysdeps/unix/sysv/linux/aarch64.
9891         * README: Update listing for aarch64*-*-linux-gnu.
9892
9893 2014-02-11  Will Newton  <will.newton@linaro.org>
9894
9895         * manual/probes.texi (Mathematical Function Probes): Use
9896         "triggered" instead of "hit".
9897
9898         * manual/probes.texi (Internal Probes): Add documentation
9899         of setjmp, longjmp and longjmp_target probes.
9900
9901         * include/stap-probe.h: Add comment about probe argument
9902         format.
9903
9904         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9905         definition.  (tr_where, tr_freehook, tr_mallochook,
9906         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9907
9908 2014-02-11  David S. Miller  <davem@davemloft.net>
9909
9910         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9911         processing int_tests.
9912
9913 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9914
9915         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9916         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9917         * sysdeps/unix/sysv/linux/mips: Move directory from
9918         ports/sysdeps/unix/sysv/linux/mips.
9919         * README: Update listing for mips-*-linux-gnu and
9920         mips64-*-linux-gnu.
9921
9922 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9923
9924         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9925         * sysdeps/unix/sysv/linux/m68k: Move directory from
9926         ports/sysdeps/unix/sysv/linux/m68k.
9927         * README: Update listing for m68k-*-linux-gnu.
9928
9929 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9930
9931         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9932         * sysdeps/unix/sysv/linux/generic: Move directory from
9933         ports/sysdeps/unix/sysv/linux/generic.
9934         * sysdeps/unix/sysv/linux/tile: Move directory from
9935         ports/sysdeps/unix/sysv/linux/tile.
9936         * README: Update listing for tile*-*-linux-gnu.
9937
9938 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9939
9940         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9941         __builtin_expect.
9942         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9943         * catgets/open_catalog.c (__open_catalog): Likewise.
9944         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9945         * debug/confstr_chk.c: Likewise.
9946         * debug/fread_chk.c (__fread_chk): Likewise.
9947         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9948         * debug/getgroups_chk.c: Likewise.
9949         * debug/mbsnrtowcs_chk.c: Likewise.
9950         * debug/mbsrtowcs_chk.c: Likewise.
9951         * debug/mbstowcs_chk.c: Likewise.
9952         * debug/memcpy_chk.c: Likewise.
9953         * debug/memmove_chk.c: Likewise.
9954         * debug/mempcpy_chk.c: Likewise.
9955         * debug/memset_chk.c: Likewise.
9956         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9957         * debug/strcat_chk.c (__strcat_chk): Likewise.
9958         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9959         * debug/strncat_chk.c (__strncat_chk): Likewise.
9960         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9961         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9962         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9963         * debug/wcpncpy_chk.c: Likewise.
9964         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9965         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9966         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9967         * debug/wcsncpy_chk.c: Likewise.
9968         * debug/wcsnrtombs_chk.c: Likewise.
9969         * debug/wcsrtombs_chk.c: Likewise.
9970         * debug/wcstombs_chk.c: Likewise.
9971         * debug/wmemcpy_chk.c: Likewise.
9972         * debug/wmemmove_chk.c: Likewise.
9973         * debug/wmempcpy_chk.c: Likewise.
9974         * debug/wmemset_chk.c: Likewise.
9975         * dirent/scandirat.c (SCANDIRAT): Likewise.
9976         * dlfcn/dladdr1.c (dladdr1): Likewise.
9977         * dlfcn/dladdr.c (dladdr): Likewise.
9978         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9979         * dlfcn/dlerror.c (__dlerror): Likewise.
9980         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9981         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9982         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9983         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9984         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9985         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9986         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9987         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9988         Likewise.
9989         * elf/dl-conflict.c: Likewise.
9990         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9991         * elf/dl-dst.h: Likewise.
9992         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9993         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9994         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9995         * elf/dl-init.c (call_init, _dl_init): Likewise.
9996         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9997         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9998         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9999         Likewise.
10000         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10001         Likewise.
10002         * elf/dl-minimal.c (__libc_memalign): Likewise.
10003         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10004         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10005         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10006         * elf/dl-sym.c (do_sym): Likewise.
10007         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10008         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10009         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10010         * elf/dl-writev.h (_dl_writev): Likewise.
10011         * elf/ldconfig.c (search_dir): Likewise.
10012         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10013         (dl_main): Likewise.
10014         * elf/setup-vdso.h (setup_vdso): Likewise.
10015         * grp/compat-initgroups.c (compat_call): Likewise.
10016         * grp/fgetgrent.c (fgetgrent): Likewise.
10017         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10018         * grp/putgrent.c (putgrent): Likewise.
10019         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10020         Likewise.
10021         * hurd/hurdinit.c: Likewise.
10022         * iconvdata/8bit-gap.c (struct): Likewise.
10023         * iconvdata/ansi_x3.110.c : Likewise.
10024         * iconvdata/big5.c : Likewise.
10025         * iconvdata/big5hkscs.c : Likewise.
10026         * iconvdata/cp1255.c: Likewise.
10027         * iconvdata/cp1258.c : Likewise.
10028         * iconvdata/cp932.c : Likewise.
10029         * iconvdata/euc-cn.c: Likewise.
10030         * iconvdata/euc-jisx0213.c : Likewise.
10031         * iconvdata/euc-jp.c: Likewise.
10032         * iconvdata/euc-jp-ms.c : Likewise.
10033         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10034         * iconvdata/gb18030.c : Likewise.
10035         * iconvdata/gbbig5.c (const): Likewise.
10036         * iconvdata/gbgbk.c: Likewise.
10037         * iconvdata/gbk.c : Likewise.
10038         * iconvdata/ibm1364.c : Likewise.
10039         * iconvdata/ibm930.c : Likewise.
10040         * iconvdata/ibm932.c: Likewise.
10041         * iconvdata/ibm933.c : Likewise.
10042         * iconvdata/ibm935.c : Likewise.
10043         * iconvdata/ibm937.c : Likewise.
10044         * iconvdata/ibm939.c : Likewise.
10045         * iconvdata/ibm943.c: Likewise.
10046         * iconvdata/iso_11548-1.c: Likewise.
10047         * iconvdata/iso-2022-cn.c : Likewise.
10048         * iconvdata/iso-2022-cn-ext.c : Likewise.
10049         * iconvdata/iso-2022-jp-3.c: Likewise.
10050         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10051         * iconvdata/iso-2022-kr.c : Likewise.
10052         * iconvdata/iso646.c (gconv_end): Likewise.
10053         * iconvdata/iso_6937-2.c : Likewise.
10054         * iconvdata/iso_6937.c : Likewise.
10055         * iconvdata/iso8859-1.c: Likewise.
10056         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10057         * iconvdata/shift_jisx0213.c : Likewise.
10058         * iconvdata/sjis.c : Likewise.
10059         * iconvdata/t.61.c : Likewise.
10060         * iconvdata/tcvn5712-1.c : Likewise.
10061         * iconvdata/tscii.c: Likewise.
10062         * iconvdata/uhc.c : Likewise.
10063         * iconvdata/unicode.c (gconv_end): Likewise.
10064         * iconvdata/utf-16.c (gconv_end): Likewise.
10065         * iconvdata/utf-32.c (gconv_end): Likewise.
10066         * iconvdata/utf-7.c (base64): Likewise.
10067         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10068         * iconv/gconv_close.c (__gconv_close): Likewise.
10069         * iconv/gconv_open.c (__gconv_open): Likewise.
10070         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10071         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10072         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10073         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10074         (ucs4le_internal_loop_single): Likewise.
10075         * iconv/iconv.c (iconv): Likewise.
10076         * iconv/iconv_close.c: Likewise.
10077         * iconv/loop.c (SINGLE): Likewise.
10078         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10079         * include/atomic.h: Likewise.
10080         * inet/inet6_option.c (option_alloc): Likewise.
10081         * intl/bindtextdom.c (set_binding_values): Likewise.
10082         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10083         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10084         * intl/localealias.c (read_alias_file): Likewise.
10085         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10086         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10087         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10088         * libio/fmemopen.c (fmemopen): Likewise.
10089         * libio/iofgets.c (_IO_fgets): Likewise.
10090         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10091         * libio/iofgetws.c (fgetws): Likewise.
10092         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10093         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10094         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10095         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10096         * locale/findlocale.c (_nl_find_locale): Likewise.
10097         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10098         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10099         Likewise.
10100         * locale/setlocale.c (setlocale): Likewise.
10101         * login/programs/pt_chown.c (main): Likewise.
10102         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10103         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10104         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10105         (mmap, mmap64, mremap, munmap): Likewise.
10106         * math/e_exp2l.c: Likewise.
10107         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10108         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10109         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10110         * math/s_catan.c (__catan): Likewise.
10111         * math/s_catanf.c (__catanf): Likewise.
10112         * math/s_catanh.c (__catanh): Likewise.
10113         * math/s_catanhf.c (__catanhf): Likewise.
10114         * math/s_catanhl.c (__catanhl): Likewise.
10115         * math/s_catanl.c (__catanl): Likewise.
10116         * math/s_ccosh.c (__ccosh): Likewise.
10117         * math/s_ccoshf.c (__ccoshf): Likewise.
10118         * math/s_ccoshl.c (__ccoshl): Likewise.
10119         * math/s_cexp.c (__cexp): Likewise.
10120         * math/s_cexpf.c (__cexpf): Likewise.
10121         * math/s_cexpl.c (__cexpl): Likewise.
10122         * math/s_clog10.c (__clog10): Likewise.
10123         * math/s_clog10f.c (__clog10f): Likewise.
10124         * math/s_clog10l.c (__clog10l): Likewise.
10125         * math/s_clog.c (__clog): Likewise.
10126         * math/s_clogf.c (__clogf): Likewise.
10127         * math/s_clogl.c (__clogl): Likewise.
10128         * math/s_csin.c (__csin): Likewise.
10129         * math/s_csinf.c (__csinf): Likewise.
10130         * math/s_csinh.c (__csinh): Likewise.
10131         * math/s_csinhf.c (__csinhf): Likewise.
10132         * math/s_csinhl.c (__csinhl): Likewise.
10133         * math/s_csinl.c (__csinl): Likewise.
10134         * math/s_csqrt.c (__csqrt): Likewise.
10135         * math/s_csqrtf.c (__csqrtf): Likewise.
10136         * math/s_csqrtl.c (__csqrtl): Likewise.
10137         * math/s_ctan.c (__ctan): Likewise.
10138         * math/s_ctanf.c (__ctanf): Likewise.
10139         * math/s_ctanh.c (__ctanh): Likewise.
10140         * math/s_ctanhf.c (__ctanhf): Likewise.
10141         * math/s_ctanhl.c (__ctanhl): Likewise.
10142         * math/s_ctanl.c (__ctanl): Likewise.
10143         * math/w_pow.c: Likewise.
10144         * math/w_powf.c: Likewise.
10145         * math/w_powl.c: Likewise.
10146         * math/w_scalb.c (sysv_scalb): Likewise.
10147         * math/w_scalbf.c (sysv_scalbf): Likewise.
10148         * math/w_scalbl.c (sysv_scalbl): Likewise.
10149         * misc/error.c (error_tail): Likewise.
10150         * misc/pselect.c (__pselect): Likewise.
10151         * nis/nis_callback.c (__nis_create_callback): Likewise.
10152         * nis/nis_call.c (__nisfind_server): Likewise.
10153         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10154         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10155         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10156         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10157         * nis/nis_lookup.c (nis_lookup): Likewise.
10158         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10159         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10160         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10161         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10162         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10163         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10164         * nis/nss_compat/compat-initgroups.c (add_group)
10165         (internal_getgrent_r): Likewise.
10166         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10167         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10168         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10169         (internal_getspnam_r): Likewise.
10170         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10171         (_nss_nis_getaliasbyname_r): Likewise.
10172         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10173         (_nss_nis_getntohost_r): Likewise.
10174         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10175         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10176         (_nss_nis_getgrgid_r): Likewise.
10177         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10178         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10179         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10180         (_nss_nis_gethostbyname4_r): Likewise.
10181         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10182         (initgroups_netid): Likewise.
10183         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10184         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10185         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10186         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10187         (_nss_nis_getprotobynumber_r): Likewise.
10188         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10189         (_nss_nis_getsecretkey): Likewise.
10190         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10191         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10192         (_nss_nis_getpwuid_r): Likewise.
10193         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10194         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10195         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10196         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10197         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10198         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10199         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10200         Likewise.
10201         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10202         (_nss_nisplus_getntohost_r): Likewise.
10203         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10204         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10205         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10206         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10207         Likewise.
10208         * nis/nss_nisplus/nisplus-initgroups.c
10209         (_nss_nisplus_initgroups_dyn): Likewise.
10210         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10211         (_nss_nisplus_getnetbyaddr_r): Likewise.
10212         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10213         (_nss_nisplus_getprotobynumber_r): Likewise.
10214         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10215         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10216         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10217         Likewise.
10218         * nis/nss_nisplus/nisplus-service.c
10219         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10220         (_nss_nisplus_getservbyport_r): Likewise.
10221         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10222         (_nss_nisplus_getspnam_r): Likewise.
10223         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10224         Likewise.
10225         * nscd/aicache.c (addhstaiX): Likewise.
10226         * nscd/cache.c (cache_search, prune_cache): Likewise.
10227         * nscd/connections.c (register_traced_file, send_ro_fd)
10228         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10229         (main_loop_epoll): Likewise.
10230         * nscd/grpcache.c (addgrbyX): Likewise.
10231         * nscd/hstcache.c (addhstbyX): Likewise.
10232         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10233         * nscd/mem.c (gc, mempool_alloc): Likewise.
10234         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10235         (addinnetgrX): Likewise.
10236         * nscd/nscd-client.h (__nscd_acquire_maplock)
10237         (__nscd_drop_map_ref): Likewise.
10238         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10239         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10240         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10241         Likewise.
10242         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10243         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10244         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10245         (__nscd_get_map_ref): Likewise.
10246         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10247         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10248         Likewise.
10249         * nscd/pwdcache.c (addpwbyX): Likewise.
10250         * nscd/selinux.c (preserve_capabilities): Likewise.
10251         * nscd/servicescache.c (addservbyX): Likewise.
10252         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10253         * posix/fnmatch.c (fnmatch): Likewise.
10254         * posix/getopt.c (_getopt_internal_r): Likewise.
10255         * posix/glob.c (glob, glob_in_dir): Likewise.
10256         * posix/wordexp.c (exec_comm_child): Likewise.
10257         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10258         (getanswer_r, gaih_getanswer_slice): Likewise.
10259         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10260         * resolv/res_init.c: Likewise.
10261         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10262         * resolv/res_query.c (__libc_res_nquery): Likewise.
10263         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10264         Likewise.
10265         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10266         * stdio-common/perror.c (perror): Likewise.
10267         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10268         * stdio-common/tmpnam.c (tmpnam): Likewise.
10269         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10270         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10271         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10272         Likewise.
10273         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10274         * stdlib/putenv.c (putenv): Likewise.
10275         * stdlib/setenv.c (__add_to_environ): Likewise.
10276         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10277         * stdlib/strtol_l.c (INTERNAL): Likewise.
10278         * string/memmem.c (memmem): Likewise.
10279         * string/strerror.c (strerror): Likewise.
10280         * string/strnlen.c (__strnlen): Likewise.
10281         * string/test-memmem.c (simple_memmem): Likewise.
10282         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10283         * sunrpc/pm_getport.c (__get_socket): Likewise.
10284         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10285         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10286         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10287         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10288         Likewise.
10289         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10290         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10291         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10292         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10293         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10294         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10295         Likewise.
10296         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10297         Likewise.
10298         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10299         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10300         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10301         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10302         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10304         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10305         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10306         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10307         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10308         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10309         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10310         Likewise.
10311         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10312         Likewise.
10313         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10314         Likewise.
10315         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10316         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10317         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10318         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10319         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10320         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10321         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10322         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10323         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10324         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10325         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10326         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10327         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10328         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10330         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10331         Likewise.
10332         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10333         Likewise.
10334         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10335         Likewise.
10336         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10337         Likewise.
10338         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10340         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10341         Likewise.
10342         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10343         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10344         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10345         * sysdeps/posix/sleep.c: Likewise.
10346         * sysdeps/posix/tempname.c: Likewise.
10347         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10348         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10349         Likewise.
10350         * sysdeps/powerpc/powerpc32/dl-machine.h
10351         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10352         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10353         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10354         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10355         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10356         Likewise.
10357         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10358         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10359         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10360         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10361         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10362         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10363         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10364         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10365         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10366         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10368         (elf_machine_lazy_rel): Likewise.
10369         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10370         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10371         (elf_machine_lazy_rel): Likewise.
10372         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10373         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10374         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10375         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10376         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10377         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10378         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10379         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10380         Likewise.
10381         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10382         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10383         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10384         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10385         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10386         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10387         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10388         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10389         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10390         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10391         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10392         Likewise.
10393         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10394         (__posix_fallocate64_l64): Likewise.
10395         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10396         (posix_fallocate): Likewise.
10397         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10400         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10401         (getifaddrs_internal): Likewise.
10402         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10403         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10404         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10405         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10406         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10407         (__posix_fallocate64_l64): Likewise.
10408         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10409         Likewise.
10410         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10411         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10412         (__get_clockfreq): Likewise.
10413         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10414         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10415         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10416         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10417         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10418         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10419         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10420         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10421         Likewise.
10422         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10423         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10424         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10425         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10426         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10427         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10428         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10429         Likewise.
10430         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10431         (posix_fallocate): Likewise.
10432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10433         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10434         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10435         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10436         (elf_machine_rela, elf_machine_rela_relative)
10437         (elf_machine_lazy_rel): Likewise.
10438         * time/asctime.c (asctime_internal): Likewise.
10439         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10440         * time/tzset.c (__tzset_parse_tz): Likewise.
10441         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10442         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10443         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10444         * wcsmbs/wcsmbsload.h: Likewise.
10445
10446         [BZ #15894]
10447         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10448
10449         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10450         (arena_get2): Remove THREAD_STATS conditionals.
10451         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10452         (__malloc_stats, int): Likewise.
10453
10454 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10455
10456         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10457         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10458
10459         * manual/setjmp.texi: Fix typos/grammar errors.
10460
10461         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10462         Only return early when n is <= 0.  Delete unused return statement.
10463
10464         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10465         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10466         * debug/tst-longjmp_chk3.c: New file.
10467
10468         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10469         (test_main): Replace code with set_fortify_handler call.
10470         * debug/test-strcpy_chk.c: Likewise.
10471         * debug/tst-chk1.c: Likewise.
10472         * debug/tst-longjmp_chk.c: Likewise.
10473         * test-skeleton.c: Include fcntl.h & paths.h
10474         (set_fortify_handler): Define.
10475
10476         * debug/tst-longjmp_chk.c: Add header comment and include
10477         ../test-skeleton.c.
10478         (do_test): Mark static.
10479         (TEST_FUNCTION): Define.
10480
10481         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10482         (IP_PMTUDISC_INTERFACE): Likewise.
10483         (IP_MULTICAST_IF): Likewise.
10484         (IP_MULTICAST_TTL): Likewise.
10485         (IP_MULTICAST_LOOP): Likewise.
10486         (IP_ADD_MEMBERSHIP): Likewise.
10487         (IP_DROP_MEMBERSHIP): Likewise.
10488         (IP_UNBLOCK_SOURCE): Likewise.
10489         (IP_BLOCK_SOURCE): Likewise.
10490         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10491         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10492         (IP_MSFILTER): Likewise.
10493         (MCAST_JOIN_GROUP): Likewise.
10494         (MCAST_BLOCK_SOURCE): Likewise.
10495         (MCAST_UNBLOCK_SOURCE): Likewise.
10496         (MCAST_LEAVE_GROUP): Likewise.
10497         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10498         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10499         (MCAST_MSFILTER): Likewise.
10500         (IP_MULTICAST_ALL): Likewise.
10501         (IP_UNICAST_IF): Likewise.
10502
10503         * timezone/Makefile: Delete $(have-ksh) check.
10504         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10505         * timezone/tzselect.ksh: Add +x mode bits.
10506
10507         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10508         (ANON_INODE_FS_MAGIC): Likewise.
10509         (BDEVFS_MAGIC): Likewise.
10510         (BINFMTFS_MAGIC): Likewise.
10511         (BTRFS_TEST_MAGIC): Likewise.
10512         (CRAMFS_MAGIC_WEND): Likewise.
10513         (DEBUGFS_MAGIC): Likewise.
10514         (ECRYPTFS_SUPER_MAGIC): Likewise.
10515         (EXT3_SUPER_MAGIC): Likewise.
10516         (EXT4_SUPER_MAGIC): Likewise.
10517         (FUTEXFS_SUPER_MAGIC): Likewise.
10518         (HOSTFS_SUPER_MAGIC): Likewise.
10519         (HUGETLBFS_MAGIC): Likewise.
10520         (MINIX3_SUPER_MAGIC): Likewise.
10521         (MTD_INODE_FS_MAGIC): Likewise.
10522         (NILFS_SUPER_MAGIC): Likewise.
10523         (OPENPROM_SUPER_MAGIC): Likewise.
10524         (PIPEFS_MAGIC): Likewise.
10525         (PSTOREFS_MAGIC): Likewise.
10526         (QNX6_SUPER_MAGIC): Likewise.
10527         (RAMFS_MAGIC): Likewise.
10528         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10529         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10530         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10531         (SECURITYFS_MAGIC): Likewise.
10532         (SELINUX_MAGIC): Likewise.
10533         (SMACK_MAGIC): Likewise.
10534         (SOCKFS_MAGIC): Likewise.
10535         (SQUASHFS_MAGIC): Likewise.
10536         (STACK_END_MAGIC): Likewise.
10537         (TMPFS_MAGIC): Likewise.
10538         (USBDEVICE_SUPER_MAGIC): Likewise.
10539         (V9FS_MAGIC): Likewise.
10540         (XENFS_SUPER_MAGIC): Likewise.
10541         (CRAMFS_MAGIC): Fix typo in comment.
10542         (EXT2_SUPER_MAGIC): Update comment.
10543         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10544
10545 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10546
10547         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10548         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10549         * sysdeps/unix/sysv/linux/arm: Move directory from
10550         ports/sysdeps/unix/sysv/linux/arm.
10551         * README: Update listing for arm-*-linux-gnueabi.
10552
10553         * README: Remove mention of am33.
10554
10555 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10556
10557         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10558         than the comma operator, to avoid "rhs of comma has no effect"
10559         compiler warnings.
10560         (__sigfillset, __sigandset, __sigorset): Likewise.
10561         * include/signal.h (__sigemptyset): Likewise.
10562         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10563
10564 2014-02-07  Allan McRae  <allan@archlinux.org>
10565
10566         * version.h (RELEASE): Set to "development".
10567         (VERSION): Set to "2.19.90"
10568         * NEWS: Add 2.20 section.
10569
10570 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10571
10572         [BZ #16529]
10573         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10574
10575 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10576
10577         * manual/contrib.texi: Update entry for Carlos O'Donell,
10578         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10579
10580 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10581
10582         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10583
10584         * sysdeps/unix/sysv/linux/kernel-features.h
10585         [__LINUX_KERNEL_VERSION >= 0x020621]
10586         (__ASSUME_PROC_PID_TASK_COMM): Define.
10587
10588 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10589
10590         [BZ #16398]
10591         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10592         conversion when destination buffer does not have enough space.
10593         * libio/tst-ftell-partial-wide.c: New test case.
10594         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10595
10596         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10597         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10598         Leonard and Allan McRae.
10599
10600 2014-02-04  David S. Miller  <davem@davemloft.net>
10601
10602         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10603         32-bit.
10604
10605 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10606
10607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10608         New file
10609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10610         New file
10611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10612         New file.
10613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10614         New file.
10615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10616         New file.
10617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10618         New file.
10619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10620         New file.
10621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10622         New file.
10623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10624         New file.
10625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10626         New file.
10627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10628         New file.
10629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10630         New file.
10631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10632         New file.
10633
10634 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10635
10636         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10637         * shlib-versions: Likewise.
10638
10639 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10640             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10641
10642         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10643         (abilist-pattern): New variable, set to %-le.abilist.
10644
10645         * Makerules (abilist-pattern): New variable.
10646         (vpath): Use $(abilist-pattern) in place of %.abilist.
10647         (check-abi-% pattern rule): Likewise.
10648         (check-abi, update-abi): Likewise.
10649
10650 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10651
10652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10653
10654 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10655
10656         * manual/startup.texi: Add next, previous, and top entries for
10657         the `Program Arguments' and `Environment Variables' nodes.
10658
10659 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10660
10661         * manual/macros.texi: Add comments before MTASC-safety macros.
10662
10663         * manual/users.texi: Document MTASC-safety properties.
10664
10665         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10666         (pthread_getspecific, pthread_setspecific): Format with
10667         @deftypefun, and add @safety note.
10668         * manual/signal.texi: Move comments that analyze the above
10669         functions to their home place.
10670
10671 2014-02-03  Allan McRae  <allan@archlinux.org>
10672
10673         * po/sl.po: Update Slovenian translation from translation project.
10674
10675 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10676
10677         * manual/time.texi (timegm): Add missing blank after @c.
10678         Reported by Joseph Myers <joseph@codesourcery.com>.
10679
10680 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10681
10682         * manual/check-safety.sh: New.
10683         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10684
10685         * manual/terminal.texi: Document MTASC-safety properties.
10686
10687         * manual/filesys.texi: Document MTASC-safety properties.
10688
10689         * manual/errno.texi: Document MTASC-safety properties.
10690
10691         * manual/intro.texi: Document safety identifiers and
10692         conditionals.
10693
10694         * manual/string.texi (wcstok): Fix prototype.
10695         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10696
10697         * manual/time.texi: Document MTASC-safety properties.
10698
10699         * manual/string.texi: Document MTASC-safety properties.
10700
10701         * manual/threads.texi: Document MTASC-safety properties.
10702
10703         * manual/stdio.texi: Document MTASC-safety properties.
10704
10705         * manual/syslog.texi: Document MTASC-safety properties.
10706
10707         * manual/sysinfo.texi: Document MTASC-safety properties.
10708
10709         * manual/startup.texi: Document MTASC-safety properties.
10710
10711         * manual/socket.texi: Document MTASC-safety properties.
10712
10713         * manual/signal.texi: Document MTASC-safety properties.
10714
10715 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10716
10717         * manual/setjmp.texi: Document MTASC-safety properties.
10718
10719         * manual/search.texi: Document MTASC-safety properties.
10720
10721         * manual/resource.texi: Document MTASC-safety properties.
10722
10723         * manual/process.texi: Document MTASC-safety properties.
10724
10725         * manual/platform.texi: Document MTASC-safety properties.
10726
10727         * manual/pipe.texi: Document MTASC-safety properties.
10728
10729         * manual/pattern.texi: Document MTASC-safety properties.
10730
10731         * manual/message.texi: Document MTASC-safety properties.
10732
10733         [BZ #12751]
10734         * manual/memory.texi: Document MTASC-safety properties.
10735
10736         * manual/math.texi: Document MTASC-safety properties.
10737
10738         * manual/locale.texi: Document MTASC-safety properties.
10739
10740         * manual/llio.texi: Document MTASC-safety properties.
10741
10742         * manual/libdl.texi: New.
10743
10744         * manual/lang.texi: Document MTASC-safety properties.
10745
10746         * manual/job.texi: Document MTASC-safety properties.
10747
10748         * manual/getopt.texi: Document MTASC-safety properties.
10749
10750         * manual/ctype.texi: Document MTASC-safety properties.
10751
10752 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10753
10754         [BZ #16046]
10755         * csu/libc-tls.c (static_map): Remove variable.
10756         (__libc_setup_tls): Use main executable's link map for TLS data.
10757         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10758         casing for LM_ID_BASE and GL(dl_nns).
10759         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10760         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10761         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10762         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10763         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10764         member.
10765         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10766         l_phnum members.
10767
10768 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10769
10770         * manual/debug.texi: Document MTASC-safety properties.
10771
10772 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10773
10774         [BZ #16510]
10775         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10776         of __x86_64__ when disabling x87 inline functions.
10777
10778 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10779
10780         * manual/charset.texi: Document MTASC-safety properties.
10781
10782         * manual/crypt.texi: Document MTASC-safety properties.
10783
10784         * manual/conf.texi: Document MTASC-safety properties.
10785
10786         * manual/arith.texi: Document MTASC-safety properties.
10787
10788         * manual/argp.texi: Document MTASC-safety properties.
10789
10790         * manual/macros.texi: Introduce macros to document multi
10791         thread, asynchronous signal and asynchronous cancellation
10792         safety properties.
10793         * manual/intro.texi: Introduce the properties themselves.
10794
10795 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10796
10797         * sysdeps/sh/sh4/Makefile: New file.
10798
10799 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10800
10801         * math/gen-libm-test.pl ($srcdir): New variable.
10802         ($auto_input): Use it.
10803
10804 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10805
10806         [BZ #16506]
10807         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10808         access beyond array bounds when parsing netgroups file.
10809
10810         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10811         the old buffer before realloc.
10812
10813 2014-01-27  Allan McRae  <allan@archlinux.org>
10814
10815         * po/fr.po: Update French translation from translation project.
10816
10817 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10818
10819         * sysdeps/sh/libm-test-ulps: Regenerate.
10820
10821 2014-01-24  David S. Miller  <davem@davemloft.net>
10822
10823         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10824
10825 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10826
10827         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10828         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10829
10830 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10831
10832         [BZ #16474]
10833         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10834         string pointers after reallocation.
10835
10836 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10837
10838         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10839         __SH4A__ instead of __SH_FPU_ANY__.
10840
10841 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10842
10843         * sysdeps/sh/fpu_control.h: New file.
10844         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10845         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10846         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10847         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10848         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10849         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10850         * sysdeps/sh/sys/ucontext.h: Remove.
10851         * sysdeps/sh/sys: Remove directory.
10852
10853 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10854
10855         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10856         s390/sys/ucontext.h.
10857         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10858         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10859
10860 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10861
10862         [BZ #15605]
10863         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10864
10865 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10866
10867         [BZ#16431]
10868         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10869         Adjust the vDSO correctly for internal calls.
10870         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10871
10872 2014-01-20  Allan McRae  <allan@archlinux.org>
10873
10874         * po/ca.po: Update Catalan translation from translation project.
10875
10876 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10877
10878         * sysdeps/s390/sotruss-lib.c: New file.
10879
10880 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10881
10882         [BZ#16430]
10883         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10884         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10885         local calls issues by not having a PLT stub required for IFUNC calls.
10886         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10887
10888 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10889
10890         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10891         * math/test-fpucw-static.c: Likewise.
10892
10893 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10894
10895         [BZ #16453]
10896         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10897
10898 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10899
10900         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10901         implementation for powerpc.
10902
10903 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10904
10905         [BZ #14782]
10906         * sysdeps/posix/system.c (__libc_system): Do not enable
10907         asynchronous cancellation.
10908
10909 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10910
10911         [BZ #16427]
10912         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10913         handling only for numbers special also in the IEEE case.
10914
10915 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10916
10917         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10918
10919 2014-01-11  Allan McRae  <allan@archlinux.org>
10920
10921         * po/bg.po: Update Bulgarian translation from translation project.
10922
10923         * po/de.po: Update German translation from translation project.
10924
10925 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10926
10927         * sysdeps/generic/gcc-compat.h: New file.
10928
10929 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10930
10931         * benchtests/asin-inputs: Correct slow inputs.
10932         * benchtests/acos-inputs: Likewise.
10933
10934 2014-01-10  Allan McRae  <allan@archlinux.org>
10935
10936         * po:sv.po: Update Swedish translation from translation project.
10937
10938         * po/vi.po: Update Vietnamese translation from translation project.
10939
10940         * po/eo.po: Update Esperanto translation from translation project.
10941
10942         * po/cs.po: Update Czech translation from translation project.
10943
10944         * po/nl.po: Update Dutch translation from translation project.
10945
10946         * po/pl.po: Update Polish translation from translation project.
10947
10948         * po/ru.po: Update Russian translation from translation project.
10949
10950         * po/uk.po: Update Ukrainian translation from translation project.
10951
10952 2014-01-08  Brooks Moses  <bmoses@google.com>
10953
10954         * elf/dl-load.c: Fix comment typo.
10955
10956 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10957
10958         * po/header.pot: Rename to...
10959         * po/pot.header: ... this.
10960         * po/Makefile: Use pot.header.
10961
10962 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10963             Maxim Kuvyrkov  <maxim@kugelworks.com>
10964
10965         [BZ #16394]
10966         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10967         SRC and DEST against LEN.
10968
10969 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10970
10971         [BZ #16414]
10972         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10973         implementation.
10974         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10975
10976 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10977
10978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10979
10980 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10981
10982         [BZ #16408]
10983         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10984         for large positive arguments.
10985
10986 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10987
10988         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10989
10990         * math/auto-libm-test-in: Mark various tests with
10991         xfail-rounding:ldbl-128ibm.
10992         * math/auto-libm-test-out: Regenerated.
10993
10994         [BZ #16407]
10995         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10996         Increase overflow threshold.
10997
10998 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10999
11000         [BZ #14286]
11001         * stdio-common/vfprintf.c: Check for integer overflow.
11002
11003 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11004
11005         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11006         the first argument and return value of __tls_get_addr_internal.
11007
11008 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11009
11010         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11011         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11012
11013 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11014
11015         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11016         * sysdeps/s390/rtld-global-offsets.sym: New file.
11017         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11018         GLIBC_2.19 symbol.
11019         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11020         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11021         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11022         ... this.
11023         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11024         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11025         ... this.
11026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11027         Regenerate.
11028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11029         Regenerate.
11030         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11031         halfs of GPRs for high_gprs contexts.
11032         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11033         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11034         field.
11035         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11036         uc_flags field.
11037         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11038         64 bit versions:
11039         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11040         for high GPRs (uc_high_gprs) and for future extensions
11041         (__reserved).
11042         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11043         for future extensions (__reserved).
11044         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11045         64 bit versions:
11046         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11047         SC_HIGHGPRS offset definition.
11048         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11049         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11050
11051         * Versions.def: Add GLIBC_2.19 for libpthread.
11052         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11053         siglongjmp for libpthread with GLIBC_2.19 symver.
11054         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11055         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11056         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11057         * sysdeps/s390/__longjmp.c: New file.
11058         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11059         * sysdeps/s390/longjmp.c: New file.
11060         * sysdeps/s390/setjmp.S: New file.
11061         * sysdeps/s390/sigjmp.S: New file.
11062         * sysdeps/s390/v1-longjmp.c: New file.
11063         * sysdeps/s390/v1-setjmp.h: New file.
11064         * sysdeps/s390/v1-sigjmp.c: New file.
11065         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11066         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11067         GLIBC_2.19 version.
11068         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11069         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11070         versioned symbols for ____longjmp_chk.
11071         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11072         Likewise.
11073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11074         Regenerate.
11075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11076         Regenerate.
11077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11078         Regenerate.
11079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11080         Regenerate.
11081         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11082         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11083         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11084         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11085         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11086         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11087         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11088         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11089         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11090         * sysdeps/s390/rtld-__longjmp.c: New file.
11091         * sysdeps/s390/rtld-setjmp.S: New file.
11092
11093 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11094
11095         [BZ #16400]
11096         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11097         Return -__logl (x) for small positive arguments without evaluating
11098         a polynomial.
11099
11100 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11101
11102         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11103         Rename to ...
11104         (__ptrace_peeksiginfo_args): ... this.
11105         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11106         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11107         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11108
11109 2014-01-06  Allan McRae  <allan@archlinux.org>
11110
11111         * inet/netinet/in.h: Fix typo in comment.
11112
11113 2014-01-05  Andreas Jaeger  <aj@suse.de>
11114
11115         * sysdeps/i386/fpu/libm-test-ulps: Update.
11116
11117 2014-01-05  Allan McRae  <allan@archlinux.org>
11118
11119         * po/libc.pot: Regenerated.
11120
11121         * malloc/memusagestat.c: Fix gettext call formatting.
11122
11123 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11124
11125         * nscd/nscd.c: Improve usage() output.
11126
11127 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11128
11129         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11130         * sysdeps/unix/sysv/linux/configure: Regenerated.
11131         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11132         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11133
11134 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11135
11136         [BZ #16390]
11137         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11138         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11139
11140 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11141
11142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11143         extra tokens at end of #undef directive.
11144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11145         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11146         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11147
11148 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11149
11150         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11151
11152         * math/auto-libm-test-in: Mark various tests with
11153         xfail-rounding:ldbl-128ibm.
11154         * math/auto-libm-test-out: Regenerated.
11155
11156 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11157
11158         [BZ #16386]
11159         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11160         numbers with subnormal high part when calculating exponent.
11161
11162         [BZ #16385]
11163         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11164         fabs.
11165
11166         [BZ #16384]
11167         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11168         M_LN2l.
11169         (__ieee754_acoshl): Use __log1pl not __log1p.
11170
11171 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11172
11173         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11174         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11175         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11176         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11177         (reused_arena, arena_get2): Convert to GNU style.
11178         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11179         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11180         (memalign_check, __malloc_set_state): Likewise.
11181         * malloc/mallocbug.c (main): Likewise.
11182         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11183         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11184         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11185         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11186         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11187         (__posix_memalign, malloc_info): Likewise.
11188         * malloc/malloc.h: Likewise.
11189         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11190         (mallochook, memalignhook, reallochook, mabort): Likewise.
11191         * malloc/mcheck.h: Likewise.
11192         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11193         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11194         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11195         * malloc/morecore.c (__default_morecore): Likewise.
11196         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11197         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11198         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11199         (print_and_abort): Likewise.
11200         * malloc/obstack.h: Likewise.
11201         * malloc/set-freeres.c (__libc_freeres): Likewise.
11202         * malloc/tst-mallocstate.c (main): Likewise.
11203         * malloc/tst-mtrace.c (main): Likewise.
11204         * malloc/tst-realloc.c (do_test): Likewise.
11205
11206 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11207
11208         [BZ #16366]
11209         * nscd/netgroupcache.c (do_notfound): New function.
11210         (addgetnetgrentX): Use it.
11211
11212         [BZ # 16365]
11213         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11214         NSS_STATUS_NOTFOUND.
11215
11216 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11217
11218         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11220
11221 2014-01-01  Allan McRae  <allan@archlinux.org>
11222
11223         * scripts/update-copyrights: Update configure input file suffix.
11224
11225         * NEWS: Update copyright year.
11226         * catgets/gencat.c: Likewise.
11227         * csu/version.c: Likewise.
11228         * debug/catchsegv.sh: Likewise.
11229         * debug/pcprofiledump.c: Likewise.
11230         * debug/xtrace.sh: Likewise.
11231         * elf/ldconfig.c: Likewise.
11232         * elf/ldd.bash.in: Likewise.
11233         * elf/pldd.c: Likewise.
11234         * elf/sotruss.ksh: Likewise.
11235         * elf/sprof.c: Likewise.
11236         * iconv/iconv_prog.c: Likewise.
11237         * iconv/iconvconfig.c: Likewise.
11238         * locale/programs/locale.c: Likewise.
11239         * locale/programs/localedef.c: Likewise.
11240         * login/programs/pt_chown.c: Likewise.
11241         * malloc/memusage.sh: Likewise.
11242         * malloc/memusagestat.c: Likewise.
11243         * malloc/mtrace.pl: Likewise.
11244         * manual/libc.texinfo: Likewise.
11245         * nscd/nscd.c: Likewise.
11246         * nss/getent.c: Likewise.
11247         * nss/makedb.c: Likewise.
11248         * posix/getconf.c: Likewise.
11249         * scripts/test-installation.pl: Likewise.
11250
11251         * All files with FSF copyright notices: Update copyright dates
11252         using scripts/update-copyrights.
11253         * intl/plural.c: Regenerated.
11254         * locale/programs/charmap-kw.h: Likewise.
11255         * locale/programs/locfile-kw.h: Likewise.
11256
11257 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11258
11259         * sysdeps/unix/sysv/linux/configure: Regenerated.
11260         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11261         the linux/fanotify.h header.
11262         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11263         HAVE_LINUX_FANOTIFY_H is defined.
11264
11265 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11266
11267         * benchtests/cos-inputs: New inputs.
11268         * benchtests/sin-inputs: Likewise.
11269
11270         * benchtests/atan-inputs: New inputs. Fix name of multiple
11271         precision fallback inputs.
11272
11273         * benchtests/atanh-inputs: New inputs.
11274         * benchtests/tanh-inputs: Likewise.
11275
11276         * benchtests/acosh-inputs: New inputs.
11277         * benchtests/asinh-inputs: Likewise.
11278
11279         * benchtests/cosh-inputs: New inputs.
11280         * benchtests/sinh-inputs: Likewise.
11281
11282         * benchtests/acos-inputs: Add more inputs.
11283         * benchtests/asin-inputs: Likewise.
11284
11285 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11286
11287         [BZ #16375]
11288         * manual/arith.texi: Fix spelling.
11289         * manual/charset.texi: Likewise.
11290         * manual/errno.texi: Likewise.
11291         * manual/filesys.texi: Likewise.
11292         * manual/lang.texi: Likewise.
11293         * manual/llio.texi: Likewise.
11294         * manual/locale.texi: Likewise.
11295         * manual/message.texi: Likewise.
11296         * manual/resource.texi: Likewise.
11297         * manual/search.texi: Likewise.
11298         * manual/setjmp.texi: Likewise.
11299         * manual/stdio.texi: Likewise.
11300         * manual/string.texi: Likewise.
11301         * manual/sysinfo.texi: Likewise.
11302         * manual/time.texi: Likewise.
11303
11304 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11305
11306         * po/sl.po: New file.
11307
11308 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11309
11310         * .gitignore: Add core/.gdbinit/.gdb_history.
11311
11312 2013-12-27  Allan McRae  <allan@archlinux.org>
11313
11314         [BZ #16369]
11315         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11316         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11317
11318 2013-12-24  Brooks Moses  <bmoses@google.com>
11319
11320         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11321         all compilers that claim C++98 compliance, not just GCC.
11322         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11323         Likewise.
11324
11325 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11326
11327         * NEWS: Restore accidentally deleted bug-fix entries.
11328
11329 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11330             Ondřej Bílka  <neleai@seznam.cz>
11331
11332         [BZ #15073]
11333         * malloc/malloc.c (_int_free): Perform sanity check only if we
11334         have_lock.
11335
11336 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11337
11338         [BZ #12986]
11339         * manual/stdio.texi (String Input Conversions): Clarify that character
11340         classes are not supported.
11341
11342 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11343
11344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11345
11346 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11347
11348         [BZ #16337]
11349         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11350         Calculate results for small negative arguments directly rather
11351         than using reflection formula with special underflow handling.
11352
11353         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11354         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11355         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11356         (fchflags): Likewise.
11357         (revoke): Likewise.
11358         (setlogin): Likewise.
11359         (sigaltstack): Likewise.
11360         (wait4): Likewise.
11361         (sigblock): Remove.
11362         (sigsetmask): Likewise.
11363         (wait3): Likewise.
11364         (waitpid): Likewise.
11365         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11366         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11367         file.
11368         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11369         * sysdeps/unix/bsd/Makefile: ... here.
11370         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11371         * sysdeps/unix/bsd/Versions: ... here.
11372         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11373         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11374         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11375         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11376         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11377         * sysdeps/unix/bsd/sigblock.c: ... here.
11378         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11379         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11380         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11381         * sysdeps/unix/bsd/sigvec.c: ... here.
11382         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11383         * sysdeps/unix/bsd/tcdrain.c: ... here.
11384         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11385         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11386         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11387         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11388         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11389         * sysdeps/unix/bsd/wait.c: ... here.
11390         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11391         * sysdeps/unix/bsd/wait3.c: ... here.
11392         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11393         * sysdeps/unix/bsd/waitpid.c: ... here.
11394
11395 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11396
11397         [BZ #16356]
11398         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11399         round-to-nearest for [!USE_AS_EXPM1L].
11400         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11401         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11402         more tests of exp and exp10.  Expect some exp10 tests to miss
11403         exceptions or fail in directed rounding modes.
11404         * math/auto-libm-test-out: Regenerated.
11405         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11406         (exp10_test_tonearest): New function.
11407         (exp10_towardzero_test_data): New array.
11408         (exp10_test_towardzero): New function.
11409         (exp10_downward_test_data): New array.
11410         (exp10_test_downward): New function.
11411         (exp10_upward_test_data): New array.
11412         (exp10_test_upward): New function.
11413         (main): Call the new functions.
11414         * sysdeps/i386/fpu/libm-test-ulps: Update.
11415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11416
11417 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11418
11419         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11420         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11421         * math/auto-libm-test-out: Regenerated.
11422         * math/libm-test.inc (acosh_test_data): Add more tests.
11423         (atanh_test_data): Likewise.
11424         (ceil_test_data): Likewise.
11425         (copysign_test_data): Likewise.
11426         * sysdeps/i386/fpu/libm-test-ulps: Update.
11427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11428
11429         * timezone/checktab.awk: Update from tzcode 2013i.
11430         * timezone/private.h: Likewise.
11431         * timezone/scheck.c: Likewise.
11432         * timezone/tzfile.h: Likewise.
11433         * timezone/tzselect.ksh: Likewise.
11434         * timezone/zdump.c: Likewise.
11435         * timezone/zic.c: Likewise.
11436
11437         * math/auto-libm-test-in: Add tests of cpow.
11438         * math/auto-libm-test-out: Regenerated.
11439         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11440         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11441         mpc_cc_c.
11442         (func_calc_desc): Add mpc_cc_c union field.
11443         (test_functions): Add cpow.
11444         (special_fill_2pi): New function.
11445         (special_real_inputs): Add 2pi.
11446         (calc_generic_results): Handle mpc_cc_c.
11447         * sysdeps/i386/fpu/libm-test-ulps: Update.
11448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11449
11450         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11451         csqrt, ctan and ctanh.
11452         * math/auto-libm-test-out: Regenerated.
11453         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11454         (TEST_COND_x86): Likewise.
11455         (ccos_test_data): Use AUTO_TESTS_c_c.
11456         (ccosh_test_data): Likewise.
11457         (cexp_test_data): Likewise.
11458         (clog_test_data): Likewise.
11459         (csqrt_test_data): Likewise.
11460         (ctan_test_data): Likewise.
11461         (ctan_tonearest_test_data): Likewise.
11462         (ctan_towardzero_test_data): Likewise.
11463         (ctan_downward_test_data): Likewise.
11464         (ctan_upward_test_data): Likewise.
11465         (ctanh_test_data): Likewise.
11466         (ctanh_tonearest_test_data): Likewise.
11467         (ctanh_towardzero_test_data): Likewise.
11468         (ctanh_downward_test_data): Likewise.
11469         (ctanh_upward_test_data): Likewise.
11470         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11471         mpc_c_c.
11472         (func_calc_desc): Add mpc_c_c union field.
11473         (FUNC_mpc_c_c): New macro.
11474         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11475         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11476         ctanh.
11477         (special_fill_min_subnorm_p120): New function.
11478         (special_real_inputs): Add min_subnorm_p120.
11479         (calc_generic_results): Handle mpc_c_c.
11480         * sysdeps/i386/fpu/libm-test-ulps: Update.
11481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11482
11483 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11484
11485         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11486         (do_sin_slow): New functions.
11487         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11488         (cslow2, csloww1, csloww2): Use the new functions.
11489
11490         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11491         Use M to change sign of result instead of X.  Assume X is
11492         positive.
11493         (csloww1): Likewise.
11494         (__sin): Adjust.
11495         (__cos): Adjust.
11496
11497         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11498         arguments A and DA.
11499         (__sin): Adjust.
11500         (__cos): Likewise.
11501
11502         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11503         (__cos): Likewise.
11504         (sloww1): Don't adjust sign of DX.
11505         (csloww1): Likewise.
11506         (sloww2): Use X directly and don't adjust sign of DX.
11507         (csloww2): Likewise.
11508
11509 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11510
11511         * math/auto-libm-test-in: Add tests of cabs and carg.
11512         * math/auto-libm-test-out: Regenerated.
11513         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11514         (carg_test_data): Likewise.
11515         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11516         mpc_c_f.
11517         (func_calc_desc): Add mpc_c_f union field.
11518         (test_functions): Add cabs and carg.
11519         (calc_generic_results): Handle mpc_c_f.
11520
11521         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11522         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11523         as a macro and a compat symbol.
11524         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11525         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11526         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11527         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11528         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11529         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11530         not use .hidden.
11531         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11532         Likewise.
11533         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11534         Likewise.
11535         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11536         Likewise.
11537         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11538         Likewise.
11539         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11540         Likewise.
11541         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11542         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11543         from GLIBC_2.3.2.
11544
11545 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11546
11547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11548
11549 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11550
11551         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11552         trailing whitespace removed.
11553         * scripts/config.guess: Update to version 2013-11-29.
11554         * scripts/config.sub: Update to version 2013-10-01.
11555
11556         * math/auto-libm-test-in: Add tests of sincos.
11557         * math/auto-libm-test-out: Regenerated.
11558         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11559         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11560         mpfr_f_11.
11561         (func_calc_desc): Add mpfr_f_11 union field.
11562         (test_functions): Add sincos.
11563         (calc_generic_results): Handle mpfr_f_11.
11564         * sysdeps/i386/fpu/libm-test-ulps: Update.
11565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11566
11567 2013-12-19  Andreas Schwab  <schwab@suse.de>
11568
11569         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11570         CALL_MCOUNT.
11571         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11572         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11573         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11574
11575 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11576
11577         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11578         * sysdeps/i386/fpu/libm-test-ulps: Update.
11579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11580
11581         [BZ #16293]
11582         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11583         round-to-nearest mode when using frndint.
11584         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11585         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11586         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11587         Likewise.
11588         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11589         sinh test to fail.
11590         * math/auto-libm-test-out: Regenerated.
11591         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11592         (TEST_COND_x86): Likewise.
11593         (expm1_tonearest_test_data): New array.
11594         (expm1_test_tonearest): New function.
11595         (expm1_towardzero_test_data): New array.
11596         (expm1_test_towardzero): New function.
11597         (expm1_downward_test_data): New array.
11598         (expm1_test_downward): New function.
11599         (expm1_upward_test_data): New array.
11600         (expm1_test_upward): New function.
11601         (main): Run the new test functions.
11602         * sysdeps/i386/fpu/libm-test-ulps: Update.
11603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11604
11605         * include/features.h: Update comment documenting feature test
11606         macros.  Mention _DEFAULT_SOURCE in comment.
11607         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11608         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11609         _BSD_SOURCE and _SVID_SOURCE.
11610         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11611         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11612         !_SVID_SOURCE]: Likewise.
11613         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11614         (__USE_POSIX_IMPLICITLY): Define.
11615         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11616         (_POSIX_SOURCE): Undefine and redefine.
11617         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11618         (_POSIX_C_SOURCE): Likewise.
11619         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11620         (Feature Test Macros): Update documentation of default features.
11621
11622 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11623
11624         * benchtests/Makefile: Add bench-strtok.
11625         * benchtests/bench-strtok.c: New file: strtok benchtest.
11626
11627 2013-12-19  Allan McRae  <allan@archlinux.org>
11628
11629         * manual/install.texi: Suppress menu for plain text output.
11630         * INSTALL: Regenerated.
11631
11632 2013-12-18  Brooks Moses  <bmoses@google.com>
11633
11634         [BZ #15846]
11635         * misc/getauxval.c: Include errno.h.
11636         (__getauxval): Set errno to ENOENT if the requested type is not
11637         found.
11638         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11639         don't declare with __attribute_const__.
11640         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11641         * manual/startup.texi: Document that getauxval sets errno.
11642
11643 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11644
11645         * math/auto-libm-test-in: Add tests of jn and yn.
11646         * math/auto-libm-test-out: Regenerated.
11647         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11648         (yn_test_data): Likewise.
11649         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11650         mpfr_if_f.
11651         (func_calc_desc): Add mpfr_if_f union field.
11652         (FUNC_mpfr_if_f): New macro.
11653         (test_functions): Add jn and yn.
11654         (calc_generic_results): Assert type of second input for
11655         mpfr_ff_f.  Handle mpfr_if_f.
11656         (output_for_one_input_case): Disable all checking for arguments
11657         fitting floating-point types in case of an integer argument.
11658         * sysdeps/i386/fpu/libm-test-ulps: Update.
11659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11660
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11662         Don't expect fegetround reference in libm.so.
11663
11664 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11665
11666         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11667         $(config-cflags-nofma).
11668
11669 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11670
11671         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11672         * math/auto-libm-test-out: Regenerated.
11673
11674         [BZ #16338]
11675         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11676         to determine exponent and adjust argument to have exponent of -1.
11677         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11678         log2.
11679         * math/auto-libm-test-out: Regenerated.
11680         * sysdeps/i386/fpu/libm-test-ulps: Update.
11681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11682
11683 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11684
11685         * manual/probes.texi: Remove cases when per-thread arenas are
11686         disabled.
11687
11688 2013-12-18  Andreas Schwab  <schwab@suse.de>
11689
11690         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11691         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11692         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11693         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11694         * sysdeps/i386/i686/multiarch/Makefile: Update.
11695         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11696
11697 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11698
11699         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11700         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11701
11702 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11703
11704         [BZ #15968]
11705         Support TZ transition times < 00:00:00.
11706         This is needed for version-3 tz-format files; it supports time
11707         stamps past 2037 for America/Godthab (the only entry in the tz
11708         database for which this change is relevant).
11709         * manual/time.texi (TZ Variable): Document transition times
11710         from -167:59:59 through -00:00:01.
11711         * time/tzset.c (tz_rule): Time of day is now signed.
11712         (__tzset_parse_tz): Parse negative time of day.
11713
11714         Document TZ transition times >= 25:00:00.
11715         * manual/time.texi (TZ Variable): Document transition times from
11716         25:00:00 through 167:59:59.  These are already supported, and this
11717         support will help with version-3 tz-format files.
11718
11719         * manual/time.texi (TZ Variable): Modernize North America example
11720         to reflect current (i.e., 2007-and-later) daylight saving rules.
11721
11722         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11723
11724 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11725
11726         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11727         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11729         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11730         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11731         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11732         * sysdeps/unix/bsd/clock.c: Likewise.
11733         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11734         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11735         * sysdeps/unix/bsd/init-posix.c: Likewise.
11736         * sysdeps/unix/bsd/poll.c: Likewise.
11737         * sysdeps/unix/bsd/ptsname.c: Likewise.
11738         * sysdeps/unix/bsd/seekdir.c: Likewise.
11739         * sysdeps/unix/bsd/setegid.c: Likewise.
11740         * sysdeps/unix/bsd/seteuid.c: Likewise.
11741         * sysdeps/unix/bsd/setgid.c: Likewise.
11742         * sysdeps/unix/bsd/setrgid.c: Likewise.
11743         * sysdeps/unix/bsd/setruid.c: Likewise.
11744         * sysdeps/unix/bsd/setsid.c: Likewise.
11745         * sysdeps/unix/bsd/setuid.c: Likewise.
11746         * sysdeps/unix/bsd/sigaction.c: Likewise.
11747         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11748         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11749         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11750         * sysdeps/unix/bsd/telldir.c: Likewise.
11751         * sysdeps/unix/bsd/times.c: Likewise.
11752         * sysdeps/unix/bsd/usleep.c: Likewise.
11753
11754         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11755         ($(objpfx)libbsd-compat.a): Remove rule.
11756
11757         * include/features.h (__FAVOR_BSD): Do not define.
11758         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11759         features conflicting with POSIX.
11760         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11761         (_BSD_SOURCE): Remove description of not being a subset of other
11762         feature test macros.
11763         * manual/job.texi (getpgrp): Do not document BSD version.
11764         (getpgid): Do not document by reference to BSD getpgrp.
11765         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11766         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11767         * signal/signal.h [__FAVOR_BSD]: Likewise.
11768         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11769         instead of making contents conditional on [__FAVOR_BSD].
11770         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11771
11772 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11773
11774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11775
11776 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11777
11778         [BZ #16314]
11779         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11780         values below 2**-450, not 2**-500.
11781         * math/auto-libm-test-in: Don't allow spurious underflow from
11782         hypot.
11783         * math/auto-libm-test-out: Regenerated.
11784
11785         [BZ #16316]
11786         [BZ #16330]
11787         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11788         values of ha and hb and sort them after adjusting subnormal
11789         arguments.
11790         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11791         Likewise.
11792         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11793         values of ea and eb and sort them after adjusting subnormal
11794         arguments.
11795         * math/auto-libm-test-in: Do not expect some hypot tests of
11796         subnormals to fail.  Add more hypot tests.
11797         * math/auto-libm-test-out: Regenerated.
11798
11799 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11800
11801         [BZ #13304]
11802         * sysdeps/sh/s_fma.c: New file.
11803         * sysdeps/sh/s_fmaf.c: New file.
11804         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11805         version.
11806         * sysdeps/sh/Implies: Add sh/soft-fp.
11807
11808 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11809
11810         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11811         level of indirection to members `objname', `errstring', `malloced'.
11812         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11813         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11814         it as the __longjmp argument (just pass 1 instead).
11815         (_dl_catch_error): Initialize C with argument pointers and address of
11816         volatile local ERRCODE rather than copying values out of C at return.
11817
11818 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11819
11820         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11821         * math/auto-libm-test-out: Regenerated.
11822         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11823         (hypot_test_data): Likewise.
11824         (pow_test_data): Likewise.
11825         (pow_tonearest_test_data): Likewise.
11826         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11827         mpfr_ff_f.
11828         (func_calc_desc): Add mpfr_ff_f union field.
11829         (FUNC_mpfr_ff_f): New macro.
11830         (test_functions): Add atan2, hypot and pow.
11831         (special_fill_min): New function.
11832         (special_fill_minus_min): Likewise.
11833         (special_fill_min_subnorm): Likewise.
11834         (special_fill_minus_min_subnorm): Likewise.
11835         (special_real_inputs): Add min, -min, min_subnorm and
11836         -min_subnorm.
11837         (calc_generic_results): Handle mpfr_ff_f.
11838         * sysdeps/i386/fpu/libm-test-ulps: Update.
11839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11840
11841 2013-12-16  Will Newton  <will.newton@linaro.org>
11842
11843         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11844         (Aligned Memory Blocks): Add documentation for aligned_alloc
11845         and suggest it as an alternative to posix_memalign.
11846         (Hooks for Malloc): Document __memalign_hook is also called
11847         for aligned_alloc.  (Summary of Malloc): Add summary for
11848         aligned alloc.  Document __memalign_hook is also called
11849         for aligned_alloc.
11850
11851 2013-12-16  Will Newton  <will.newton@linaro.org>
11852
11853         * manual/memory.texi (Malloc Examples): Clarify default
11854         alignment documentation.  Suggest posix_memalign rather
11855         than memalign or valloc.
11856         (Aligned Memory Blocks): Remove suggestion to use memalign
11857         or valloc.  Remove obsolete comment about BSD.
11858         Document memalign errno values and mark the function obsolete.
11859         Document posix_memalign returned error codes.  Mark valloc
11860         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11861         called for posix_memalign and valloc.
11862         (Summary of Malloc): Add posix_memalign to function summary.
11863         __memalign_hook is also called for posix_memalign and valloc.
11864
11865 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11866
11867         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11868         TAYLOR_SIN.
11869         (__sin): Adjust.
11870         (__cos): Likewise.
11871         (sloww): Use mynumber union.  Expand ternary operator into
11872         if-else statements.
11873         (cslow): use mynumber union.
11874
11875 2013-12-16  Allan McRae  <allan@archlinux.org>
11876
11877         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11878         * configure: Regenerated.
11879
11880         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11881
11882         [BZ #14120]
11883         * configure.ac: Added --enable-maintainer-mode. Check for
11884         autoconf when enabled.
11885         * configure: Regenerated.
11886
11887         * nscd/nscd.service: New file.
11888         * nscd/nscd.tmpfiles: New file.
11889
11890 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11891
11892         [BZ #12100]
11893         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11894         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11895         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11896         (strstr): Add __strstr_sse2_unaligned ifunc.
11897         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11898         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11899         (strcasestr): Remove __strcasestr_sse42 ifunc.
11900         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11903
11904 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11905
11906         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11907         * sysdeps/sh/bits/fenv.h: ... here.
11908         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11909
11910 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11911
11912         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11913
11914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11915         hypotf multiarch implementations.
11916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11917         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11918         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11919         multiarch hypot for PPC64.
11920         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11921         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11922         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11923         multiarch hypotf for PPC64.
11924
11925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11926         modff multiarch implementations.
11927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11930         multiarch modf for PPC64.
11931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11934         multiarch modff for PPC64.
11935
11936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11937         and logl multiarch implementations.
11938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11941         multiarch logb for PPC64.
11942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11945         multiarch logb for PPC64.
11946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11949         multiarch logb for PPC64.
11950
11951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11952         isinff multiarch implementation.
11953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11954         file.
11955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11957         multiarch isinf for PPC64.
11958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11959         file.
11960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11961         multiarch isinff for PPC64.
11962
11963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11964         finitef multiarch implementation.
11965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11966         file.
11967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11969         multiarch finite for PPC64.
11970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11971         file.
11972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11973         multiarch finitef for PPC64.
11974
11975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11976         lrint multiarch implementation.
11977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11978         file.
11979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11981         multiarch llrint for PPC64.
11982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11983         multiarch lrint for PPC64.
11984
11985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11986         copysignf multiarch implementation.
11987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11988         file.
11989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11990         file.
11991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11992         multiarch copysign for PPC64.
11993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11994         multiarch copysignf for PPC64.
11995
11996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11997         multiarch implementation.
11998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11999         file.
12000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12001         file.
12002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12003         file.
12004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12005         file.
12006         multiarch llround for PPC64.
12007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12008         multiarch trunc for PPC64.
12009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12010         multiarch truncf for PPC64.
12011
12012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12013         multiarch implementation.
12014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12015         file.
12016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12017         file.
12018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12019         file.
12020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12021         file.
12022         multiarch llround for PPC64.
12023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12024         multiarch round for PPC64.
12025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12026         multiarch roundf for PPC64.
12027
12028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12029         multiarch implementation.
12030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12031         file.
12032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12033         file.
12034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12035         file.
12036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12037         file.
12038         multiarch llround for PPC64.
12039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12040         multiarch floor for PPC64.
12041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12042         multiarch floorf for PPC64.
12043
12044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12045         multiarch implementation.
12046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12047         file.
12048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12049         file.
12050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12051         file.
12052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12053         file.
12054         multiarch llround for PPC64.
12055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12056         multiarch ceil for PPC64.
12057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12058         multiarch ceilf for PPC64.
12059
12060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12061         multiarch implementation.
12062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12063         file.
12064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12065         file.
12066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12067         file.
12068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12069         multiarch llround for PPC64.
12070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12071         multiarch lround for PPC64.
12072
12073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12074         multiarch implementation.
12075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12078         file.
12079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12082         multiarch isnan for PPC64.
12083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12084         multiarch isnanf for PPC64.
12085
12086         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12087         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12088         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12089         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12090         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12092
12093         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12094         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12097
12098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12099         multiarch implementations.
12100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12101         (__libc_ifunc_impl_list): Likewise.
12102         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12104         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12105         multiarch stpcpy for PPC64.
12106
12107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12108         multiarch implementations.
12109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12110         (__libc_ifunc_impl_list): Likewise.
12111         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12112         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12113         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12114         multiarch strcpy for PPC64.
12115
12116         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12117         redefine function name.
12118         (_wordcopy_fwd_dest_aligned): Likewise.
12119         (_wordcopy_bwd_aligned): Likewise.
12120         (_wordcopy_bwd_dest_aligned): Likewise.
12121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12122         multiarch implementations.
12123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12124         (__libc_ifunc_impl_list): Likewise.
12125         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12126         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12127         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12129         multiarch wcscpy for PPC64.
12130
12131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12132         multiarch implementations.
12133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12134         (__libc_ifunc_impl_list): Likewise.
12135         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12136         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12137         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12138         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12139         multiarch wcscpy for PPC64.
12140
12141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12142         multiarch implementations.
12143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12144         (__libc_ifunc_impl_list): Likewise.
12145         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12146         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12147         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12148         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12149         multiarch wcsrchr for PPC64.
12150
12151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12152         multiarch implementations.
12153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12154         (__libc_ifunc_impl_list): Likewise.
12155         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12156         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12157         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12158         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12159         multiarch wcschr for PPC64.
12160
12161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12162         multiarch implementations.
12163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12164         (__libc_ifunc_impl_list): Likewise.
12165         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12166         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12167         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12168         multiarch strchrnul for PPC64.
12169
12170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12171         implementations.
12172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12173         (__libc_ifunc_impl_list): Likewise.
12174         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12175         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12176         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12177         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12178         strchr for PPC64.
12179
12180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12181         implementations.
12182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12183         (__libc_ifunc_impl_list): Likewise.
12184         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12185         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12186         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12187         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12188         strncmp for PPC64.
12189
12190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12191         multiarch implementations.
12192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12193         (__libc_ifunc_impl_list): Likewise.
12194         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12195         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12196         strncasecmp for PPC64.
12197         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12198         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12199         multiarch strncasecmp_l for PPC64.
12200
12201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12202         multiarch implementations.
12203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12204         (__libc_ifunc_impl_list): Likewise.
12205         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12206         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12207         multiarch strcasecmp for PPC64.
12208         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12209         file.
12210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12211         multiarch strcasecmp_l for PPC64.
12212
12213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12214         implementations.
12215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12216         (__libc_ifunc_impl_list): Likewise.
12217         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12218         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12219         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12220         strnlen for PPC64.
12221
12222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12223         implementations.
12224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12225         (__libc_ifunc_impl_list): Likewise.
12226         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12227         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12228         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12229         strlen for PPC64.
12230
12231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12232         implementations.
12233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12234         (__libc_ifunc_impl_list): Likewise.
12235         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12236         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12237         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12238         rawmemrchr for PPC64.
12239
12240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12241         implementation.
12242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12243         (__libc_ifunc_impl_list): Likewise.
12244         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12245         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12246         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12247         memrchr for PPC64.
12248
12249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12250         implementation.
12251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12252         (__libc_ifunc_impl_list): Likewise.
12253         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12254         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12255         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12256         memchr for PPC64.
12257
12258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12259         implementation.
12260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12261         (__libc_ifunc_impl_list): Likewise.
12262         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12263         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12264         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12265         mempcpy for PPC64.
12266
12267         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12268         avoid cretion of __bzero symbol.
12269         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12270         Likewise.
12271         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12272         Likewise.
12273         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12274         Likewise.
12275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12276         multiarch implementations.
12277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12278         (__libc_ifunc_impl_list): Likewise.
12279         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12280         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12281         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12282         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12283         bzero for PPC32.
12284         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12285         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12286         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12287         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12288         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12289         memset for PPC64.
12290         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12291
12292         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12294         implementations.
12295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12296         (__libc_ifunc_impl_list): Likewise.
12297         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12298         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12299         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12300         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12301         memcmp for PPC64.
12302
12303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12304         multiarch for POWER/PPC64.
12305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12306         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12307         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12308         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12309         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12310         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12311         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12312         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12313         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12314         memcpy for PPC64.
12315
12316         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12317         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12318         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12319         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12320         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12321         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12322         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12323         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12324         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12325         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12326         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12327         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12328         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12329         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12330         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12338
12339 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12340
12341         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12342
12343 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12344
12345         * benchtests/Makefile (bench): Add exp2 and log2.
12346         (LDLIBS-bench-exp2): Add -lm.
12347         (LDLIBS-bench-log2): Likewise.
12348         * benchtests/exp2-inputs: New inputs file.
12349         * benchtests/log2-inputs: New inputs file.
12350         * benchtests/log-inputs: Add new inputs.
12351         * benchtests/tan-inputs: Likewise.
12352
12353 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12354
12355         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12356         definition...
12357         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12358         (csloww2): ... from here.
12359
12360         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12361         instead of structures.
12362         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12363         (POLYNOMIAL): Likewise.
12364         (TAYLOR_SLOW): Likewise.
12365         (__sin): Likewise.
12366         (__cos): Likewise.
12367         (slow1): Likewise.
12368         (slow2): Likewise.
12369         (sloww): Likewise.
12370         (sloww1); Likewise.
12371         (sloww2): Likewise.
12372         (bsloww1): Likewise.
12373         (bsloww2): Likewise.
12374         (cslow2): Likewise.
12375         (csloww): Likewise.
12376         (csloww1): Likewise.
12377         (csloww2): Likewise.
12378
12379 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12380
12381         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12382         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12383         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12384         * malloc/hooks.c (realloc_check): Likewise.
12385
12386         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12387         * malloc/arena.c: Remove PER_THREAD conditional.
12388         [!PER_THREAD]: Remove code.
12389         (ptmalloc_unlock_all2): Likewise.
12390         (ptmalloc_init): Likewise.
12391         (_int_new_arena): Likewise.
12392         (arena_get2): Likewise.
12393         * malloc/hooks.c (__malloc_get_state): Likewise.
12394         (__malloc_set_state): Likewise.
12395         * malloc/malloc.c: Likewise.
12396         (struct malloc_state): Likewise.
12397         (struct malloc_par): Likewise.
12398         (__libc_realloc): Likewise.
12399         (__libc_mallopt): Likewise.
12400
12401 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12402
12403         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12404
12405 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12406
12407         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12408         macro to a function.  Check for zero perturb_byte.
12409         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12410
12411         * malloc/malloc.c: (force_reg): Remove.
12412         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12413         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12414         force_reg by atomic_forced_read.
12415         * malloc/arena.c (ptmalloc_init): Likewise.
12416         * malloc/hooks.c (top_check): Likewise.
12417
12418 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12419
12420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12421
12422 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12423
12424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12425
12426 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12427
12428         * math/auto-libm-test-in: Add tests of lgamma.
12429         * math/auto-libm-test-out: Regenerated.
12430         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12431         (M_LOG_2_SQRT_PIl): Likewise.
12432         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12434         mpfr_f_f1.
12435         (func_calc_desc): Add mpfr_f_f1 union field.
12436         (ARGS1): New macro.
12437         (ARGS2): Likewise.
12438         (ARGS3): Likewise.
12439         (ARGS4): Likewise.
12440         (RET1): Likewise.
12441         (RET2): Likewise.
12442         (CALC): Likewise.
12443         (FUNC): Likewise.
12444         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12445         (test_functions): Add lgamma.
12446         (calc_generic_results): Handle mpfr_f_f1.
12447         * sysdeps/i386/fpu/libm-test-ulps: Update.
12448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12449
12450 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12451
12452         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12453         __mpn_add_n for PowerPC64/POWER7.
12454         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12455         __mpn_sub_n for PowerPC64/POWER7.
12456
12457         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12458         __mpn_addmul_1 for PowerPC64.
12459         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12460         __mpn_submul_1 for PowerPC64.
12461         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12462         for PowerPC64.
12463         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12464         for PowerPC64.
12465
12466 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12467
12468         [BZ #15089]
12469         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12470
12471 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12472
12473         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12474
12475         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12476         add multiarch folders.
12477         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12478         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12479         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12480         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12481         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12482         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12483         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12484         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12485         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12486         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12487         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12494
12495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12496         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12498         New file.
12499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12500         New file.
12501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12502         multiarch __ieee754_hypot for PowerPC32.
12503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12504         New file.
12505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12506         New file.
12507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12508         multiarch __ieee754_hypotf for PowerPC32.
12509
12510         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12511         long_double_symbol only if __logbl is defined.
12512         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12513         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12515         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12517         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12518         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12519         path for implementation.
12520         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12521         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12523         logb, and logbl multiarch implementations for PowerPC32.
12524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12525         file.
12526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12527         file.
12528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12529         multiarch logb for PowerPC32.
12530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12531         file.
12532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12533         file.
12534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12535         multiarch logbf for PowerPC32.
12536         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12538         file.
12539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12540         multiarch logbl implementation for PowerPC32.
12541
12542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12543         and modff multiarch implementations.
12544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12545         New file.
12546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12547         New file.
12548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12549         multiarch modf for PowerPC32.
12550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12551         New file.
12552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12553         New file.
12554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12555         multiarch modff for PowerPC32.
12556
12557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12558         and lrintf multiarch implementations.
12559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12560         New file.
12561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12562         New file.
12563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12564         multiarch lrint for PowerPC32.
12565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12566         file: multiarch lrintf for PowerPC32.
12567
12568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12569         and lroundf multiarch implementations.
12570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12571         New file.
12572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12573         New file.
12574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12575         New file.
12576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12577         multiarch lround for PowerPC32.
12578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12579         file: multiarch lroundf for PowerPC32.
12580
12581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12582         copysign and copysignf multiarch implementations.
12583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12584         New file.
12585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12586         New file.
12587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12588         file: multiarch copysign for PowerPC32.
12589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12590         file: multiarch copysignf for PowerPC32.
12591
12592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12593         and truncf multiarch implementations.
12594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12595         New file.
12596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12597         file.
12598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12599         multiarch trunc for PowerPC32.
12600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12601         New file.
12602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12603         New file.
12604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12605         multiarch truncf for PowerPC32.
12606
12607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12608         and roundf multiarch implementations.
12609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12610         New file.
12611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12612         file.
12613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12614         multiarch round for PowerPC32.
12615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12616         New file.
12617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12618         New file.
12619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12620         multiarch roundf for PowerPC32.
12621
12622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12623         and floorf multiarch implementations.
12624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12625         New file.
12626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12627         file.
12628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12629         multiarch floor for PowerPC32.
12630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12631         New file.
12632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12633         New file.
12634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12635         multiarch floorf for PowerPC32.
12636
12637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12638         and ceilf multiarch implementations.
12639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12640         New file.
12641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12642         file.
12643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12644         multiarch ceil for PowerPC32.
12645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12646         New file.
12647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12648         file.
12649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12650         multiarch ceilf for PowerPC32.
12651
12652         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12653         is defined.
12654         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12655         FINITEF is defined.
12656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12657         and finitef multiarch implementations.
12658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12659         New file.
12660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12661         file.
12662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12663         multiarch finite for PowerPC32.
12664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12665         New file.
12666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12667         file: multiarch finitef for PowerPC32.
12668
12669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12670         and isinff multiarch implementations.
12671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12672         file.
12673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12674         file.
12675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12676         multiarch isinf for PowerPC32.
12677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12678         New file.
12679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12680         multiarch isinff for PowerPC32.
12681
12682         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12683         alias when __isnan is defined.
12684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12685         and isnanf multiarch implementations.
12686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12687         file.
12688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12689         file.
12690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12691         file.
12692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12693         file.
12694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12695         multiarch isnan for PowerPC32.
12696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12697         New file.
12698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12699         New file.
12700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12701         multiarch isnanf for PowerPC32.
12702
12703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12704         and sqrtf multiarch implementations.
12705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12706         file.
12707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12708         file.
12709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12710         multiarch sqrt for PowerPC32.
12711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12712         file.
12713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12714         file.
12715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12716         multiarch sqrtf for PowerPC32.
12717
12718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12719         and llroundf multiarch implementations.
12720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12721         New file.
12722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12723         New file.
12724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12725         New file.
12726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12727         file: multiarch llround for PowerPC32.
12728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12729         file: multiarch llroundf for PowerPC32.
12730
12731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12732         multiarch PowerPC32 fpu implementations.
12733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12734         New file.
12735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12736         New file.
12737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12738         multiarch llrint for PowerPC32.
12739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12740         New file.
12741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12742         New file.
12743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12744         file.
12745
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12747
12748         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12749         file.
12750         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12751         file.
12752         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12753         file.
12754         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12755         multiarch wordcopy for PPC32.
12756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12757         wordcopy objects.
12758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12759         (__libc_ifunc_impl_list): Likewise.
12760         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12761         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12762         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12763         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12764         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12765         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12766
12767         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12769         file.
12770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12771         file.
12772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12773         file.
12774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12775         multiarch wcscpy for PPC32.
12776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12777         multiarch objects.
12778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12779         (__libc_ifunc_impl_list): Likewise.
12780         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12781         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12782         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12783         sysdeps/powerpc/power6/wcscpy.c.
12784
12785         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12787         file.
12788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12789         file.
12790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12791         file.
12792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12793         multiarch wcsrchr for PPC32.
12794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12795         multiarch objects.
12796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12797         (__libc_ifunc_impl_list): Likewise.
12798         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12799         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12800         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12801         sysdeps/powerpc/power6/wcsrchr.c.
12802
12803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12804         file.
12805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12806         file.
12807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12809         multiarch wcschr for PPc32.
12810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12811         multiarch objects.
12812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12813         (__libc_ifunc_impl_list): Likewise.
12814         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12815         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12816         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12817         sysdeps/powerpc/power6/wcschr.c.
12818
12819         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12820         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12821         file.
12822         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12823         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12824         file: multiarch strchr for PPC32.
12825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12826         multiarch objects.
12827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12828         (__libc_ifunc_impl_list): Likewise.
12829
12830         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12831         name.
12832         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12833         file.
12834         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12835         file.
12836         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12837         multiarch strchrnul for PPC32.
12838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12839         multiarch objects.
12840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12841         (__libc_ifunc_impl_list): Likewise.
12842
12843         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12844         file.
12845         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12846         multiarch strncasecmp for PPC32.
12847         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12848         file.
12849         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12850         multiarch strncasecmp_l for PPC32.
12851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12852         strncasecmp multiarch objects.
12853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12854         (__libc_ifunc_impl_list): Likewise.
12855
12856         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12857         file.
12858         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12859         multiarch strncasecmp for PPC32.
12860         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12861         New file.
12862         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12863         multiarch strcasecmp_l for PPC32.
12864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12865         multiarch objects.
12866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12867         (__libc_ifunc_impl_list): Likewise.
12868
12869         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12870         file.
12871         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12872         file.
12873         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12874         multiarch strncmp for PPC32.
12875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12876         multiarch objects.
12877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12878         (__libc_ifunc_impl_list): Likewise.
12879
12880         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12881         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12882         file.
12883         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12884         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12886         multiarch objects.
12887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12888         (__libc_ifunc_impl_list): Likewise.
12889
12890         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12891         file.
12892         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12893         file.
12894         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12896         multiarch objects.
12897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12898         (__libc_ifunc_impl_list): Likewise.
12899
12900         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12901         file.
12902         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12903         file.
12904         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12905         multiarch rawmemchr for PPC32.
12906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12907         multiarch objects.
12908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12909         (__libc_ifunc_impl_list): Likewise.
12910
12911         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12912         file.
12913         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12914         file.
12915         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12916         file: memrchr multiarch for PPC32.
12917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12918         multiarch objects.
12919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12920         (__libc_ifunc_impl_list): Likewise.
12921
12922         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12923         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12924         file.
12925         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12926         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12927         multiarch memchr for PPC32.
12928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12929         multiarch objects.
12930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12931         (__libc_ifunc_impl_list): Likewise.
12932
12933         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12934         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12935         file.
12936         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12937         file.
12938         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12939         file: multiarch mempcpy for PPC32.
12940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12941         multiarch objects.
12942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12943         (__libc_ifunc_impl_list): Likewise.
12944
12945         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12946         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12947         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12948         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12949         multiarch bzero for PPC32.
12950         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12951         file.
12952         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12953         file.
12954         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12955         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12956         file: multiarch memset for PPC32.
12957         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12959         memset multiarch objects.
12960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12961         (__libc_ifunc_impl_list): Likewise.
12962
12963         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12964         file.
12965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12967         memcmp for PPC32.
12968         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12970         multiarch objects.
12971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12972         (__libc_ifunc_impl_list): Likewise.
12973
12974         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12977         file.
12978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12979         file.
12980         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12981         file.
12982         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12983         multiarch memcpy for PPC32.
12984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12985         multiarch objects.
12986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12987         (__libc_ifunc_impl_list): Likewise.
12988
12989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12990         support multiarch for POWER/PPC32.
12991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12992         Likewise.
12993         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12995         Implies file to make multiarch folder appers before the fpu and
12996         default folder for power4 configuration.
12997
12998 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12999
13000         * scripts/bench.pl: Append volatile keyword to type.
13001
13002 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13003
13004         * sysdeps/sh/sotruss-lib.c: New file.
13005         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13006
13007 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13008
13009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13010
13011 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13012
13013         [BZ #6810]
13014         * math/w_tgamma.c: Include <errno.h>.
13015         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13016         * math/w_tgammaf.c: Include <errno.h>.
13017         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13018         * math/w_tgammal.c: Include <errno.h>.
13019         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13020         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13021         underflow.  Add more tgamma tests.
13022         * math/auto-libm-test-out: Regenerated.
13023         * sysdeps/i386/fpu/libm-test-ulps: Update.
13024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13025
13026         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13027         sin, sinh, tan, tanh, tgamma, y0 and y1.
13028         * math/auto-libm-test-out: Regenerated.
13029         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13030         (TEST_COND_x86): Likewise.
13031         (M_E2l): Remove macro.
13032         (M_E3l): Likewise.
13033         (M_2_SQRT_PIl): Likewise.
13034         (M_SQRT_PIl): Likewise.
13035         (M_1_DIV_El): Likewise.
13036         (log_test_data): Use AUTO_TESTS_f_f.
13037         (log10_test_data): Likewise.
13038         (log1p_test_data): Likewise.
13039         (log2_test_data): Likewise.
13040         (sin_test_data): Likewise.
13041         (sin_tonearest_test_data): Likewise.
13042         (sin_towardzero_test_data): Likewise.
13043         (sin_downward_test_data): Likewise.
13044         (sin_upward_test_data): Likewise.
13045         (sinh_test_data): Likewise.
13046         (sinh_tonearest_test_data): Likewise.
13047         (sinh_towardzero_test_data): Likewise.
13048         (sinh_downward_test_data): Likewise.
13049         (sinh_upward_test_data): Likewise.
13050         (tan_test_data): Likewise.
13051         (tan_tonearest_test_data): Likewise.
13052         (tan_towardzero_test_data): Likewise.
13053         (tan_downward_test_data): Likewise.
13054         (tan_upward_test_data): Likewise.
13055         (tanh_test_data): Likewise.
13056         (tgamma_test_data): Likewise.
13057         (y0_test_data): Likewise.
13058         (y1_test_data): Likewise.
13059         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13060         (special_real_inputs): Add pi/4.
13061         * sysdeps/i386/fpu/libm-test-ulps: Update.
13062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13063
13064 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13065
13066         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13067         "longjmp_target" static probes.
13068         (__longjmp): Rename to __longjmp_symbol.
13069         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13070         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13071         on which longjmp to generate.
13072         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13073         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13074         probe.
13075         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13076         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13077         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13078         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13079         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13080         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13082         __longjmp_symbol based on which __longjmp to generate.
13083         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13084         probe.
13085         (setjmp): Rename to setjmp_symbol.
13086         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13087         (_setjmp): Rename to _setjmp_symbol.
13088         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13089         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13090         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13091         which setjmp to generate.
13092         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13093         "longjmp_target" static probes.
13094
13095 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13096
13097         * benchtests/README: Add note about output arguments.
13098         * benchtests/bench-sincos.c: Remove file.
13099         * benchtests/sincos-inputs: New file.
13100         * scripts/bench.pl: Identify output arguments and define
13101         static variables for them.
13102
13103         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13104
13105         [BZ #15941]
13106         * Makefile (INSTALL): Add install-plain.texi as the primary
13107         dependency.
13108         * manual/install-plain.texi: New file.
13109         * manual/install.texi: Include node directive only for
13110         non-plaintext output.
13111
13112 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13113
13114         * stdlib/longlong.h: Update from GCC.
13115
13116         [BZ #6807]
13117         [BZ #15901]
13118         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13119         * math/w_j0f.c (y0f): Likewise.
13120         * math/w_j0l.c (__y0l): Likewise.
13121         * math/w_j1.c (y1): Likewise.
13122         * math/w_j1f.c (y1f): Likewise.
13123         * math/w_j1l.c (__y1l): Likewise
13124         * math/w_jn.c (yn): Likewise.
13125         * math/w_jnf.c (ynf): Likewise.
13126         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13127         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13128         value for Bessel function domain errors outside _SVID_ mode.
13129         Adjust sign of return value for yn (negative integer, 0).
13130         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13131         by zero in return for negative x and set sign appropriately for
13132         negative n.
13133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13134         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13135         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13136         expectations in error cases.
13137         (y1_test_data): Likewise.
13138         (yn_test_data): Likewise.
13139         * sysdeps/i386/fpu/libm-test-ulps: Update.
13140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13141
13142 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13143
13144         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13145         "64" to "64-v1".  Add "64-v2".
13146         (abi-64-options): Rename to ...
13147         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13148         (abi-64-condition): Rename to ...
13149         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13150         (abi-64-ld-soname): Rename to ...
13151         (abi-64-v1-ld-soname): ... this.
13152         (abi-64-v2-options): Define.
13153         (abi-64-v2-condition): Likewise.
13154         (abi-64-v2-ld-soname): Likewise.
13155         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13156         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13160
13161 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13162             Alan Modra  <amodra@gmail.com>
13163
13164         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13165         New versions for use with the ELFv2 ABI.
13166         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13167         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13168         declaration.
13169         (struct La_ppc64v2_retval): Likewise.
13170         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13171         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13172         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13173         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13174         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13175         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13176         Do not save or restore CR.
13177         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13178         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13179         return values for ELFv2 ABI.  Fix location of FPR return registers.
13180         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13181         updated values for _CALL_ELF == 2.
13182         (La_regs, La_retval, int_retval): Likewise.
13183
13184 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13185
13186         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13187         (FRAME_MIN_SIZE_PARM): Likewise.
13188         (FRAME_BACKCHAIN): Likewise.
13189         (FRAME_CR_SAVE): Likewise.
13190         (FRAME_LR_SAVE): Likewise.
13191         (FRAME_TOC_SAVE): Likewise.
13192         (FRAME_PARM_SAVE): Likewise.
13193         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13194         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13195         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13196         (call_mcount_parm_offset): New macro.
13197         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13198         (PROF): Use symbolic stack frame offsets.
13199         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13200         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13201         Redefine in terms of FRAME_MIN_SIZE.
13202         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13203         (_dl_profile_resolve): Likewise.  Update comment.
13204         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13205         symbols stack frame offsets.
13206         (__sigsetjmp): Likewise.
13207         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13208         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13209         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13210         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13211
13212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13213         (FRAME_BACKCHAIN): Remove.
13214         (FRAME_CR_SAVE): Likewise.
13215         (FRAME_LR_SAVE): Likewise.
13216         (FRAME_COMPILER_DW): Likewise.
13217         (FRAME_LINKER_DW): Likewise.
13218         (FRAME_TOC_SAVE): Likewise.
13219         (FRAME_PARM_SAVE): Likewise.
13220         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13221         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13222         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13224         (CHECK_SP): Use symbolic stack frame offsets.
13225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13226         zone" instead of caller's parameter save area for temp storage.
13227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13228         Likewise.  Also, use symbolic stack frame offsets.
13229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13230         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13231         our own stack frame instead of the caller's.
13232         (__socket): Use symbolic stack frame offsets.
13233
13234 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13235             Alan Modra  <amodra@gmail.com>
13236
13237         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13238         Define.
13239         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13240         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13241         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13242         New function.
13243         (elf_machine_fixup_plt): Call it.
13244         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13245         reloc arguments.
13246         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13247         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13248         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13249         r2 before calling target.
13250
13251 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13252             Alan Modra  <amodra@gmail.com>
13253
13254         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13255         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13256         versions of macros to support ELFv2 ABI.
13257         (LOCALENTRY): New macro.
13258         (ENTRY, EALIGN): Use it.
13259         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13260         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13261         fall through into ENTRY entry point.
13262         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13263         Only define if _CALL_ELF != 2.
13264
13265         (elf_machine_matches_host): Verify ABI version matches.
13266         (RTLD_START): Use LOCALENTRY.
13267         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13268         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13269         (PLT_ENTRY_WORDS): New macro.
13270         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13271         (elf_machine_runtime_setup): Support ELFv2 ABI.
13272         (elf_machine_fixup_plt): Likewise.
13273         (elf_machine_plt_conflict): Likewise.
13274         (resolve_ifunc): Likewise.
13275         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13276         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13277         Likewise.
13278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13279         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13281         (makecontext): Support ELFv2 ABI.
13282         * elf/elf.h (EF_PPC64_ABI): Define.
13283
13284 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13285
13286         * sysdeps/powerpc/powerpc64/sysdep.h
13287         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13288         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13289         (ENTRY) [ASSEMBLER]: ... but instead here ...
13290         (EALIGN) [ASSEMBLER]: ... and here.
13291         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13292         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13293         (ENTRY_2) [!ASSEMBLER]: Use it.
13294         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13295         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13296         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13297         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13298         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13300         Use PPC64_LOAD_FUNCPTR.
13301
13302         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13303
13304 2013-12-04  Alan Modra  <amodra@gmail.com>
13305
13306         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13307         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13308         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13309         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13310
13311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13312         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13313         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13314         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13315         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13316         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13317
13318 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13319
13320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13321         (__makecontext): Fix incorrect CFI when backtracing out of
13322         context created via makecontext.
13323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13324         (__setcontext): Fix incorrect CFI during switch to new context.
13325         (__novec_setcontext): Likewise.
13326
13327 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13328
13329         [BZ #4772]
13330         * time/strptime_l.c (__strptime_internal): Allow modifiers
13331         in strptime.
13332         * time/tst-strptime.c (day_tests): Add testcase.
13333
13334 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13335
13336         * scripts/bench.pl: Skip over blank lines.
13337
13338 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13339
13340         [BZ #926]
13341         * manual/time.texi (Calendar Time): Clarify what timezone functions
13342         use.
13343
13344 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13345
13346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13347
13348 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13349
13350         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13351         implementation.
13352         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13353         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13354         * debug/memset_chk.c (__memset_chk): Likewise.
13355         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13356         * debug/strncpy_chk.c: Likewise.
13357
13358 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13359
13360         [BZ #15268]
13361         [BZ #15425]
13362         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13363         (__ieee754_exp): For possibly underflowing results, check size of
13364         result and force underflow exception if required.
13365         * math/auto-libm-test-in: Add more tests of exp.
13366         * math/auto-libm-test-out: Regenerated.
13367         * sysdeps/i386/fpu/libm-test-ulps: Update.
13368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13369
13370         [BZ #16283]
13371         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13372         * math/w_exp2f.c (__exp2f): Likewise.
13373         * math/w_exp2l.c (__exp2l): Likewise.
13374         * math/auto-libm-test-in: Do not allow missing errno on exp2
13375         underflow.
13376         * math/auto-libm-test-out: Regenerated.
13377
13378 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13379
13380         [BZ #16274]
13381         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13382         handle filename validation.
13383         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13384         (do_open): Delete.
13385
13386 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13387
13388         [BZ #6786]
13389         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13390         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13391         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13392         <float.h>.
13393         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13394         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13395         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13396         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13397         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13398         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13399         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13400         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13401         Add more erfc tests.
13402         * math/auto-libm-test-out: Regenerated.
13403         * sysdeps/i386/fpu/libm-test-ulps: Update.
13404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13405
13406         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13407         exp2, expm1, j0 and j1.
13408         * math/auto-libm-test-out: Regenerated.
13409         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13410         (erfc_test_data): Likewise.
13411         (exp_test_data): Likewise.
13412         (exp_tonearest_test_data): Likewise.
13413         (exp_towardzero_test_data): Likewise.
13414         (exp_downward_test_data): Likewise.
13415         (exp_upward_test_data): Likewise.
13416         (exp10_test_data): Likewise.
13417         (exp2_test_data): Likewise.
13418         (expm1_test_data): Likewise.
13419         (j0_test_data): Likewise.
13420         (j1_test_data): Likewise.
13421         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13422         (input_flag_type): Add flag_xfail_rounding.
13423         (input_flags): Add xfail-rounding.
13424         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13425         (output_for_one_input_case): Handle flag_xfail_rounding.
13426         * sysdeps/i386/fpu/libm-test-ulps: Update.
13427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13428
13429 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13430
13431         [BZ #16289]
13432         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13433         division by 0.
13434
13435 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13436
13437         [BZ #16195]
13438         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13439         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13440         (STAP_PROBE0): New macro.
13441         (STAP_PROBE1): Likewise.
13442         (STAP_PROBE2): Likewise.
13443         (STAP_PROBE3): Likewise.
13444         (STAP_PROBE4): Likewise.
13445
13446 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13447
13448         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13449
13450 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13451
13452         * benchtests/Makefile (bench): Add sqrt.
13453         (LDLIBS-bench-sqrt): New.
13454         * benchtests/sqrt-input: New.
13455
13456 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13457
13458         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13459         (GAIH_EAI): Likewise.
13460         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13461         (gaih_inet): Likewise.
13462         (getaddrinfo): Don't use GAIH_EAI.
13463
13464         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13465         (struct gaih): Remove definition.
13466
13467 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13468
13469         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13470         Use HERRNOP directly.
13471
13472 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13473
13474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13475
13476 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13477
13478         * math/gen-auto-libm-tests.c (test_functions): Add more
13479         single-argument functions.
13480         (special_fill_pi_2): New function.
13481         (special_fill_minus_pi_2): Likewise.
13482         (special_fill_pi_6): Likewise.
13483         (special_fill_minus_pi_6): Likewise.
13484         (special_fill_pi_3): Likewise.
13485         (special_fill_2pi_3): Likewise.
13486         (special_fill_e): Likewise.
13487         (special_fill_1_e): Likewise.
13488         (special_fill_e_minus_1): Likewise.
13489         (special_real_inputs): Add more special inputs.
13490         (output_for_one_input_case): Do not require ERANGE on underflow to
13491         zero if round-to-nearest result does not underflow to zero, unless
13492         exact results required.
13493         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13494         atan, atanh, cbrt, cos and cosh.
13495         * math/auto-libm-test-out: Regenerated.
13496         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13497         (acos_tonearest_test_data): Likewise.
13498         (acos_towardzero_test_data): Likewise.
13499         (acos_downward_test_data): Likewise.
13500         (acos_upward_test_data): Likewise.
13501         (acosh_test_data): Likewise.
13502         (asin_test_data): Likewise.
13503         (asin_tonearest_test_data): Likewise.
13504         (asin_towardzero_test_data): Likewise.
13505         (asin_upward_test_data): Likewise.
13506         (asinh_test_data): Likewise.
13507         (atan_test_data): Likewise.
13508         (atanh_test_data): Likewise.
13509         (cbrt_test_data): Likewise.
13510         (cos_test_data): Likewise.
13511         (cos_tonearest_test_data): Likewise.
13512         (cos_towardzero_test_data): Likewise.
13513         (cos_downward_test_data): Likewise.
13514         (cos_upward_test_data): Likewise.
13515         (cosh_test_data): Likewise.
13516         (cosh_tonearest_test_data): Likewise.
13517         (cosh_towardzero_test_data): Likewise.
13518         (cosh_downward_test_data): Likewise.
13519         (cosh_upward_test_data): Likewise.
13520         * sysdeps/i386/fpu/libm-test-ulps: Update.
13521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13522
13523 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13524
13525         [BZ #6787]
13526         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13527         * math/w_exp10f.c (__exp10f): Likewise.
13528         * math/w_exp10l.c (__exp10l): Likewise.
13529         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13530         errno settings in existing tests.
13531
13532         [BZ #14032]
13533         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13534         precision control set to double precision.
13535         * sysdeps/i386/fpu/w_sqrt.c: New file.
13536         * math/auto-libm-test-in: Add more tests.
13537         * math/auto-libm-test-out: Update.
13538
13539         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13540         (sqrt_test_tonearest): New function.
13541         (sqrt_towardzero_test_data): New variable.
13542         (sqrt_test_towardzero): New function.
13543         (sqrt_downward_test_data): New variable.
13544         (sqrt_test_downward): New function.
13545         (sqrt_upward_test_data): New variable.
13546         (sqrt_test_upward): New function.
13547         (main): Call the new functions.
13548
13549         * math/gen-auto-libm-tests.c: New file.
13550         * math/auto-libm-test-in: Likewise.
13551         * math/auto-libm-test-out: New generated file.
13552         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13553         variables.
13554         (%beautify): Add generated representations of zero.
13555         (top level): Set $auto_input and call parse_auto_input.
13556         (beautify): Remove trailing "f" from hex float constants.
13557         (parse_args): Handle XFAIL_TEST.
13558         (convert_condition): New function.
13559         (or_value): Likewise.
13560         (or_cond_value): Likewise.
13561         (generate_testfile): Handle AUTO_TESTS_* lines.
13562         (parse_auto_input): New function.
13563         * math/libm-test.inc (XFAIL_TEST): New macro.
13564         (ERRNO_UNCHANGED): Update value.
13565         (ERRNO_EDOM): Likewise.
13566         (ERRNO_ERANGE): Likewise.
13567         (IGNORE_RESULT): Likewise.
13568         (TEST_COND_flt_32): New macro.
13569         (TEST_COND_dbl_64): Likewise.
13570         (TEST_COND_ldbl_96_intel): Likewise.
13571         (TEST_COND_ldbl_96_m68k): Likewise.
13572         (TEST_COND_ldbl_128): Likewise.
13573         (TEST_COND_ldbl_128ibm): Likewise.
13574         (TEST_COND_long32): Likewise.
13575         (TEST_COND_long64): Likewise.
13576         (TEST_COND_before_rounding): Likewise.
13577         (TEST_COND_after_rounding): Likewise.
13578         (enable_test): Handle XFAIL_TEST flag.
13579         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13580         with finite results.
13581         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13582         auto-libm-test-out.
13583
13584 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13585             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13586
13587         [BZ #16214]
13588         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13589         __tls_get_addr_internal instead of __tls_get_offset in order to
13590         avoid GOT pointer dependency.  Make rtld export
13591         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13592         __tls_get_addr since we are a __tls_get_offset platform.
13593         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13594         GOT pointer being set up before.
13595         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13596
13597 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13598
13599         * manual/math.texi (Errors in Math Functions): Document accuracy
13600         goals.
13601
13602         [BZ #15004]
13603         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13604         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13605         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13606         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13607         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13608         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13609         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13610         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13611         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13612         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13613         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13614         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13615         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13616         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13617         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13618         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13619
13620         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13621         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13622         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13623         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13624         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13625         Likewise.
13626         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13627         Likewise.
13628         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13629         Likewise.
13630         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13631         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13632         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13633         atomic-feupdateenv and flt-rounds.
13634         * sysdeps/powerpc/nofpu/Versions (libc): Add
13635         __atomic_feholdexcept, __atomic_feclearexcept,
13636         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13637         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13638         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13639         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13640         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13641         here.
13642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13643         Update.
13644
13645         * manual/arith.texi (FP Exceptions): Document that exceptions may
13646         not be raised when matherr is used.
13647         (Math Error Reporting): Document overflow in directed rounding
13648         modes.  Document that errno may not be set when finite values are
13649         returned on overflow.  Document intent to set errno on underflow
13650         only for underflow to zero.
13651
13652         [BZ #16271]
13653         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13654         round-to-nearest then adjust result for other rounding modes.
13655         * include/fenv.h (fegetround): Use libm_hidden_proto.
13656         * math/fegetround.c (fegetround): Use libm_hidden_def.
13657         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13658         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13659         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13660         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13661         Likewise.
13662         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13663         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13664         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13665         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13666
13667 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13668
13669         [BZ #16077]
13670         * nss/Versions (libnss_files): Add
13671         _nss_files_gethostbyname3_r.
13672         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13673         New function.
13674         (HOST_DB_LOOKUP): Remove macro.
13675         (_nss_files_gethostbyname_r): Implement function without the
13676         HOST_DB_LOOKUP macro.
13677         (_nss_files_gethostbyname2_r): Likewise.
13678
13679 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13680
13681         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13682
13683 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13684
13685         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13686         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13687         warning.
13688
13689 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13690
13691         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13692         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13693         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13694         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13695         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13696         __fe_nomask_env_priv and attribute_hidden.
13697         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13698         (libc_feupdateenv_test_ppc): Likewise.
13699         (libc_feresetround_ppc): Likewise.
13700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13701         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13702         compat_symbol macro.
13703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13704         (__fe_nomask_env): Likewise.
13705         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13706
13707 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13708
13709         * string/Makefile: Remove ifunc tests.
13710         * string/test-string.h: Define TEST_IFUNC.
13711         * string/test-bcopy-ifunc.c: Remove.
13712         * string/test-bzero-ifunc.c: Likewise.
13713         * string/test-memccpy-ifunc.c: Likewise.
13714         * string/test-memchr-ifunc.c: Likewise.
13715         * string/test-memcmp-ifunc.c: Likewise.
13716         * string/test-memcpy-ifunc.c: Likewise.
13717         * string/test-memmem-ifunc.c: Likewise.
13718         * string/test-memmove-ifunc.c: Likewise.
13719         * string/test-mempcpy-ifunc.c: Likewise.
13720         * string/test-memrchr-ifunc.c: Likewise.
13721         * string/test-memset-ifunc.c: Likewise.
13722         * string/test-rawmemchr-ifunc.c: Likewise.
13723         * string/test-stpcpy-ifunc.c: Likewise.
13724         * string/test-stpncpy-ifunc.c: Likewise.
13725         * string/test-strcasecmp-ifunc.c: Likewise.
13726         * string/test-strcasestr-ifunc.c: Likewise.
13727         * string/test-strcat-ifunc.c: Likewise.
13728         * string/test-strchr-ifunc.c: Likewise.
13729         * string/test-strchrnul-ifunc.c: Likewise.
13730         * string/test-strcmp-ifunc.c: Likewise.
13731         * string/test-strcpy-ifunc.c: Likewise.
13732         * string/test-strcspn-ifunc.c: Likewise.
13733         * string/test-strlen-ifunc.c: Likewise.
13734         * string/test-strncasecmp-ifunc.c: Likewise.
13735         * string/test-strncat-ifunc.c: Likewise.
13736         * string/test-strncmp-ifunc.c: Likewise.
13737         * string/test-strncpy-ifunc.c: Likewise.
13738         * string/test-strnlen-ifunc.c: Likewise.
13739         * string/test-strpbrk-ifunc.c: Likewise.
13740         * string/test-strrchr-ifunc.c: Likewise.
13741         * string/test-strspn-ifunc.c: Likewise.
13742         * string/test-strstr-ifunc.c: Likewise.
13743
13744 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13745
13746         * benchtests/Makefile: Remove ifunc tests.
13747         * benchtests/bench-string.h: Define TEST_IFUNC.
13748         * benchtests/bench-bcopy-ifunc.c: Remove.
13749         * benchtests/bench-bzero-ifunc.c: Likewise.
13750         * benchtests/bench-memccpy-ifunc.c: Likewise.
13751         * benchtests/bench-memchr-ifunc.c: Likewise.
13752         * benchtests/bench-memcmp-ifunc.c: Likewise.
13753         * benchtests/bench-memcpy-ifunc.c: Likewise.
13754         * benchtests/bench-memmem-ifunc.c: Likewise.
13755         * benchtests/bench-memmove-ifunc.c: Likewise.
13756         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13757         * benchtests/bench-memrchr-ifunc.c: Likewise.
13758         * benchtests/bench-memset-ifunc.c: Likewise.
13759         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13760         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13761         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13762         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13763         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13764         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13765         * benchtests/bench-strcat-ifunc.c: Likewise.
13766         * benchtests/bench-strchr-ifunc.c: Likewise.
13767         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13768         * benchtests/bench-strcmp-ifunc.c: Likewise.
13769         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13770         * benchtests/bench-strcpy-ifunc.c: Likewise.
13771         * benchtests/bench-strcspn-ifunc.c: Likewise.
13772         * benchtests/bench-strlen-ifunc.c: Likewise.
13773         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13774         * benchtests/bench-strncat-ifunc.c: Likewise.
13775         * benchtests/bench-strncmp-ifunc.c: Likewise.
13776         * benchtests/bench-strncpy-ifunc.c: Likewise.
13777         * benchtests/bench-strnlen-ifunc.c: Likewise.
13778         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13779         * benchtests/bench-strrchr-ifunc.c: Likewise.
13780         * benchtests/bench-strsep-ifunc.c: Likewise.
13781         * benchtests/bench-strspn-ifunc.c: Likewise.
13782         * benchtests/bench-strstr-ifunc.c: Likewise.
13783
13784 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13785
13786         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13787
13788 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13789
13790         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13791         * rt/aio.h: Likewise.
13792         * sysdeps/gnu/bits/utmp.h: Likewise.
13793         * sysdeps/gnu/bits/utmpx.h: Likewise.
13794         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13795         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13796         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13797         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13798         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13799         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13800         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13801         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13802         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13803         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13804         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13805         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13806         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13808         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13809         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13810         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13811         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13812         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13813         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13814         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13815         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13816         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13817         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13818         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13819         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13820         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13821         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13822         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13823         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13824         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13825         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13826         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13827         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13828         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13829         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13830         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13831         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13832         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13833         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13834         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13835         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13836
13837 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13838
13839         [BZ #16245]
13840         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13841         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13842
13843 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13844
13845         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13846         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13847         Likewise.
13848
13849 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13850
13851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13852         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13853         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13854         (__fesetround): Remove define.
13855         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13856         rounding and exceptions handling.
13857         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13858         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13859         (__fe_nomask_env): Likewise.
13860         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13861         __fegetround instead of fegetround.
13862         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13863         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13864
13865 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13866
13867         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13868         it's there.
13869
13870         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13871
13872 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13873
13874         [BZ #11157]
13875         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13876         (encrypt_r): Likewise.
13877         * malloc/obstack.h (obstack_free): Likewise.
13878         * posix/unistd.h (encrypt): Likewise.
13879
13880 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13881
13882         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13883         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13884         DL_CALL_DT_FINI() that call the functions directly.
13885         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13886         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13887         * elf/dl-fini.c: Likewise.
13888
13889 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13890
13891         * malloc/hooks.c (memalign_check): Add alignment rounding.
13892         * malloc/malloc.c (_mid_memalign): New function.
13893         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13894         Implement by calling _mid_memalign.
13895         * manual/probes.texi (Memory Allocation Probes): Remove
13896         memory_valloc_retry and memory_pvalloc_retry.
13897
13898 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13899
13900         * locale/programs/locarchive.c (open_archive): Add const
13901         qualifier to ARCHIVEFNAME and copy default fname to
13902         DEFAULT_FNAME.
13903
13904         [BZ #15601]
13905         * libio/tst-widetext.input: Rename Oriya to Odia.
13906         * locale/iso-639.def: Likewise.
13907
13908         * manual/probes.texi (Mathematical Function Probes): Add
13909         documentation for sin, cos, asin and acos probes.
13910         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13911         (__sin32): Add slowasin probe.
13912         (__cos32): Add slowacos probe.
13913         (__mpsin): Add slowsin probe.
13914         (__mpcos): Add slowcos probe.
13915
13916 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13917
13918         [BZ #15483]
13919         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13920         thread-local __sim_exceptions_thread and global
13921         __sim_exceptions_global.
13922         (__sim_disabled_exceptions): Change to thread-local
13923         __sim_disabled_exceptions_thread and global
13924         __sim_disabled_exceptions_global.
13925         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13926         and global __sim_round_mode_global.
13927         (__simulate_exceptions): Use thread-local floating-point state and
13928         set global state from it as needed.
13929         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13930         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13931         __sim_round_mode_thread.
13932         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13933         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13934         and global __sim_exceptions_global.
13935         (__sim_disabled_exceptions): Change to thread-local
13936         __sim_disabled_exceptions_thread and global
13937         __sim_disabled_exceptions_global.
13938         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13939         and global __sim_round_mode_global.
13940         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13941         (SIM_SET_GLOBAL): Likewise.
13942         * sysdeps/powerpc/soft-fp/sfp-machine.h
13943         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13944         __sim_round_mode_thread.
13945         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13946         __sim_disabled_exceptions_thread.
13947         (__sim_exceptions): Change to __sim_exceptions_thread.
13948         (__sim_disabled_exceptions): Change to
13949         __sim_disabled_exceptions_thread.
13950         (__sim_round_mode): Change to __sim_round_mode_thread.
13951         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13952         thread-local floating-point state and set global state from it as
13953         needed.
13954         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13955         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13956         (__sim_disabled_exceptions): Remove extern declaration.
13957         (feenableexcept): Use thread-local floating-point state and set
13958         global state from it as needed.
13959         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13960         extern declaration.
13961         (__sim_disabled_exceptions): Likewise.
13962         (__sim_round_mode): Likewise.
13963         (__fegetenv): Use thread-local floating-point state.
13964         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13965         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13966         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13967         floating-point state and set global state from it as needed.
13968         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13969         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13970         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13971         Likewise.
13972         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13973         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13974         Likewise.
13975         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13976         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13977         Use __sim_round_mode_thread.
13978         * math/test-fenv-tls.c: New file.
13979         * math/Makefile (tests): Add test-fenv-tls.
13980         ($(objpfx)test-fenv-tls): Depend on
13981         $(common-objpfx)nptl/libpthread.so.
13982
13983 2013-11-19  Andreas Schwab  <schwab@suse.de>
13984
13985         * locale/programs/locale.c (show_info): Decode wordarray elements.
13986         * locale/categories.def (LC_MONETARY): Add element for
13987         _NL_MONETARY_CRNCYSTR.
13988         * locale/C-monetary.c (conversion_rate): New variable.
13989         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13990         element.
13991
13992 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13993
13994         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13995         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13996
13997 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13998
13999         * elf/Makefile (tst-auxv): New test.
14000         * elf/tst-auxv.c: New
14001         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14002
14003 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14004
14005         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14006         (hidden_proto): Caller changed.
14007         (hidden_tls_proto): New macro.
14008         (libc_hidden_tls_proto): Likewise.
14009         (rtld_hidden_tls_proto): Likewise.
14010         (libm_hidden_tls_proto): Likewise.
14011         (libresolv_hidden_tls_proto): Likewise.
14012         (librt_hidden_tls_proto): Likewise.
14013         (libdl_hidden_tls_proto): Likewise.
14014         (libnss_files_hidden_tls_proto): Likewise.
14015         (libnsl_hidden_tls_proto): Likewise.
14016         (libnss_nisplus_hidden_tls_proto): Likewise.
14017         (libutil_hidden_tls_proto): Likewise.
14018
14019 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14020
14021         [BZ #10253]
14022         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14023         (decompose_rpath): Defer expansion to fillin_rpath.
14024         (_dl_init_paths): Pass linkmap to fillin_rpath.
14025
14026 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14027
14028         * benchtests/Makefile: Add strsep.
14029         * benchtests/bench-strsep.c: New file: strsep benchtest.
14030         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14031
14032 2013-11-18  Andreas Schwab  <schwab@suse.de>
14033
14034         * locale/programs/locale.c (show_info) [case byte]: Check for
14035         '\377' instead of '\177'.
14036         * locale/C-monetary.c (not_available): Always use "\377".
14037         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14038         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14039         detect unavailable sign_posn locale elements.
14040         * locale/localeconv.c (__localeconv): For grouping and
14041         mon_grouping handle "\177" and "\377" like no grouping.
14042         (INT_ELEM): New macro.  Use it to set all numeric members.
14043         * locale/programs/ld-monetary.c (monetary_read)
14044         <tok_mon_grouping>: Normalize single -1 to the empty string.
14045         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14046         Likewise.
14047
14048 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14049
14050         [BZ #16055]
14051         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14052         when we match (nil).
14053         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14054
14055 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14056
14057         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14058         (NO_TEST_INLINE): Update value.
14059         (ERRNO_UNCHANGED): Likewise.
14060         (ERRNO_EDOM): Likewise.
14061         (ERRNO_ERANGE): Likewise.
14062         (IGNORE_RESULT): Likewise.
14063         (check_float_internal): Check signs of NaN results if
14064         TEST_NAN_SIGN used.
14065         (check_complex): Pass TEST_NAN_SIGN flag through to second
14066         check_float_internal call.
14067         (copysign_test_data): Add tests with quiet NaNs as second
14068         argument.  Use TEST_NAN_SIGN.
14069         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14070         TEST_NAN_SIGN.
14071         (signbit_test_data): Add tests of quiet NaN argument.
14072         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14073
14074         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14075         $ignore_result.
14076         (parse_args): Handle function results specified as IGNORE.
14077         * math/libm-test.inc (IGNORE_RESULT): New macro.
14078         (check_float_internal): Do not check numerical result if flag
14079         IGNORE_RESULT set.
14080         (check_complex): Pass through IGNORE_RESULT to second
14081         check_float_internal call.
14082         (check_int): Do not check numerical result if flag IGNORE_RESULT
14083         set.
14084         (check_long): Likewise.
14085         (check_bool): Likewise.
14086         (check_longlong): Likewise.
14087         (lrint_test_data): Add tests of infinite and NaN arguments.
14088         (lrint_tonearest_test_data): Likewise.
14089         (lrint_towardzero_test_data): Likewise.
14090         (lrint_downward_test_data): Likewise.
14091         (lrint_upward_test_data): Likewise.
14092         (llrint_test_data): Likewise.
14093         (llrint_tonearest_test_data): Likewise.
14094         (llrint_towardzero_test_data): Likewise.
14095         (llrint_downward_test_data): Likewise.
14096         (llrint_upward_test_data): Likewise.
14097         (lround_test_data): Likewise.
14098         (llround_test_data): Likewise.
14099
14100         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14101         (ERRNO_UNCHANGED): Update value.
14102         (ERRNO_EDOM): Likewise.
14103         (ERRNO_ERANGE): Likewise.
14104         (NO_TEST_INLINE_FLOAT): New macro.
14105         (NO_TEST_INLINE_DOUBLE): Likewise.
14106         (enable_test): New function.
14107         (RUN_TEST_f_f): Check enable_test before running test.
14108         (RUN_TEST_2_f): Likewise.
14109         (RUN_TEST_fff_f): Likewise.
14110         (RUN_TEST_c_f): Likewise.
14111         (RUN_TEST_f_f1): Likewise.
14112         (RUN_TEST_fF_f1): Likewise.
14113         (RUN_TEST_fI_f1): Likewise.
14114         (RUN_TEST_ffI_f1): Likewise.
14115         (RUN_TEST_c_c): Likewise.
14116         (RUN_TEST_cc_c): Likewise.
14117         (RUN_TEST_f_i): Likewise.
14118         (RUN_TEST_f_i_tg): Likewise.
14119         (RUN_TEST_ff_i_tg): Likewise.
14120         (RUN_TEST_f_b): Likewise.
14121         (RUN_TEST_f_b_tg): Likewise.
14122         (RUN_TEST_f_l): Likewise.
14123         (RUN_TEST_f_L): Likewise.
14124         (RUN_TEST_fFF_11): Likewise.
14125         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14126         conditionals.
14127         (cosh_test_data): Likewise.
14128         (exp_test_data): Likewise.
14129         (expm1_test_data): Likewise.
14130         (hypot_test_data): Likewise.
14131         (pow_test_data): Likewise.
14132         (sinh_test_data): Likewise.
14133         (tanh_test_data): Likewise.
14134         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14135         flags argument.
14136
14137         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14138         tests with quiet NaN input and output.
14139         (acosh_test_data): Likewise.
14140         (asin_test_data): Likewise.
14141         (asinh_test_data): Likewise.
14142         (atan_test_data): Likewise.
14143         (atanh_test_data): Likewise.
14144         (atan2_test_data): Likewise.
14145         (cbrt_test_data): Likewise.
14146         (cos_test_data): Likewise.
14147         (cosh_test_data): Likewise.
14148         (erf_test_data): Likewise.
14149         (erfc_test_data): Likewise.
14150         (exp_test_data): Likewise.
14151         (exp10_test_data): Likewise.
14152         (exp2_test_data): Likewise.
14153         (expm1_test_data): Likewise.
14154         (hypot_test_data): Likewise.
14155         (j0_test_data): Likewise.
14156         (j1_test_data): Likewise.
14157         (jn_test_data): Likewise.
14158         (lgamma_test_data): Likewise.
14159         (log_test_data): Likewise.
14160         (log10_test_data): Likewise.
14161         (log1p_test_data): Likewise.
14162         (log2_test_data): Likewise.
14163         (pow_test_data): Likewise.
14164         (scalb_test_data): Likewise.
14165         (sin_test_data): Likewise.
14166         (sincos_test_data): Likewise.
14167         (sinh_test_data): Likewise.
14168         (tan_test_data): Likewise.
14169         (tanh_test_data): Likewise.
14170         (tgamma_test_data): Likewise.
14171         (y0_test_data): Likewise.
14172         (y1_test_data): Likewise.
14173         (yn_test_data): Likewise.
14174
14175         [BZ #16167]
14176         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14177         argument being NaN and avoid computations with second argument in
14178         that case.
14179         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14180         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14181         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14182
14183 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14184
14185         * locale/iso-639.def: Add Chitwani Tharu (the).
14186
14187 2013-11-14  Andreas Schwab  <schwab@suse.de>
14188
14189         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14190         word instead of empty string.
14191
14192 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14193
14194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14195         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14197         (__fe_nomask_env): Likewise.
14198
14199 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14200
14201         * benchtests/bench-timing.h: Include time.h.
14202
14203 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14204
14205         [BZ #15997]
14206         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14207         to 3.4.0 for x32.
14208         * sysdeps/unix/sysv/linux/configure: Regenerated.
14209
14210 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14211
14212         [BZ #16151]
14213         * stdlib/strtod_l.c (round_and_return): Do not consider
14214         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14215         exponent one less than half the least subnormal exponent.
14216         * stdlib/test-strtod-round-data: Add more tests.
14217         * stdlib/tst-strtod-round.c (tests): Regenerated.
14218
14219 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14220
14221         [BZ #14143]
14222         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14223         (__fe_mask_env): Likewise.
14224         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14225         libm_hidden_proto and add function prototype.
14226         (__fe_mask_env): Add function prototype.
14227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14228         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14230         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14232         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14233
14234 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14235
14236         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14237         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14238
14239 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14240
14241         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14242         of htab_find_slot().
14243
14244 2013-11-11  David S. Miller  <davem@davemloft.net>
14245
14246         [BZ #16150]
14247         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14248         symbol in the non-vis3 case in static builds.
14249         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14250         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14251         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14252         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14253
14254 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14255
14256         [BZ #387]
14257         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14258         it is empty.
14259
14260 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14261
14262         * benchtests/Makefile: Add bench-strtod.
14263         * benchtests/bench-strtod.c: New file: strtod benchtest
14264
14265 2013-11-11  Andreas Schwab  <schwab@suse.de>
14266
14267         [BZ #16153]
14268         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14269         terminating NUL in key length.
14270
14271 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14272
14273         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14274         Add artificial ODP entry for vDSO symbol for PPC64.
14275         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14276         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14277
14278 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14279
14280         [BZ #15374]
14281         * nss/getent.c (services_keys): Recognize services starting with digit.
14282
14283 2013-11-06  David S. Miller  <davem@davemloft.net>
14284
14285         [BZ #15985]
14286         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14287         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14288
14289 2013-11-06  Will Newton  <will.newton@linaro.org>
14290
14291         * manual/memory.texi (Malloc Examples): Remove register
14292         keyword from examples.
14293
14294 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14295
14296         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14297
14298 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14299
14300         [BZ #6981]
14301         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14302         depending on [__GCC_IEC_559 > 0].
14303         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14304         depending on [__GCC_IEC_559_COMPLEX > 0].
14305
14306 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14307
14308         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14309         to iso-639.def.
14310
14311 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14312
14313         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14314
14315 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14316
14317         [BZ #16112]
14318         * malloc/malloc (malloc_info): Do not handle first bin as
14319         special case.
14320
14321 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14322
14323         * locale/iso-639.def: Add Central Nahuatl (nhn).
14324
14325 2013-11-01  Bruno Haible  <bruno@clisp.org>
14326
14327         [BZ #7003]
14328         * manual/math.texi (BSD Random): Specify range upper bound as
14329         in POSIX.
14330
14331 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14332
14333         * locale/iso-639.def: Add Meadow Mari (mhr).
14334
14335 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14336
14337         [BZ #14752], [BZ #15763]
14338         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14339         Validate name.
14340         * rt/tst_shm.c: Add test for escaping directory.
14341
14342 2013-10-31  Andreas Schwab  <schwab@suse.de>
14343
14344         [BZ #15917]
14345         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14346         followed by 'x' as part of digit sequence.
14347         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14348
14349 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14350
14351         [BZ #16037]
14352         * configure.ac: allow GNU Make 4.0 and greater.
14353         * configure: Regenerated.
14354
14355 2013-10-30  Will Newton  <will.newton@linaro.org>
14356
14357         [BZ #16038]
14358         * malloc/hooks.c (memalign_check): Limit alignment to the
14359         maximum representable power of two.
14360         * malloc/malloc.c (__libc_memalign): Likewise.
14361         * malloc/tst-memalign.c (do_test): Add test for very
14362         large alignment values.
14363         * malloc/tst-posix_memalign.c (do_test): Likewise.
14364
14365 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14366
14367         [BZ #11087]
14368         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14369         (munmap_chunk): Likewise.
14370         (mremap_chunk): Likewise.
14371
14372 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14373
14374         [BZ #15799]
14375         * stdlib/div.c (div): Remove obsolete code.
14376         * stdlib/ldiv.c (ldiv): Likewise.
14377         * stdlib/lldiv.c (lldiv): Likewise.
14378
14379 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14380
14381         [BZ #16071]
14382         * nss/nss_files/files-XXX.c (get_contents_ret): New
14383         enumerator.
14384         (get_contents): New function.
14385         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14386
14387 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14388
14389         * configure.in: Moved to ...
14390         * configure.ac: ... here. Change reference to configure.in
14391         to configure.ac.
14392         * sysdeps/arm/preconfigure.ac: ... here.
14393         configure.in to configure.ac.
14394         * sysdeps/gnu/configure.in: Moved to ...
14395         * sysdeps/gnu/configure.ac: ... here.
14396         * sysdeps/i386/configure.in: Moved to ...
14397         * sysdeps/i386/configure.ac: ... here.
14398         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14399         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14400         * sysdeps/mach/configure.in: Moved to ...
14401         * sysdeps/mach/configure.ac: ... here.
14402         * sysdeps/mach/hurd/configure.in: Moved to ...
14403         * sysdeps/mach/hurd/configure.ac: ... here.
14404         * sysdeps/powerpc/configure.in: Moved to ...
14405         * sysdeps/powerpc/configure.ac: ... here.
14406         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14407         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14408         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14409         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14410         * sysdeps/s390/s390-32/configure.in: Moved to ...
14411         * sysdeps/s390/s390-32/configure.ac: ... here.
14412         * sysdeps/s390/s390-64/configure.in: Moved to ...
14413         * sysdeps/s390/s390-64/configure.ac: ... here.
14414         * sysdeps/sh/configure.in: Moved to ...
14415         * sysdeps/sh/configure.ac: ... here.
14416         * sysdeps/sparc/configure.in: Moved to ...
14417         * sysdeps/sparc/configure.ac: ... here.
14418         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14419         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14420         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14421         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14422         * sysdeps/x86_64/configure.in: Moved to ...
14423         * sysdeps/x86_64/configure.ac: ... here.
14424         * sysdeps/x86_64/preconfigure.in: Moved to ...
14425         * sysdeps/x86_64/preconfigure.ac: ... here.
14426         * aclocal.m4: Change reference to configure.in to configure.ac.
14427         * config.h.in: Likewise.
14428         * manual/install.texi: Likewise.
14429         * manual/maint.texi: Likewise.
14430         * Makefile: Likewise.
14431         * malloc/Makefile: Likewise.
14432         * nscd/Makefile: Likewise.
14433         * Makeconfig: Change reference to configure.in and
14434         preconfigure.in to configure.ac and preconfigure.ac
14435         respectively.
14436         * INSTALL: Regenerated.
14437         * configure: Likewise.
14438         * sysdeps/gnu/configure: Likewise.
14439         * sysdeps/i386/configure: Likewise.
14440         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14441         * sysdeps/mach/configure: Likewise.
14442         * sysdeps/mach/hurd/configure: Likewise.
14443         * sysdeps/powerpc/configure: Likewise.
14444         * sysdeps/powerpc/powerpc32/configure: Likewise.
14445         * sysdeps/powerpc/powerpc64/configure: Likewise.
14446         * sysdeps/s390/s390-32/configure: Likewise.
14447         * sysdeps/s390/s390-64/configure: Likewise.
14448         * sysdeps/sh/configure: Likewise.
14449         * sysdeps/sparc/configure: Likewise.
14450         * sysdeps/unix/sysv/linux/configure: Likewise.
14451         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14452         * sysdeps/x86_64/configure: Likewise.
14453         * sysdeps/x86_64/preconfigure: Likewise.
14454
14455 2013-10-29  Andreas Schwab  <schwab@suse.de>
14456
14457         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14458
14459 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14460
14461         * benchtests/pow-inputs: Add new inputs.
14462
14463         * benchtests/exp-inputs: Add new inputs.
14464
14465         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14466         conditional check for return value.
14467         (__cos32): Likewise.
14468
14469 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14470
14471         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14472         to provide a boost for large inputs with word alignment.
14473         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14474         implementation based on optimized PPC64 strcpy.
14475         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14476         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14477         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14478         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14479
14480 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14481
14482         [BZ #2801]
14483         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14484
14485 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14486
14487         [BZ #14876]
14488         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14489         * time/tst-strptime.c (day_tests): Add testcase.
14490
14491 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14492
14493         [BZ #14029]
14494         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14495
14496 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14497
14498         [BZ #16074]
14499         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14500         MAP_FAILED on error.
14501
14502 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14503
14504         [BZ #16072]
14505         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14506         heap for large requests.
14507
14508 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14509
14510         [BZ #9954]
14511         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14512         result if the result has no associated interface.
14513         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14514         interface for all 127.X.Y.Z addresses.
14515
14516 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14517
14518         * locale/iso-639.def: Add Ligurian (lij)
14519
14520 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14521
14522         [BZ #15825]
14523         * sunrpc/rpc_main.c: Document rpcgen -5.
14524
14525 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14526
14527         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14528
14529 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14530
14531         [BZ #10278]
14532         * posix/glob.c: Match only directories when trailing slash is present.
14533         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14534         (main): Add testcase.
14535
14536 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14537
14538         [BZ #15670]
14539         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14540
14541 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14542
14543         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14544         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14545         AUTH_DES and cindex for FIPS 140-2.
14546         (DES Encryption): Add cindex FIPS 46-3.
14547
14548         * locale/locarchive.h (struct locarhandle): Add fname.
14549         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14550         if an optional argument was specified to --list-archive,
14551         otherwise NULL.
14552         * locale/programs/locarchive.c (show_archive_content): Take new
14553         argument fname and pass it via ah.fname to open_archive.
14554         * locale/programs/localedef.h: Update decl.
14555         (open_archive): If AH->fname is non-null, open that file
14556         rather than the default file name, and don't ignore ENOENT.
14557         (create_archive): Set AH.fname to NULL.
14558         (delete_locales_from_archive): Likewise.
14559         (add_locales_to_archive): Likewise.
14560         * locale/programs/locfile.c (write_all_categories): Likewise.
14561
14562 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14563             Aldy Hernandez  <aldyh@redhat.com>
14564
14565         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14566         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14567         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14568         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14569         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14570         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14571         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14573         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14574         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14575         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14576         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14577         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14578         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14579         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14580         Likewise.
14581         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14582         Likewise.
14583         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14584         Likewise.
14585         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14586         Likewise.
14587         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14588         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14589         Likewise.
14590         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14591         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14592         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14593         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14594         Likewise.
14595         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14596         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14597         * sysdeps/powerpc/preconfigure: Likewise.
14598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14599         Likewise.
14600         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14601         Replace contents of file by #include of <fenv_libc.h>.
14602         * sysdeps/powerpc/soft-fp/sfp-machine.h
14603         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14604         and <sys/prctl.h>.
14605         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14606         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14607         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14610         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14612         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14613         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14614         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14618         Allow copysignl PLT reference to be missing.
14619
14620 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14621             Joseph Myers  <joseph@codesourcery.com
14622
14623         [BZ #15948]
14624         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14625         single character.
14626         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14627
14628 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14629
14630         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14631         * elf/tst-tls1.c: Likewise.
14632         * elf/tst-tls10.h: Likewise.
14633         * elf/tst-tls14.c: Likewise.
14634         * elf/tst-tls2.c: Likewise.
14635         * elf/tst-tls3.c: Likewise.
14636         * elf/tst-tls4.c: Likewise.
14637         * elf/tst-tls5.c: Likewise.
14638         * elf/tst-tls6.c: Likewise.
14639         * elf/tst-tls7.c: Likewise.
14640         * elf/tst-tls8.c: Likewise.
14641         * elf/tst-tls9.c: Likewise.
14642         * elf/tst-tlsmod1.c: Likewise.
14643         * elf/tst-tlsmod13.c: Likewise.
14644         * elf/tst-tlsmod13a.c: Likewise.
14645         * elf/tst-tlsmod14a.c: Likewise.
14646         * elf/tst-tlsmod16a.c: Likewise.
14647         * elf/tst-tlsmod16b.c: Likewise.
14648         * elf/tst-tlsmod2.c: Likewise.
14649         * elf/tst-tlsmod3.c: Likewise.
14650         * elf/tst-tlsmod4.c: Likewise.
14651         * elf/tst-tlsmod5.c: Likewise.
14652         * elf/tst-tlsmod6.c: Likewise.
14653
14654 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14655
14656         [BZ #12486]
14657         * malloc/malloc.c: remove checks for statistics.
14658
14659 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14660
14661         [BZ #15277]
14662         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14663         * inet/tst-network.c: Add testcase.
14664
14665 2013-10-17  Andreas Schwab  <schwab@suse.de>
14666
14667         [BZ #15218]
14668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14669         to determine canonical name.
14670
14671 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14672
14673         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14674         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14675         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14676         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14677         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14678         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14679         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14680         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14681         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14682         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14683         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14684         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14685         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14686         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14687         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14688         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14690         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14691         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14692         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14693         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14694         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14695         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14696         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14697         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14698         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14699         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14700         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14701         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14702         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14703         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14704         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14705         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14706         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14707         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14708         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14709         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14710         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14711         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14712         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14713         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14714         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14715         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14716         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14717         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14718         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14719         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14720         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14721         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14722         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14723         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14724         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14725         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14726         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14727         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14728         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14729         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14730         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14731
14732 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14733
14734         [BZ #16041]
14735         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14736         make result into a quiet NaN.
14737
14738 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14739
14740         * soft-fp/adddf3.c: Fix horizontal whitespace.
14741         * soft-fp/addsf3.c: Likewise.
14742         * soft-fp/addtf3.c: Likewise.
14743         * soft-fp/divdf3.c: Likewise.
14744         * soft-fp/divsf3.c: Likewise.
14745         * soft-fp/divtf3.c: Likewise.
14746         * soft-fp/double.h: Likewise.
14747         * soft-fp/eqdf2.c: Likewise.
14748         * soft-fp/eqsf2.c: Likewise.
14749         * soft-fp/eqtf2.c: Likewise.
14750         * soft-fp/extenddftf2.c: Likewise.
14751         * soft-fp/extended.h: Likewise.
14752         * soft-fp/extendsfdf2.c: Likewise.
14753         * soft-fp/extendsftf2.c: Likewise.
14754         * soft-fp/extendxftf2.c: Likewise.
14755         * soft-fp/fixdfdi.c: Likewise.
14756         * soft-fp/fixdfsi.c: Likewise.
14757         * soft-fp/fixdfti.c: Likewise.
14758         * soft-fp/fixsfdi.c: Likewise.
14759         * soft-fp/fixsfsi.c: Likewise.
14760         * soft-fp/fixsfti.c: Likewise.
14761         * soft-fp/fixtfdi.c: Likewise.
14762         * soft-fp/fixtfsi.c: Likewise.
14763         * soft-fp/fixtfti.c: Likewise.
14764         * soft-fp/fixunsdfdi.c: Likewise.
14765         * soft-fp/fixunsdfsi.c: Likewise.
14766         * soft-fp/fixunsdfti.c: Likewise.
14767         * soft-fp/fixunssfdi.c: Likewise.
14768         * soft-fp/fixunssfsi.c: Likewise.
14769         * soft-fp/fixunssfti.c: Likewise.
14770         * soft-fp/fixunstfdi.c: Likewise.
14771         * soft-fp/fixunstfsi.c: Likewise.
14772         * soft-fp/fixunstfti.c: Likewise.
14773         * soft-fp/floatdidf.c: Likewise.
14774         * soft-fp/floatdisf.c: Likewise.
14775         * soft-fp/floatditf.c: Likewise.
14776         * soft-fp/floatsidf.c: Likewise.
14777         * soft-fp/floatsisf.c: Likewise.
14778         * soft-fp/floatsitf.c: Likewise.
14779         * soft-fp/floattidf.c: Likewise.
14780         * soft-fp/floattisf.c: Likewise.
14781         * soft-fp/floattitf.c: Likewise.
14782         * soft-fp/floatundidf.c: Likewise.
14783         * soft-fp/floatundisf.c: Likewise.
14784         * soft-fp/floatunditf.c: Likewise.
14785         * soft-fp/floatunsidf.c: Likewise.
14786         * soft-fp/floatunsisf.c: Likewise.
14787         * soft-fp/floatunsitf.c: Likewise.
14788         * soft-fp/floatuntidf.c: Likewise.
14789         * soft-fp/floatuntisf.c: Likewise.
14790         * soft-fp/floatuntitf.c: Likewise.
14791         * soft-fp/fmadf4.c: Likewise.
14792         * soft-fp/fmasf4.c: Likewise.
14793         * soft-fp/fmatf4.c: Likewise.
14794         * soft-fp/gedf2.c: Likewise.
14795         * soft-fp/gesf2.c: Likewise.
14796         * soft-fp/getf2.c: Likewise.
14797         * soft-fp/ledf2.c: Likewise.
14798         * soft-fp/lesf2.c: Likewise.
14799         * soft-fp/letf2.c: Likewise.
14800         * soft-fp/muldf3.c: Likewise.
14801         * soft-fp/mulsf3.c: Likewise.
14802         * soft-fp/multf3.c: Likewise.
14803         * soft-fp/negdf2.c: Likewise.
14804         * soft-fp/negsf2.c: Likewise.
14805         * soft-fp/negtf2.c: Likewise.
14806         * soft-fp/op-1.h: Likewise.
14807         * soft-fp/op-2.h: Likewise.
14808         * soft-fp/op-4.h: Likewise.
14809         * soft-fp/op-8.h: Likewise.
14810         * soft-fp/op-common.h: Likewise.
14811         * soft-fp/quad.h: Likewise.
14812         * soft-fp/single.h: Likewise.
14813         * soft-fp/soft-fp.h: Likewise.
14814         * soft-fp/sqrtdf2.c: Likewise.
14815         * soft-fp/sqrtsf2.c: Likewise.
14816         * soft-fp/sqrttf2.c: Likewise.
14817         * soft-fp/subdf3.c: Likewise.
14818         * soft-fp/subsf3.c: Likewise.
14819         * soft-fp/subtf3.c: Likewise.
14820         * soft-fp/truncdfsf2.c: Likewise.
14821         * soft-fp/trunctfdf2.c: Likewise.
14822         * soft-fp/trunctfsf2.c: Likewise.
14823         * soft-fp/trunctfxf2.c: Likewise.
14824         * soft-fp/unorddf2.c: Likewise.
14825         * soft-fp/unordsf2.c: Likewise.
14826         * soft-fp/unordtf2.c: Likewise.
14827
14828 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14829
14830         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14831         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14832
14833 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14834
14835         * elf/dl-libc.c: Clear initfini list after freeing.
14836
14837 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14838
14839         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14840         * soft-fp/addsf3.c: Likewise.
14841         * soft-fp/addtf3.c: Likewise.
14842         * soft-fp/divdf3.c: Likewise.
14843         * soft-fp/divsf3.c: Likewise.
14844         * soft-fp/divtf3.c: Likewise.
14845         * soft-fp/double.h: Likewise.
14846         * soft-fp/eqdf2.c: Likewise.
14847         * soft-fp/eqsf2.c: Likewise.
14848         * soft-fp/eqtf2.c: Likewise.
14849         * soft-fp/extenddftf2.c: Likewise.
14850         * soft-fp/extended.h: Likewise.
14851         * soft-fp/extendsfdf2.c: Likewise.
14852         * soft-fp/extendsftf2.c: Likewise.
14853         * soft-fp/extendxftf2.c: Likewise.
14854         * soft-fp/fixdfdi.c: Likewise.
14855         * soft-fp/fixdfsi.c: Likewise.
14856         * soft-fp/fixdfti.c: Likewise.
14857         * soft-fp/fixsfdi.c: Likewise.
14858         * soft-fp/fixsfsi.c: Likewise.
14859         * soft-fp/fixsfti.c: Likewise.
14860         * soft-fp/fixtfdi.c: Likewise.
14861         * soft-fp/fixtfsi.c: Likewise.
14862         * soft-fp/fixtfti.c: Likewise.
14863         * soft-fp/fixunsdfdi.c: Likewise.
14864         * soft-fp/fixunsdfsi.c: Likewise.
14865         * soft-fp/fixunsdfti.c: Likewise.
14866         * soft-fp/fixunssfdi.c: Likewise.
14867         * soft-fp/fixunssfsi.c: Likewise.
14868         * soft-fp/fixunssfti.c: Likewise.
14869         * soft-fp/fixunstfdi.c: Likewise.
14870         * soft-fp/fixunstfsi.c: Likewise.
14871         * soft-fp/fixunstfti.c: Likewise.
14872         * soft-fp/floatdidf.c: Likewise.
14873         * soft-fp/floatdisf.c: Likewise.
14874         * soft-fp/floatditf.c: Likewise.
14875         * soft-fp/floatsidf.c: Likewise.
14876         * soft-fp/floatsisf.c: Likewise.
14877         * soft-fp/floatsitf.c: Likewise.
14878         * soft-fp/floattidf.c: Likewise.
14879         * soft-fp/floattisf.c: Likewise.
14880         * soft-fp/floattitf.c: Likewise.
14881         * soft-fp/floatundidf.c: Likewise.
14882         * soft-fp/floatundisf.c: Likewise.
14883         * soft-fp/floatunsidf.c: Likewise.
14884         * soft-fp/floatunsisf.c: Likewise.
14885         * soft-fp/floatuntidf.c: Likewise.
14886         * soft-fp/floatuntisf.c: Likewise.
14887         * soft-fp/floatuntitf.c: Likewise.
14888         * soft-fp/fmadf4.c: Likewise.
14889         * soft-fp/fmasf4.c: Likewise.
14890         * soft-fp/fmatf4.c: Likewise.
14891         * soft-fp/gedf2.c: Likewise.
14892         * soft-fp/gesf2.c: Likewise.
14893         * soft-fp/getf2.c: Likewise.
14894         * soft-fp/ledf2.c: Likewise.
14895         * soft-fp/lesf2.c: Likewise.
14896         * soft-fp/letf2.c: Likewise.
14897         * soft-fp/muldf3.c: Likewise.
14898         * soft-fp/mulsf3.c: Likewise.
14899         * soft-fp/multf3.c: Likewise.
14900         * soft-fp/negdf2.c: Likewise.
14901         * soft-fp/negsf2.c: Likewise.
14902         * soft-fp/negtf2.c: Likewise.
14903         * soft-fp/op-1.h: Likewise.
14904         * soft-fp/op-2.h: Likewise.
14905         * soft-fp/op-4.h: Likewise.
14906         * soft-fp/op-8.h: Likewise.
14907         * soft-fp/op-common.h: Likewise.
14908         * soft-fp/quad.h: Likewise.
14909         * soft-fp/single.h: Likewise.
14910         * soft-fp/soft-fp.h: Likewise.
14911         * soft-fp/sqrtdf2.c: Likewise.
14912         * soft-fp/sqrtsf2.c: Likewise.
14913         * soft-fp/sqrttf2.c: Likewise.
14914         * soft-fp/subdf3.c: Likewise.
14915         * soft-fp/subsf3.c: Likewise.
14916         * soft-fp/subtf3.c: Likewise.
14917         * soft-fp/truncdfsf2.c: Likewise.
14918         * soft-fp/trunctfdf2.c: Likewise.
14919         * soft-fp/trunctfsf2.c: Likewise.
14920         * soft-fp/trunctfxf2.c: Likewise.
14921         * soft-fp/unorddf2.c: Likewise.
14922         * soft-fp/unordsf2.c: Likewise.
14923         * soft-fp/unordtf2.c: Likewise.
14924
14925 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14926
14927         [BZ #15672]
14928         * misc/error.c (error_tail): Fix possible buffer overflow.
14929
14930 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14931
14932         [BZ #13028]
14933         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14934         address.
14935
14936 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14937
14938         [BZ #832]
14939         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14940         testing pipefail option.
14941
14942 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14943
14944         * soft-fp/double.h: Indent preprocessor directives inside #if.
14945         * soft-fp/extended.h: Likewise.
14946         * soft-fp/op-2.h: Likewise.
14947         * soft-fp/op-4.h: Likewise.
14948         * soft-fp/op-common.h: Likewise.
14949         * soft-fp/quad.h: Likewise.
14950         * soft-fp/single.h: Likewise.
14951         * soft-fp/soft-fp.h: Likewise.
14952
14953 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14954
14955         * iconv/iconv_prog.c: Fix typos.
14956         * stdio-common/psiginfo-data.h: Likewise.
14957
14958 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14959
14960         [BZ #15764]
14961         * locale/setlocale.c: Fix typo.
14962
14963 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14964
14965         [BZ #16036]
14966         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14967         signaling NaN arguments.
14968         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14969         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14970
14971         [BZ #14910]
14972         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14973         unordered operands.
14974         * soft-fp/gesf2.c (__gesf2): Likewise.
14975         * soft-fp/getf2.c (__getf2): Likewise.
14976         * soft-fp/ledf2.c (__ledf2): Likewise.
14977         * soft-fp/lesf2.c (__lesf2): Likewise.
14978         * soft-fp/letf2.c (__letf2): Likewise.
14979
14980         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14981         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14982         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14983         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14984         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14985         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14986         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14987         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14988         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14989         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14990         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14991         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14992         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14993         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14994         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14995         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14996         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14997         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14998         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14999         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15000         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15001         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15002         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15003         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15004         * soft-fp/floattidf.c (__floattidf): Likewise.
15005         * soft-fp/floattisf.c (__floattisf): Likewise.
15006         * soft-fp/floattitf.c (__floattitf): Likewise.
15007         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15008         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15009         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15010         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15011         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15012         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15013         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15014         * soft-fp/gesf2.c (__gesf2): Likewise.
15015         * soft-fp/getf2.c (__getf2): Likewise.
15016         * soft-fp/ledf2.c (__ledf2): Likewise.
15017         * soft-fp/lesf2.c (__lesf2): Likewise.
15018         * soft-fp/letf2.c (__letf2): Likewise.
15019
15020         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15021         Undefine and redefine.
15022         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15023         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15024         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15025         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15026         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15027         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15028         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15029         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15030         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15031         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15032         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15033         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15034         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15035         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15036         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15037
15038         [BZ #16032]
15039         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15040         without decrementing exponent if mantissa >= that for the
15041         denominator, not >.
15042         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15043         denominator, not >.  Decrement exponent in < case instead of
15044         incrementing in >= case.
15045         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15046         without decrementing exponent if mantissa >= that for the
15047         denominator, not >.
15048
15049         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15050         computing saturated result for unsigned overflow.
15051
15052 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15053             Jeff Law  <law@redhat.com>
15054
15055         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15056         (atan2Mp): Add systemtap probe marker.
15057         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15058         (__ieee754_log): Add systemtap probe marker.
15059         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15060         (atanMp): Add systemtap probe marker.
15061         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15062         (tanMp): Add systemtap probe marker.
15063         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15064         (__slowexp): Add systemtap probe marker.
15065         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15066         (__slowpow): Add systemtap probe marker.
15067         * manual/probes.texi: Document probes.
15068
15069 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15070
15071         [BZ #15362]
15072         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15073         written.
15074         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15075         written.
15076         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15077         written to buffer but not flushed.
15078         * libio/iofwrite_u.c:  Likewise.
15079         * libio/iopadn.c:  Return bytes returned even if EOF was
15080         encountered.
15081         * libio/iowpadn.c:  Likewise.
15082         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15083         if _IO_padn does not write the whole buffer.
15084         [!COMPILE_WPRINTF] (PAD): Likewise.
15085
15086 2013-10-10  David S. Miller  <davem@davemloft.net>
15087
15088         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15089         directory block.
15090
15091 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15092
15093         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15094         instead of FSF address.
15095         * soft-fp/fixdfti.c: Likewise.
15096         * soft-fp/fixsfti.c: Likewise.
15097         * soft-fp/fixtfti.c: Likewise.
15098         * soft-fp/fixunsdfti.c: Likewise.
15099         * soft-fp/fixunssfti.c: Likewise.
15100         * soft-fp/fixunstfti.c: Likewise.
15101         * soft-fp/floattidf.c: Likewise.
15102         * soft-fp/floattisf.c: Likewise.
15103         * soft-fp/floattitf.c: Likewise.
15104         * soft-fp/floatuntidf.c: Likewise.
15105         * soft-fp/floatuntisf.c: Likewise.
15106         * soft-fp/floatuntitf.c: Likewise.
15107         * soft-fp/trunctfxf2.c: Likewise.
15108
15109         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15110         * soft-fp/fixdfti.c: Likewise.
15111         * soft-fp/fixsfti.c: Likewise.
15112         * soft-fp/fixtfti.c: Likewise.
15113         * soft-fp/fixunsdfti.c: Likewise.
15114         * soft-fp/fixunssfti.c: Likewise.
15115         * soft-fp/fixunstfti.c: Likewise.
15116         * soft-fp/floattidf.c: Likewise.
15117         * soft-fp/floattisf.c: Likewise.
15118         * soft-fp/floattitf.c: Likewise.
15119         * soft-fp/floatuntidf.c: Likewise.
15120         * soft-fp/floatuntisf.c: Likewise.
15121         * soft-fp/floatuntitf.c: Likewise.
15122         * soft-fp/trunctfxf2.c: Likewise.
15123
15124 2013-10-10  David S. Miller  <davem@davemloft.net>
15125
15126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15127
15128 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15129
15130         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15131         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15132         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15133         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15134         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15135         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15136         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15137
15138         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15139         for NaNs before doing comparisons on argument.
15140         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15141         Likewise.
15142
15143 2013-10-10  Will Newton  <will.newton@linaro.org>
15144
15145         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15146         passed to _int_memalign does not overflow.
15147
15148 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15149
15150         * scripts/bench.pl: Add include-sources directive.
15151         * benchtests/README: Update documentation.
15152
15153 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15154
15155         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15156         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15157         instead of FP_INIT_ROUNDMODE.
15158         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15159         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15160
15161         [BZ #16034]
15162         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15163         copy class of input value.
15164         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15165         not handle exceptions.
15166         * soft-fp/negsf2.c (__negsf2): Likewise.
15167         * soft-fp/negtf2.c (__negtf2): Likewise.
15168         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15169
15170 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15171
15172         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15173         semicolon.  From Linux kernel.
15174
15175 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15176
15177         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15178
15179 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15180
15181         [BZ #156]
15182         * manual/socket.texi: Added statement about buffer
15183         for gethostbyname2_r.
15184
15185 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15186
15187         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15188         Use .p2align directive instead, throughout.
15189         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15190         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15191         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15192         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15193         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15194         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15195         * sysdeps/x86_64/strchr.S: Likewise.
15196         * sysdeps/x86_64/strrchr.S: Likewise.
15197
15198 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15199
15200         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15201
15202         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15203
15204         * sysdeps/generic/math_private.h (__mpsin1): Remove
15205         declaration.
15206         (__mpcos1): Likewise.
15207         (__mpsin): New argument __range_reduce.
15208         (__mpcos): Likewise.
15209         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15210         (slow): Use __mpsin and __mpcos.
15211         (slow1): Likewise.
15212         (slow2): Likewise.
15213         (sloww): Likewise.
15214         (sloww1): Likewise.
15215         (sloww2): Likewise.
15216         (bsloww): Likewise.
15217         (bsloww1): Likewise.
15218         (bsloww2): Likewise.
15219         (cslow2): Likewise.
15220         (csloww): Likewise.
15221         (csloww1): Likewise.
15222         (csloww2): Likewise.
15223         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15224         range_reduce.  Merge in __mpsin1.
15225         (__mpcos): Likewise.
15226         (__mpsin1): Remove.
15227         (__mpcos1): Likewise.
15228
15229 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15230
15231         * locale/loadlocale.c (_nl_intern_locale_data): Use
15232         LOCFILE_ALIGNED_P.
15233         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15234         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15235         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15236         obstack data is appropriately aligned.
15237         (obstack_int32_grow_fast): Likewise.
15238         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15239         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15240         (add_locale_uint32_array): Likewise.
15241
15242 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15243
15244         * benchtests/Makefile: Remove ARGLIST and RET variables.
15245         ($(objpfx)bench-%.c): Pass only function name to the script.
15246         * benchtests/README: Update documentation.
15247         * benchtests/acos-inputs: Add new directives.
15248         * benchtests/acosh-inputs: Likewise.
15249         * benchtests/asin-inputs: Likewise.
15250         * benchtests/asinh-inputs: Likewise.
15251         * benchtests/atan-inputs: Likewise.
15252         * benchtests/atanh-inputs: Likewise.
15253         * benchtests/cos-inputs: Likewise.
15254         * benchtests/cosh-inputs: Likewise.
15255         * benchtests/exp-inputs: Likewise.
15256         * benchtests/log-inputs: Likewise.
15257         * benchtests/pow-inputs: Likewise.
15258         * benchtests/rint-inputs: Likewise.
15259         * benchtests/sin-inputs: Likewise.
15260         * benchtests/sinh-inputs: Likewise.
15261         * benchtests/tan-inputs: Likewise.
15262         * benchtests/tanh-inputs: Likewise.
15263         * scripts/bench.pl: Add support for new directives.
15264
15265 2013-10-07  Alan Modra  <amodra@gmail.com>
15266
15267         * README: Fix careless merge.
15268
15269 2013-10-05  Alan Modra  <amodra@gmail.com>
15270
15271         * NEWS: Mention powerpc64le support and bugs fixed.
15272         * README: Both big-endian and little-endian powerpc64 supported.
15273
15274 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15275
15276         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15277         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15278         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15279         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15280
15281 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15282
15283         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15284         match prototype.
15285
15286 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15287
15288         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15289         Move -mhard-float appending from
15290         ports/sysdeps/powerpc/powerpc32/Makefile.
15291         [$(with-fp) = yes] (ASFLAGS): Likewise.
15292         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15293         * sysdeps/powerpc/nofpu: Move directory from
15294         ports/sysdeps/powerpc/nofpu.
15295         * sysdeps/powerpc/soft-fp: Move directory from
15296         ports/sysdeps/powerpc/soft-fp.
15297         * sysdeps/powerpc/powerpc32/405: Move directory from
15298         ports/sysdeps/powerpc/powerpc32/405.
15299         * sysdeps/powerpc/powerpc32/440: Move directory from
15300         ports/sysdeps/powerpc/powerpc32/440.
15301         * sysdeps/powerpc/powerpc32/464: Move directory from
15302         ports/sysdeps/powerpc/powerpc32/464.
15303         * sysdeps/powerpc/powerpc32/476: Move directory from
15304         ports/sysdeps/powerpc/powerpc32/476.
15305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15306         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15308         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15310         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15312         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15314         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15315         * README: Update for powerpc-*-linux-gnu software floating point
15316         support in libc.
15317
15318         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15319         case to powerpc/powerpc32*.
15320         * sysdeps/unix/sysv/linux/configure: Regenerated.
15321
15322         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15323         (_FPU_MASK_OM): Define as 0x04.
15324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15326         0x00c10080.
15327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15328         0x0000003c.
15329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15330
15331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15332         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15333         getcontext_e500.
15334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15335         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15336         setcontext_e500.
15337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15338         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15339         and setcontext_e500.
15340
15341 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15342
15343         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15344
15345 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15346
15347         * manual/threads.texi (Default Thread Attributes): Fix typo.
15348
15349 2013-10-04  Will Newton  <will.newton@linaro.org>
15350
15351         * malloc/Makefile: Add tst-memalign.
15352         * malloc/tst-memalign.c: New file.
15353
15354         * malloc/tst-posix_memalign.c: Add comments.
15355         (do_test): Add comments and call free on all potentially
15356         allocated pointers. Add space after cast.
15357
15358         * malloc/tst-pvalloc.c: Add comments.
15359         (do_test): Add comments and call free on all potentially
15360         allocated pointers. Remove duplicate check for NULL pointer.
15361         Add space after cast.
15362
15363         * malloc/tst-valloc.c: Add comments.
15364         (do_test): Add comments and call free on all potentially
15365         allocated pointers. Remove duplicate check for NULL pointer.
15366         Add space after cast.
15367
15368 2013-10-04  Alan Modra  <amodra@gmail.com>
15369
15370         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15371         Use stdint types in rather than __attribute__((mode())).
15372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15373
15374 2013-10-04  Alan Modra  <amodra@gmail.com>
15375
15376         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15377         Correct handling of unaligned relocs for little-endian.
15378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15379
15380 2013-10-04  Alan Modra  <amodra@gmail.com>
15381
15382         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15383         * configure: Regenerate.
15384         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15385         * shlib-versions: Likewise.
15386
15387 2013-10-04  Alan Modra  <amodra@gmail.com>
15388
15389         * string/tester.c (test_memrchr): Increment reported test cycle.
15390
15391 2013-10-04  Alan Modra  <amodra@gmail.com>
15392
15393         * string/test-memcpy.c (do_one_test): When reporting errors, print
15394         string address and don't overrun end of string.
15395
15396 2013-10-04  Alan Modra  <amodra@gmail.com>
15397
15398         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15399         insrdi.  Make better use of reg selection to speed exit slightly.
15400         Schedule entry path a little better.  Remove useless "are we done"
15401         checks on entry to main loop.  Handle wrapping around zero address.
15402         Correct main loop count.  Handle single left-over word from main
15403         loop inline rather than by using loop_small.  Remove extra word
15404         case in loop_small caused by wrong loop count.  Add little-endian
15405         support.
15406         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15407         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15408         cache hint.
15409         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15410         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15411         support.  Avoid rlwimi.
15412         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15413
15414 2013-10-04  Alan Modra  <amodra@gmail.com>
15415
15416         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15417         insrdi.  Formatting.
15418         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15419         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15420         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15421         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15422         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15423         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15424
15425 2013-10-04  Alan Modra  <amodra@gmail.com>
15426
15427         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15428         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15429         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15430         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15431         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15432         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15433         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15434         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15435         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15436         use of regs.  Use power7 mtocrf.  Tidy function tails.
15437
15438 2013-10-04  Alan Modra  <amodra@gmail.com>
15439
15440         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15441         Formatting.  Consistently use rXXX register defines or rN defines.
15442         Use early exit labels that avoid restoring unused non-volatile regs.
15443         Make cr field use more consistent with rWORDn compares.  Rename
15444         regs used as shift registers for unaligned loop, using rN defines
15445         for short lifetime/multiple use regs.
15446         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15447         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15448         addi 1,1,64 to pop stack frame.  Simplify return value code.
15449         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15450
15451 2013-10-04  Alan Modra  <amodra@gmail.com>
15452
15453         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15454         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15455         rather than rlwimi.
15456         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15457         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15458         little-endian support.  Correct typos.
15459         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15460         rather than rlwimi.
15461         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15462         in loop and entry code to keep "and." results.
15463         (strchr): Add little-endian support.  Comment.  Move cntlzd
15464         earlier in tail.
15465         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15466
15467 2013-10-04  Alan Modra  <amodra@gmail.com>
15468
15469         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15470         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15471         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15472         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15473
15474 2013-10-04  Alan Modra  <amodra@gmail.com>
15475
15476         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15477         (rTMP): Define as r11.
15478         (strcmp): Add little-endian support.  Optimise tail.
15479         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15480         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15481         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15482         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15483         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15484         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15485         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15486
15487 2013-10-04  Alan Modra  <amodra@gmail.com>
15488
15489         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15490         little-endian support.  Remove unnecessary "are we done" tests.
15491         Handle "s" wrapping around zero and extremely large "size".
15492         Correct main loop count.  Handle single left-over word from main
15493         loop inline rather than by using small_loop.  Correct comments.
15494         Delete "zero" tail, use "end_max" instead.
15495         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15496
15497 2013-10-04  Alan Modra  <amodra@gmail.com>
15498
15499         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15500         support.  Don't branch over align.
15501         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15502         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15503         support.  Rearrange tmp reg use to suit.  Comment.
15504         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15505
15506 2013-10-04  Alan Modra  <amodra@gmail.com>
15507
15508         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15509
15510 2013-10-04  Alan Modra  <amodra@gmail.com>
15511
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15513         conditional form of branch and link when obtaining pc.
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15515
15516 2013-10-04  Alan Modra  <amodra@gmail.com>
15517
15518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15519         HIWORD/LOWORD.
15520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15522
15523 2013-10-04  Alan Modra  <amodra@gmail.com>
15524
15525         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15526         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15527         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15528         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15529         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15530         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15531         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15532         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15533         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15534         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15535
15536 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15537             Alistair Popple <alistair@ozlabs.au.ibm.com>
15538             Alan Modra <amodra@gmail.com>
15539
15540         [BZ #15723]
15541         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15542         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15543         _dl_hwcap access for little-endian.
15544         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15545         destroy vmx regs when saving unaligned.
15546         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15547         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15548         destroy vmx regs when saving unaligned.
15549
15550 2013-10-04  Alan Modra  <amodra@gmail.com>
15551
15552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15553         Don't use a union to pack hi/low value.
15554
15555 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15556
15557         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15558         for little-endian.
15559         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15561         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15562         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15563         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15564
15565 2013-10-04  Alan Modra  <amodra@gmail.com>
15566
15567         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15568         constants to usual value for .cst8 section, and remove redundant
15569         high address load.
15570         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15571         constant for 0x1p52.  Load little-endian words of double from
15572         correct stack offsets.
15573
15574 2013-10-04  Alan Modra  <amodra@gmail.com>
15575
15576         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15577         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15578         words of double from correct stack offsets.
15579         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15580         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15581         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15582         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15583         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15584         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15585         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15586         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15587         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15588         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15589         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15590         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15591         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15592         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15593         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15594         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15595         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15596
15597 2013-10-04  Alan Modra  <amodra@gmail.com>
15598
15599         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15600         64-bit int/double union.
15601         (_FPU_SETCW): Likewise.
15602         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15603         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15604
15605 2013-10-04  Alan Modra  <amodra@gmail.com>
15606
15607         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15608         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15609
15610 2013-10-04  Alan Modra  <amodra@gmail.com>
15611
15612         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15613         use vector int constants.
15614         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15615
15616 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15617
15618         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15619         array with long long.
15620         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15621         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15622         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15623         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15624         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15625         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15626         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15627         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15628         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15629         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15630         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15631         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15632         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15633
15634 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15635
15636         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15637         (__signbit): Likewise.  Correct for little-endian.
15638         (__signbitl): Call __signbit.
15639         (lrint): Correct for little-endian.
15640         (lrintf): Call lrint.
15641
15642 2013-10-04  Alan Modra  <amodra@gmail.com>
15643
15644         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15645         union 32-bit int array member with 64-bit int array.
15646         (t515, tm256): Double rather than long double.
15647         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15648
15649 2013-10-04  Alan Modra  <amodra@gmail.com>
15650
15651         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15652         Delete.
15653         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15655         version of math_ldbl.h.
15656
15657 2013-10-04  Alan Modra  <amodra@gmail.com>
15658
15659         [BZ #15734], [BZ #15735]
15660         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15661         all uses of ieee875 long double macros and unions.  Simplify test
15662         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15663         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15664         normalize after ldbl_extract_mantissa, and don't add hidden bit
15665         already handled.  Don't treat low word of ieee854 mantissa like
15666         low word of IBM long double and mask off bit when testing for
15667         zero.
15668         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15669         all uses of ieee875 long double macros and unions.  Simplify tests
15670         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15671         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15672         two1022, instead use their values.  Recognise that tests for large
15673         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15674         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15675         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15676         test for 0.0L and nan.  Correct negation.
15677         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15678         ieee875 long double macros and unions.  Correct output for large
15679         magnitude x.  Correct absolute value calculation.
15680         (__erfcl): Likewise.
15681         * math/libm-test.inc: Add tests for errors discovered in IBM long
15682         double versions of fmodl, remainderl, erfl and erfcl.
15683
15684 2013-10-04  Alan Modra  <amodra@gmail.com>
15685
15686         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15687         all uses of ieee854 long double macros and unions.  Simplify tests
15688         for long doubles that are fully specified by the high double.
15689         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15690         Likewise.
15691         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15692         Remove dead code too.
15693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15694         (__ieee754_ynl): Likewise.
15695         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15696         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15697         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15698         Remove dead code too.
15699         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15700         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15701         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15702         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15703         Simplify.
15704         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15705         Simplify.
15706         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15707         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15708         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15709         Comment on variable precision.
15710         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15711         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15712         Likewise.
15713         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15714         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15715         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15716         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15717         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15718
15719 2013-10-04  Alan Modra  <amodra@gmail.com>
15720
15721         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15722         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15723         all uses of ieee854 long double macros and unions.
15724         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15725         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15726         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15727         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15728         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15729         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15730         Likewise.
15731         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15732         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15733         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15734         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15735         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15736         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15737         Simplify sign and nan test too.
15738         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15739         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15740         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15741         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15742         Likewise.
15743         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15744         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15745         Likewise.
15746         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15747         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15748         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15749         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15750         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15751         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15752
15753 2013-10-04  Alan Modra  <amodra@gmail.com>
15754
15755         * stdio-common/printf_size.c (__printf_size): Don't use
15756         union ieee854_long_double in fpnum union.
15757         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15758         signbit macro to retrieve sign from long double.
15759         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15760         retrieve sign from long double.
15761         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15762         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15763         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15764         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15765         * math/test-misc.c (main): Don't use union ieee854_long_double.
15766
15767 2013-10-04  Alan Modra  <amodra@gmail.com>
15768
15769         [BZ #15680]
15770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15771         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15772         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15773         calculation.  Remove unnecessary test for denormal exponent.
15774         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15775         Correct handling of denormals.  Avoid undefined shift behaviour.
15776         Correct normalisation of low mantissa when low double is denormal.
15777         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15778         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15779         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15780         Correct normalisation of low mantissa.  Test for overflow of high
15781         mantissa and normalise.
15782         (ldbl_nearbyint): Use more readable constant for two52.
15783         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15784         (__mpn_construct_long_double): Fix test for overflow of high
15785         mantissa and correct normalisation.  Avoid undefined shift.
15786
15787 2013-10-04  Alan Modra  <amodra@gmail.com>
15788
15789         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15790         (union ibm_extended_long_double): Define as an array of ieee754_double.
15791         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15792         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15793         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15794         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15795         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15796         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15797         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15798         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15799         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15800         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15801         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15802
15803 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15804
15805         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15806         page size instead of calling getpagesize.
15807
15808         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15809         (LOCFILE_ALIGN_MASK): Likewise.
15810         (LOCFILE_ALIGN_UP): Likewise.
15811         (LOCFILE_ALIGNED_P): Likewise.
15812         * locale/programs/ld-collate.c (collate_output): Use the new
15813         macros instead of __alignof__ (int32_t).
15814         * locale/weight.h (findidx): Likewise.
15815
15816 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15817
15818         [BZ #431]
15819         * manual/string.texi: Fix strncat and wcsncat.
15820
15821 2013-10-03  Brooks Moses  <bmoses@google.com>
15822
15823         [BZ #15915]
15824         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15825         * Makerules: ...here, and adjust associated comments.
15826
15827 2013-10-02  Will Newton  <will.newton@linaro.org>
15828
15829         * malloc/Makefile: Add tst-pvalloc.
15830         * malloc/tst-pvalloc.c: New file.
15831
15832 2013-10-02  Will Newton  <will.newton@linaro.org>
15833
15834         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15835         improve test coverage.
15836
15837 2013-10-02  Will Newton  <will.newton@linaro.org>
15838
15839         * malloc/Makefile: Add tst-posix_memalign.
15840         * malloc/tst-posix_memalign.c: New file.
15841
15842 2013-10-01  Eric Blake  <eblake@redhat.com>
15843
15844         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15845         Use __THROWNL rather than __THROW on static functions.
15846
15847 2013-09-30  Petr Machata  <pmachata@redhat.com>
15848
15849         * elf/elf.h (R_AARCH64_ABS16): New macro.
15850         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15851         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15852         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15853         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15854         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15855         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15856         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15857         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15858         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15859         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15860         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15861         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15862         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15863         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15864         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15865         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15866         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15867         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15868         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15869         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15870         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15871         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15872         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15873         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15874         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15875         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15876         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15877         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15878         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15879         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15880         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15881         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15882         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15883         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15884         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15885         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15886         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15887         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15888         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15889         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15890         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15891         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15892         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15893         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15894         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15895         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15896         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15897         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15898         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15899         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15900         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15901         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15902         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15903         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15904         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15905         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15906         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15907         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15908         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15909         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15910         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15911         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15912         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15913         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15914         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15915         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15916         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15917         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15918         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15919         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15920         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15921         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15922         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15923         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15924         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15925         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15926         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15927         (R_AARCH64_TLSDESC_LDR): Likewise.
15928         (R_AARCH64_TLSDESC_ADD): Likewise.
15929         (R_AARCH64_TLSDESC_CALL): Likewise.
15930
15931 2013-09-30  Andreas Schwab  <schwab@suse.de>
15932
15933         [BZ #15048]
15934         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15935         the nss database lookup.
15936         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15938
15939 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15940
15941         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15942
15943 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15944
15945         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15946         ${Bash-specific parameter/pattern/string} parameter expansion.
15947         * sysdeps/unix/make-syscalls.sh: Likewise.
15948
15949 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15950
15951         * sysdeps/sh/stackguard-macros.h: New file.
15952
15953 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15954
15955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15957         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15958         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15959         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15960         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15961
15962 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15963
15964         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15965         Fix thread ID register.
15966
15967 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15968
15969         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15970         [POSIX || UNIX98]: Require rather than permitting all symbols from
15971         <time.h>.
15972         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15973         element of struct sched_param.
15974         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15975         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15976         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15977         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15978         constant.
15979
15980 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15981
15982         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15983         argument calculation.
15984
15985 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15986
15987         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15988         Expect macro.
15989         [POSIX] (pthread_attr_t): Do not require type.
15990         [POSIX] (pthread_cond_t): Likewise.
15991         [POSIX] (pthread_condattr_t): Likewise.
15992         [POSIX] (pthread_key_t): Likewise.
15993         [POSIX] (pthread_mutex_t): Likewise.
15994         [POSIX] (pthread_mutexattr_t): Likewise.
15995         [POSIX] (pthread_once_t): Likewise.
15996         [POSIX] (pthread_t): Likewise.
15997         [POSIX-based standards] (pthread_atfork): Expect function.
15998
15999 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16000             Richard Sandiford  <richard@codesourcery.com>
16001
16002         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16003         (swap_endianness_p): New extern variable.
16004         (set_big_endian): New inline function.
16005         (maybe_swap_uint32): Likewise.
16006         (maybe_swap_uint32_array): Likewise.
16007         (maybe_swap_uint32_obstack): Likewise.
16008         * locale/programs/locfile.c: Include <stdbool.h>.
16009         (swap_endianness_p): New variable.
16010         (add_locale_uint32): Call maybe_swap_uint32.
16011         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16012         (write_locale_data): Call maybe_swap_uint32_array.
16013         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16014         maybe_swap_uint32.
16015         (obstack_int32_grow_fast): Likewise.
16016         (output_weightwc): Call maybe_swap_uint32_obstack.
16017         (collate_output): Likewise.
16018         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16019         (OPT_LITTLE_ENDIAN): Likewise.
16020         (options): Add --little-endian and --big-endian options.
16021         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16022         * locale/programs/locarchive.c: Include "locfile.h".
16023         (GET): New macro.
16024         (SET): Likewise.
16025         (INC): Likewise.
16026         (create_archive): Use the new macros to access fields of
16027         structures directly mapped from or written to locale archives.
16028         (oldlocrecentcmp): Likewise.
16029         (enlarge_archive): Likewise.
16030         (insert_name): Likewise.
16031         (add_alias): Likewise.
16032         (add_locale): Likewise.
16033         (delete_locales_from_archive): Likewise.
16034         (show_archive_content): Likewise.
16035         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16036         locale data.
16037
16038 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16039
16040         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16041         http://www.gnu.org/doc/freemanuals.texi.
16042         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16043
16044 2013-09-24  Will Newton  <will.newton@linaro.org>
16045
16046         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16047         macro.
16048
16049 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16050
16051         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16052         unsigned char.
16053
16054 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16055
16056         * manual/threads.texi (POSIX Threads): Fix a typo.
16057
16058 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16059
16060         [BZ #14547]
16061         * string/tst-strcoll-overflow.c: New test case.
16062         * string/Makefile (xtests): Add tst-strcoll-overflow.
16063         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16064         cache if string sizes may cause integer overflow.
16065
16066         [BZ #14547]
16067         * string/strcoll_l.c (coll_seq): New members rule, idx,
16068         save_idx and back_us.
16069         (get_next_seq_nocache): New function.
16070         (do_compare_nocache): New function.
16071         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16072         when malloc fails.
16073
16074 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16075
16076         [BZ #15754]
16077         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16078         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16079         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16080
16081         [BZ #15754]
16082         * elf/Makefile (tests): Add tst-ptrguard1.
16083         (tests-static): Add tst-ptrguard1-static.
16084         (tst-ptrguard1-ARGS): Define.
16085         (tst-ptrguard1-static-ARGS): Define.
16086         * elf/tst-ptrguard1.c: New file.
16087         * elf/tst-ptrguard1-static.c: New file.
16088         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16089         * sysdeps/i386/stackguard-macros.h: Likewise.
16090         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16091         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16092         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16093         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16094         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16095         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16096
16097 2013-09-23  Hector Marco  <hecmargi@upv.es>
16098             Ismael Ripoll  <iripoll@disca.upv.es>
16099             Carlos O'Donell  <carlos@redhat.com>
16100
16101         [BZ #15754]
16102         * sysdeps/generic/stackguard-macros.h: Define
16103         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16104         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16105         Define __pointer_chk_guard_local.
16106         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16107         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16108
16109 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16110
16111         [BZ #15859]
16112         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16113
16114 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16115
16116         * include/string.h (__ffs): Declare as hidden.
16117         * string/ffs.c (__ffs): Define as hidden.
16118         * sysdeps/i386/ffs.c (__ffs): Likewise.
16119         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16120         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16121         * sysdeps/s390/ffs.c (__ffs): Likewise.
16122         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16123
16124 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16125
16126         * NEWS: Mention malloc probes.
16127
16128         * malloc/arena.c (new_heap): New memory_heap_new probe.
16129         (grow_heap): New memory_heap_more probe.
16130         (shrink_heap): New memory_heap_less probe.
16131         (heap_trim): New memory_heap_free probe.
16132         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16133         (systrim): New memory_sbrk_less probe.
16134         * manual/probes.texi: Document them.
16135
16136         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16137         * manual/probes.texi: Document it.
16138
16139         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16140         (__libc_realloc): Add memory_realloc_retry probe.
16141         (__libc_memalign): Add memory_memalign_retry probe.
16142         (__libc_valloc): Add memory_valloc_retry probe.
16143         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16144         (__libc_calloc): Add memory_calloc_retry probe.
16145         * manual/probes.texi: Document them.
16146
16147         * malloc/arena.c (get_free_list): Add probe
16148         memory_arena_reuse_free_list.
16149         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16150         and memory_arena_reuse.
16151         (arena_get2) [!PER_THREAD]: Likewise.
16152         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16153         memory_arena_reuse_realloc.
16154         * manual/probes.texi: Document them.
16155
16156         * malloc/malloc.c (__libc_free): Add
16157         memory_mallopt_free_dyn_thresholds probe.
16158         (__libc_mallopt): Add multiple memory_mallopt probes.
16159         * manual/probes.texi: Document them.
16160
16161         * malloc/malloc.c: Include stap-probe.h.
16162         (__libc_mallopt): Add memory_mallopt probe.
16163         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16164         * manual/probes.texi: New.
16165         * manual/Makefile (chapters): Add probes.
16166         * manual/threads.texi: Set next node.
16167
16168 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16169
16170         [BZ #15963, #13985]
16171         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16172         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16173         Add `Chinese' to `nan' entry name.
16174
16175 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16176
16177         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16178         (POLYNOMIAL): Likewise.
16179         (TAYLOR_SINCOS): Likewise.
16180         (TAYLOR_SLOW): Likewise.
16181         (__sin): Use TAYLOR_SINCOS.
16182         (__cos): Likewise.
16183         (slow): Use TAYLOR_SLOW.
16184         (sloww): Likewise.
16185         (bsloww): Likewise.
16186         (csloww): Likewise.
16187
16188 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16189
16190         * stdlib/strtod_l.c: Fix buffer overrun.
16191
16192 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16193
16194         * benchtests/Makefile (bench): Add sincos.
16195         * benchtests/bench-sincos.c: New file.
16196
16197         * math/libm-test.inc (cos_test_data): New test inputs.
16198         (sin_test_data): Likewise.
16199
16200         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16201         macro.
16202         (__sin): Use it.
16203         (__cos): Likewise.
16204         (slow1): Likewise.
16205         (slow2): Likewise.
16206         (sloww1): Likewise.
16207         (sloww2): Likewise.
16208         (bsloww1): Likewise.
16209         (bsloww2): Likewise.
16210         (cslow2): Likewise.
16211         (csloww1): Likewise.
16212         (csloww2): Likewise.
16213
16214         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16215         function.
16216         (__sin): Use it.
16217         (__cos): Likewise.
16218
16219         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16220         gotos.
16221         (__cos): Likewise.
16222
16223 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16224
16225         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16226         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16227         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16228         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16229         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16230         * elf/cache.c (print_entry): Handle the new cache flags.
16231
16232 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16233             Aldy Hernandez  <aldyh@redhat.com>
16234
16235         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16236         Change condition to [_SOFT_FLOAT].
16237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16249         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16252         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16253         declaration.
16254
16255 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16256
16257         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16258         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16259         (__longjmp): Use LOAD_GP to load saved GPRs.
16260         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16261         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16262         (__sigsetjmp): Use SAVE_GP to save GPRs.
16263
16264         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16265         Do not append -msoft-float.
16266         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16267
16268 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16269
16270         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16271
16272 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16273
16274         [BZ #15966]
16275         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16276         (_FPU_GETCW): Use initial "__" on variable and field names but not
16277         on macro parameter name.
16278         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16279         parentheses around reference to macro parameter.
16280
16281 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16282
16283         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16284         prototype.
16285         (ctype_startup): Use uint32_t in cast and sizeof for
16286         ctype->charnames.
16287
16288 2013-09-11  Jia Liu  <proljc@gmail.com>
16289
16290         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16291         __daddr_t_defined.
16292         [__FreeBSD__]: Likewise.
16293
16294 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16295
16296         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16297         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16298         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16299         (strchr): Remove __strchr_sse42 ifunc selection.
16300         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16301         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16302
16303 2013-09-11  Will Newton  <will.newton@linaro.org>
16304
16305         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16306         parameter to RES. Remove hardcoded 1000 value.
16307         * benchtests/bench-skeleton.c (main): Pass RES parameter
16308         to TIMING_INIT and multiply result by 1000.
16309
16310 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16311
16312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16313
16314 2013-09-11  Andreas Schwab  <schwab@suse.de>
16315
16316         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16317         if not defined.
16318         (O_TMPFILE) [__USE_GNU]: Define.
16319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16320         Define.
16321
16322 2013-09-11  Will Newton  <will.newton@linaro.org>
16323
16324         [BZ #15857]
16325         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16326         does not overflow.
16327
16328 2013-09-11  Will Newton  <will.newton@linaro.org>
16329
16330         [BZ #15856]
16331         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16332         does not overflow.
16333
16334 2013-09-11  Will Newton  <will.newton@linaro.org>
16335
16336         [BZ #15855]
16337         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16338         does not overflow.
16339
16340 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16341
16342         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16343         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16344         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16345         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16346         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16347
16348 2013-09-10  Allan McRae  <allan@archlinux.org>
16349
16350         [BZ #15748]
16351         * manual/arith.texi (Parsing of Floats): Clarify
16352         cross-reference.
16353
16354         [BZ #15849]
16355         * manual/install.texi (Running make install): Mention
16356         --enable-pt-chown.
16357         * INSTALL: Regenerated.
16358
16359 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16360
16361         * csu/init-first.c (_init): Remove the !SHARED condition around
16362         FPU control word initialization.
16363         * elf/dl-support.c (_dl_fpu_control): New variable.
16364         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16365         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16366         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16367         * math/test-fpucw-static.c: New file.
16368         * math/test-fpucw-ieee.c: New file.
16369         * math/test-fpucw-ieee-static.c: New file.
16370         * math/Makefile (tests): Add `test-fpucw-ieee' and
16371         `$(tests-static)'.
16372         (tests-static): New variable.
16373         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16374         dependency to...
16375         [($(build-shared),yes)]
16376         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16377         ... this.
16378         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16379         New dependency.
16380
16381 2013-09-09  Allan McRae  <allan@archlinux.org>
16382
16383         [BZ #15939]
16384         * manual/string.texi (Collation Functions): Fix typo in
16385         strcoll example.
16386         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16387
16388         [BZ #15893]
16389         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16390
16391         [BZ #15892]
16392         * libio/memstream.c (open_memstream): Fix memory leak.
16393         * libio/wmemstream.c (open_wmemstream): Likewise.
16394
16395         [BZ #15895]
16396         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16397
16398 2013-09-09  Will Newton  <will.newton@linaro.org>
16399
16400         * malloc/Makefile: Add tst-realloc to tests.
16401         * malloc/tst-realloc.c: New file.
16402
16403 2013-09-09  Allan McRae  <allan@archlinux.org>
16404
16405         [BZ #15844]
16406         * COPYING: Update from GNU website to fix FSF address.
16407         * COPYING.LIB: Likewise.
16408
16409 2013-09-06  David S. Miller  <davem@davemloft.net>
16410
16411         * po/zh_TW.po: Update Chinese (traditional) translation from
16412         translation project.
16413
16414 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16415             Joseph Myers  <joseph@codesourcery.com>
16416
16417         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16418         "localeinfo.h".
16419         (obstack_chunk_alloc): New macro.
16420         (obstack_chunk_free): Likewise.
16421         (record_offset): New function.
16422         (init_locale_data): Likewise.
16423         (align_locale_data): Likewise.
16424         (add_locale_empty): Likewise.
16425         (add_locale_raw_data): Likewise.
16426         (add_locale_raw_obstack): Likewise.
16427         (add_locale_string): Likewise.
16428         (add_locale_wstring): Likewise.
16429         (add_locale_uint32): Likewise.
16430         (add_locale_uint32_array): Likewise.
16431         (add_locale_char): Likewise.
16432         (start_locale_structure): Likewise.
16433         (end_locale_structure): Likewise.
16434         (start_locale_prelude): Likewise.
16435         (end_locale_prelude): Likewise.
16436         (write_locale_data): Take locale_file structure rather than an
16437         iovec.
16438         * locale/programs/locfile.h: Include "obstack.h".
16439         (struct locale_file): Change to store locale file contents instead
16440         of header.
16441         (init_locale_data): New prototype.
16442         (align_locale_data): Likewise.
16443         (add_locale_empty): Likewise.
16444         (add_locale_raw_data): Likewise.
16445         (add_locale_raw_obstack): Likewise.
16446         (add_locale_string): Likewise.
16447         (add_locale_wstring): Likewise.
16448         (add_locale_uint32): Likewise.
16449         (add_locale_uint32_array): Likewise.
16450         (add_locale_char): Likewise.
16451         (start_locale_structure): Likewise.
16452         (end_locale_structure): Likewise.
16453         (start_locale_prelude): Likewise.
16454         (end_locale_prelude): Likewise.
16455         (write_locale_data): Update prototype.
16456         * locale/programs/3level.h (struct TABLE): Remove result field.
16457         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16458         Use new locale_file interface.
16459         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16460         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16461         * locale/programs/ld-address.c (address_output): Use new
16462         locale_file interface.
16463         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16464         NO_ADD_LOCALE.
16465         (collate_finish): Don't call collseq_table_finalize.
16466         (collate_output): Use new locale_file interface.
16467         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16468         in file.
16469         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16470         (TABLE): Move defines earlier in file.
16471         (ELEMENT): Likewise.
16472         (DEFAULT): Likewise.
16473         (wctrans_table_add): Move macro and inline function earlier in
16474         file.
16475         (struct wctype_table): Move type earlier in file.
16476         (add_locale_wctype_table): New static prototype.
16477         (struct locale_ctype_t): Use logical types instead of struct iovec
16478         pointers for members.
16479         (ctype_output): Use new locale_file interface.
16480         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16481         new locale_file interface.
16482         (allocate_arrays): Update for use of new locale_file interface.
16483         * locale/programs/ld-identification.c (identification_output): Use
16484         new locale_file interface.
16485         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16486         * locale/programs/ld-messages.c (messages_output): Likewise.
16487         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16488         * locale/programs/ld-name.c (name_output): Likewise.
16489         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16490         * locale/programs/ld-paper.c (paper_output): Likewise.
16491         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16492         * locale/programs/ld-time.c (time_output): Likewise.
16493
16494 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16495
16496         * benchtests/Makefile: Add memrchr benchmark.
16497         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16498         benchmark as memrchr.
16499         * benchtests/bench-memrchr-ifunc.c: New file.
16500         * benchtests/bench-memrchr.c: New file.
16501
16502 2013-09-06   Will Newton  <will.newton@linaro.org>
16503
16504         * benchtests/Makefile (string-bench): Add memcpy.
16505
16506 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16507             Cong Wang  <amwang@redhat.com>
16508
16509         [BZ #15850]
16510         * sysdeps/unix/sysv/linux/bits/in.h
16511         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16512         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16513         before __USE_KERNEL_IPV6_DEFS uses.
16514         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16515         IPPROTO_BEETPH.
16516         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16517         sockaddr_in6, or ipv6_mreq.
16518
16519 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16520
16521         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16522         memory access for final bytes in some large inputs.
16523         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16524
16525 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16526
16527         * string/test-memrchr.c: New file.
16528         * string/test-memrchr-ifunc.c: New file.
16529         * string/Makefile: Add new memrchr testcase.
16530
16531 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16532
16533         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16534         fanotify_init returns EPERM.
16535
16536 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16537
16538         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16539         errors.
16540         (top level): Treat second token from macro or constant entries for
16541         allowed headers as allowed.
16542         * include/complex.h: Condition internal declarations on
16543         [!_ISOMAC].
16544         * include/fenv.h: Condition include of <stdbool.h> and internal
16545         declarations on [!_ISOMAC].
16546
16547 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16548
16549         [BZ #15923]
16550         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16551
16552 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16553
16554         * configure.in (--enable-versioning): Remove configure option.
16555         (libc_cv_asm_symver_directive): Remove configure test.
16556         (libc_cv_ld_version_script_option): Likewise.
16557         (VERSIONING): Remove variable and AC_SUBST.
16558         (DO_VERSIONING): Remove AC_DEFINE.
16559         * configure: Regenerated.
16560         * config.h.in (DO_VERSIONING): Remove macro.
16561         * Makerules [$(versioning) = yes]: Change conditionals to
16562         [$(build-shared) = yes].
16563         * config.make.in (versioning): Remove variable.
16564         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16565         [$(build-shared) = yes].
16566         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16567         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16568         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16569         [$(build-shared) = yes].
16570         * extra-lib.mk [$(versioning) = yes]: Likewise.
16571         * hurd/Makefile [$(versioning) = yes]: Likewise.
16572         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16573         [SHARED].
16574         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16575         [SHARED].
16576         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16577         [SHARED && !NO_HIDDEN].
16578         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16579         [SHARED].
16580         [SHARED && DO_VERSIONING]: Likewise..
16581         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16582         [$(build-shared) = yes].
16583         * manual/install.texi (--disable-versioning): Remove
16584         documentation.
16585         * INSTALL: Regenerated.
16586         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16587         to [SHARED].
16588         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16589         [$(build-shared) = yes].
16590         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16591         * sysdeps/i386/i686/multiarch/strstr-c.c
16592         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16593         [SHARED && !NO_HIDDEN].
16594         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16595         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16596         * sysdeps/powerpc/powerpc32/dl-machine.c
16597         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16598         * sysdeps/powerpc/powerpc32/sysdep.h
16599         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16600         to [SHARED && PIC && !NO_HIDDEN].
16601         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16602         conditional to [SHARED].
16603
16604 2013-09-04   Will Newton  <will.newton@linaro.org>
16605
16606         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16607         * benchtests/bench-string.h: Include bench-timing.h instead
16608         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16609         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16610         call to HP_TIMING_DIFF_INIT.
16611         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16612         instead of hp-timing.h macros.
16613         * benchtests/bench-memchr.c: Likewise.
16614         * benchtests/bench-memcmp.c: Likewise.
16615         * benchtests/bench-memcpy.c: Likewise.
16616         * benchtests/bench-memmem.c: Likewise.
16617         * benchtests/bench-memmove.c: Likewise.
16618         * benchtests/bench-memset.c: Likewise.
16619         * benchtests/bench-rawmemchr.c: Likewise.
16620         * benchtests/bench-strcasecmp.c: Likewise.
16621         * benchtests/bench-strcasestr.c: Likewise.
16622         * benchtests/bench-strcat.c: Likewise.
16623         * benchtests/bench-strchr.c: Likewise.
16624         * benchtests/bench-strcmp.c: Likewise.
16625         * benchtests/bench-strcpy.c: Likewise.
16626         * benchtests/bench-strcpy_chk.c: Likewise.
16627         * benchtests/bench-strlen.c: Likewise.
16628         * benchtests/bench-strncasecmp.c: Likewise.
16629         * benchtests/bench-strncat.c: Likewise.
16630         * benchtests/bench-strncmp.c: Likewise.
16631         * benchtests/bench-strncpy.c: Likewise.
16632         * benchtests/bench-strnlen.c: Likewise.
16633         * benchtests/bench-strpbrk.c: Likewise.
16634         * benchtests/bench-strrchr.c: Likewise.
16635         * benchtests/bench-strspn.c: Likewise.
16636         * benchtests/bench-strstr.c: Likewise.
16637
16638 2013-09-04  Will Newton  <will.newton@linaro.org>
16639
16640         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16641
16642 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16643
16644         [BZ #15427]
16645         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16646         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16647         * math/libm-test.inc (lgamma_test_data): Add more tests.
16648         * sysdeps/i386/fpu/libm-test-ulps: Update.
16649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16650
16651 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16652
16653         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16655         Add ifunc.
16656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16657         Add strcmp-sse2-unaligned
16658         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16659
16660 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16661
16662         * Versions.def (libc): Add GLIBC_2.19.
16663
16664 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16665
16666         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16667         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16668
16669 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16670
16671         [BZ #14155]
16672         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16673         intermediate calculations in recurrence.
16674         (__ieee754_ynf): Likewise.
16675         * math/libm-test.inc (jn_test_data): Do not allow spurious
16676         underflow exception.  Add more tests.
16677         (yn_test_data): Add more tests.
16678         * sysdeps/i386/fpu/libm-test-ulps: Update.
16679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16680
16681 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16682
16683         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16684
16685 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16686
16687         * csu/init-first.c: Fix then/than typos.
16688         * locale/programs/ld-collate.c: Likewise.
16689         * locale/programs/linereader.h: Likewise.
16690         * manual/charset.texi: Likewise.
16691         * manual/filesys.texi: Likewise.
16692         * manual/stdio.texi: Likewise.
16693         * manual/string.texi: Likewise.
16694         * stdlib/fmtmsg.c: Likewise.
16695         * sysdeps/i386/stpncpy.S: Likewise.
16696         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16697         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16698         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16699         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16700
16701 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16702
16703         * elf/dl-open.c: Fix typos.
16704         * iconvdata/gbbig5.c: Likewise.
16705         * iconvdata/iso-2022-jp.c: Likewise.
16706         * iconv/gconv_int.h: Likewise.
16707         * iconv/loop.c: Likewise.
16708         * nis/rpcsvc/nis.h: Likewise.
16709         * resolv/ns_name.c: Likewise.
16710         * stdio-common/vfscanf.c: Likewise.
16711         * streams/stropts.h: Likewise.
16712         * sunrpc/rpc_thread.c: Likewise.
16713         * sysdeps/i386/strpbrk.S: Likewise.
16714         * sysdeps/ieee754/k_standard.c: Likewise.
16715         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16716         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16717         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16718         * sysdeps/mach/hurd/profil.c: Likewise.
16719         * sysdeps/s390/dl-procinfo.h: Likewise.
16720         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16721         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16722         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16723         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16724         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16725
16726 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16727
16728         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16729         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16730
16731 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16732
16733         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16734         aix specific files.
16735         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16736         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16737         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16738         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16739         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16740         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16741         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16742         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16743
16744 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16745             Roland McGrath  <roland@hack.frob.com>
16746
16747         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16748         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16749
16750 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16751
16752         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16753         __executable_start symbol instead of _start.
16754
16755 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16756
16757         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16758         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16759         Move macros to...
16760         * sysdeps/gnu/ldsodefs.h: ... this new file.
16761
16762         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16763         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16764         instead of ELFOSABI_LINUX.
16765
16766         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16767         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16768         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16769         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16770         Likewise.
16771         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16772         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16773         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16774         Likewise.
16775         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16776         (ibm_extended_long_double): Add ieee_nan member.
16777         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16778         (do_test): New function.
16779
16780         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16781         TEST_TRUNC.
16782         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16783         functions, renamed from truncdfsf_test, trunctfsf_test,
16784         trunctfdf_test.
16785         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16786         functions.
16787         (do_test): Run all these.
16788
16789 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16790
16791         * argp/argp-help.c: Fix typos.
16792         * argp/argp-parse.c: Likewise.
16793         * debug/backtracesyms.c: Likewise.
16794         * elf/elf.h: Likewise.
16795         * malloc/malloc.c: Likewise.
16796         * nis/nis_print.c: Likewise.
16797         * resolv/res_comp.c: Likewise.
16798         * stdlib/stdlib.h: Likewise.
16799         * sunrpc/clnt_tcp.c: Likewise.
16800         * sunrpc/clnt_udp.c: Likewise.
16801         * sunrpc/clnt_unix.c: Likewise.
16802         * sysdeps/unix/bsd/ptsname.c: Likewise.
16803         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16804         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16806         Likewise.
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16808         Likewise.
16809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16810         Likewise.
16811         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16812
16813 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16814
16815         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16817
16818 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16819
16820         [BZ #15897]
16821         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16822         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16823         ($(objpfx)bug-dl-leaf): New rule.
16824         ($(objpfx)bug-dl-leaf.so): Likewise.
16825         ($(objpfx)bug-dl-leaf.out): Likewise.
16826         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16827         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16828         * dlfcn/bug-dl-leaf.c: New test.
16829         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16830         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16831         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16832         (dlclose): Likewise.
16833         (dlmopen): Likewise.
16834
16835 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16836
16837         * include/netdb.h [!_ISOMAC]:
16838         Don't include <tls.h>.
16839         (h_errno, __libc_h_errno): Move declaration and macros out of
16840         [_LIBC_REENTRANT].
16841
16842         * include/resolv.h [_RESOLV_H_]:
16843         Don't include <tls.h>.
16844         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16845         * resolv/res_libc.c: Don't include <tls.h>.
16846         (_res): Use __attribute__ ((nocommon)) in place of
16847         __attribute__ ((section (".bss"))).
16848
16849         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16850         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16851
16852         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16853
16854         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16855         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16856
16857         * resolv/res_mkquery.c: Include <sys/time.h>.
16858
16859         * inet/ifreq.c: Moved to ...
16860         * sysdeps/unix/ifreq.c: ... here.
16861         * inet/ifreq.c: New file, true stub version.
16862
16863         * socket/sa_len.c: New file.
16864         * socket/Makefile (aux): Add it.
16865         * sysdeps/unix/sysv/linux/Makefile
16866         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16867         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16868         and #include <socket/sa_len.c>.
16869         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16870         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16871
16872         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16873         * bits/socket.h: ... here.
16874
16875         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16876         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16877         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16878
16879 2013-08-27  Andreas Schwab  <schwab@suse.de>
16880
16881         [BZ #15736]
16882         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16883         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16884         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16885         * string/test-strcasecmp.c (test_main): Run tests in several
16886         locales.
16887         * string/test-strncasecmp.c (test_main): Likewise.
16888
16889         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16890         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16891         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16893         (__strncasecmp_ssse3) [PIC]: Likewise.
16894
16895 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16896
16897         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16898
16899         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16900         instead of explicitly declaring xdecrypt.
16901         * nis/nss_nis/nis-publickey.c: Likewise.
16902
16903 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16904
16905         [BZ #15890]
16906         * nscd/aicache.c: Include res_hconf.h.
16907         (addhstaiX): Initialize res_hconf.
16908
16909 2013-08-26  Andreas Schwab  <schwab@suse.de>
16910
16911         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16912         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16913
16914 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16915
16916         * nscd/aicache.c (addhstaiX): Fix indentation.
16917
16918 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16919
16920         * configure.ac: Quote $build_pt_chown test.
16921         * configure: Regenerated.
16922
16923 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16924
16925         [BZ #15532]
16926         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16927         * math/s_cexpf.c (__cexpf): Likewise.
16928         * math/s_cexpl.c (__cexpl): Likewise.
16929         * math/libm-test.inc (cexp_test_data): Correct expected return
16930         value for NaN + i0.  Add another test.
16931
16932 2013-08-22  David S. Miller  <davem@davemloft.net>
16933
16934         * po/ca.po: Update Catalan translation from translation project.
16935         * po/uk.po: Add Ukrainian translations from translation project.
16936
16937 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16938
16939         [BZ #15797]
16940         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16941         is infinite, not alongside NaN test.
16942         * math/s_fdimf.c (__fdimf): Likewise.
16943         * math/s_fdiml.c (__fdiml): Likewise.
16944         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16945         errno is unchanged.
16946
16947 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16948
16949         * argp/argp-help.c: Fix typos.
16950         * crypt/speeds.c: Likewise.
16951         * csu/check_fds.c: Likewise.
16952         * elf/dl-load.c: Likewise.
16953         * elf/dl-open.c: Likewise.
16954         * elf/reldep3.c: Likewise.
16955         * elf/reldep.c: Likewise.
16956         * elf/sprof.c: Likewise.
16957         * iconv/iconv_charmap.c: Likewise.
16958         * iconv/skeleton.c: Likewise.
16959         * iconv/strtab.c: Likewise.
16960         * io/lockf64.c: Likewise.
16961         * libio/libioP.h: Likewise.
16962         * resolv/gai_notify.c: Likewise.
16963         * resolv/ns_name.c: Likewise.
16964         * resolv/ns_samedomain.c: Likewise.
16965         * resolv/res_send.c: Likewise.
16966         * stdlib/random.c: Likewise.
16967         * sunrpc/rpc/xdr.h: Likewise.
16968         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16969         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16970         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16971         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16972         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16973         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16975         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16976         * sysdeps/mach/hurd/check_fds.c: Likewise.
16977         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16978         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16979         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16980         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16981         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16982         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16983         * sysdeps/pthread/aio_notify.c: Likewise.
16984         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16985         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16986         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16987         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16988         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16989
16990 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16991
16992         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16993         version if bit_Slow_SSE4_2 is set.
16994         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16995         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16996
16997 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16998
16999         [BZ #15867]
17000         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17001         trampoline stack frame information.
17002         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17003         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17004         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17005         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17006         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17007         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17008         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17009         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17010         sa_flags value.
17011         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17012         interrupting a syscall and set with option SA_SIGINFO.
17013
17014 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17015
17016         [BZ #15531]
17017         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17018         argument is infinite.
17019         * math/s_cprojf.c (__cprojf): Likewise.
17020         * math/s_cprojl.c (__cprojl): Likewise.
17021         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17022         * math/libm-test.inc (cproj_test_data): Add more tests.
17023
17024         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17025
17026         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17027         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17028         size.  Use __ffs to determine corresponding shift.
17029
17030 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17031             Roland McGrath  <roland@hack.frob.com>
17032
17033         * Makefile (INSTALL): Remove trailing blank lines from output of
17034         makeinfo.
17035
17036 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17037
17038         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17039         Align 32 bit compat elf_greg to 8 bytes.
17040
17041 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17042
17043         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17044
17045 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17046
17047         * string/strcoll_l.c (coll_seq): New structure.
17048         (get_next_seq_cached): New function.
17049         (get_next_seq): New function.
17050         (do_compare): New function.
17051         (STRCOLL): Use GNU style definition.  Simplify implementation
17052         by using get_next_seq, get_next_seq_cached and do_compare.
17053
17054 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17055
17056         [BZ #14699]
17057         CVE-2013-4237
17058         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17059         member.
17060         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17061         member.
17062         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17063         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17064         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17065         conditional.
17066         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17067         GETDENTS_64BIT_ALIGNED.
17068         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17069         * manual/filesys.texi (Reading/Closing Directory): Document
17070         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17071         strongly.
17072         * manual/conf.texi (Limits for Files): Add portability note to
17073         NAME_MAX, PATH_MAX.
17074         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17075
17076 2013-08-13  Andreas Schwab  <schwab@suse.de>
17077
17078         [BZ #15749]
17079         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17080         of fabs.
17081         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17082         LDBL_MAX_EXP >= 16384]: Add tests for it.
17083
17084 2013-08-12  David S. Miller  <davem@davemloft.net>
17085
17086         * version.h (RELEASE): Set to "development".
17087         (VERSION): Set to "2.18.90".
17088         * NEWS: Add 2.19 section.
17089
17090 2013-08-03  David S. Miller  <davem@davemloft.net>
17091
17092         * po/ko.po: Update Korean translation from translation project.
17093
17094 2013-08-01  David S. Miller  <davem@davemloft.net>
17095
17096         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17097         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17098         Bilka.
17099
17100 2013-07-30  David S. Miller  <davem@davemloft.net>
17101
17102         * po/fr.po: Update French translation from translation project.
17103
17104 2013-07-28  David S. Miller  <davem@davemloft.net>
17105
17106         * po/cs.po: Update Czech translation from translation project.
17107
17108         * po/sv.po: Update Swedish translation from translation project.
17109
17110 2013-07-27  David S. Miller  <davem@davemloft.net>
17111
17112         * po/eo.po: Update Esperanto translation from translation project.
17113
17114         * po/vi.po: Update Vietnamese translation from translation project.
17115
17116         * po/de.po: Update German translation from translation project.
17117
17118 2013-07-26  David S. Miller  <davem@davemloft.net>
17119
17120         * po/bg.po: Update Bulgarian translation from translation project.
17121
17122         * po/nl.po: Update Dutch translation from translation project.
17123         * po/pl.po: Update Polish translation from translation project.
17124         * po/ru.po: Update Russian translation from translation project.
17125
17126 2013-07-24  David S. Miller  <davem@davemloft.net>
17127
17128         * po/libc.pot: Update.
17129
17130 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17131
17132         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17133         variable page size.
17134         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17135         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17136         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17137
17138 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17139
17140         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17141
17142 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17143             Andreas Schwab  <schwab@suse.de>
17144             Roland McGrath  <roland@hack.frob.com>
17145             Joseph Myers  <joseph@codesourcery.com>
17146             Carlos O'Donell  <carlos@redhat.com>
17147
17148         [BZ #15755]
17149         * config.h.in: Define HAVE_PT_CHOWN.
17150         * config.make.in (build-pt-chown): New variable.
17151         * configure.in (--enable-pt_chown): New configure option.
17152         * configure: Regenerate.
17153         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17154         build-pt-chown is enabled.
17155         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17156         pt_chown to fix pty ownership.
17157         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17158         CLOSE_ALL_FDS.
17159         * manual/install.texi (Configuring and compiling): Mention
17160         --enable-pt_chown. Add @findex for grantpt.
17161         * INSTALL: Regenerate.
17162
17163 2013-07-20  David S. Miller  <davem@davemloft.net>
17164
17165         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17166         difference between 32-bit and 64-bit.
17167
17168 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17169
17170         [BZ #15711]
17171         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17172         Avoid system header dependency with -ffreestanding.
17173         ($(objpfx)bits/syscall%d): Likewise.
17174
17175 2013-07-13  David S. Miller  <davem@davemloft.net>
17176
17177         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17178         underflows from atanl/atan2l due to bug 15319.
17179         (casinh_test_data): Likewise.
17180
17181 2013-07-07  David S. Miller  <davem@davemloft.net>
17182
17183         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17184
17185 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17186
17187         * sysdeps/i386/fpu/libm-test-ulps: Update.
17188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17189
17190 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17191
17192         * configure.in (--enable-lock-elision): Fix message text.
17193         * INSTALL: Regenerate.
17194         * configure: Regenerate.
17195
17196 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17197
17198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17199
17200 2013-07-03  Andreas Jaeger  <aj@suse.de>
17201
17202         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17203         define.
17204         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17205         (ptrace_peeksiginfo_args): Add.
17206         (__ptrace_peeksiginfo_flags): Add.
17207         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17208         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17209         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17210
17211 2013-07-03  Allan McRae  <allan@archlinux.org>
17212
17213         * sysdeps/i386/fpu/libm-test-ulps: Update.
17214
17215 2013-07-02  David S. Miller  <davem@davemloft.net>
17216
17217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17218
17219 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17220
17221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17222
17223 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17224
17225         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17227
17228 2013-07-02  Andi Kleen <ak@linux.intel.com>
17229
17230         * config.h.in (ENABLE_LOCK_ELISION): Add.
17231         * configure.in (--enable-lock-elision): Add option.
17232         * manual/install.texi: Document --enable lock elision.
17233         * configure: Regenerate
17234         * INSTALL: Regenerate.
17235
17236 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17237
17238         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17239         SSE4.2 strcasecmp for libc.a.
17240         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17241
17242 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17243
17244         [BZ #13304]
17245         * soft-fp/op-common.h (_FP_FMA): New macro.
17246         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17247         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17248         (_FP_MUL_MEAT_1_imm): ... here.
17249         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17250         (_FP_MUL_MEAT_1_wide): ... here.
17251         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17252         (_FP_MUL_MEAT_1_hard): ... here.
17253         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17254         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17255         (_FP_MUL_MEAT_2_wide): ... here.
17256         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17257         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17258         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17259         (_FP_MUL_MEAT_2_gmp): ... here.
17260         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17261         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17262         (_FP_MUL_MEAT_4_wide): ... here.
17263         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17264         (_FP_MUL_MEAT_4_gmp): ... here.
17265         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17266         (_FP_WFRACBITS_DW_S): Likewise.
17267         (_FP_WFRACXBITS_DW_S): Likewise.
17268         (_FP_HIGHBIT_DW_S): Likewise.
17269         (FP_FMA_S): Likewise.
17270         (_FP_FRAC_HIGH_DW_S): Likewise.
17271         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17272         (_FP_WFRACBITS_DW_D): Likewise.
17273         (_FP_WFRACXBITS_DW_D): Likewise.
17274         (_FP_HIGHBIT_DW_D): Likewise.
17275         (FP_FMA_D): Likewise.
17276         (_FP_FRAC_HIGH_DW_D): Likewise.
17277         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17278         (_FP_WFRACBITS_DW_E): Likewise.
17279         (_FP_WFRACXBITS_DW_E): Likewise.
17280         (_FP_HIGHBIT_DW_E): Likewise.
17281         (FP_FMA_E): Likewise.
17282         (_FP_FRAC_HIGH_DW_E): Likewise.
17283         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17284         (_FP_WFRACBITS_DW_Q): Likewise.
17285         (_FP_WFRACXBITS_DW_Q): Likewise.
17286         (_FP_HIGHBIT_DW_Q): Likewise.
17287         (FP_FMA_Q): Likewise.
17288         (_FP_FRAC_HIGH_DW_Q): Likewise.
17289         * soft-fp/fmasf4.c: New file.
17290         * soft-fp/fmadf4.c: Likewise.
17291         * soft-fp/fmatf4.c: Likewise.
17292
17293 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17294
17295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17296         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17297         Silvermont.
17298         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17299         macro.
17300         (index_Slow_SSE4_2): Likewise.
17301         (index_Prefer_PMINUB_for_stringop): Likewise.
17302         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17303         bit_Slow_SSE4_2 is set.
17304         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17305         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17306
17307 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17308
17309         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17310         rtld_global._dl_hwcap2.
17311         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17312         POWER8.
17313         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17314         POWER8 feature descriptions defined in _dl_hwcap2.
17315         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17316         string handling for POWER8 feature bits.
17317         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17318         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17319         _dl_powerpc_cap_flags.
17320         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17321         * sysdeps/powerpc/rtld-global-offsets.sym
17322         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17323         _dl_hwcap2 in the rtld_global_ro structure.
17324
17325 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17326
17327         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17328         hardware capabilities in support of AT_HWCAP2.
17329         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17330         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17331         GLRO(dl_hwcap2).
17332         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17333         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17334         explicitly the unknown a_type display mechanism is used.
17335         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17336         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17337         struct member.
17338         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17339         to macro prototype for AT_HWCAP2 support.
17340         * sysdeps/i386/dl-procinfo.h: Likewise.
17341         * sysdeps/s390/dl-procinfo.h: Likewise.
17342         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17343         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17344         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17345         return -1 for unknown a_type display fallback.
17346         * sysdeps/sparc/dl-procinfo.h: Likewise.
17347         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17348         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17349
17350 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17351
17352         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17353         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17354
17355 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17356
17357         [BZ #12492]
17358         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17359         mprotect making __stack_prot writable.
17360
17361 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17362             Joseph Myers  <joseph@codesourcery.com>
17363
17364         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17365         as being properly aligned.
17366
17367 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17368
17369         * dlfcn/modstatic5.c: New file.
17370         * dlfcn/tststatic5.c: New file.
17371         * dlfcn/Makefile (tests): Add tststatic5.
17372         (tests-static): Likewise.
17373         (modules-names): Add modstatic5.
17374         (tststatic5-ENV): New variable.
17375         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17376
17377         [BZ #15022]
17378         * elf/dl-support.c (_dl_main_map): New variable.
17379         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17380         (_dl_nns, _dl_load_adds): Set to 1.
17381         (_dl_initial_searchlist): Refer to _dl_main_map.
17382         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17383         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17384         call to _dl_get_origin.
17385         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17386         around call_map.
17387         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17388         * dlfcn/modstatic3.c: New file.
17389         * dlfcn/tststatic3.c: New file.
17390         * dlfcn/tststatic4.c: New file.
17391         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17392         (tests-static): Likewise.
17393         (modules-names): Add modstatic3.
17394         (tststatic3-ENV, tststatic4-ENV): New variables.
17395         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17396         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17397
17398 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17399
17400         * configure.in (CC): Require GCC version 4.4 or later.
17401         * configure: Regenerated.
17402         * manual/install.texi (Tools for Compilation): Update GCC version
17403         requirement.
17404         * INSTALL: Regenerated.
17405
17406 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17407
17408         [BZ #15674]
17409         * string/test-memcmp.c (check2): New.
17410         (main): Call check2.
17411
17412         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17413
17414 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17415
17416         [BZ #15022]
17417         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17418         over to...
17419         (dl_open_worker) [!SHARED]: ... here.
17420
17421 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17422
17423         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17424
17425 2013-06-25  Richard Henderson  <rth@redhat.com>
17426
17427         * locale/programs/locarchive.c: Include <libc-internal.h>
17428
17429 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17430
17431         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17432         trailing whitespace removed.
17433
17434 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17435
17436         [BZ #10283]
17437         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17438         * locale/programs/locarchive.c: Include libc-mmap.h.
17439         (prepare_address_space): Take two new outputs (the mmap base and len).
17440         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17441         values.
17442         (create_archive): Declare new mmap base and len values for
17443         prepare_address_space, and store the result in ah.
17444         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17445         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17446         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17447         Declare new mmap base and len values for
17448         prepare_address_space, and store the result in new_ah.
17449         (open_archive): Declare new mmap base and len values for
17450         prepare_address_space, and store the result in ah.
17451         (close_archive): If ah->mmap_base is not NULL, use that and
17452         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17453         * sysdeps/generic/libc-mmap.h: New file.
17454
17455 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17456
17457         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17458         (ALIGN_UP): Likewise.
17459         (PTR_ALIGN_DOWN): Likewise.
17460         (PTR_ALIGN_UP): Likewise.
17461
17462 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17463
17464         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17465         entry mapped to PPC_PLATFORM_POWER8.
17466         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17467         POWER8.
17468         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17469         (_dl_string_platform): Add case for exporting platform position for
17470         POWER8.
17471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17472         search path to sysdeps/powerpc/powerpc32/power8 directory.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17474         search path to sysdeps/powerpc/powerpc64/power8 directory.
17475         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17476         power7 directories.
17477         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17478         power7 directories.
17479
17480 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17481
17482         * INSTALL: Regenerate.
17483
17484         * nscd/connections.c (nscd_init): Fix comment.
17485
17486 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17487
17488         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17489
17490         [BZ #15667]
17491         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17492         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17493
17494 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17495
17496         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17497         DL_DST_REQ_STATIC.
17498         (DL_DST_REQ_STATIC): Remove macro.
17499
17500 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17501
17502         [BZ #7006]
17503         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17504         with a shift of 0 bits.
17505
17506 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17507
17508         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17509         $(tststatic-ENV).
17510
17511 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17512
17513         [BZ #15655]
17514         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17515
17516 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17517
17518         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17519         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17520         accepts -fno-tree-loop-distribute-patterns.
17521         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17522         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17523         recursive call.
17524         * string/memset.c (memset): Likewise.
17525         * string/test-memmove.c (simple_memmove): Disable loop transformation
17526         to library calls.
17527         * string/test-memset.c (simple_memset): Likewise.
17528         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17529         * benchtests/bench-memset.c (simple_memset): Likewise.
17530         * configure: Regenerated.
17531
17532 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17533
17534         * math/test-misc.c (main): Ignore fesetround failure when failures
17535         of subsequent rounding tests would be ignored.
17536
17537         [BZ #15654]
17538         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17539         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17540         * math/fegetenv.c (__fegetenv): Return 0.
17541         * math/fegetexcept.c (fegetexcept): Return 0.
17542         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17543         FE_TONEAREST.
17544         * math/feholdexcpt.c (feholdexcept): Return 0.
17545         * math/fesetenv.c (__fesetenv): Return 0.
17546         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17547         argument FE_TONEAREST.
17548         * math/feupdateenv.c (__feupdateenv): Return 0.
17549         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17550
17551 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17552
17553         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17554         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17555         ($(objpfx)rtld-%.os rules): Use them.
17556
17557 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17558
17559         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17560         fields.
17561
17562 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17563
17564         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17565         length of target pattern, then descending length of dependency pattern.
17566         * configure.in (AWK): Require gawk 3.1.2 or newer.
17567         * manual/install.texi (Tools for Compilation): Say that we do.
17568         * configure: Regenerated.
17569
17570         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17571         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17572         * scripts/sysd-rules.awk: ... this new script.
17573         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17574         than a glob-style pattern.
17575
17576 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17577
17578         * math/test-misc.c (main): Do not treat incorrectly rounded
17579         conversions as failure unless ROUNDING_TESTS passes.
17580
17581 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17582
17583         [BZ #15631]
17584         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17585         restore exception state around main square root computation, then
17586         check for inexactness explicitly.
17587
17588         * math/libm-test.inc (fma_test_data): Add another test.
17589
17590 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17591
17592         * manual/threads.texi (Non-POSIX Extensions): New document
17593         node.  Document pthread_getattr_default_np and
17594         pthread_setattr_default_np.
17595
17596         * Versions.def (libpthread): Add GLIBC_2.18.
17597         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17599         Likewise.
17600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17601         Likewise.
17602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17603         Likewise.
17604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17605         Likewise.
17606         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17607         Likewise.
17608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17609         Likewise.
17610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17611         Likewise.
17612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17613         Likewise.
17614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17615         Likewise.
17616
17617 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17618
17619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17620         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17621
17622 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17623             H.J. Lu  <hjl.tools@gmail.com>
17624
17625         [BZ #15627]
17626         * sysdeps/x86_64/rtld-memset.c: Remove file.
17627         * sysdeps/x86_64/rtld-memset.S: New file.
17628
17629 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17630
17631         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17632         (test_in_one_mode): Take arguments for whether the rounding mode
17633         is supported for each floating-point type.
17634         (do_test): Pass new arguments to test_in_one_mode using
17635         ROUNDING_TESTS.
17636
17637 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17638
17639         * posix/tst-waitid.c (do_test): Distinguish different instances of
17640         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17641         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17642         before entering the kernel for waitpid.
17643
17644 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17645
17646         * NEWS: Fix note on clock function precision.  Text by Roland
17647         McGrath.
17648
17649 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17650
17651         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17652         it into place only when and if the sanity check passes.
17653
17654 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17655
17656         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17657         output for whether conversion result is exact.  Take argument
17658         indicating whether type is IBM long double.
17659         (round_for_all): Change need_exact field to ibm_ld.
17660         * stdlib/tst-strtod-round.c (struct exactness): New type.
17661         (struct test): Change bool ld_ok field to struct exactness exact.
17662         (TEST): Update all definitions for change to field.
17663         (tests): Regenerate array contents.
17664         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17665         field value.  Check for IBM long double here.
17666         (do_test): Update calls to test_in_one_mode.
17667
17668 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17669
17670         [BZ #12515]
17671         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17672         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17673
17674 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17675
17676         [BZ #15605]
17677         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17678         generated by the compiler on loop optimizations.
17679         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17680         general definitions.
17681
17682 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17683
17684         * math/bug-nextafter.c: Include <math-tests.h>.
17685         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17686         the relevant type.
17687         * math/bug-nexttoward.c: Include <math-tests.h>.
17688         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17689         the relevant type.
17690         * math/test-misc.c: Include <math-tests.h>.
17691         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17692         the relevant type.
17693
17694 2013-06-12  Andreas Jaeger  <aj@suse.de>
17695
17696         * po/ia.po: Update Interlingua translation from translation
17697         project.
17698
17699 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17700
17701         * include/fenv.h: Include stdbool.h.
17702         (struct rm_ctx): New structure.
17703         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17704         Define macro.
17705         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17706         (SET_RESTORE_ROUNDF): Likewise.
17707         (SET_RESTORE_ROUNDL): Likewise.
17708         (SET_RESTORE_ROUND_NOEX): Likewise.
17709         (SET_RESTORE_ROUND_NOEXF): Likewise.
17710         (SET_RESTORE_ROUND_NOEXL): Likewise.
17711         (SET_RESTORE_ROUND_53BIT): Likewise.
17712         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17713         (libc_feresetround_noexf_ctx): Likewise.
17714         (libc_feresetround_noexl_ctx): Likewise.
17715         (libc_feholdsetround_53bit_ctx): Likewise.
17716         (libc_feresetround_53bit_ctx): Likewise.
17717         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17718         (libc_feholdexcept_setround_sse_ctx): New function.
17719         (libc_fesetenv_sse_ctx): Likewise.
17720         (libc_feupdateenv_sse_ctx): Likewise.
17721         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17722         (libc_feholdexcept_setround_387_ctx): Likewise.
17723         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17724         (libc_feholdsetround_387_prec_ctx): Likewise.
17725         (libc_feholdsetround_387_ctx): Likewise.
17726         (libc_feholdsetround_387_53bit_ctx): Likewise.
17727         (libc_feholdsetround_sse_ctx): Likewise.
17728         (libc_feresetround_sse_ctx): Likewise.
17729         (libc_feresetround_387_ctx): Likewise.
17730         (libc_feupdateenv_387_ctx): Likewise.
17731         (libc_feholdexcept_setroundf_ctx): Define macro.
17732         (libc_fesetenvf_ctx): Likewise.
17733         (libc_feupdateenvf_ctx): Likewise.
17734         (libc_feholdsetroundf_ctx): Likewise.
17735         (libc_feresetroundf_ctx): Likewise.
17736         (libc_feholdexcept_setround_ctx): Likewise.
17737         (libc_fesetenv_ctx): Likewise.
17738         (libc_feupdateenv_ctx): Likewise.
17739         (libc_feholdsetround_ctx): Likewise.
17740         (libc_feresetround_ctx): Likewise.
17741         (libc_feholdexcept_setroundl_ctx): Likewise.
17742         (libc_feupdateenvl_ctx): Likewise.
17743         (libc_feholdsetroundl_ctx): Likewise.
17744         (libc_feresetroundl_ctx): Likewise.
17745         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17746         (libc_feresetround_53bit_ctx): Likewise.
17747
17748 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17749
17750         * locale/iso-639.def: Convert to UTF-8.
17751
17752 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17753
17754         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17755         (EXCEPTION_TESTS_double): Likewise.
17756         (EXCEPTION_TESTS_long_double): Likewise.
17757         (EXCEPTION_TESTS): Likewise.
17758         * math/libm-test.inc (test_exceptions): Only test exceptions if
17759         EXCEPTION_TESTS (FLOAT).
17760
17761 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17762
17763         * benchtests/Makefile (string-bench): Add strcpy_chk and
17764         stpcpy_chk.
17765         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17766         * benchtests/bench-stpcpy_chk.c: New file.
17767         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17768         * benchtests/bench-strcpy_chk.c: New file.
17769         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17770         code.
17771         (do_test): Likewise.
17772
17773 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17774
17775         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17776         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17777         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17778         with tabs where appropriate.
17779         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17780         dl-procinfo.h.
17781         [PPC_PLATFORM_PPC440]: Likewise.
17782         [PPC_PLATFORM_PPC464]: Likewise.
17783         [PPC_PLATFORM_PPC476]: Likewise.
17784         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17785         ppc464, and ppc476 platform strings merging from ports/
17786         dl-procinfo.h.
17787
17788 2013-06-11  Andreas Schwab  <schwab@suse.de>
17789
17790         [BZ #14991]
17791         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17792         (from_ucs4_idx): Regenerate.
17793         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17794         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17795         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17796         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17797         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17798         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17799         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17800         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17801         from FROM_LOOP and TO_LOOP specific macros.
17802         (BODY): Handle combining characters.
17803         * iconvdata/BIG5HKSCS.irreversible: Update.
17804         * iconvdata/BIG5HKSCS.precomposed: New file.
17805         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17806         characters.
17807         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17808
17809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17810
17811         * include/sys/time.h: Fix indentation and add copyright header.
17812
17813         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17814         (do_test): Likewise.
17815         * string/test-memchr.c (do_one_test): Likewise.
17816         (do_test): Likewise.
17817         * string/test-memcmp.c (do_one_test): Likewise.
17818         (do_test): Likewise.
17819         * string/test-memcpy.c (do_one_test): Likewise.
17820         (do_test): Likewise.
17821         * string/test-memmem.c (do_one_test): Likewise.
17822         (do_test): Likewise.
17823         (do_random_tests): Likewise.
17824         * string/test-memmove.c (do_one_test): Likewise.
17825         (do_test): Likewise.
17826         * string/test-memset.c (do_one_test): Likewise.
17827         (do_test): Likewise.
17828         * string/test-rawmemchr.c (do_one_test): Likewise.
17829         (do_test): Likewise.
17830         * string/test-strcasecmp.c (do_one_test): Likewise.
17831         (do_test): Likewise.
17832         * string/test-strcasestr.c (do_one_test): Likewise.
17833         (do_test): Likewise.
17834         * string/test-strcat.c (do_one_test): Likewise.
17835         (do_test): Likewise.
17836         * string/test-strchr.c (do_one_test): Likewise.
17837         (do_test): Likewise.
17838         * string/test-strcmp.c (do_one_test): Likewise.
17839         (do_test): Likewise.
17840         * string/test-strcpy.c (do_one_test): Likewise.
17841         (do_test): Likewise.
17842         * string/test-string.h: Likewise.
17843         (test_init): Likewise.
17844         * string/test-strlen.c (do_one_test): Likewise.
17845         (do_test): Likewise.
17846         * string/test-strncasecmp.c (do_one_test): Likewise.
17847         (do_test): Likewise.
17848         * string/test-strncat.c (do_one_test): Likewise.
17849         (do_test): Likewise.
17850         * string/test-strncmp.c (do_one_test): Likewise.
17851         (do_test_limit): Likewise.
17852         (do_test): Likewise.
17853         * string/test-strncpy.c (do_one_test): Likewise.
17854         (do_test): Likewise.
17855         * string/test-strnlen.c (do_one_test): Likewise.
17856         (do_test): Likewise.
17857         * string/test-strpbrk.c (do_one_test): Likewise.
17858         (do_test): Likewise.
17859         * string/test-strrchr.c (do_one_test): Likewise.
17860         (do_test): Likewise.
17861         * string/test-strspn.c (do_one_test): Likewise.
17862         (do_test): Likewise.
17863         * string/test-strstr.c (do_one_test): Likewise.
17864         (do_test): Likewise.
17865
17866         * benchtests/Makefile (string-bench): Add string benchmarks.
17867         * benchtests/bench-bcopy-ifunc.c: New file.
17868         * benchtests/bench-bcopy.c: New file.
17869         * benchtests/bench-bzero-ifunc.c: New file.
17870         * benchtests/bench-bzero.c: New file.
17871         * benchtests/bench-memccpy-ifunc.c: New file.
17872         * benchtests/bench-memccpy.c: New file.
17873         * benchtests/bench-memchr-ifunc.c: New file.
17874         * benchtests/bench-memchr.c: New file.
17875         * benchtests/bench-memcmp-ifunc.c: New file.
17876         * benchtests/bench-memcmp.c: New file.
17877         * benchtests/bench-memmem-ifunc.c: New file.
17878         * benchtests/bench-memmem.c: New file.
17879         * benchtests/bench-memmove-ifunc.c: New file.
17880         * benchtests/bench-memmove.c: New file.
17881         * benchtests/bench-mempcpy-ifunc.c: New file.
17882         * benchtests/bench-mempcpy.c: New file.
17883         * benchtests/bench-memset-ifunc.c: New file.
17884         * benchtests/bench-memset.c: New file.
17885         * benchtests/bench-rawmemchr-ifunc.c: New file.
17886         * benchtests/bench-rawmemchr.c: New file.
17887         * benchtests/bench-stpcpy-ifunc.c: New file.
17888         * benchtests/bench-stpcpy.c: New file.
17889         * benchtests/bench-stpncpy-ifunc.c: New file.
17890         * benchtests/bench-stpncpy.c: New file.
17891         * benchtests/bench-strcasecmp-ifunc.c: New file.
17892         * benchtests/bench-strcasecmp.c: New file.
17893         * benchtests/bench-strcasestr-ifunc.c: New file.
17894         * benchtests/bench-strcasestr.c: New file.
17895         * benchtests/bench-strcat-ifunc.c: New file.
17896         * benchtests/bench-strcat.c: New file.
17897         * benchtests/bench-strchr-ifunc.c: New file.
17898         * benchtests/bench-strchr.c: New file.
17899         * benchtests/bench-strchrnul-ifunc.c: New file.
17900         * benchtests/bench-strchrnul.c: New file.
17901         * benchtests/bench-strcmp-ifunc.c: New file.
17902         * benchtests/bench-strcmp.c: New file.
17903         * benchtests/bench-strcpy-ifunc.c: New file.
17904         * benchtests/bench-strcpy.c: New file.
17905         * benchtests/bench-strcspn-ifunc.c: New file.
17906         * benchtests/bench-strcspn.c: New file.
17907         * benchtests/bench-strlen-ifunc.c: New file.
17908         * benchtests/bench-strlen.c: New file.
17909         * benchtests/bench-strncasecmp-ifunc.c: New file.
17910         * benchtests/bench-strncasecmp.c: New file.
17911         * benchtests/bench-strncat-ifunc.c: New file.
17912         * benchtests/bench-strncat.c: New file.
17913         * benchtests/bench-strncmp-ifunc.c: New file.
17914         * benchtests/bench-strncmp.c: New file.
17915         * benchtests/bench-strncpy-ifunc.c: New file.
17916         * benchtests/bench-strncpy.c: New file.
17917         * benchtests/bench-strnlen-ifunc.c: New file.
17918         * benchtests/bench-strnlen.c: New file.
17919         * benchtests/bench-strpbrk-ifunc.c: New file.
17920         * benchtests/bench-strpbrk.c: New file.
17921         * benchtests/bench-strrchr-ifunc.c: New file.
17922         * benchtests/bench-strrchr.c: New file.
17923         * benchtests/bench-strspn-ifunc.c: New file.
17924         * benchtests/bench-strspn.c: New file.
17925         * benchtests/bench-strstr-ifunc.c: New file.
17926         * benchtests/bench-strstr.c: New file.
17927
17928         * benchtests/Makefile: Disable parallel execution of targets.
17929         (string-bench): Add memcpy.
17930         (benchset): New variable to store a list of benchmark sets.
17931         (bench-func): Renamed from bench.
17932         (bench-set): New target.
17933         (bench): Depend on bench-func and bench-set.
17934         * benchtests/README: Add section on benchmark sets.
17935         * benchtests/bench-memcpy-ifunc.c: New file.
17936         * benchtests/bench-memcpy.c: New file.
17937         * benchtests/bench-string.h: New file.
17938
17939 2013-06-11  Andreas Schwab  <schwab@suse.de>
17940
17941         [BZ #15577]
17942         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17943         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17944         values in the triple.
17945         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17946         terminator in the group key.
17947
17948 2013-06-11  Andreas Jaeger  <aj@suse.de>
17949
17950         * po/zh_TW.po: Update Chinese (traditional) translation from
17951         translation project.
17952
17953 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17954
17955         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17956         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17957         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17958         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17959         (clock_getcpuclockid): Likewise.
17960         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17961         Add weak_alias and libc_hidden_def.
17962         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17963         * rt/clock_gettime.c (clock_gettime): Rename to
17964         __clock_gettime.  Add weak_alias and libc_hidden_def.
17965         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17966         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17967         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17968         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17969         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17970         Likewise.
17971         * rt/clock_settime.c (clock_settime): Rename to
17972         __clock_settime.  Add weak_alias and libc_hidden_def.
17973         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17974
17975 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17976
17977         * mach/err_boot.sub: Remove trailing whitespace.
17978         * mach/err_ipc.sub: Likewise.
17979         * mach/err_mach.sub: Likewise.
17980
17981         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17982         (ROUNDING_TESTS_double): Likewise.
17983         (ROUNDING_TESTS_long_double): Likewise.
17984         (ROUNDING_TESTS): Likewise.
17985         * math/libm-test.inc: Include <math-tests.h>.
17986         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17987         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17988         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17989         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17990
17991 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17992
17993         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17994         of assigning.
17995
17996 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17997
17998         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17999         otherwise empty TRANS lines.
18000         * sysdeps/gnu/errlist.c: Regenerated.
18001
18002         * catgets/gencat.c (error_print): Use (void) in function
18003         definition.
18004         * crypt/crypt_util.c (__init_des): Likewise.
18005         * crypt/speeds.c (Stop): Likewise.
18006         (main): Likewise.
18007         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18008         * inet/ruserpass.c (token): Likewise.
18009         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18010         * intl/localealias.c (extend_alias_table): Likewise.
18011         * intl/plural-exp.c (init_germanic_plural): Likewise.
18012         * libio/fcloseall.c (__fcloseall): Likewise.
18013         * libio/genops.c (_IO_flush_all): Likewise.
18014         (_IO_flush_all_linebuffered): Likewise.
18015         (_IO_cleanup): Likewise.
18016         (_IO_iter_begin): Likewise.
18017         (_IO_iter_end): Likewise.
18018         (_IO_list_lock): Likewise.
18019         (_IO_list_unlock): Likewise.
18020         (_IO_list_resetlock): Likewise.
18021         * libio/getchar.c (getchar): Likewise.
18022         * libio/getchar_u.c (getchar_unlocked): Likewise.
18023         * libio/getwchar.c (getwchar): Likewise.
18024         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18025         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18026         * login/getpt.c (__getpt): Likewise.
18027         * login/tst-utmp.c (main): Likewise.
18028         * malloc/hooks.c (__malloc_check_init): Likewise.
18029         * malloc/malloc.c (__malloc_stats): Likewise.
18030         * malloc/mtrace.c (tr_break): Likewise.
18031         (mtrace): Likewise.
18032         (muntrace): Likewise.
18033         * misc/fstab.c (endfsent): Likewise.
18034         * misc/getclktck.c (__getclktck): Likewise.
18035         * misc/getdtsz.c (__getdtablesize): Likewise.
18036         * misc/gethostid.c (gethostid): Likewise.
18037         * misc/getpagesize.c (__getpagesize): Likewise.
18038         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18039         (__get_nprocs): Likewise.
18040         (__get_phys_pages): Likewise.
18041         (__get_avphys_pages): Likewise.
18042         * misc/getttyent.c (getttyent): Likewise.
18043         (setttyent): Likewise.
18044         (endttyent): Likewise.
18045         * misc/getusershell.c (getusershell): Likewise.
18046         (endusershell): Likewise.
18047         (setusershell): Likewise.
18048         (initshells): Likewise.
18049         * misc/hsearch.c (__hdestroy): Likewise.
18050         * misc/sync.c (sync): Likewise.
18051         * misc/syslog.c (closelog_internal): Likewise.
18052         (closelog): Likewise.
18053         * misc/ttyslot.c (ttyslot): Likewise.
18054         * misc/vhangup.c (vhangup): Likewise.
18055         * posix/fork.c (__fork): Likewise.
18056         * posix/getegid.c (__getegid): Likewise.
18057         * posix/geteuid.c (__geteuid): Likewise.
18058         * posix/getgid.c (__getgid): Likewise.
18059         * posix/getpid.c (__getpid): Likewise.
18060         * posix/getppid.c (__getppid): Likewise.
18061         * posix/getuid.c (__getuid): Likewise.
18062         * posix/pause.c (pause): Likewise.
18063         * posix/setpgrp.c (setpgrp): Likewise.
18064         * posix/setsid.c (__setsid): Likewise.
18065         * posix/test-vfork.c (noop): Likewise.
18066         * resolv/gethnamaddr.c (_endhtent): Likewise.
18067         (_gethtent): Likewise.
18068         (ht_endhostent): Likewise.
18069         (gethostent): Likewise.
18070         (dns_service): Likewise.
18071         * stdlib/drand48.c (drand48): Likewise.
18072         * stdlib/lrand48.c (lrand48): Likewise.
18073         * stdlib/mrand48.c (mrand48): Likewise.
18074         * stdlib/rand.c (rand): Likewise.
18075         * stdlib/random.c (__random): Likewise.
18076         * stdlib/setenv.c (clearenv): Likewise.
18077         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18078         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18079         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18080         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18081         (__get_nprocs): Likewise.
18082         (__get_phys_pages): Likewise.
18083         (__get_avphys_pages): Likewise.
18084         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18085         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18086         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18087         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18088         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18089         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18090         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18091         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18092         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18093         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18094         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18095         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18096         * sysdeps/posix/clock.c (clock): Likewise.
18097         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18098         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18099         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18100         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18101         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18102         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18103         (__get_nprocs_conf): Likewise.
18104         (__get_phys_pages): Likewise.
18105         (__get_avphys_pages): Likewise.
18106         * time/clock.c (clock): Likewise.
18107         * time/tzset.c (__tzname_max): Likewise.
18108
18109 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18110
18111         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18112         (__bswap_32): Do not use "register".
18113         * crypt/crypt.c (_ufc_doit_r): Likewise.
18114         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18115         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18116         * gmon/gmon.c (__monstartup): Likewise.
18117         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18118         * hurd/hurdmalloc.c (more_memory): Likewise.
18119         (malloc): Likewise.
18120         (free): Likewise.
18121         (realloc): Likewise.
18122         (malloc_fork_prepare): Likewise.
18123         (malloc_fork_parent): Likewise.
18124         (malloc_fork_child): Likewise.
18125         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18126         (_svcauth_des): Likewise.
18127         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18128         * inet/inet_net.c (inet_network): Likewise.
18129         * inet/inet_netof.c (inet_netof): Likewise.
18130         * inet/rcmd.c (__validuser2_sa): Likewise.
18131         * io/fts.c (fts_open): Likewise.
18132         (fts_load): Likewise.
18133         (fts_close): Likewise.
18134         (fts_read): Likewise.
18135         (fts_children): Likewise.
18136         (fts_build): Likewise.
18137         (fts_stat): Likewise.
18138         (fts_sort): Likewise.
18139         (fts_alloc): Likewise.
18140         (fts_lfree): Likewise.
18141         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18142         (_IO_file_xsgetn): Likewise.
18143         (_IO_file_xsgetn_mmap): Likewise.
18144         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18145         (_IO_cookie_write): Likewise.
18146         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18147         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18148         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18149         * malloc/obstack.c (_obstack_begin): Likewise.
18150         (_obstack_begin_1): Likewise.
18151         (_obstack_newchunk): Likewise.
18152         (_obstack_allocated_p): Likewise.
18153         (obstack_free): Likewise.
18154         (_obstack_memory_used): Likewise.
18155         * misc/getttyent.c (getttynam): Likewise.
18156         (getttyent): Likewise.
18157         (skip): Likewise.
18158         (value): Likewise.
18159         * misc/getusershell.c (initshells): Likewise.
18160         * misc/syslog.c (__vsyslog_chk): Likewise.
18161         * misc/ttyslot.c (ttyslot): Likewise.
18162         * nis/nis_hash.c (__nis_hash): Likewise.
18163         * posix/fnmatch_loop.c (FCT): Likewise.
18164         * posix/getconf.c (print_all): Likewise.
18165         (main): Likewise.
18166         * posix/getopt.c (exchange): Likewise.
18167         * posix/glob.c (globfree): Likewise.
18168         (prefix_array): Likewise.
18169         (__glob_pattern_type): Likewise.
18170         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18171         (NS_GET32): Likewise.
18172         (NS_PUT16): Likewise.
18173         (NS_PUT32): Likewise.
18174         * resolv/gethnamaddr.c (getanswer): Likewise.
18175         (gethostbyname2): Likewise.
18176         (gethostbyaddr): Likewise.
18177         (_gethtent): Likewise.
18178         (_gethtbyname2): Likewise.
18179         (_gethtbyaddr): Likewise.
18180         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18181         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18182         * resolv/res_init.c (__res_vinit): Likewise.
18183         (net_mask): Likewise.
18184         * resolv/res_mkquery.c (outchar): Likewise.
18185         (PRINT): Likewise.
18186         * stdio-common/printf_fp.c (outchar): Likewise.
18187         (PRINT): Likewise.
18188         * stdio-common/printf_fphex.c (outchar): Likewise.
18189         (PRINT): Likewise.
18190         * stdio-common/printf_size.c (outchar): Likewise.
18191         (PRINT): Likewise.
18192         * stdio-common/test_rdwr.c (main): Likewise.
18193         * stdio-common/tfformat.c (matches): Likewise.
18194         * stdio-common/vfprintf.c (outchar): Likewise.
18195         (printf_unknown): Likewise.
18196         (buffered_vfprintf): Likewise.
18197         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18198         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18199         (ReadFile): Likewise.
18200         * stdlib/qsort.c (SWAP): Likewise.
18201         (_quicksort): Likewise.
18202         * stdlib/setenv.c (__add_to_environ): Likewise.
18203         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18204         * stdlib/strtol_l.c (__strtol_l): Likewise.
18205         * stdlib/tst-strtod.c (main): Likewise.
18206         * stdlib/tst-strtol.c (main): Likewise.
18207         * stdlib/tst-strtoll.c (main): Likewise.
18208         * string/bits/string2.h (__strcmp_cc): Likewise.
18209         (__strcmp_cg): Likewise.
18210         (__strcspn_c1): Likewise.
18211         (__strcspn_c2): Likewise.
18212         (__strcspn_c3): Likewise.
18213         (__strspn_c1): Likewise.
18214         (__strspn_c2): Likewise.
18215         (__strspn_c3): Likewise.
18216         (__strsep_1c): Likewise.
18217         (__strsep_2c): Likewise.
18218         (__strsep_3c): Likewise.
18219         * string/memccpy.c (__memccpy): Likewise.
18220         * string/stpcpy.c (__stpcpy): Likewise.
18221         * string/strcmp.c (strcmp): Likewise.
18222         * string/strrchr.c (strrchr): Likewise.
18223         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18224         Likewise.
18225         * sysdeps/mach/hurd/getcwd.c
18226         (_hurd_canonicalize_directory_name_internal): Likewise.
18227         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18228         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18229         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18230         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18231         Likewise, in both definitions.
18232         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18233         definitions.
18234         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18235         64] (__bswap_64): Likewise.
18236         * time/test_time.c (main): Likewise.
18237         * time/tzfile.c (__tzfile_read): Likewise.
18238         (__tzfile_compute): Likewise.
18239         * time/tzset.c (__tzset_parse_tz): Likewise.
18240         (tzset_internal): Likewise.
18241         (compute_change): Likewise.
18242         * wcsmbs/wcscat.c (__wcscat): Likewise.
18243         * wcsmbs/wcschr.c (wcschr): Likewise.
18244         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18245         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18246         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18247         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18248         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18249         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18250         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18251         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18252         * wcsmbs/wmemset.c (wmemset): Likewise.
18253
18254 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18255
18256         * scripts/config.guess: Update to version 2013-05-16.
18257         * scripts/config.sub: Update to version 2013-04-24.
18258         * scripts/install-sh: Update to version 2011-11-20.07.
18259         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18260         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18261
18262 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18263
18264         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18265         * elf/sln.c: Likewise.
18266         * hurd/hurd/ioctl.h: Likewise.
18267         * hurd/hurdmalloc.c: Likewise.
18268         * hurd/xattr.c: Likewise.
18269         * include/shlib-compat.h: Likewise.
18270         * inet/ruserpass.c: Likewise.
18271         * libio/iofgets_u.c: Likewise.
18272         * libio/iofgetws_u.c: Likewise.
18273         * locale/programs/ld-identification.c: Likewise.
18274         * locale/programs/ld-time.c: Likewise.
18275         * mach/msg-destroy.c: Likewise.
18276         * nss/nss_files/files-netgrp.c: Likewise.
18277         * resolv/res_data.c: Likewise.
18278         * soft-fp/op-1.h: Likewise.
18279         * soft-fp/op-2.h: Likewise.
18280         * soft-fp/op-4.h: Likewise.
18281         * soft-fp/op-common.h: Likewise.
18282         * stdio-common/printf_fphex.c: Likewise.
18283         * stdlib/strtod_l.c: Likewise.
18284         * sunrpc/rpc/clnt.h: Likewise.
18285         * sysdeps/generic/framestate.c: Likewise.
18286         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18287         * sysdeps/i386/bsd-setjmp.S: Likewise.
18288         * sysdeps/i386/__longjmp.S: Likewise.
18289         * sysdeps/i386/setjmp.S: Likewise.
18290         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18291         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18292         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18293         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18294         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18295         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18296         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18297         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18298         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18299         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18300         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18301         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18302         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18303         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18304         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18305         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18306         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18307         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18308         * sysdeps/ieee754/support.c: Likewise.
18309         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18310         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18311         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18312         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18313         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18314         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18315         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18316         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18317         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18318         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18319         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18320         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18321         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18322         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18323         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18324         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18325         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18327
18328 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18329
18330         * posix/transbug.c: Remove executable mode.
18331
18332 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18333
18334         * crypt/speeds.c: Remove trailing whitespace.
18335         * dlfcn/default.c: Likewise.
18336         * elf/ifuncdep2.c: Likewise.
18337         * elf/ifuncmain1.c: Likewise.
18338         * elf/ifuncmain1vis.c: Likewise.
18339         * elf/testobj.h: Likewise.
18340         * elf/tst-stackguard1.c: Likewise.
18341         * gmon/sys/gmon.h: Likewise.
18342         * hurd/hurdmsg.c: Likewise.
18343         * hurd/new-fd.c: Likewise.
18344         * hurd/ports-get.c: Likewise.
18345         * iconvdata/ibm1008_420.c: Likewise.
18346         * inet/tst-getni1.c: Likewise.
18347         * inet/tst-getni2.c: Likewise.
18348         * libio/ioungetc.c: Likewise.
18349         * libio/wfiledoalloc.c: Likewise.
18350         * manual/libm-err-tab.pl: Likewise.
18351         * math/w_dremf.c: Likewise.
18352         * misc/ftruncate.c: Likewise.
18353         * posix/bug-glob2.c: Likewise.
18354         * posix/tst-pcre.c: Likewise.
18355         * posix/wait4.c: Likewise.
18356         * resolv/README: Likewise.
18357         * resolv/res_debug.h: Likewise.
18358         * resolv/tst-inet_ntop.c: Likewise.
18359         * setjmp/bug269-setjmp.c: Likewise.
18360         * soft-fp/extended.h: Likewise.
18361         * soft-fp/op-1.h: Likewise.
18362         * soft-fp/op-2.h: Likewise.
18363         * soft-fp/op-4.h: Likewise.
18364         * soft-fp/op-8.h: Likewise.
18365         * soft-fp/testit.c: Likewise.
18366         * stdio-common/bug16.c: Likewise.
18367         * stdlib/random.c: Likewise.
18368         * sunrpc/rpcsvc/rquota.x: Likewise.
18369         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18370         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18371         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18372         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18373         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18374         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18375         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18376         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18377         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18378         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18379         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18380         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18381         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18382         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18383         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18384         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18385         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18386         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18387         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18388         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18389         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18390         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18391         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18392         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18394         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18396         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18397         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18398         * sysdeps/ieee754/s_lib_version.c: Likewise.
18399         * sysdeps/mach/hurd/check_fds.c: Likewise.
18400         * sysdeps/mach/hurd/getsockname.c: Likewise.
18401         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18402         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18403         * sysdeps/powerpc/bits/link.h: Likewise.
18404         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18405         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18406         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18407         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18408         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18409         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18410         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18411         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18412         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18413         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18414         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18415         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18416         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18417         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18418         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18419         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18420         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18421         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18422         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18423         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18424         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18425         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18426         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18427         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18428         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18429         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18430         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18431         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18432         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18433         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18434         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18435         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18436         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18437         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18438         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18439         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18440         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18441         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18442         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18443         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18444         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18445         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18446         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18447         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18448         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18449         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18450         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18451         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18452         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18453         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18454         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18455         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18456         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18457         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18458         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18459         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18460         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18461         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18462         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18463         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18464         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18465         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18466         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18467         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18468         * sysdeps/powerpc/sysdep.h: Likewise.
18469         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18470         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18471         * sysdeps/sh/dl-trampoline.S: Likewise.
18472         * sysdeps/sh/memset.S: Likewise.
18473         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18474         * sysdeps/sh/strlen.S: Likewise.
18475         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18476         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18477         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18478         * sysdeps/sparc/sparc32/rem.S: Likewise.
18479         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18480         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18481         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18482         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18483         * sysdeps/sparc/sparc32/urem.S: Likewise.
18484         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18485         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18486         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18487         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18488         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18489         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18490         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18491         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18492         * sysdeps/unix/bsd/times.c: Likewise.
18493         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18494         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18498         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18499         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18500         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18501         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18502         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18503         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18504         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18505         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18506         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18507         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18508         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18509         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18510         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18511         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18512         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18513         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18514         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18515         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18516         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18517         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18518         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18519         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18520         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18521         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18522         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18523         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18524         * sysdeps/x86_64/strcspn.S: Likewise.
18525
18526 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18527
18528         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18529         generated file.  Regenerate properly from gen-translit.pl.
18530         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18531         locale/C-translit.h.
18532
18533 2013-06-05  Andreas Schwab  <schwab@suse.de>
18534
18535         [BZ #15100]
18536         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18537         week as 6 instead of -1.
18538         * time/tst-strptime.c (day_tests): Add test case.
18539
18540 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18541
18542         * sysdeps/generic/math_private.h
18543         (libc_feholdexcept_setround_53bit): Replace with
18544         libc_feholdsetround_53bit.
18545         (libc_feupdateenv_53bit): Replace with
18546         libc_feresetround_53bit.
18547         (SET_RESTORE_ROUND_53BIT): Adjust.
18548
18549 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18550
18551         * string/test-strchrnul.c: Add copyright header.
18552
18553         * posix/tst-getaddrinfo4.c: Increase test timeout.
18554
18555 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18556
18557         [BZ #15536]
18558         * math/libm-test.inc (MAX_EXP): Remove
18559         (MIN_EXP): Define.
18560         (ulp): Use MIN_EXP - MANT_DIG.
18561         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18562
18563 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18564
18565         * po/be.po: Revert last change.
18566         * po/zh_CN.po: Likewise.
18567         * po/header.pot: Likewise.
18568
18569 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18570
18571         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18572         link-libc-deps to empty as target-specific variable.
18573         * Makerules (link-libc-args): New variable.
18574         (libc-for-link): Likewise.
18575         (link-libc-deps): Likewise.
18576         (lib%.so): Depend on $(link-libc-deps).  Link with
18577         $(link-libc-args).
18578         (build-module): Link with $(link-libc-args).
18579         (build-module-asneeded): Likewise.
18580         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18581         list of objects.
18582         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18583         target-specific variable.
18584         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18585         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18586         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18587         libc.
18588         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18589         libc and ld.so.
18590         ($(objpfx)libpcprofile.so): Likewise.
18591         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18592         libc_nonshared.a.
18593         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18594         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18595         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18596         $(link-libc-deps).
18597         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18598         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18599         * login/Makefile ($(objpfx)libutil.so): Likewise.
18600         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18601         * math/Makefile ($(objpfx)libm.so): Likewise.
18602         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18603         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18604         variable instead of depending directly on libc.
18605         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18606         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18607         $(link-libc-deps).
18608         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18609         libc.
18610         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18611         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18612         ($(objpfx)libanl.so): Likewise.
18613         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18614         ld.so.
18615         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18616         $(link-libc-deps).
18617         * sysdeps/i386/fpu/Makefile: Remove file.
18618         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18619         ($(objpfx)libm.so): Remove dependency on ld.so.
18620
18621 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18622
18623         [BZ # 15553]
18624         * nis/yp_xdr.c (XDRMAXNAME): Define.
18625         (XDRMAXRECORD): Define.
18626         (xdr_domainname): Use XDRMAXNAME.
18627         (xdr_mapname): Likewise.
18628         (xdr_peername): Likewise.
18629         (xdr_keydat): Use XDRMAXRECORD.
18630         (xdr_valdat): Likewise.
18631
18632 2013-05-30  Jeff Law  <law@redhat.com>
18633
18634         [BZ #14256]
18635         * manual/errno.texi (ESTALE): Update to account for more than
18636         just NFS file systems.
18637         * sysdeps/gnu/errlist.c: Regenerated.
18638
18639 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18640
18641         [BZ #15465]
18642         * elf/Makefile (tests): Add tst-null-argv.
18643         (modules-names):  Add tst-null-argv-lib.
18644         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18645         (tst-null-argv-ENV): Set environment for tst-null-argv.
18646         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18647         (RTLD_PROGNAME): New macro.
18648         * elf/tst-null-argv.c: New test case.
18649         * elf/tst-null-argv-lib.c: Library for test case.
18650         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18651         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18652         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18653         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18654         * elf/dl-init.c (call_init): Likewise.
18655         (_dl_init): Likewise.
18656         * elf/dl-load.c (print_search_path): Likewise.
18657         (_dl_map_object): Likewise.
18658         * elf/dl-lookup.c (do_lookup_x): Likewise.
18659         (add_dependency): Likewise.
18660         (_dl_lookup_symbol_x): Likewise.
18661         (_dl_debug_bindings): Likewise.
18662         * elf/dl-open.c (_dl_show_scope): Likewise.
18663         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18664         * elf/dl-version.c (match_symbol): Likewise.
18665         (_dl_check_map_versions): Likewise.
18666         * elf/rtld.c (dl_main): Likewise.
18667         (print_unresolved): Use RTLD_PROGNAME.
18668         (print_missing_version): Likewise.
18669         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18670         (elf_machine_rela): Likewise.
18671         * sysdeps/powerpc/powerpc32/dl-machine.c
18672         (__process_machine_rela): Likewise.
18673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18674         Likewise.
18675         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18676         Likewise.
18677         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18678         Likewise.
18679         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18680         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18681         Likewise.
18682         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18683         Likewise.
18684         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18685
18686 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18687
18688         * po/be.po: Add descriptive title.
18689         * po/zh_CN.po: Likewise.
18690         * po/header.pot: Likewise.
18691
18692 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18693
18694         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18695         error message.
18696         (enlarge_archive): Likewise.
18697
18698 2013-05-28  Ben North  <ben@redfrontdoor.org>
18699
18700         * manual/arith.texi (frexp): It is the magnitude of the return
18701         value which lies in [0.5, 1), not the return value itself.
18702
18703 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18704
18705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18706
18707 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18708
18709         * stdio-common/bug26.c (main): Correct fscanf template.
18710
18711         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18712         declare _dl_skip_args.
18713
18714         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18715         Don't declare.
18716
18717         * manual/platform.texi: Add missing @end deftypefun.
18718
18719 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18720
18721         [BZ #15529]
18722         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18723         bit of mantissa of 2^16382.
18724         * math/libm-test.inc (hypot_test_data): Add more tests.
18725
18726         * math/libm-test.inc: Add drem and pow10 to list of tested
18727         functions.
18728         (pow10_test): New function.
18729         (drem_test): Likewise.
18730         (drem_test_tonearest): Likewise.
18731         (drem_test_towardzero): Likewise.
18732         (drem_test_downward): Likewise.
18733         (drem_test_upward): Likewise.
18734         (main): Call the new functions.
18735
18736         * math/libm-test.inc (finite_test_data): Remove.
18737         (finite_test): Run tests from isfinite_test_data.
18738         (gamma_test_data): Remove.
18739         (gamma_test): Run tests from lgamma_test_data.
18740         * sysdeps/i386/fpu/libm-test-ulps: Update.
18741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18742
18743 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18744
18745         * manual/platform.texi: Add PowerPC PPR function set documentation.
18746         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18747         implementation.
18748
18749 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18750
18751         * math/libm-test.inc (MAX_EXP): Define.
18752         (ULPDIFF): Define.
18753         (ulp): New function.
18754         (check_float_internal): Use ULPDIFF.
18755         (cpow_test): Disable failing test.
18756         (check_ulp): Test ulp() implemetnation.
18757         (main): Call check_ulp before starting tests.
18758
18759 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18760
18761         * math/gen-libm-test.pl (generate_testfile): Do not handle
18762         START_DATA and END_DATA.
18763         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18764         END_DATA.
18765         (acos_tonearest_test_data): Likewise.
18766         (acos_towardzero_test_data): Likewise.
18767         (acos_downward_test_data): Likewise.
18768         (acos_upward_test_data): Likewise.
18769         (acosh_test_data): Likewise.
18770         (asin_test_data): Likewise.
18771         (asin_tonearest_test_data): Likewise.
18772         (asin_towardzero_test_data): Likewise.
18773         (asin_downward_test_data): Likewise.
18774         (asin_upward_test_data): Likewise.
18775         (asinh_test_data): Likewise.
18776         (atan_test_data): Likewise.
18777         (atanh_test_data): Likewise.
18778         (atan2_test_data): Likewise.
18779         (cabs_test_data): Likewise.
18780         (cacos_test_data): Likewise.
18781         (cacosh_test_data): Likewise.
18782         (carg_test_data): Likewise.
18783         (casin_test_data): Likewise.
18784         (casinh_test_data): Likewise.
18785         (catan_test_data): Likewise.
18786         (catanh_test_data): Likewise.
18787         (cbrt_test_data): Likewise.
18788         (ccos_test_data): Likewise.
18789         (ccosh_test_data): Likewise.
18790         (ceil_test_data): Likewise.
18791         (cexp_test_data): Likewise.
18792         (cimag_test_data): Likewise.
18793         (clog_test_data): Likewise.
18794         (clog10_test_data): Likewise.
18795         (conj_test_data): Likewise.
18796         (copysign_test_data): Likewise.
18797         (cos_test_data): Likewise.
18798         (cos_tonearest_test_data): Likewise.
18799         (cos_towardzero_test_data): Likewise.
18800         (cos_downward_test_data): Likewise.
18801         (cos_upward_test_data): Likewise.
18802         (cosh_test_data): Likewise.
18803         (cosh_tonearest_test_data): Likewise.
18804         (cosh_towardzero_test_data): Likewise.
18805         (cosh_downward_test_data): Likewise.
18806         (cosh_upward_test_data): Likewise.
18807         (cpow_test_data): Likewise.
18808         (cproj_test_data): Likewise.
18809         (creal_test_data): Likewise.
18810         (csin_test_data): Likewise.
18811         (csinh_test_data): Likewise.
18812         (csqrt_test_data): Likewise.
18813         (ctan_test_data): Likewise.
18814         (ctan_tonearest_test_data): Likewise.
18815         (ctan_towardzero_test_data): Likewise.
18816         (ctan_downward_test_data): Likewise.
18817         (ctan_upward_test_data): Likewise.
18818         (ctanh_test_data): Likewise.
18819         (ctanh_tonearest_test_data): Likewise.
18820         (ctanh_towardzero_test_data): Likewise.
18821         (ctanh_downward_test_data): Likewise.
18822         (ctanh_upward_test_data): Likewise.
18823         (erf_test_data): Likewise.
18824         (erfc_test_data): Likewise.
18825         (exp_test_data): Likewise.
18826         (exp_tonearest_test_data): Likewise.
18827         (exp_towardzero_test_data): Likewise.
18828         (exp_downward_test_data): Likewise.
18829         (exp_upward_test_data): Likewise.
18830         (exp10_test_data): Likewise.
18831         (exp2_test_data): Likewise.
18832         (expm1_test_data): Likewise.
18833         (fabs_test_data): Likewise.
18834         (fdim_test_data): Likewise.
18835         (finite_test_data): Likewise.
18836         (floor_test_data): Likewise.
18837         (fma_test_data): Likewise.
18838         (fma_towardzero_test_data): Likewise.
18839         (fma_downward_test_data): Likewise.
18840         (fma_upward_test_data): Likewise.
18841         (fmax_test_data): Likewise.
18842         (fmin_test_data): Likewise.
18843         (fmod_test_data): Likewise.
18844         (fpclassify_test_data): Likewise.
18845         (frexp_test_data): Likewise.
18846         (gamma_test_data): Likewise.
18847         (hypot_test_data): Likewise.
18848         (ilogb_test_data): Likewise.
18849         (isfinite_test_data): Likewise.
18850         (isgreater_test_data): Likewise.
18851         (isgreaterequal_test_data): Likewise.
18852         (isinf_test_data): Likewise.
18853         (isless_test_data): Likewise.
18854         (islessequal_test_data): Likewise.
18855         (islessgreater_test_data): Likewise.
18856         (isnan_test_data): Likewise.
18857         (isnormal_test_data): Likewise.
18858         (issignaling_test_data): Likewise.
18859         (isunordered_test_data): Likewise.
18860         (j0_test_data): Likewise.
18861         (j1_test_data): Likewise.
18862         (jn_test_data): Likewise.
18863         (ldexp_test_data): Likewise.
18864         (lgamma_test_data): Likewise.
18865         (lrint_test_data): Likewise.
18866         (lrint_tonearest_test_data): Likewise.
18867         (lrint_towardzero_test_data): Likewise.
18868         (lrint_downward_test_data): Likewise.
18869         (lrint_upward_test_data): Likewise.
18870         (llrint_test_data): Likewise.
18871         (llrint_tonearest_test_data): Likewise.
18872         (llrint_towardzero_test_data): Likewise.
18873         (llrint_downward_test_data): Likewise.
18874         (llrint_upward_test_data): Likewise.
18875         (log_test_data): Likewise.
18876         (log10_test_data): Likewise.
18877         (log1p_test_data): Likewise.
18878         (log2_test_data): Likewise.
18879         (logb_test_data): Likewise.
18880         (logb_downward_test_data): Likewise.
18881         (lround_test_data): Likewise.
18882         (llround_test_data): Likewise.
18883         (modf_test_data): Likewise.
18884         (nearbyint_test_data): Likewise.
18885         (nextafter_test_data): Likewise.
18886         (nexttoward_test_data): Likewise.
18887         (pow_test_data): Likewise.
18888         (pow_tonearest_test_data): Likewise.
18889         (pow_towardzero_test_data): Likewise.
18890         (pow_downward_test_data): Likewise.
18891         (pow_upward_test_data): Likewise.
18892         (remainder_test_data): Likewise.
18893         (remainder_tonearest_test_data): Likewise.
18894         (remainder_towardzero_test_data): Likewise.
18895         (remainder_downward_test_data): Likewise.
18896         (remainder_upward_test_data): Likewise.
18897         (remquo_test_data): Likewise.
18898         (rint_test_data): Likewise.
18899         (rint_tonearest_test_data): Likewise.
18900         (rint_towardzero_test_data): Likewise.
18901         (rint_downward_test_data): Likewise.
18902         (rint_upward_test_data): Likewise.
18903         (round_test_data): Likewise.
18904         (scalb_test_data): Likewise.
18905         (scalbn_test_data): Likewise.
18906         (scalbln_test_data): Likewise.
18907         (signbit_test_data): Likewise.
18908         (sin_test_data): Likewise.
18909         (sin_tonearest_test_data): Likewise.
18910         (sin_towardzero_test_data): Likewise.
18911         (sin_downward_test_data): Likewise.
18912         (sin_upward_test_data): Likewise.
18913         (sincos_test_data): Likewise.
18914         (sinh_test_data): Likewise.
18915         (sinh_tonearest_test_data): Likewise.
18916         (sinh_towardzero_test_data): Likewise.
18917         (sinh_downward_test_data): Likewise.
18918         (sinh_upward_test_data): Likewise.
18919         (sqrt_test_data): Likewise.
18920         (tan_test_data): Likewise.
18921         (tan_tonearest_test_data): Likewise.
18922         (tan_towardzero_test_data): Likewise.
18923         (tan_downward_test_data): Likewise.
18924         (tan_upward_test_data): Likewise.
18925         (tanh_test_data): Likewise.
18926         (tgamma_test_data): Likewise.
18927         (trunc_test_data): Likewise.
18928         (y0_test_data): Likewise.
18929         (y1_test_data): Likewise.
18930         (yn_test_data): Likewise.
18931         (significand_test_data): Likewise.
18932
18933         * math/gen-libm-test.pl (@functions): Remove variable.
18934         (generate_testfile): Don't handle START and END lines.
18935         * math/libm-test.inc (START): New macro.
18936         (END): Likewise.
18937         (END_COMPLEX): Likewise.
18938         (acos_test): Use END macro without arguments.
18939         (acos_test_tonearest): Likewise.
18940         (acos_test_towardzero): Likewise.
18941         (acos_test_downward): Likewise.
18942         (acos_test_upward): Likewise.
18943         (acosh_test): Likewise.
18944         (asin_test): Likewise.
18945         (asin_test_tonearest): Likewise.
18946         (asin_test_towardzero): Likewise.
18947         (asin_test_downward): Likewise.
18948         (asin_test_upward): Likewise.
18949         (asinh_test): Likewise.
18950         (atan_test): Likewise.
18951         (atanh_test): Likewise.
18952         (atan2_test): Likewise.
18953         (cabs_test): Likewise.
18954         (cacos_test): Use END_COMPLEX macro without arguments.
18955         (cacosh_test): Likewise.
18956         (carg_test): Use END macro without arguments.
18957         (casin_test): Use END_COMPLEX macro without arguments.
18958         (casinh_test): Likewise.
18959         (catan_test): Likewise.
18960         (catanh_test): Likewise.
18961         (cbrt_test): Use END macro without arguments.
18962         (ccos_test): Use END_COMPLEX macro without arguments.
18963         (ccosh_test): Likewise.
18964         (ceil_test): Use END macro without arguments.
18965         (cexp_test): Use END_COMPLEX macro without arguments.
18966         (cimag_test): Use END macro without arguments.
18967         (clog_test): Use END_COMPLEX macro without arguments.
18968         (clog10_test): Likewise.
18969         (conj_test): Likewise.
18970         (copysign_test): Use END macro without arguments.
18971         (cos_test): Likewise.
18972         (cos_test_tonearest): Likewise.
18973         (cos_test_towardzero): Likewise.
18974         (cos_test_downward): Likewise.
18975         (cos_test_upward): Likewise.
18976         (cosh_test): Likewise.
18977         (cosh_test_tonearest): Likewise.
18978         (cosh_test_towardzero): Likewise.
18979         (cosh_test_downward): Likewise.
18980         (cosh_test_upward): Likewise.
18981         (cpow_test): Use END_COMPLEX macro without arguments.
18982         (cproj_test): Likewise.
18983         (creal_test): Use END macro without arguments.
18984         (csin_test): Use END_COMPLEX macro without arguments.
18985         (csinh_test): Likewise.
18986         (csqrt_test): Likewise.
18987         (ctan_test): Likewise.
18988         (ctan_test_tonearest): Likewise.
18989         (ctan_test_towardzero): Likewise.
18990         (ctan_test_downward): Likewise.
18991         (ctan_test_upward): Likewise.
18992         (ctanh_test): Likewise.
18993         (ctanh_test_tonearest): Likewise.
18994         (ctanh_test_towardzero): Likewise.
18995         (ctanh_test_downward): Likewise.
18996         (ctanh_test_upward): Likewise.
18997         (erf_test): Use END macro without arguments.
18998         (erfc_test): Likewise.
18999         (exp_test): Likewise.
19000         (exp_test_tonearest): Likewise.
19001         (exp_test_towardzero): Likewise.
19002         (exp_test_downward): Likewise.
19003         (exp_test_upward): Likewise.
19004         (exp10_test): Likewise.
19005         (exp2_test): Likewise.
19006         (expm1_test): Likewise.
19007         (fabs_test): Likewise.
19008         (fdim_test): Likewise.
19009         (finite_test): Likewise.
19010         (floor_test): Likewise.
19011         (fma_test): Likewise.
19012         (fma_test_towardzero): Likewise.
19013         (fma_test_downward): Likewise.
19014         (fma_test_upward): Likewise.
19015         (fmax_test): Likewise.
19016         (fmin_test): Likewise.
19017         (fmod_test): Likewise.
19018         (fpclassify_test): Likewise.
19019         (frexp_test): Likewise.
19020         (gamma_test): Likewise.
19021         (hypot_test): Likewise.
19022         (ilogb_test): Likewise.
19023         (isfinite_test): Likewise.
19024         (isgreater_test): Likewise.
19025         (isgreaterequal_test): Likewise.
19026         (isinf_test): Likewise.
19027         (isless_test): Likewise.
19028         (islessequal_test): Likewise.
19029         (islessgreater_test): Likewise.
19030         (isnan_test): Likewise.
19031         (isnormal_test): Likewise.
19032         (issignaling_test): Likewise.
19033         (isunordered_test): Likewise.
19034         (j0_test): Likewise.
19035         (j1_test): Likewise.
19036         (jn_test): Likewise.
19037         (ldexp_test): Likewise.
19038         (lgamma_test): Likewise.
19039         (lrint_test): Likewise.
19040         (lrint_test_tonearest): Likewise.
19041         (lrint_test_towardzero): Likewise.
19042         (lrint_test_downward): Likewise.
19043         (lrint_test_upward): Likewise.
19044         (llrint_test): Likewise.
19045         (llrint_test_tonearest): Likewise.
19046         (llrint_test_towardzero): Likewise.
19047         (llrint_test_downward): Likewise.
19048         (llrint_test_upward): Likewise.
19049         (log_test): Likewise.
19050         (log10_test): Likewise.
19051         (log1p_test): Likewise.
19052         (log2_test): Likewise.
19053         (logb_test): Likewise.
19054         (logb_test_downward): Likewise.
19055         (lround_test): Likewise.
19056         (llround_test): Likewise.
19057         (modf_test): Likewise.
19058         (nearbyint_test): Likewise.
19059         (nextafter_test): Likewise.
19060         (nexttoward_test): Likewise.
19061         (pow_test): Likewise.
19062         (pow_test_tonearest): Likewise.
19063         (pow_test_towardzero): Likewise.
19064         (pow_test_downward): Likewise.
19065         (pow_test_upward): Likewise.
19066         (remainder_test): Likewise.
19067         (remainder_test_tonearest): Likewise.
19068         (remainder_test_towardzero): Likewise.
19069         (remainder_test_downward): Likewise.
19070         (remainder_test_upward): Likewise.
19071         (remquo_test): Likewise.
19072         (rint_test): Likewise.
19073         (rint_test_tonearest): Likewise.
19074         (rint_test_towardzero): Likewise.
19075         (rint_test_downward): Likewise.
19076         (rint_test_upward): Likewise.
19077         (round_test): Likewise.
19078         (scalb_test): Likewise.
19079         (scalbn_test): Likewise.
19080         (scalbln_test): Likewise.
19081         (signbit_test): Likewise.
19082         (sin_test): Likewise.
19083         (sin_test_tonearest): Likewise.
19084         (sin_test_towardzero): Likewise.
19085         (sin_test_downward): Likewise.
19086         (sin_test_upward): Likewise.
19087         (sincos_test): Likewise.
19088         (sinh_test): Likewise.
19089         (sinh_test_tonearest): Likewise.
19090         (sinh_test_towardzero): Likewise.
19091         (sinh_test_downward): Likewise.
19092         (sinh_test_upward): Likewise.
19093         (sqrt_test): Likewise.
19094         (tan_test): Likewise.
19095         (tan_test_tonearest): Likewise.
19096         (tan_test_towardzero): Likewise.
19097         (tan_test_downward): Likewise.
19098         (tan_test_upward): Likewise.
19099         (tanh_test): Likewise.
19100         (tgamma_test): Likewise.
19101         (trunc_test): Likewise.
19102         (y0_test): Likewise.
19103         (y1_test): Likewise.
19104         (yn_test): Likewise.
19105         (significand_test): Likewise.
19106
19107 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19108
19109         [BZ #15381]
19110         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19111
19112 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19113
19114         [BZ #14894]
19115         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19116         __ppc_mdoio and __ppc_mdoom.
19117         * manual/platform.texi: Document new functions __ppc_yield,
19118         __ppc_mdoio and __ppc_mdoom.
19119
19120 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19121
19122         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19123         (main): Mention "tls" pseudo-hwcap is legacy.
19124         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19125
19126 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19127
19128         * math/gen-libm-test.pl (parse_args): Output only string of
19129         arguments as text for test name, not full call or descriptions of
19130         tests for extra outputs.
19131         (generate_testfile): Do not pass function name to parse_args.
19132         Generate this_func variable from START.
19133         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19134         field to arg_str.
19135         (struct test_ff_f_data): Likewise.
19136         (test_ff_f_data_nexttoward): Likewise.
19137         (struct test_fi_f_data): Likewise.
19138         (struct test_fl_f_data): Likewise.
19139         (struct test_if_f_data): Likewise.
19140         (struct test_fff_f_data): Likewise.
19141         (struct test_c_f_data): Likewise.
19142         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19143         (struct test_fF_f1_data): Likewise.
19144         (struct test_ffI_f1_data): Likewise.
19145         (struct test_c_c_data): Rename test_name field to arg_str.
19146         (struct test_cc_c_data): Likewise.
19147         (struct test_f_i_data): Likewise.
19148         (struct test_ff_i_data): Likewise.
19149         (struct test_f_l_data): Likewise.
19150         (struct test_f_L_data): Likewise.
19151         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19152         and extra2_name.
19153         (COMMON_TEST_SETUP): New macro.
19154         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19155         (COMMON_TEST_CLEANUP): Likewise.
19156         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19157         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19158         macros.
19159         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19160         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19161         macros.
19162         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19163         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19164         cleanup macros.
19165         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19166         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19167         macros.
19168         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19169         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19170         macros.
19171         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19172         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19173         cleanup macros.
19174         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19175         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19176         cleanup macros.
19177         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19178         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19179         cleanup macros.
19180         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19181         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19182         macros.
19183         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19184         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19185         macros.
19186         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19187         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19188         macros.
19189         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19190         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19191         cleanup macros.
19192         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19193         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19194         cleanup macros.
19195         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19196         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19197         macros.
19198         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19199         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19200         cleanup macros.
19201         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19202         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19203         macros.
19204         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19205         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19206         macros.
19207         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19208         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19209         cleanup macros.
19210         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19211
19212 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19213
19214         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19215         to _sifields.sigfault.
19216         (si_addr_lsb): Define new macro.
19217         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19218         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19219         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19220
19221 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19222
19223         [BZ #15441]
19224         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19225         returns -1.
19226         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19227         null return -1.
19228         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19229         loading the domain.
19230
19231 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19232
19233         * math/gen-libm-test.pl (parse_args): Do not include expected
19234         result in test name.
19235         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19236         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19237         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19238         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19239         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19241
19242 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19243
19244         * benchtests/Makefile: Sort function entries.
19245
19246         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19247         tanh, asinh, acosh, atanh.
19248         * benchtests/acos-inputs: New file.
19249         * benchtests/acosh-inputs: New file.
19250         * benchtests/asin-inputs: New file.
19251         * benchtests/asinh-inputs: New file.
19252         * benchtests/atanh-inputs: New file.
19253         * benchtests/cosh-inputs: New file.
19254         * benchtests/log-inputs: New file.
19255         * benchtests/sinh-inputs: New file.
19256         * benchtests/tanh-inputs: New file.
19257
19258 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19259
19260         [BZ #15339]
19261         * posix/tst-getaddrinfo4.c: New test.
19262         * posix/Makefile (tests): Add it.
19263
19264 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19265
19266         [BZ #15339]
19267         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19268         when no services were used.
19269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19270         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19271
19272 2013-05-21  Andreas Schwab  <schwab@suse.de>
19273
19274         [BZ #15014]
19275         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19276         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19277         successful.
19278         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19279         redundant variable declarations and reallocation of buffer when
19280         parsing as IPv6 address.  Always set NSS status when called from
19281         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19282         buffer too small.  Correct computation of needed size.
19283         * nss/Makefile (tests): Add test-digits-dots.
19284         * nss/test-digits-dots.c: New test.
19285
19286 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19287
19288         * benchtests/Makefile: Remove instructions for adding
19289         benchmark tests.
19290         * benchtests/README: New file to explain how to execute and
19291         enhance the benchmark tests.
19292
19293 2013-05-21  Andreas Schwab  <schwab@suse.de>
19294
19295         [BZ #15493]
19296         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19297         * setjmp/tst-sigsetjmp.c: New test.
19298
19299 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19300
19301         * sysdeps/x86_64/memset.S (memset): New implementation.
19302         (__bzero): Likewise.
19303         (__memset_tail): New function.
19304
19305 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19306
19307         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19308         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19309         __memcpy_sse2_unaligned ifunc selection.
19310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19311         Add memcpy-sse2-unaligned.S.
19312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19313         Add: __memcpy_sse2_unaligned.
19314
19315 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19316
19317         [BZ #15490]
19318         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19319         math_force_eval before restoring floating-point envrionment.
19320         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19321         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19322         Likewise.
19323         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19324         <math_private.h>.
19325         (__nearbyintl): Use math_force_eval before restoring
19326         floating-point environment.
19327         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19328
19329         * math/gen-libm-test.pl (special_functions): Remove.
19330         (parse_args): Don't handle TEST_extra.  Handle functions with no
19331         return value.
19332         * math/libm-test.inc (struct test_sincos_data): Replace with
19333         struct test_fFF_11_data.
19334         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19335         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19336         (sincos_test_data): Change element type to struct
19337         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19338         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19339         RUN_TEST_LOOP_sincos.
19340         * math/README.libm-test: Don't mention special handling of
19341         individual functions.
19342         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19343         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19344         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19345         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19346         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19348
19349         * math/gen-libm-test.pl (get_variable): Remove function.
19350         (parse_args): Don't show pointer parameters to call in test
19351         names.  Use "extra output N" in test names for extra outputs
19352         rather than naming variables.
19353
19354 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19355
19356         [BZ #15488]
19357         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19358         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19359         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19360         double tests.
19361         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19362         disable.
19363         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19364         check_long_double.
19365
19366         * math/gen-libm-test.pl (@tests): Remove variable.
19367         ($count): Likewise.
19368         (new_test): Remove function.
19369         (show_exceptions): New function.
19370         (special_functions): Use show_exceptions instead of new_test.
19371         (parse_args): Likewise.
19372         (generate_testfile): Pass only function name in generated call to
19373         print_max_error or print_complex_max_error.
19374         (get_ulps): Do not handle complex tests specially.
19375         (output_test): Rename to ...
19376         (get_all_ulps_for_test): ... this.  Return a string rather than
19377         printing to a file.  Require ulps to be present.
19378         (output_ulps): Generate arrays rather than #defines.
19379         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19380         (struct ulp_data): New type.
19381         (BUILD_COMPLEX_ULP): Remove macro.
19382         (compare_ulp_data): New function.
19383         (find_ulps): Likewise.
19384         (find_test_ulps): Likewise.
19385         (find_function_ulps): Likewise.
19386         (find_complex_function_ulps): Likewise.
19387         (print_max_error): Determine allowed ulps using
19388         find_function_ulps.
19389         (print_complex_max_error): Determine allowed ulps using
19390         find_complex_function_ulps.
19391         (check_float_internal): Determine max ulps using find_test_ulps.
19392         (check_float): Do not take max_ulp parameter.  Update call to
19393         check_float_internal.
19394         (check_complex): Likewise.
19395         (check_int): Do not take max_ulp parameter.
19396         (check_long): Likewise.
19397         (check_bool): Likewise.
19398         (check_longlong): Likewise.
19399         (struct test_f_f_data): Remove max_ulp field.
19400         (struct test_ff_f_data): Likewise.
19401         (struct test_ff_f_data_nexttoward): Likewise.
19402         (struct test_fi_f_data): Likewise.
19403         (struct test_fl_f_data): Likewise.
19404         (struct test_if_f_data): Likewise.
19405         (struct test_fff_f_data): Likewise.
19406         (struct test_c_f_data): Likewise.
19407         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19408         (struct test_fF_f1_data): Likewise.
19409         (struct test_ffI_f1_data): Likewise.
19410         (struct test_c_c_data): Remove max_ulp field.
19411         (struct test_cc_c_data): Likewise.
19412         (struct test_f_i_data): Likewise.
19413         (struct test_ff_i_data): Likewise.
19414         (struct test_f_l_data): Likewise.
19415         (struct test_f_L_data): Likewise.
19416         (struct test_sincos_data): Likewise.
19417         (RUN_TEST_f_f): Do not handle ulps.
19418         (RUN_TEST_LOOP_f_f): Likewise.
19419         (RUN_TEST_2_f): Likewise.
19420         (RUN_TEST_LOOP_2_f): Likewise.
19421         (RUN_TEST_fff_f): Likewise.
19422         (RUN_TEST_LOOP_fff_f): Likewise.
19423         (RUN_TEST_c_f): Likewise.
19424         (RUN_TEST_LOOP_c_f): Likewise.
19425         (RUN_TEST_f_f1): Likewise.
19426         (RUN_TEST_LOOP_f_f1): Likewise.
19427         (RUN_TEST_fF_f1): Likewise.
19428         (RUN_TEST_LOOP_fF_f1): Likewise.
19429         (RUN_TEST_fI_f1): Likewise.
19430         (RUN_TEST_LOOP_fI_f1): Likewise.
19431         (RUN_TEST_ffI_f1): Likewise.
19432         (RUN_TEST_LOOP_ffI_f1): Likewise.
19433         (RUN_TEST_c_c): Likewise.
19434         (RUN_TEST_LOOP_c_c): Likewise.
19435         (RUN_TEST_cc_c): Likewise.
19436         (RUN_TEST_LOOP_cc_c): Likewise.
19437         (RUN_TEST_f_i): Likewise.
19438         (RUN_TEST_LOOP_f_i): Likewise.
19439         (RUN_TEST_f_i_tg): Likewise.
19440         (RUN_TEST_LOOP_f_i_tg): Likewise.
19441         (RUN_TEST_ff_i_tg): Likewise.
19442         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19443         (RUN_TEST_f_b): Likewise.
19444         (RUN_TEST_LOOP_f_b): Likewise.
19445         (RUN_TEST_f_b_tg): Likewise.
19446         (RUN_TEST_LOOP_f_b_tg): Likewise.
19447         (RUN_TEST_f_l): Likewise.
19448         (RUN_TEST_LOOP_f_l): Likewise.
19449         (RUN_TEST_f_L): Likewise.
19450         (RUN_TEST_LOOP_f_L): Likewise.
19451         (RUN_TEST_sincos): Likewise.
19452         (RUN_TEST_LOOP_sincos): Likewise.
19453
19454 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19455
19456         [BZ #15480]
19457         [BZ #15485]
19458         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19459         main case of finite arguments, set rounding mode to FE_TONEAREST
19460         and discard exceptions.
19461         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19462         exceptions.
19463         (remainder_tonearest_test_data): New variable.
19464         (remainder_test_tonearest): New function.
19465         (remainder_towardzero_test_data): New variable.
19466         (remainder_test_towardzero): New function.
19467         (remainder_downward_test_data): New variable.
19468         (remainder_test_downward): New function.
19469         (remainder_upward_test_data): New variable.
19470         (remainder_test_upward): New function.
19471         (main): Call the new test functions.
19472
19473         * math/libm-test.inc (struct test_f_f1_data): Remove field
19474         extra_init.
19475         (struct test_fF_f1_data): Likewise.
19476         (struct test_ffI_f1_data): Likewise.
19477         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19478         based on value of EXTRA_EXPECTED.
19479         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19480         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19481         EXTRA_VAR based on value of EXTRA_EXPECTED.
19482         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19483         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19484         EXTRA_VAR based on value of EXTRA_EXPECTED.
19485         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19486         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19487         EXTRA_VAR based on value of EXTRA_EXPECTED.
19488         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19489         * math/gen-libm-test.pl (parse_args): Don't output initializers
19490         for extra output values.
19491
19492         * math/libm-test.inc (check_int): Expect result to be exactly
19493         equal to expected value and do not handle ulps.
19494         (check_long): Likewise.
19495         (check_longlong): Likewise.
19496
19497         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19498         exceptions.
19499         (cimag_test_data): Likewise.
19500         (conj_test_data): Likewise.
19501         (copysign_test_data): Likewise.
19502         (cproj_test_data): Likewise.
19503         (creal_test_data): Likewise.
19504         (fabs_test_data): Likewise.
19505         (fdim_test_data): Likewise.
19506         (finite_test_data): Likewise.
19507         (floor_test_data): Likewise.
19508         (fmax_test_data): Likewise.
19509         (fmin_test_data): Likewise.
19510         (fmod_test_data): Likewise.
19511         (fpclassify_test_data): Likewise.
19512         (frexp_test_data): Likewise.
19513         (ilogb_test_data): Likewise.
19514         (isfinite_test_data): Likewise.
19515         (isgreater_test_data): Likewise.
19516         (isgreaterequal_test_data): Likewise.
19517         (isinf_test_data): Likewise.
19518         (isless_test_data): Likewise.
19519         (islessequal_test_data): Likewise.
19520         (islessgreater_test_data): Likewise.
19521         (isnan_test_data): Likewise.
19522         (isnormal_test_data): Likewise.
19523         (issignaling_test_data): Likewise.
19524         (isunordered_test_data): Likewise.
19525         (ldexp_test_data): Likewise.
19526         (lrint_test_data): Likewise.
19527         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19528         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19529         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19530         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19531         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19532         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19533         test input.
19534         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19535         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19536         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19537         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19538         that test input.
19539         (lrint_downward_test_data): Test for "inexact" exceptions.
19540         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19541         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19542         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19543         test input.
19544         (lrint_upward_test_data): Test for "inexact" exceptions.
19545         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19546         test input.
19547         (llrint_test_data): Test for "inexact" exceptions.
19548         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19549         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19550         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19551         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19552         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19553         (llrint_downward_test_data): Test for "inexact" exceptions.
19554         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19555         (llrint_upward_test_data): Test for "inexact" exceptions.
19556         (logb_test_data): Likewise.
19557         (logb_downward_test_data): Likewise.
19558         (nextafter_test_data): Likewise.
19559         (nexttoward_test_data): Likewise.
19560         (remainder_test_data): Likewise.
19561         (remquo_test_data): Likewise.
19562         (scalbn_test_data): Likewise.
19563         (scalbln_test_data): Likewise.
19564         (signbit_test_data): Likewise.
19565         (sqrt_test_data): Likewise.
19566         (significand_test_data): Likewise.
19567
19568 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19569
19570         [BZ #15424]
19571         * benchtests/bench-modf.c (struct args): Mark arg0 as
19572         volatile.
19573         * scripts/bench.pl: Mark members of struct args as volatile.
19574
19575 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19576
19577         [BZ # 15497]
19578         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19579         negative infinity on POWER6 or lower.
19580         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19581
19582 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19583
19584         [BZ #15442]
19585         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19586         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19587         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19588         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19589         (_FP_SETQNAN): New macro.
19590         (_FP_SETQNAN_SEMIRAW): Likewise.
19591         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19592         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19593         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19594         (FP_EXTEND): Use _FP_FRAC_SNANP.
19595         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19596         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19597         into account.
19598         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19599         New macro.
19600         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19601         Likewise.
19602
19603 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19604
19605         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19606         with DIVIDE_BY_ZERO_EXCEPTION.
19607         (gamma_test_data): Likewise.
19608         (lgamma_test_data): Likewise.
19609         (log_test_data): Likewise.
19610         (log10_test_data): Likewise.
19611         (log2_test_data): Likewise.
19612         (tgamma_test_data): Likewise.
19613
19614         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19615         (acos_test_tonearest): Likewise.
19616         (acos_test_towardzero): Likewise.
19617         (acos_test_downward): Likewise.
19618         (acos_test_upward): Likewise.
19619         (acosh_test): Likewise.
19620         (asin_test): Likewise.
19621         (asin_test_tonearest): Likewise.
19622         (asin_test_towardzero): Likewise.
19623         (asin_test_downward): Likewise.
19624         (asin_test_upward): Likewise.
19625         (asinh_test): Likewise.
19626         (atan_test): Likewise.
19627         (atanh_test): Likewise.
19628         (atan2_test): Likewise.
19629         (cabs_test): Likewise.
19630         (cacos_test): Likewise.
19631         (cacosh_test): Likewise.
19632         (casin_test): Likewise.
19633         (casinh_test): Likewise.
19634         (catan_test): Likewise.
19635         (catanh_test): Likewise.
19636         (cbrt_test): Likewise.
19637         (ccos_test): Likewise.
19638         (ccosh_test): Likewise.
19639         (cexp_test): Likewise.
19640         (clog_test): Likewise.
19641         (clog10_test): Likewise.
19642         (cos_test): Likewise.
19643         (cos_test_tonearest): Likewise.
19644         (cos_test_towardzero): Likewise.
19645         (cos_test_downward): Likewise.
19646         (cos_test_upward): Likewise.
19647         (cosh_test): Likewise.
19648         (cosh_test_tonearest): Likewise.
19649         (cosh_test_towardzero): Likewise.
19650         (cosh_test_downward): Likewise.
19651         (cosh_test_upward): Likewise.
19652         (cpow_test): Likewise.
19653         (csin_test): Likewise.
19654         (csinh_test): Likewise.
19655         (csqrt_test): Likewise.
19656         (ctan_test): Likewise.
19657         (ctan_test_tonearest): Likewise.
19658         (ctan_test_towardzero): Likewise.
19659         (ctan_test_downward): Likewise.
19660         (ctan_test_upward): Likewise.
19661         (ctanh_test): Likewise.
19662         (ctanh_test_tonearest): Likewise.
19663         (ctanh_test_towardzero): Likewise.
19664         (ctanh_test_downward): Likewise.
19665         (ctanh_test_upward): Likewise.
19666         (erf_test): Likewise.
19667         (erfc_test): Likewise.
19668         (exp_test): Likewise.
19669         (exp_test_tonearest): Likewise.
19670         (exp_test_towardzero): Likewise.
19671         (exp_test_downward): Likewise.
19672         (exp_test_upward): Likewise.
19673         (exp10_test): Likewise.
19674         (exp2_test): Likewise.
19675         (expm1_test): Likewise.
19676         (fmod_test): Likewise.
19677         (gamma_test): Likewise.
19678         (hypot_test): Likewise.
19679         (j0_test): Likewise.
19680         (j1_test): Likewise.
19681         (jn_test): Likewise.
19682         (lgamma_test): Likewise.
19683         (log_test): Likewise.
19684         (log10_test): Likewise.
19685         (log1p_test): Likewise.
19686         (log2_test): Likewise.
19687         (logb_test_downward): Likewise.
19688         (pow_test): Likewise.
19689         (pow_test_tonearest): Likewise.
19690         (pow_test_towardzero): Likewise.
19691         (pow_test_downward): Likewise.
19692         (pow_test_upward): Likewise.
19693         (remainder_test): Likewise.
19694         (remquo_test): Likewise.
19695         (sin_test): Likewise.
19696         (sin_test_tonearest): Likewise.
19697         (sin_test_towardzero): Likewise.
19698         (sin_test_downward): Likewise.
19699         (sin_test_upward): Likewise.
19700         (sincos_test): Likewise.
19701         (sinh_test): Likewise.
19702         (sinh_test_tonearest): Likewise.
19703         (sinh_test_towardzero): Likewise.
19704         (sinh_test_downward): Likewise.
19705         (sinh_test_upward): Likewise.
19706         (sqrt_test): Likewise.
19707         (tan_test): Likewise.
19708         (tan_test_tonearest): Likewise.
19709         (tan_test_towardzero): Likewise.
19710         (tan_test_downward): Likewise.
19711         (tan_test_upward): Likewise.
19712         (tanh_test): Likewise.
19713         (tgamma_test): Likewise.
19714         (y0_test): Likewise.
19715         (y1_test): Likewise.
19716         (yn_test): Likewise.
19717
19718         * math/gen-libm-test.pl (adjust_arg): Remove function.
19719         (special_function): Remove argument $in_func.  Only handle
19720         generating output for tables of tests, not inside functions.
19721         (parse_args): Likewise.
19722         (generate_testfile): Remove variable $in_func.  Update call to
19723         parse_args.
19724         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19725         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19726         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19727         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19728         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19729         (MAX_VALUE_INIT): Rename macro to max_value.
19730         (MIN_VALUE_INIT): Rename macro to min_value.
19731         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19732         (plus_zero): Remove variable.
19733         (minus_zero): Likewise.
19734         (plus_infty): Likewise.
19735         (minus_infty): Likewise.
19736         (qnan_value): Likewise.
19737         (max_value): Likewise.
19738         (min_value): Likewise.
19739         (min_subnorm_value): Likewise.
19740
19741 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19742
19743         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19744         uint64_t or uint32_t usage.
19745         * crypt/sha256-block.c: Likewise.
19746         * crypt/sha256-crypt.c: Likewise.
19747         * crypt/sha256.c: Likewise.
19748         * crypt/sha512-block.c: Likewise.
19749         * crypt/sha512-crypt.c: Likewise.
19750         * crypt/sha512.c: Likewise.
19751         * debug/backtrace-tst.c: Likewise.
19752         * debug/pcprofiledump.c: Likewise.
19753         * elf/cache.c: Likewise.
19754         * elf/dl-cache.c: Likewise.
19755         * elf/dl-misc.c: Likewise.
19756         * elf/dl-profile.c: Likewise.
19757         * elf/dl-support.c: Likewise.
19758         * elf/ldconfig.c: Likewise.
19759         * elf/sprof.c: Likewise.
19760         * iconv/dummy-repertoire.c: Likewise.
19761         * iconv/iconv_charmap.c: Likewise.
19762         * iconv/skeleton.c: Likewise.
19763         * iconvdata/8bit-generic.c: Likewise.
19764         * iconvdata/cp737.h: Likewise.
19765         * iconvdata/cp775.h: Likewise.
19766         * iconvdata/ibm1008.h: Likewise.
19767         * iconvdata/ibm1025.h: Likewise.
19768         * iconvdata/ibm1046.h: Likewise.
19769         * iconvdata/ibm1097.h: Likewise.
19770         * iconvdata/ibm1112.h: Likewise.
19771         * iconvdata/ibm1122.h: Likewise.
19772         * iconvdata/ibm1123.h: Likewise.
19773         * iconvdata/ibm1124.h: Likewise.
19774         * iconvdata/ibm1129.h: Likewise.
19775         * iconvdata/ibm1130.h: Likewise.
19776         * iconvdata/ibm1132.h: Likewise.
19777         * iconvdata/ibm1133.h: Likewise.
19778         * iconvdata/ibm1137.h: Likewise.
19779         * iconvdata/ibm1140.h: Likewise.
19780         * iconvdata/ibm1141.h: Likewise.
19781         * iconvdata/ibm1142.h: Likewise.
19782         * iconvdata/ibm1143.h: Likewise.
19783         * iconvdata/ibm1144.h: Likewise.
19784         * iconvdata/ibm1145.h: Likewise.
19785         * iconvdata/ibm1146.h: Likewise.
19786         * iconvdata/ibm1147.h: Likewise.
19787         * iconvdata/ibm1148.h: Likewise.
19788         * iconvdata/ibm1149.h: Likewise.
19789         * iconvdata/ibm1153.h: Likewise.
19790         * iconvdata/ibm1154.h: Likewise.
19791         * iconvdata/ibm1155.h: Likewise.
19792         * iconvdata/ibm1156.h: Likewise.
19793         * iconvdata/ibm1157.h: Likewise.
19794         * iconvdata/ibm1158.h: Likewise.
19795         * iconvdata/ibm1160.h: Likewise.
19796         * iconvdata/ibm1161.h: Likewise.
19797         * iconvdata/ibm1162.h: Likewise.
19798         * iconvdata/ibm1163.h: Likewise.
19799         * iconvdata/ibm1164.h: Likewise.
19800         * iconvdata/ibm1166.h: Likewise.
19801         * iconvdata/ibm1167.h: Likewise.
19802         * iconvdata/ibm12712.h: Likewise.
19803         * iconvdata/ibm1390.h: Likewise.
19804         * iconvdata/ibm1399.h: Likewise.
19805         * iconvdata/ibm16804.h: Likewise.
19806         * iconvdata/ibm4517.h: Likewise.
19807         * iconvdata/ibm4899.h: Likewise.
19808         * iconvdata/ibm4909.h: Likewise.
19809         * iconvdata/ibm4971.h: Likewise.
19810         * iconvdata/ibm5347.h: Likewise.
19811         * iconvdata/ibm803.h: Likewise.
19812         * iconvdata/ibm856.h: Likewise.
19813         * iconvdata/ibm901.h: Likewise.
19814         * iconvdata/ibm902.h: Likewise.
19815         * iconvdata/ibm9030.h: Likewise.
19816         * iconvdata/ibm9066.h: Likewise.
19817         * iconvdata/ibm921.h: Likewise.
19818         * iconvdata/ibm922.h: Likewise.
19819         * iconvdata/ibm9448.h: Likewise.
19820         * iconvdata/isiri-3342.h: Likewise.
19821         * iconvdata/jis0201.h: Likewise.
19822         * include/link.h: Likewise.
19823         * include/netdb.h: Likewise.
19824         * inet/check_native.c: Likewise.
19825         * inet/check_pf.c: Likewise.
19826         * inet/getipv4sourcefilter.c: Likewise.
19827         * inet/getnameinfo.c: Likewise.
19828         * inet/getsourcefilter.c: Likewise.
19829         * inet/htonl.c: Likewise.
19830         * inet/setipv4sourcefilter.c: Likewise.
19831         * inet/setsourcefilter.c: Likewise.
19832         * inet/test-inet6_opt.c: Likewise.
19833         * inet/tst-network.c: Likewise.
19834         * locale/C-collate.c: Likewise.
19835         * locale/C-ctype.c: Likewise.
19836         * locale/C-time.c: Likewise.
19837         * locale/C-translit.h: Likewise.
19838         * locale/loadarchive.c: Likewise.
19839         * locale/programs/3level.h: Likewise.
19840         * locale/programs/charmap.c: Likewise.
19841         * locale/programs/charmap.h: Likewise.
19842         * locale/programs/ld-address.c: Likewise.
19843         * locale/programs/ld-collate.c: Likewise.
19844         * locale/programs/ld-ctype.c: Likewise.
19845         * locale/programs/ld-identification.c: Likewise.
19846         * locale/programs/ld-measurement.c: Likewise.
19847         * locale/programs/ld-messages.c: Likewise.
19848         * locale/programs/ld-monetary.c: Likewise.
19849         * locale/programs/ld-name.c: Likewise.
19850         * locale/programs/ld-numeric.c: Likewise.
19851         * locale/programs/ld-paper.c: Likewise.
19852         * locale/programs/ld-telephone.c: Likewise.
19853         * locale/programs/ld-time.c: Likewise.
19854         * locale/programs/linereader.c: Likewise.
19855         * locale/programs/locale.c: Likewise.
19856         * locale/programs/locarchive.c: Likewise.
19857         * locale/programs/locfile.h: Likewise.
19858         * locale/programs/repertoire.c: Likewise.
19859         * locale/programs/simple-hash.c: Likewise.
19860         * locale/programs/simple-hash.h: Likewise.
19861         * malloc/memusage.c: Likewise.
19862         * malloc/memusagestat.c: Likewise.
19863         * nis/nis_defaults.c: Likewise.
19864         * nis/nis_hash.c: Likewise.
19865         * nis/nis_print.c: Likewise.
19866         * nis/nis_xdr.c: Likewise.
19867         * nscd/connections.c: Likewise.
19868         * nscd/hstcache.c: Likewise.
19869         * nscd/nscd_gethst_r.c: Likewise.
19870         * nscd/nscd_getserv_r.c: Likewise.
19871         * nscd/nscd_helper.c: Likewise.
19872         * nscd/servicescache.c: Likewise.
19873         * nss/makedb.c: Likewise.
19874         * nss/nss_db/db-XXX.c: Likewise.
19875         * nss/nss_db/db-initgroups.c: Likewise.
19876         * nss/nss_db/db-netgrp.c: Likewise.
19877         * nss/nss_files/files-network.c: Likewise.
19878         * nss/nss_files/files-parse.c: Likewise.
19879         * posix/bug-regex5.c: Likewise.
19880         * posix/fnmatch_loop.c: Likewise.
19881         * posix/regcomp.c: Likewise.
19882         * posix/regexec.c: Likewise.
19883         * posix/tst-rfc3484-2.c: Likewise.
19884         * posix/tst-rfc3484-3.c: Likewise.
19885         * posix/tst-rfc3484.c: Likewise.
19886         * resolv/nss_dns/dns-canon.c: Likewise.
19887         * resolv/nss_dns/dns-network.c: Likewise.
19888         * resolv/res_init.c: Likewise.
19889         * resolv/res_mkquery.c: Likewise.
19890         * resolv/tst-aton.c: Likewise.
19891         * stdlib/cxa_atexit.c: Likewise.
19892         * stdlib/cxa_finalize.c: Likewise.
19893         * stdlib/gen-fpioconst.c: Likewise.
19894         * stdlib/strtol_l.c: Likewise.
19895         * string/tst-endian.c: Likewise.
19896         * sunrpc/auth_des.c: Likewise.
19897         * sunrpc/clnt_udp.c: Likewise.
19898         * sunrpc/rtime.c: Likewise.
19899         * sunrpc/svcauth_des.c: Likewise.
19900         * sunrpc/xdr.c: Likewise.
19901         * sunrpc/xdr_intXX_t.c: Likewise.
19902         * sunrpc/xdr_rec.c: Likewise.
19903         * sysdeps/generic/ldconfig.h: Likewise.
19904         * sysdeps/generic/ldsodefs.h: Likewise.
19905         * sysdeps/generic/memusage.h: Likewise.
19906         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19907         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19908         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19909         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19910         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19911         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19912         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19913         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19914         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19915         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19916         * sysdeps/posix/getaddrinfo.c: Likewise.
19917         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19918         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19919         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19920         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19921         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19922         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19923         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19924         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19925         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19926         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19927         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19928         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19929         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19930         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19931         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19932         * sysdeps/x86_64/dl-tls.h: Likewise.
19933         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19934         * time/alt_digit.c: Likewise.
19935         * time/era.c: Likewise.
19936         * wcsmbs/tst-c16c32-1.c: Likewise.
19937
19938 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19939
19940         * math/libm-test.inc (struct test_sincos_data): New type.
19941         (RUN_TEST_LOOP_sincos): New macro.
19942         (sincos_test_data): New variable.
19943         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19944
19945 2013-05-16  Richard Henderson  <rth@redhat.com>
19946
19947         * math/atest-exp2.c (LIMB64): New macro.
19948         (CONSTSZ): New macro.
19949         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19950         (hexdig): Move ...
19951         (print_mpn_fp): ... to function scope.
19952         (read_mpn_hex): Remove.
19953         (get_log2): Remove.
19954         (exp2_mpn): Use mp_log2.
19955         (main): Use mp_exp1.
19956
19957 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19958
19959         * math/libm-test.inc: Remove comment about not testing "inexact"
19960         exceptions.
19961         (INEXACT_EXCEPTION): New macro.
19962         (NO_INEXACT_EXCEPTION): Likewise.
19963         (INVALID_EXCEPTION_OK): Update value.
19964         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19965         (OVERFLOW_EXCEPTION_OK): Likewise.
19966         (UNDERFLOW_EXCEPTION_OK): Likewise.
19967         (IGNORE_ZERO_INF_SIGN): Likewise.
19968         (ERRNO_UNCHANGED): Likewise.
19969         (ERRNO_EDOM): Likewise.
19970         (ERRNO_ERANGE): Likewise.
19971         (test_exceptions): Handle testing "inexact" exceptions.
19972         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19973         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19974         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19975         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19976         INEXACT_EXCEPTION.
19977         (rint_towardzero_test_data): Likewise.
19978         (rint_downward_test_data): Likewise.
19979         (rint_upward_test_data): Likewise.
19980
19981         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19982         with OVERFLOW_EXCEPTION.
19983         (exp10_test_data): Likewise.
19984         (exp2_test_data): Likewise.
19985         (expm1_test_data): Likewise.
19986         (lgamma_test_data): Likewise.
19987         (pow_test_data): Likewise.
19988         (tgamma_test_data): Likewise.
19989         (yn_test_data): Remove duplicate test of overflow.
19990
19991         * math/libm-test.inc (struct test_cc_c_data): New type.
19992         (RUN_TEST_LOOP_cc_c): New macro.
19993         (cpow_test_data): New variable.
19994         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19995
19996         * math/libm-test.inc (struct test_f_L_data): New type.
19997         (RUN_TEST_LOOP_f_L): New macro.
19998         (llrint_test_data): New variable.
19999         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20000         (llrint_tonearest_test_data): New variable.
20001         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20002         (llrint_towardzero_test_data): New variable.
20003         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20004         (llrint_downward_test_data): New variable.
20005         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20006         (llrint_upward_test_data): New variable.
20007         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20008         (llround_test_data): New variable.
20009         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20010
20011 2013-05-13  Peter Collingbourne  <pcc@google.com>
20012
20013         * math/atest-exp2.c (get_log2): Remove const attribute.
20014
20015 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20016
20017         * math/libm-test.inc (struct test_f_l_data): New type.
20018         (RUN_TEST_LOOP_f_l): New macro.
20019         (lrint_test_data): New variable.
20020         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20021         (lrint_tonearest_test_data): New variable.
20022         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20023         (lrint_towardzero_test_data): New variable.
20024         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20025         (lrint_downward_test_data): New variable.
20026         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20027         (lrint_upward_test_data): New variable.
20028         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20029         (lround_test_data): New variable.
20030         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20031
20032 2013-05-15  Peter Collingbourne  <pcc@google.com>
20033
20034         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20035         (EXTRACT_WORDS64) Use where appropriate.
20036         (INSERT_WORDS64) Likewise.
20037
20038         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20039         constraints with x constraints.
20040         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20041
20042         * malloc/obstack.c (_obstack_compat): Add initializer.
20043
20044 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20045
20046         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20047         si_trapno and add si_addr_lsb to _sifields.sigfault.
20048         (si_trapno): Remove macro.
20049         (si_addr_lsb): Define new macro.
20050         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20051
20052 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20053
20054         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20055         instead of TEST_f_l.
20056         (llrint_test_tonearest): Likewise.
20057         (llrint_test_towardzero): Likewise.
20058         (llrint_test_downward): Likewise.
20059         (llrint_test_upward): Likewise.
20060         (llround_test): Likewise.
20061
20062         * math/libm-test.inc (struct test_f_i_data): Add comment.
20063         (RUN_TEST_LOOP_f_b): New macro.
20064         (RUN_TEST_LOOP_f_b_tg): Likewise.
20065         (finite_test_data): New variable.
20066         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20067         (isfinite_test_data): New variable.
20068         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20069         (isinf_test_data): New variable.
20070         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20071         (isnan_test_data): New variable.
20072         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20073         (isnormal_test_data): New variable.
20074         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20075         (issignaling_test_data): New variable.
20076         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20077         (signbit_test_data): New variable.
20078         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20079
20080         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20081         with INVALID_EXCEPTION.
20082         (acosh_test_data): Likewise.
20083         (asin_test_data): Likewise.
20084         (atanh_test_data): Likewise.
20085         (fmod_test_data): Likewise.
20086         (log_test_data): Likewise.
20087         (log10_test_data): Likewise.
20088         (log2_test_data): Likewise.
20089         (pow_test_data): Likewise.
20090         (sqrt_test_data): Likewise.
20091         (y0_test_data): Likewise.
20092         (y1_test_data): Likewise.
20093         (yn_test_data): Likewise.
20094
20095         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20096         function contents.
20097
20098         * math/libm-test.inc (struct test_ff_i_data): New type.
20099         (RUN_TEST_LOOP_ff_i_tg): New macro.
20100         (isgreater_test_data): New variable.
20101         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20102         (isgreaterequal_test_data): New variable.
20103         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20104         (isless_test_data): New variable.
20105         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20106         (islessequal_test_data): New variable.
20107         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20108         (islessgreater_test_data): New variable.
20109         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20110         (isunordered_test_data): New variable.
20111         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20112
20113 2013-05-14  David S. Miller  <davem@davemloft.net>
20114
20115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20116
20117 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20118
20119         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20120
20121         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20122         extra_test to int.
20123         (struct test_f_i_data): Change type of max_ulp to int.
20124
20125         * math/libm-test.inc (test_ffI_f1_data): New type.
20126         (RUN_TEST_LOOP_ffI_f1): New macro.
20127         (remquo_test_data): New variable.
20128         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20129
20130         * setjmp/tst-setjmp-fp.c: New file.
20131         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20132         (link-libm): New variable.
20133         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20134
20135         * math/libm-test.inc (struct test_f_i_data): New type.
20136         (RUN_TEST_LOOP_f_i): New macro.
20137         (RUN_TEST_LOOP_f_i_tg): Likewise.
20138         (fpclassify_test_data): New variable.
20139         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20140         (ilogb_test_data): New variable.
20141         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20142
20143         * math/libm-test.inc (scalbln_test): Correct function name in END
20144         call.
20145
20146         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20147         (RUN_TEST_LOOP_fI_f1): New macro.
20148         (frexp_test_data): New variable.
20149         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20150
20151         * math/libm-test.inc (struct test_fF_f1_data): New type.
20152         (RUN_TEST_LOOP_fF_f1): New macro.
20153         (modf_test_data): New variable.
20154         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20155
20156         * math/libm-test.inc (struct test_f_f1_data): New type.
20157         (RUN_TEST_LOOP_f_f1): New macro.
20158         (gamma_test_data): New variable.
20159         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20160         (lgamma_test_data): New variable.
20161         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20162
20163 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20164
20165         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20166         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20167         (main): Comment "tls" pseudo-hwcap.
20168
20169 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20170
20171         * math/libm-test.inc (struct test_fl_f_data): New type.
20172         (RUN_TEST_LOOP_fl_f): New variable.
20173         (scalbln_test_data): New variable.
20174         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20175
20176         * math/libm-test.inc (struct test_fi_f_data): New type.
20177         (RUN_TEST_LOOP_fi_f): New macro.
20178         (ldexp_test_data): New variable.
20179         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20180         (scalbn_test_data): New variable.
20181         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20182
20183         * math/libm-test.inc (struct test_c_f_data): New type.
20184         (RUN_TEST_LOOP_c_f): New macro.
20185         (cabs_test_data): New variable.
20186         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20187         (carg_test_data): New variable.
20188         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20189         (cimag_test_data): New variable.
20190         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20191         (creal_test_data): New variable.
20192         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20193
20194         * math/libm-test.inc (struct test_if_f_data): New type.
20195         (RUN_TEST_LOOP_if_f): New macro.
20196         (jn_test_data): New variable.
20197         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20198         (yn_test_data): New variable.
20199         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20200
20201         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20202
20203 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20204
20205         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20206         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20207
20208 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20209
20210         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20211         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20212         (bench-deps): Add bench-timing.h.
20213         * benchtests-bench-skeleton.c: Include bench-timing.h.
20214         (main): Use TIMING_* macros instead of clock_gettime.
20215         * benchtests/bench-timing.h: New file.
20216
20217         [BZ #14582]
20218         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20219         Renamed from _LIB_VERSION.
20220         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20221
20222 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20223
20224         * math/libm-test.inc (struct test_fff_f_data): New type.
20225         (RUN_TEST_LOOP_fff_f): New macro.
20226         (fma_test_data): New variable.
20227         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20228         (fma_towardzero_test_data): New variable.
20229         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20230         (fma_downward_test_data): New variable.
20231         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20232         (fma_upward_test_data): New variable.
20233         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20234
20235         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20236         (struct test_c_c_data): New type.
20237         (RUN_TEST_LOOP_c_c): New macro.
20238         (cacos_test_data): New variable.
20239         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20240         (cacosh_test_data): New variable.
20241         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20242         (casin_test_data): New variable.
20243         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20244         (casinh_test_data): New variable.
20245         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20246         (catan_test_data): New variable.
20247         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20248         (catanh_test_data): New variable.
20249         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20250         (ccos_test_data): New variable.
20251         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20252         (ccosh_test_data): New variable.
20253         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20254         (cexp_test_data): New variable.
20255         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20256         (clog_test_data): New variable.
20257         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20258         (clog10_test_data): New variable.
20259         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20260         (conj_test_data): New variable.
20261         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20262         (cproj_test_data): New variable.
20263         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20264         (csin_test_data): New variable.
20265         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20266         (csinh_test_data): New variable.
20267         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20268         (csqrt_test_data): New variable.
20269         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20270         (ctan_test_data): New variable.
20271         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20272         (ctan_tonearest_test_data): New variable.
20273         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20274         (ctan_towardzero_test_data): New variable.
20275         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20276         (ctan_downward_test_data): New variable.
20277         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20278         (ctan_upward_test_data): New variable.
20279         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20280         (ctanh_test_data): New variable.
20281         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20282         (ctanh_tonearest_test_data): New variable.
20283         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20284         (ctanh_towardzero_test_data): New variable.
20285         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20286         (ctanh_downward_test_data): New variable.
20287         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20288         (ctanh_upward_test_data): New variable.
20289         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20290         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20291         of BUILD_COMPLEX.
20292
20293         * math/libm-test.inc (struct test_ff_f_data): New type.
20294         (struct test_ff_f_data_nexttoward): Likewise.
20295         (RUN_TEST_LOOP_2_f): New macro.
20296         (RUN_TEST_LOOP_ff_f): Likewise.
20297         (atan2_test_data): New variable.
20298         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20299         (copysign_test_data): New variable.
20300         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20301         (fdim_test_data): New variable.
20302         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20303         (fmax_test_data): New variable.
20304         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20305         (fmin_test_data): New variable.
20306         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20307         (fmod_test_data): New variable.
20308         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20309         (hypot_test_data): New variable.
20310         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20311         (nextafter_test_data): New variable.
20312         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20313         (nexttoward_test_data): New variable.
20314         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20315         (pow_test_data): New variable.
20316         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20317         (pow_tonearest_test_data): New variable.
20318         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20319         (pow_towardzero_test_data): New variable.
20320         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20321         (pow_downward_test_data): New variable.
20322         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20323         (pow_upward_test_data): New variable.
20324         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20325         (remainder_test_data): New variable.
20326         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20327         (scalb_test_data): New variable.
20328         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20329         * sysdeps/i386/fpu/libm-test-ulps: Update.
20330
20331 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20332
20333         * math/libm-test.inc (fma_test): Use max_value instead of local
20334         variable fltmax.
20335         (nextafter_test): Likewise.
20336
20337         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20338         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20339         (acos_downward_test_data): New variable.
20340         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20341         (acos_upward_test_data): New variable.
20342         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20343         (acosh_test_data): New variable.
20344         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20345         (asin_test_data): New variable.
20346         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20347         (asin_tonearest_test_data): New variable.
20348         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20349         (asin_towardzero_test_data): New variable.
20350         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20351         (asin_downward_test_data): New variable.
20352         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20353         (asin_upward_test_data): New variable.
20354         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20355         (asinh_test_data): New variable.
20356         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20357         (atan_test_data): New variable.
20358         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20359         (atanh_test_data): New variable.
20360         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20361         (cbrt_test_data): New variable.
20362         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20363         (ceil_test_data): New variable.
20364         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20365         (cos_test_data): New variable.
20366         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20367         (cos_tonearest_test_data): New variable.
20368         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20369         (cos_towardzero_test_data): New variable.
20370         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20371         (cos_downward_test_data): New variable.
20372         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20373         (cos_upward_test_data): New variable.
20374         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20375         (cosh_test_data): New variable.
20376         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20377         (cosh_tonearest_test_data): New variable.
20378         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20379         (cosh_towardzero_test_data): New variable.
20380         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20381         (cosh_downward_test_data): New variable.
20382         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20383         (cosh_upward_test_data): New variable.
20384         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20385         (erf_test_data): New variable.
20386         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20387         (erfc_test_data): New variable.
20388         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20389         (exp_test_data): New variable.
20390         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20391         (exp_tonearest_test_data): New variable.
20392         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20393         (exp_towardzero_test_data): New variable.
20394         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20395         (exp_downward_test_data): New variable.
20396         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20397         (exp_upward_test_data): New variable.
20398         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20399         (exp10_test_data): New variable.
20400         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20401         (exp2_test_data): New variable.
20402         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20403         (expm1_test_data): New variable.
20404         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20405         (fabs_test_data): New variable.
20406         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20407         (floor_test_data): New variable.
20408         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20409         (j0_test_data): New variable.
20410         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20411         (j1_test_data): New variable.
20412         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20413         (log_test_data): New variable.
20414         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20415         (log10_test_data): New variable.
20416         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20417         (log1p_test_data): New variable.
20418         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20419         (log2_test_data): New variable.
20420         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20421         (logb_test_data): New variable.
20422         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20423         (logb_downward_test_data): New variable.
20424         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20425         (nearbyint_test_data): New variable.
20426         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20427         (rint_test_data): New variable.
20428         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20429         (rint_tonearest_test_data): New variable.
20430         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20431         (rint_towardzero_test_data): New variable.
20432         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20433         (rint_downward_test_data): New variable.
20434         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20435         (rint_upward_test_data): New variable.
20436         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20437         (round_test_data): New variable.
20438         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20439         (sin_test_data): New variable.
20440         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20441         (sin_tonearest_test_data): New variable.
20442         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20443         (sin_towardzero_test_data): New variable.
20444         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20445         (sin_downward_test_data): New variable.
20446         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20447         (sin_upward_test_data): New variable.
20448         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20449         (sinh_test_data): New variable.
20450         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20451         (sinh_tonearest_test_data): New variable.
20452         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20453         (sinh_towardzero_test_data): New variable.
20454         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20455         (sinh_downward_test_data): New variable.
20456         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20457         (sinh_upward_test_data): New variable.
20458         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20459         (sqrt_test_data): New variable.
20460         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20461         (tan_test_data): New variable.
20462         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20463         (tan_tonearest_test_data): New variable.
20464         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20465         (tan_towardzero_test_data): New variable.
20466         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20467         (tan_downward_test_data): New variable.
20468         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20469         (tan_upward_test_data): New variable.
20470         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20471         (tanh_test_data): New variable.
20472         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20473         (tgamma_test_data): New variable.
20474         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20475         (trunc_test_data): New variable.
20476         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20477         (y0_test_data): New variable.
20478         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20479         (y1_test_data): New variable.
20480         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20481         (significand_test_data): New variable.
20482         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20483
20484 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20485
20486         [BZ #12387]
20487         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20488
20489 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20490
20491         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20492
20493 2013-05-10  Andreas Jaeger  <aj@suse.de>
20494
20495         [BZ #15448]
20496         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20497         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20498
20499 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20500
20501         * math/gen-libm-test.pl (adjust_arg): New function.
20502         (special_functions): Handle generating output in both functions
20503         and arrays.
20504         (parse_args): Likewise.
20505         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20506         $in_func argument to parse_args.
20507         * math/libm-test.inc (struct test_f_f_data): New type.
20508         (IF_ROUND_INIT_): New macro.
20509         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20510         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20511         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20512         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20513         (ROUND_RESTORE_): Likewise.
20514         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20515         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20516         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20517         (ROUND_RESTORE_FE_UPWARD): Likewise.
20518         (RUN_TEST_LOOP_f_f): New macro.
20519         (acos_test_data): New variable.
20520         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20521         (acos_tonearest_test_data): New variable.
20522         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20523
20524 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20525
20526         * benchtests/bench-skeleton.c (startup): Fix coding style.
20527
20528 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20529
20530         [BZ #6809]
20531         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20532         negative infinity argument.
20533         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20534         negative infinity argument.
20535         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20536         negative infinity argument.
20537         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20538         domain errors.
20539
20540 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20541
20542         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20543         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20544         * iconv/iconv_prog.c (main): Likewise.
20545         * locale/programs/charmap-dir.c (charmap_readdir)
20546         (fopen_uncompressed): Likewise.
20547         * locale/programs/locfile.c (siblings_uncached)
20548         (write_locale_data): Use lstat64 instead of lstat.
20549         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20550         stat.
20551
20552 2013-05-10  Andreas Jaeger  <aj@suse.de>
20553
20554         [BZ #15395]
20555         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20556         localization.
20557         Include <locale.h>.
20558
20559 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20560
20561         * elf/dl-close.c (_dl_close_worker): Add comments.
20562
20563 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20564
20565         [BZ #15359]
20566         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20567         high part of pi/2.
20568         (__ieee754_rem_pio2l): Update comments.
20569
20570         [BZ #15429]
20571         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20572         high part of pi/2.
20573         (__ieee754_rem_pio2l): Update comments.
20574
20575         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20576         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20577
20578         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20579         M_PI_4l.
20580
20581         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20582         (M_PI_34_LOG10El): Likewise.
20583         (M_PI2_LOG10El): Likewise.
20584         (M_PI4_LOG10El): Likewise.
20585         (M_PI_LOG10El): Likewise.
20586
20587 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20588
20589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20590
20591 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20592
20593         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20594         (MINUS_ZERO_INIT): Likewise.
20595         (PLUS_INFTY_INIT): Likewise.
20596         (MINUS_INFTY_INIT): Likewise.
20597         (QNAN_VALUE_INIT): Likewise.
20598         (MAX_VALUE_INIT): Likewise.
20599         (MIN_VALUE_INIT): Likewise.
20600         (MIN_SUBNORM_VALUE_INIT): Likewise.
20601         (plus_zero): Initialize with PLUS_ZERO_INIT.
20602         (minus_zero): Initialize with MINUS_ZERO_INIT.
20603         (plus_infty): Initialize with PLUS_INFTY_INIT.
20604         (minus_infty): Initialize with MINUS_INFTY_INIT.
20605         (qnan_value): Initialize with QNAN_VALUE_INIT.
20606         (max_value): Initialize with MAX_VALUE_INIT.
20607         (min_value): Initialize with MIN_VALUE_INIT.
20608         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20609
20610         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20611         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20612         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20613         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20614
20615         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20616         (RUN_TEST_2_f): Likewise.
20617         (RUN_TEST_ff_f): Likewise.
20618         (RUN_TEST_fi_f): Likewise.
20619         (RUN_TEST_fl_f): Likewise.
20620         (RUN_TEST_fff_f): Likewise.
20621         (RUN_TEST_c_f): Likewise.
20622         (RUN_TEST_f_f1): Likewise.
20623         (RUN_TEST_fF_f1): Likewise.
20624         (RUN_TEST_fI_f1): Likewise.
20625         (RUN_TEST_ffI_f1): Likewise.
20626         (RUN_TEST_c_c): Likewise.
20627         (RUN_TEST_cc_c): Likewise.
20628         (RUN_TEST_f_i): Likewise.
20629         (RUN_TEST_f_i_tg): Likewise.
20630         (RUN_TEST_ff_i_tg): Likewise.
20631         (RUN_TEST_f_b): Likewise.
20632         (RUN_TEST_f_b_tg): Likewise.
20633         (RUN_TEST_f_l): Likewise.
20634         (RUN_TEST_f_L): Likewise.
20635         (RUN_TEST_sincos): Likewise.
20636         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20637         whether to show exceptions.  Do not include ");\n" in return
20638         value.
20639         (special_functions): Output call to RUN_TEST_sincos instead of
20640         check_float calls.  Update calls to new_test.
20641         (parse_args): Output call to single RUN_TEST_* macro instead of
20642         check_* calls and other assignments.  Update calls to new_test.
20643
20644         [BZ #2546]
20645         [BZ #2560]
20646         [BZ #5159]
20647         [BZ #15426]
20648         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20649         input to result for tgamma overflow.
20650         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20651         (gamma_coeff): New variable.
20652         (NCOEFF): New macro.
20653         (gamma_positive): New function.
20654         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20655         underflow here.  Use gamma_positive instead of exp (lgamma) for
20656         other arguments.
20657         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20658         (gamma_coeff): New variable.
20659         (NCOEFF): New macro.
20660         (gammaf_positive): New function.
20661         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20662         underflow here.  Use gamma_positive instead of exp (lgamma) for
20663         other arguments.
20664         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20665         (gamma_coeff): New variable.
20666         (NCOEFF): New macro.
20667         (gammal_positive): New function.
20668         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20669         underflow here.  Use gamma_positive instead of exp (lgamma) for
20670         other arguments.
20671         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20672         (gamma_coeff): New variable.
20673         (NCOEFF): New macro.
20674         (gammal_positive): New function.
20675         (__ieee754_gammal_r): Handle positive infinity, overflow and
20676         underflow here.  Handle NaN the same as positive infinity.  Remove
20677         check x < 0xffffffff for negative integers.  Use gamma_positive
20678         instead of exp (lgamma) for other arguments.
20679         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20680         (gamma_coeff): New variable.
20681         (NCOEFF): New macro.
20682         (gammal_positive): New function.
20683         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20684         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20685         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20686         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20687         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20688         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20689         * sysdeps/generic/math_private.h (__gamma_productf): New
20690         prototype.
20691         (__gamma_product): Likewise.
20692         (__gamma_productl): Likewise.
20693         * math/Makefile (libm-calls): Add gamma_product.
20694         * math/libm-test.inc (tgamma_test): Add more tests.
20695         * sysdeps/i386/fpu/libm-test-ulps: Update.
20696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20697
20698 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20699
20700         * benchtests/bench-skeleton.c (main): Preheat CPU.
20701
20702 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20703
20704         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20705
20706 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20707
20708         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20709         and _dl_skip_args_internal.
20710
20711 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20712
20713         * manual/message.texi (Message Translation): Talk about users.
20714         Message to key mapping impacts design.
20715
20716 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20717
20718         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20719
20720         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20721
20722         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20723         * sysdeps/wordsize-64/glob64.c: ... here.
20724
20725         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20726         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20727         New macros.
20728
20729         * debug/getlogin_r_chk.c: Moved to ...
20730         * login/getlogin_r_chk.c: ... here.
20731         * debug/Makefile (routines): Move getlogin_r_chk to ...
20732         * login/Makefile (routines): ... here.
20733         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20734         * login/Versions (libc: GLIBC_2.4): ... here.
20735
20736         * io/poll.c (__poll): Renamed from poll.
20737         Add libc_hidden_def.
20738         (poll): Define as weak alias.
20739
20740         * debug/ptsname_r_chk.c: Moved to ...
20741         * login/ptsname_r_chk.c: ... here.
20742         * debug/Makefile (routines): Move ptsname_r_chk to ...
20743         * login/Makefile (routines): ... here.
20744         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20745         * login/Versions (libc: GLIBC_2.4): ... here.
20746
20747         * posix/getlogin.c: Moved to ...
20748         * login/getlogin.c: ... here.
20749         * posix/getlogin_r.c: Moved to ...
20750         * login/getlogin_r.c: ... here.
20751         * posix/getlogin_r.c: Moved to ...
20752         * login/getlogin_r.c: ... here.
20753         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20754         * login/Makefile (routines): ... here.
20755         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20756         * login/Versions (libc: GLIBC_2.0): ... here.
20757
20758         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20759         (setrlimit): Define as weak alias.
20760
20761         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20762         Call __ names for open, ftruncate, and close.
20763         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20764         (truncate): Define as weak alias.
20765
20766 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20767
20768         * math/gen-libm-test.pl (parse_args): Initialize x before each
20769         test of frexp, modf and remquo.
20770
20771         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20772         test signgam value.
20773
20774 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20775
20776         [BZ #15418]
20777         [BZ #15419]
20778         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20779         internal tests.
20780         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20781
20782 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20783
20784         * elf/dl-writev.h: New file.
20785         * elf/dl-misc.c: Include it.
20786         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20787         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20788
20789 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20790
20791         * math/libm-test.inc (noXFails): Remove variable.
20792         (noXPasses): Likewise.
20793         (BUILD_COMPLEX_INT): Remove macro.
20794         (print_screen): Remove xfail argument.
20795         (print_screen_max_error): Likewise.
20796         (update_stats): Likewise.
20797         (print_max_error): Likewise.  Update calls to other affected
20798         functions.
20799         (print_complex_max_error): Likewise.
20800         (test_single_exception): Update calls to print_screen.
20801         (test_single_errno): Likewise.
20802         (check_float_internal): Remove xfail argument.  Update calls to
20803         other affected functions.
20804         (check_float): Likewise.
20805         (check_complex): Likewise.
20806         (check_int): Likewise.
20807         (check_long): Likewise.
20808         (check_bool): Likewise.
20809         (check_longlong): Likewise.
20810         (main): Don't print noXFails and noXPasses.
20811         * math/gen-libm-test.pl (top level): Don't mention expected
20812         failure handling in comment.
20813         (new_test): Don't handle expected failures.
20814         (parse_args): Don't mention expected failure handling in comment.
20815         (generate_testfile): Don't handle expected failures.
20816         (parse_ulps): Likewise.
20817         (print_ulps_file): Likewise.
20818         (get_failure): Remove function.
20819         (output_test): Don't handle expected failures.
20820         * make/README.libm-test: Don't mention expected failure handling.
20821
20822         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20823         (minus_zero): Likewise.
20824         (plus_infty): Likewise.
20825         (minus_infty): Likewise.
20826         (qnan_value): Likewise.
20827         (max_value): Likewise.
20828         (min_value): Likewise.
20829         (min_subnorm_value): Likewise.
20830         (initialize): Do not initialize those variables dynamically.
20831
20832 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20833
20834         * io/open.c (__open_2): Moved to ...
20835         * io/open_2.c: ... this new file.
20836         * io/open64.c (__open64_2): Moved to ...
20837         * io/open64_2.c: ... this new file.
20838         * io/openat.c (__openat_2): Moved to ...
20839         * io/openat_2.c: ... this new file.
20840         * io/openat64.c (__openat64_2): Moved to ...
20841         * io/openat64_2.c: ... this new file.
20842         * io/Makefile (routines): Add them.
20843         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20844         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20845         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20846         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20847         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20848         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20849         (__openat64): Add hidden_ver.
20850         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20851         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20852
20853         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20854         Separately conditionalize setting of GLRO(dl_sysinfo) so
20855         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20856         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20857
20858 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20859
20860         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20861         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20862         definition.
20863         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20864         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20865         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20866         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20867         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20868
20869 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20870
20871         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20872         test signgam value.
20873
20874         * math/libm-test.inc (hypot_test): Do not use
20875         IGNORE_ZERO_INF_SIGN.
20876
20877 2013-05-03  Andreas Jaeger  <aj@suse.de>
20878
20879         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20880         Linux 3.9.
20881         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20882         (PF_MAX): Adjust for VSOCK change.
20883
20884 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20885
20886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20887
20888 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20889
20890         [BZ #15264]
20891         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20892         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20893         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20894
20895 2013-05-02  David S. Miller  <davem@davemloft.net>
20896
20897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20898
20899 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20900
20901         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20902
20903 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20904
20905         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20906
20907 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20908
20909         [BZ #14952]
20910         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20911         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20912         Use __attribute__ ((__gnu_inline__)).
20913         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20914         Don't use __attribute__ ((__gnu_inline__)).
20915
20916 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20917
20918         [BZ #15423]
20919         * math/s_catan.c (__catan): Handle small real or imaginary part of
20920         input specially to avoid spurious underflow.
20921         * math/s_catanf.c (__catanf): Likewise.
20922         * math/s_catanh.c (__catanh): Likewise.
20923         * math/s_catanhf.c (__catanhf): Likewise.
20924         * math/s_catanhl.c (__catanhl): Likewise.
20925         * math/s_catanl.c (__catanl): Likewise.
20926         * math/libm-test.inc (catan_test): Add more tests.
20927         (catanh_test): Likewise.
20928         * sysdeps/i386/fpu/libm-test-ulps: Update.
20929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20930
20931 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20932
20933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20934
20935 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20936
20937         [BZ #15416]
20938         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20939         accurately for denominator in atan2.
20940         * math/s_catanf.c (__catanf): Likewise.
20941         * math/s_catanh.c (__catanh): Likewise.
20942         * math/s_catanhf.c (__catanhf): Likewise.
20943         * math/s_catanhl.c (__catanhl): Likewise.
20944         * math/s_catanl.c (__catanl): Likewise.
20945         * math/libm-test.inc (catan_test): Add more tests.
20946         (catanh_test): Likewise.
20947         * sysdeps/i386/fpu/libm-test-ulps: Update.
20948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20949
20950 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20951
20952         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20953
20954         * benchtests/Makefile (bench): Remove slow benchmarks.
20955         * benchtests/atan-inputs: Add slow benchmark inputs.
20956         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20957         (BENCH_FUNC): Accept variant offset.
20958         (VARIANT): Define.
20959         * benchtests/bench-skeleton.c (main): Run benchmark for each
20960         variant.
20961         * benchtests/cos-inputs: Add slow benchmark inputs.
20962         * benchtests/exp-inputs: Likewise.
20963         * benchtests/pow-inputs: Likewise.
20964         * benchtests/sin-inputs: Likewise.
20965         * benchtests/slowatan-inputs: Remove.
20966         * benchtests/slowatan.c: Remove.
20967         * benchtests/slowcos-inputs: Remove.
20968         * benchtests/slowcos.c: Remove.
20969         * benchtests/slowexp-inputs: Remove.
20970         * benchtests/slowexp.c: Remove.
20971         * benchtests/slowpow-inputs: Remove.
20972         * benchtests/slowpow.c: Remove.
20973         * benchtests/slowsin-inputs: Remove.
20974         * benchtests/slowsin.c: Remove.
20975         * benchtests/slowtan-inputs: Remove.
20976         * benchtests/slowtan.c: Remove.
20977         * benchtests/tan-inputs: Add slow benchmark inputs.
20978         * scripts/bench.pl: Parse comments and directives.
20979
20980         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20981         in CPPFLAGS.
20982         ($(objpfx)bench-%.c): Remove *-ITER.
20983         * benchtests/bench-modf.c: Remove definition of ITER.
20984         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20985         (main): Loop for DURATION seconds instead of fixed number of
20986         iterations.
20987         * scripts/bench.pl: Don't expect iterations in parameters.
20988
20989 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20990
20991         * io/fchdir.c (__fchdir): Renamed from fchdir.
20992         (fchdir): Define as weak alias.
20993
20994 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20995
20996         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20997         (ERRNO_EDOM): Likewise.
20998         (ERRNO_ERANGE): Likewise.
20999         (noErrnoTests): New variable.
21000         (init_max_error): Set errno to 0.
21001         (test_single_errno): New function.
21002         (test_errno): Likewise.
21003         (check_float_internal): Call test_errno.  Set errno to 0.
21004         (check_complex): Refer to errno tests in comment.
21005         (check_int): Call test_errno.  Set errno to 0.
21006         (check_long): Likewise.
21007         (check_bool): Likewise.
21008         (check_longlong): Likewise.
21009         (cos_test): Use ERRNO_* flags for errno tests instead of
21010         check_int.
21011         (expm1_test): Likewise.
21012         (fmod_test): Likewise.
21013         (ilogb_test): Likewise.
21014         (lgamma_test): Likewise.
21015         (pow_test): Likewise.
21016         (remainder_test): Likewise.
21017         (sin_test): Likewise.
21018         (tan_test): Likewise.
21019         (yn_test): Likewise.
21020         (initialize): Set errno to 0.
21021         (main): Print number of errno tests.
21022         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21023
21024 2013-04-29  Andreas Jaeger  <aj@suse.de>
21025
21026         [BZ #15084]
21027         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21028         and RES_USEVC.
21029
21030         [BZ #15085]
21031         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21032         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21033         unimplemented.
21034
21035         [BZ #15380]
21036         * stdlib/random.c (__initstate): Return NULL if
21037         __initstate fails.
21038
21039         [BZ #15086]
21040         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21041         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21042         RES_SNGLKUPREOP.
21043
21044 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21045
21046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21047
21048 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21049
21050         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21051         of individual tests.
21052         (casin_test): Likewise.
21053         (casinh_test): Likewise.
21054
21055 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21056
21057         [BZ #15409]
21058         * math/s_catan.c (__catan): Handle arguments with large real or
21059         imaginary part separately without squaring.
21060         * math/s_catanf.c (__catanf): Likewise.
21061         * math/s_catanh.c (__catanh): Likewise.
21062         * math/s_catanhf.c (__catanhf): Likewise.
21063         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21064         and redefine.
21065         (__catanhl): Handle arguments with large real or imaginary part
21066         separately without squaring.
21067         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21068         and redefine.
21069         (__catanl): Handle arguments with large real or imaginary part
21070         separately without squaring.
21071         * math/libm-test.inc (catan_test): Add more tests.
21072         (catanh_test): Likewise.
21073         * sysdeps/i386/fpu/libm-test-ulps: Update.
21074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21075
21076 2013-04-27  Andreas Jaeger  <aj@suse.de>
21077
21078         [BZ #15007]
21079         * stdlib/stdlib.h: Update guards for qecvt.
21080         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21081         <stdlib.h>.
21082
21083 2013-04-27  Allan McRae  <allan@archlinux.org>
21084
21085         * sysdeps/i386/fpu/libm-test-ulps: Update.
21086
21087 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21088
21089         [BZ #15406]
21090         * math/s_catan.c: Include <float.h>.
21091         (__catan): Ensure underflow exception occurs for underflowed
21092         result.
21093         * math/s_catanf.c: Include <float.h>.
21094         (__catanf): Ensure underflow exception occurs for underflowed
21095         result.
21096         * math/s_catanh.c: Include <float.h>.
21097         (__catanh): Ensure underflow exception occurs for underflowed
21098         result.
21099         * math/s_catanhf.c: Include <float.h>.
21100         (__catanhf): Ensure underflow exception occurs for underflowed
21101         result.
21102         * math/s_catanhl.c: Include <float.h>.
21103         (__catanhl): Ensure underflow exception occurs for underflowed
21104         result.
21105         * math/s_catanl.c: Include <float.h>.
21106         (__catanl): Ensure underflow exception occurs for underflowed
21107         result.
21108         * math/libm-test.inc (catan_test): Add more tests.
21109         (catanh_test): Likewise.
21110
21111         [BZ #15405]
21112         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21113         underflowed result.
21114         * math/s_ccoshf.c (__ccoshf): Likewise.
21115         * math/s_ccoshl.c (__ccoshl): Likewise.
21116         * math/s_csin.c (__csin): Likewise.
21117         * math/s_csinf.c (__csinf): Likewise.
21118         * math/s_csinh.c (__csinh): Likewise.
21119         * math/s_csinhf.c (__csinhf): Likewise.
21120         * math/s_csinhl.c (__csinhl): Likewise.
21121         * math/s_csinl.c (__csinl): Likewise.
21122         * math/libm-test.inc (ccos_test): Add more tests.
21123         (ccosh_test): Likewise.
21124         (csin_test): Likewise.
21125         (csinh_test): Likewise.
21126
21127 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21128
21129         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21130         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21131         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21132         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21133         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21134         powerpc/power5+/fpu folders.
21135         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21136
21137
21138 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21139
21140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21141
21142 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21143
21144         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21145         additions to variable.
21146         [$(config-machine) = x86_64] (modules-names): Likewise.
21147         ($(objpfx)tst-audit3): Remove dependency.
21148         ($(objpfx)tst-audit3.out): Likewise.
21149         ($(objpfx)tst-audit4): Likewise.
21150         ($(objpfx)tst-audit4.out): Likewise.
21151         ($(objpfx)tst-audit5): Likewise.
21152         ($(objpfx)tst-audit5.out): Likewise.
21153         ($(objpfx)tst-audit6): Likewise.
21154         ($(objpfx)tst-audit6.out): Likewise.
21155         ($(objpfx)tst-audit7): Likewise.
21156         ($(objpfx)tst-audit7.out): Likewise.
21157         (tst-audit3-ENV): Remove variable.
21158         (tst-audit4-ENV): Likewise.
21159         (tst-audit5-ENV): Likewise.
21160         (tst-audit6-ENV): Likewise.
21161         (tst-audit7-ENV): Likewise.
21162         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21163         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21164         addition to variable.
21165         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21166         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21167         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21168         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21169         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21170         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21171         tst-audit3, tst-audit4 and tst-audit5.
21172         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21173         tst-audit6 and tst-audit7.
21174         [$(subdir) = elf] (modules-names): Add audit modules for those
21175         tests.
21176         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21177         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21178         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21179         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21180         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21181         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21182         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21183         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21184         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21185         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21186         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21187         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21188         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21189         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21190         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21191         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21192         Likewise.
21193         [$(subdir) = elf && $(config-cflags-avx) = yes]
21194         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21195         [$(subdir) = elf && $(config-cflags-avx) = yes]
21196         (CFLAGS-tst-auditmod4a.c): Likewise.
21197         [$(subdir) = elf && $(config-cflags-avx) = yes]
21198         (CFLAGS-tst-auditmod4b.c): Likewise.
21199         [$(subdir) = elf && $(config-cflags-avx) = yes]
21200         (CFLAGS-tst-auditmod6b.c): Likewise.
21201         [$(subdir) = elf && $(config-cflags-avx) = yes]
21202         (CFLAGS-tst-auditmod6c.c): Likewise.
21203         [$(subdir) = elf && $(config-cflags-avx) = yes]
21204         (CFLAGS-tst-auditmod7b.c): Likewise.
21205         * elf/tst-audit3.c: Move to ...
21206         * sysdeps/x86_64/tst-audit3.c: ... here.
21207         * elf/tst-audit4.c: Move to ...
21208         * sysdeps/x86_64/tst-audit4.c: ... here.
21209         * elf/tst-audit5.c: Move to ...
21210         * sysdeps/x86_64/tst-audit5.c: ... here.
21211         * elf/tst-audit6.c: Move to ...
21212         * sysdeps/x86_64/tst-audit6.c: ... here.
21213         * elf/tst-audit7.c: Move to ...
21214         * sysdeps/x86_64/tst-audit7.c: ... here.
21215         * elf/tst-auditmod3a.c: Move to ...
21216         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21217         * elf/tst-auditmod3b.c: Move to ...
21218         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21219         * elf/tst-auditmod4a.c: Move to ...
21220         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21221         * elf/tst-auditmod4b.c: Move to ...
21222         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21223         * elf/tst-auditmod5a.c: Move to ...
21224         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21225         * elf/tst-auditmod5b.c: Move to ...
21226         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21227         * elf/tst-auditmod6a.c: Move to ...
21228         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21229         * elf/tst-auditmod6b.c: Move to ...
21230         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21231         * elf/tst-auditmod6c.c: Move to ...
21232         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21233         * elf/tst-auditmod7a.c: Move to ...
21234         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21235         * elf/tst-auditmod7b.c: Move to ...
21236         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21237
21238 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21239
21240         [BZ #15366]
21241         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21242         define unconditionally.
21243         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21244         define unconditionally.
21245         (INT8_C, INT16_C, etc.): Likewise.
21246
21247 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21248
21249         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21250         __ehdr_start with hidden visibility.
21251
21252         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21253
21254 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21255
21256         * math/libm-test.inc (cos_test): Use accurate hex constants.
21257         (sincost_test): Likewise.
21258
21259 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21260
21261         * math/libm-test.inc (catan_test): Add more tests.
21262         (catanh_test): Likewise.
21263
21264         * math/s_catanf.c (__catanf): Use suffixed floating-point
21265         constants.
21266         * math/s_catanhf.c (__catanhf): Likewise.
21267         * math/s_catanhl.c (__catanhl): Likewise.
21268         * math/s_catanl.c (__catanl): Likewise.
21269
21270         [BZ #15394]
21271         * math/s_catan.c (__catan): Calculate imaginary part of result
21272         with log1p not log unless computing log of number close to 0.
21273         * math/s_catanf.c (__catanf): Likewise.
21274         * math/s_catanl.c (__catanl): Likewise.
21275         * math/s_catanh.c (__catanh): Calculate real part of result with
21276         log1p not log unless computing log of number close to 0.
21277         * math/s_catanhf.c (__catanhf): Likewise.
21278         * math/s_catanhl.c (__catanhl): Likewise.
21279         * math/libm-test.inc (catan_test): Add more tests.
21280         (catanh_test): Likewise.
21281         * sysdeps/i386/fpu/libm-test-ulps: Update.
21282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21283
21284 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21285
21286         * benchtests/Makefile: Mention files in which fast and slow
21287         paths of math functions are implemented.
21288
21289 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21290
21291         * sysdeps/posix/timespec_get.c: New file.
21292
21293 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21294
21295         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21296         POWER.
21297         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21298         for POWER.
21299         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21300         powerpc/power5/fpu folders.
21301         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21302         * benchtests/Makefile: Add modf testcase.
21303         * benchtests/bench-modf.c: New file: Benchmark test for mo
21304
21305 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21306
21307         [BZ #14888]
21308         * time/Makefile (tests): Add tst-strptime-whitespace.
21309         * time/strptime_l.c (get_number): Use ISSPACE.
21310         (__strptime_internal): Likewise.
21311         * time/tst-strptime-whitespace.c: New test case.
21312
21313 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21314
21315         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21316         member.
21317         (_nss_files_init): Set it here.
21318
21319 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21320
21321         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21322         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21323         unsigned.
21324
21325 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21326
21327         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21328
21329 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21330
21331         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21332         size just once.
21333
21334 2013-04-21  David S. Miller  <davem@davemloft.net>
21335
21336         * po/ru.po: Update Russion translation from translation project.
21337
21338 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21339
21340         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21341         and setfsgid.
21342
21343 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21344
21345         * configure.in: Remove i386 configure warning. Remove i386 case.
21346         * configure: Regenerate.
21347         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21348         Add example to error message.
21349         * sysdeps/i386/configure: Regenerate.
21350
21351 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21352
21353         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21354         slowtan.
21355         * benchtests/cos-inputs: New file.
21356         * benchtests/slowcos-inputs: New file.
21357         * benchtests/slowcos.c: New file.
21358         * benchtests/slowtan-inputs: New file.
21359         * benchtests/slowtan.c: New file.
21360         * benchtests/tan-inputs: New file.
21361
21362 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21363
21364         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21365         considered kosher.
21366
21367 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21368
21369         * benchtests/Makefile: Include cppflags-iterator.mk to add
21370         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21371
21372         * Makefile.in (bench-clean): New target.
21373         * benchtests/Makefile (bench-clean): Likewise.
21374
21375 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21376
21377         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21378
21379 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21380
21381         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21382
21383 2013-04-15  Andreas Schwab  <schwab@suse.de>
21384
21385         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21386         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21387         * nscd/pwdcache.c (cache_addpw): Likewise.
21388         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21389         more than recsize.
21390
21391 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21392
21393         * benchtests/Makefile (bench): Write all output to
21394         bench-out.tmp together.
21395
21396 2013-04-15  Andreas Schwab  <schwab@suse.de>
21397
21398         * nscd/nscd.c (main): Don't fork again after closing files.
21399
21400 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21401
21402         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21403
21404         * benchtests/Rules (bench-deps): Collect dependencies into a
21405         single variable.  Add Makefile to dependencies.
21406         ($(objpfx)bench-%.c): Depend on bench-deps.
21407
21408 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21409             Xavier Roche  <roche+kml2@exalead.com>
21410
21411         [BZ #15361]
21412         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21413         just that it's a file descriptor.
21414         * manual/llio.texi (Synchronizing AIO Operations): Update description
21415         for EBADF error from aio_fsync.
21416
21417 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21418
21419         * Rules (bench): Move target definition...
21420         * benchtests/Makefile: ... here.
21421
21422 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21423
21424         * math/libm-test.inc (cos_test): Fix PI/2 test.
21425         (sincos_test): Likewise.
21426         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21427         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21428
21429 2013-04-11  Andreas Schwab  <schwab@suse.de>
21430
21431         [BZ #13988]
21432         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21433         accept exponent character only when digits were seen.
21434         * stdio-common/Makefile (tests): Add bug26.
21435         * stdio-common/bug26.c: New file.
21436
21437         [BZ #14293]
21438         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21439         non-freeable.
21440
21441 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21442
21443         * Makeconfig (rtld-prefix): Define built linker prefix.
21444         * Rules (run-bench): Use it.
21445         * math/Makefile (run-regen-ulps): Likewise.
21446
21447         * Rules (bench): Remove eval.
21448
21449 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21450             Roland McGrath  <roland@hack.frob.com>
21451             Ondrej Bilka  <neleai@seznam.cz>
21452
21453         [BZ #15346]
21454         * time/getdate.c: Include ctype.h and alloca.h.
21455         (__getdate_r): Trim leading and trailing spaces of input.
21456         * time/tst-getdate.c (tests): Add tests with leading and
21457         trailing spaces.
21458
21459 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21460
21461         [BZ #14280]
21462         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21463         when computing value.
21464
21465 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21466
21467         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21468         Use testrun.sh to run libm tests.
21469
21470         [BZ #15309]
21471         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21472
21473 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21474
21475         [BZ #15264]
21476         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21477
21478 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21479
21480         * Makefile.in (regen-ulps): New target.
21481         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21482         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21483         [ifneq (no,$(PERL)] (regen-ulps): New target.
21484         [ifeq (no,$(PERL)] (regen-ulps): New target.
21485         * math/libm-test.inc (ulps_file_name): Define.
21486         (output_dir): New variable.
21487         (options): Add "output-dir" option.
21488         (parse_opt): Handle 'o' case.
21489         (main): If output_dir is non-NULL use it as a prefix
21490         otherwise use "".
21491         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21492
21493 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21494
21495         [BZ #10060, #10062]
21496         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21497         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21498         fail configure if __sync_val_compare_and_swap is not inlined.
21499         * sysdeps/i386/configure: Regenerate.
21500         * configure.in: Build for i686 when configured for i386.
21501         * configure: Regenerate.
21502         * README: Remove i386 reference.
21503
21504 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21505
21506         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21507         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21508
21509 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21510
21511         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21512         (lmsnanval): New variables.
21513         (F): Add conversion tests.
21514         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21515         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21516
21517         * stdio-common/tstdiomisc.c (F): Properly collect individual
21518         tests' results.
21519
21520         [BZ #14686, #15336]
21521         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21522         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21523         Instead, use input NaN values or generate a qNaN by arithmetic
21524         operation.  Also fix bugs to comply with the standard.
21525         * math/libm-test.inc (remainder_test): Add more tests.
21526
21527         [BZ #15335, #15342]
21528         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21530         input NaN values or generate a qNaN by arithmetic operation.
21531
21532         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21533         unreachable code.
21534
21535         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21536         definitions.
21537
21538 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21539
21540         [BZ #14478]
21541         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21542         underflowed result.
21543         * math/s_cexpf.c (__cexpf): Likewise.
21544         * math/s_cexpl.c (__cexpl): Likewise.
21545         * math/libm-test.inc (cexp_test): Add more tests.
21546
21547 2013-04-03  Andreas Schwab  <schwab@suse.de>
21548
21549         [BZ #15330]
21550         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21551         order arrays from heap if bigger than alloca cutoff.
21552
21553 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21554
21555         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21556         (SNAN_TESTS_double): Refer to GCC PR56831.
21557         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21558         GCC PR56828.
21559
21560 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21561
21562         * Rules (bench): Move bench.out after the run is complete.
21563
21564         * Rules (bench): Echo currently running benchmark.
21565
21566         * benchtests/Makefile (bench): Add atan and slowatan.
21567         * benchtests/atan-inputs: New file.
21568         * benchtests/slowatan-inputs: New file.
21569         * benchtests/slowatan.c: New file.
21570
21571         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21572         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21573         its value.
21574
21575         [BZ #15305]
21576         * sysdeps/unix/sysv/linux/kernel-features.h
21577         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21578         __ASSUME_XFS_RESTRICTED_CHOWN.
21579         * sysdeps/unix/sysv/linux/pathconf.c
21580         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21581         Save and restore errno.
21582
21583 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21584
21585         [BZ #15327]
21586         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21587         arguments using __kernel_casinh.
21588         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21589         arguments using __kernel_casinhf.
21590         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21591         arguments using __kernel_casinhl.
21592         * math/libm-test.inc (cacosh_test): Add more tests.
21593         * sysdeps/i386/fpu/libm-test-ulps: Update.
21594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21595
21596 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21597
21598         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21600
21601         * bench/Makefile (bench): Add sin and slowsin.
21602         * benchtests/sin-inputs: New file.
21603         * benchtests/slowsin-inputs: New file.
21604         * benchtests/slowsin.c: New file.
21605
21606         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21607         (bench): Add slowexp and slowpow.
21608         (exp-ITER): Increase iterations.
21609         (pow-ITER): Likewise.
21610         * benchtests/exp-inputs: Change input.
21611         * benchtests/pow-inputs: Likewise.
21612         * benchtests/slowexp-inputs: New file.
21613         * benchtests/slowexp.c: New file.
21614         * benchtests/slowpow-inputs: New file.
21615         * benchtests/slowpow.c: New file.
21616
21617 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21618
21619         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21620         instructions.
21621         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21622         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21623         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21624         * benchtests/Makefile: Add rint benchtest.
21625         * benchtests/rint-inputs: Input for rint benchtest.
21626
21627 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21628
21629         * Versions.def (libm): Add GLIBC_2.18.
21630         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21631         hidden libm prototypes.
21632         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21633         * math/Makefile (libm-calls): Add s_issignaling.
21634         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21635         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21636         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21637         declaration.
21638         * math/math.h [__USE_GNU] (issignaling): New macro.
21639         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21640         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21641         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21642         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21643         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21644         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21645         * manual/arith.texi (issignaling): New section.
21646         * manual/libm-err-tab.pl (@all_functions): Update comment.
21647         * math/gen-libm-test.pl (parse_args): Apply special handling for
21648         issignaling.
21649         * math/libm-test.inc (print_float, issignaling_test): New
21650         functions.
21651         (check_float_internal): Add issignaling checks.
21652         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21653         default definition.
21654         * sysdeps/powerpc/math-tests.h: New file.
21655         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21656         tests.
21657         * math/test-snan.c (TEST_FUNC): Likewise.
21658
21659 2013-03-30  David S. Miller  <davem@davemloft.net>
21660
21661         * po/de.po: Update from translation team.
21662
21663 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21664
21665         [BZ #10357]
21666         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21667         imaginary part less than 1.0 and real part less than 0.5
21668         specially.
21669         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21670         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21671         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21672         (cacos_test): Add more tests.
21673         (casin_test): Likewise.
21674         (casinh_test): Likewise.
21675         * sysdeps/i386/fpu/libm-test-ulps: Update.
21676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21677
21678 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21679
21680         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21681         ONE with its value.
21682
21683         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21684         (__pow_mp): Replace ONE and MONE with their values.
21685         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21686         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21687         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21688         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21689         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21690         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21691
21692         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21693
21694         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21695         (__pow_mp): Replace ZERO and MZERO with their values.
21696         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21697         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21698         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21700         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21701         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21702         (__sqr): Likewise.
21703
21704         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21705
21706         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21707
21708 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21709
21710         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21711         Declare with __attribute__ ((weak)).
21712         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21713         Call __call_tls_dtors only if it's not NULL.
21714
21715 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21716
21717         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21718         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21719         magic __ehdr_start linker symbol if it's defined.
21720         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21721         them up here if it was already done.
21722
21723         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21724         (_dl_aux_init): Use const in cast when setting it.
21725         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21726         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21727         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21728
21729         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21730         Declare them here.
21731         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21732         * csu/libc-tls.c: Nor here.
21733         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21734
21735         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21736         (__libc_message): Never call vsyslog.
21737
21738 2013-03-28  Alan Modra  <amodra@gmail.com>
21739
21740         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21741         Define as empty.
21742         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21743         Likewise.
21744
21745 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21746
21747         [BZ #15214]
21748         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21749         underflow.
21750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21751
21752 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21753
21754         [BZ #15304]
21755         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21756         Don't add gid passed as argument.
21757
21758         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21759
21760 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21761
21762         [BZ #15307]
21763         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21764         imaginary part between 1.0 and 1.5 and real part less than 0.5
21765         specially.
21766         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21767         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21768         * math/libm-test.inc (cacos_test): Add more tests.
21769         (casin_test): Likewise.
21770         (casinh_test): Likewise.
21771         * sysdeps/i386/fpu/libm-test-ulps: Update.
21772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21773
21774 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21775
21776         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21777         constants.
21778         (norm): Likewise.
21779         (denorm): Likewise.
21780         (__dbl_mp): Likewise.
21781         (add_magnitudes): Likewise.
21782         (sub_magnitudes): Likewise.
21783         (__add): Likewise.
21784         (__sub): Likewise.
21785         (__mul): Likewise.
21786         (__sqr): Likewise.
21787         (__inv): Likewise.
21788         (__dvd): Likewise.
21789
21790         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21791         commented code.
21792         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21793         (__dubcos): Likewise.
21794         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21795         (__ieee754_acos): Likewise.
21796         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21797         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21798         (__exp1): Likewise.
21799         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21800         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21801         (log1): Likewise.
21802         (my_log2): Likewise.
21803         (checkint): Likewise.
21804         * sysdeps/ieee754/dbl-64/e_remainder.c
21805         (__ieee754_remainder): Likewise.
21806         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21808         (bsloww): Likewise.
21809         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21810
21811         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21812         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21813         MANTISSA_STORE_T to store computations on mantissa.  Use
21814         macros for rounding and division.
21815         (denorm): Likewise.
21816         (__dbl_mp): Likewise.
21817         (add_magnitudes): Likewise.
21818         (sub_magnitudes): Likewise.
21819         (__mul): Likewise.
21820         (__sqr): Likewise.
21821         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21822         powers of two in terms of TWOPOW macro.
21823         (mp_no): Make type of mantissa as MANTISSA_T.
21824         [!RADIXI]: Define RADIXI.
21825         [!TWO52]: Define TWO52.
21826         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21827
21828 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21829
21830         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21831         llroundl symbol when building for PPC32.
21832
21833 2013-03-24  Mark H Weaver  <mhw@netris.org>
21834
21835         * manual/arith.texi (Normalization Functions): Fix prototypes for
21836         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21837
21838 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21839
21840         [BZ #13889]
21841         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21842         high value to check if expl overflow.
21843         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21844         to check for underflow and overflow.
21845         * math/libm-test.inc: Add exp test.
21846
21847 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21848
21849         [BZ #11120]
21850         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21851         with NOT_IN_libc.
21852
21853 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21854
21855         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21856         symbol.
21857
21858 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21859
21860         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21861         wrap blocks consisting of several statements.
21862
21863         * sysdeps/generic/math-tests.h: New file.
21864         * sysdeps/i386/fpu/math-tests.h: Likewise.
21865         * math/test-snan.c: Include it.
21866         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21867
21868 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21869
21870         [BZ #15285]
21871         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21872         (__ieee754_j0l): Do not improve calculations using cos of twice
21873         input for inputs above LDBL_MAX / 2.0L.
21874         (__ieee754_y0l): Likewise.
21875         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21876         (__ieee754_j1l): Do not improve calculations using cos of twice
21877         input for inputs above LDBL_MAX / 2.0L.
21878         (__ieee754_y1l): Likewise.
21879         * math/libm-test.inc (j0_test): Add another test.
21880         (j1_test): Likewise.
21881         (y0_test): Likewise.
21882         (y1_test): Likewise.
21883         * sysdeps/i386/fpu/libm-test-ulps: Update.
21884
21885 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21886
21887         * Rules ($(objpfx)bench-%.c): Include code from a C source
21888         file.
21889
21890 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21891
21892         [BZ #15287]
21893         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21894         imaginary part 1.0 and real part less than 0.5 specially.
21895         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21896         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21897         * math/libm-test.inc (cacos_test): Add more tests.
21898         (casin_test): Likewise.
21899         (casinh_test): Likewise.
21900         * sysdeps/i386/fpu/libm-test-ulps: Update.
21901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21902
21903 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21904
21905         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21906         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21907
21908 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21909
21910         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21911         * config.make.in (config-cflags-sse4): Remove variable.
21912         (config-cflags-avx): Likewise.
21913         (config-cflags-sse2avx): Likewise.
21914         (config-cflags-novzeroupper): Likewise.
21915         (config-asflags-i686): Likewise.
21916         (have-mfma4): Likewise.
21917         (have-as-vis3): Likewise.
21918         (MIG): Likewise.
21919         * configure.in (MIG): Do not AC_SUBST.
21920         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21921         (libc_cv_cc_sse4): Do not AC_SUBST.
21922         (libc_cv_cc_avx): Likewise.
21923         (libc_cv_cc_sse2avx): Likewise.
21924         (libc_cv_cc_novzeroupper): Likewise.
21925         (libc_cv_cc_fma4): Likewise.
21926         (libc_cv_as_i686): Likewise.
21927         (libc_cv_sparc_as_vis3): Likewise.
21928         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21929         LIBC_CONFIG_VAR.
21930         (config-asflags-i686): Likewise.
21931         (config-cflags-avx): Likewise.
21932         (config-cflags-sse2avx): Likewise.
21933         (have-mfma4): Likewise.
21934         (config-cflags-novzeroupper): Likewise.
21935         * sysdeps/mach/configure.in (MIG): Likewise.
21936         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21937         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21938         LIBC_CONFIG_VAR.
21939         (config-cflags-avx): Likewise.
21940         (config-cflags-sse2avx): Likewise.
21941         (have-mfma4): Likewise.
21942         (config-cflags-novzeroupper): Likewise.
21943         * configure: Regenerated.
21944         * sysdeps/i386/configure: Likewise.
21945         * sysdeps/mach/configure: Likewise.
21946         * sysdeps/sparc/configure: Likewise.
21947         * sysdeps/x86_64/configure: Likewise.
21948
21949 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21950
21951         [BZ #14812]
21952         * locale/programs/localedef.c (options): Put N_ translation marker
21953         on argument names, not just descriptions.
21954
21955 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21956
21957         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21958
21959 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21960
21961         [BZ #14176]
21962         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21963
21964 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21965
21966         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21967         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21968         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21969         [!BEFORE_ABORT] (before_abort): New function.
21970         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21971         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21972         (writev_for_fatal): New function.
21973         (WRITEV_FOR_FATAL): New macro; call that.
21974         (backtrace_and_maps): New function.
21975         (BEFORE_ABORT): New macro; call that.
21976         (struct str_list): Type removed.
21977         (__libc_message, __libc_fatal): Functions removed.
21978         Include <sysdeps/posix/libc_fatal.c> instead.
21979
21980 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21981
21982         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21983         constants.
21984         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21985         double constants.
21986
21987 2013-03-19  Andreas Schwab  <schwab@suse.de>
21988
21989         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21990         * sysdeps/gnu/configure: Regenerate.
21991
21992         * configure.in: Substitute libc_cv_rtlddir.
21993         * configure: Regenerate.
21994         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21995         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21996         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21997         * elf/Makefile (install-others, CFLAGS-interp.c)
21998         (ldso_install, common-ldd-rewrite): Likewise.
21999         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22000         $(inst_slibdir)/$(rtld-installed-name).
22001         * scripts/rellns-sh: Add -p option.
22002         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22003         for source.
22004
22005 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22006
22007         * manual/nptl.texi: Renamed to ...
22008         * manual/threads.texi: ... this.
22009         * manual/Makefile (chapters): Update.
22010
22011 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22012
22013         [BZ #14812]
22014         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22015         on argument names, not just descriptions.
22016         * malloc/memusagestat.c (options): Likewise.
22017         * nss/getent.c (options): Likewise.
22018
22019 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22020
22021         [BZ #14812]
22022         * iconv/iconv_prog.c (options): Put N_ translation marker
22023         on argument names, not just descriptions.
22024         * iconv/iconvconfig.c (options): Likewise.
22025
22026 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22027
22028         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22029         implementation which is faster on all x86_64 architectures.
22030         Tested on AMD, Intel Nehalem, SNB, IVB.
22031         * sysdeps/x86_64/strnlen.S: Likewise.
22032
22033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22034         Remove all multiarch strlen and strnlen versions.
22035         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22036         Remove strlen and strnlen related parts.
22037
22038         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22039         Inline strlen part.
22040         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22041
22042         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22043         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22044         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22045         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22046         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22047         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22048
22049 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22050
22051         * manual/memory.texi (Malloc Tunable Parameters):
22052         Sort parameters alphabetically. Add comments for missing entries.
22053
22054 2013-03-17  David S. Miller  <davem@davemloft.net>
22055
22056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22057
22058 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22059
22060         [BZ #15283]
22061         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22062         for arguments at most half maximum finite value.
22063         * math/libm-test.inc (j0_test): Add more tests.
22064         (j1_test): Likewise.
22065         (y0_test): Likewise.
22066         (y1_test): Likewise.
22067         * sysdeps/i386/fpu/libm-test-ulps: Update.
22068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22069
22070         [BZ #14155]
22071         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22072         1 / x and functions P and Q for arguments above 0x1p256L.
22073         (__ieee754_y0l): Likewise.
22074         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22075         (__ieee754_y1l): Likewise.
22076         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22077         (j1_test): Likewise.
22078         (y0_test): Likewise.
22079         (y1_test): Likewise.
22080
22081 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22082
22083         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22084         variable.
22085
22086 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22087
22088         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22089         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22090         zero since it's initialized to EXEC_PAGESIZE.
22091
22092         * sysdeps/unix/sysv/linux/ldsodefs.h
22093         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22094         * sysdeps/generic/ldsodefs.h: ... here.
22095
22096 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22097
22098         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22099
22100         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22101         math/test-snan.c.
22102         * math/test-snan.c: Renamed from
22103         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22104         * math/Makefile (tests): Add test-snan.
22105         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22106         test-powerpc-snan.
22107
22108         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22109         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22110         functions.
22111         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22112         __builtin_nan family of functions.
22113         * math/libm-test.inc (initialize): Initialize qnan_value with
22114         __builtin_nan family of functions.
22115         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22116         Remove variables.
22117         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22118         Remove functions.
22119         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22120         storage class.  Initialize qNaN_var and sNaN_var with
22121         __builtin_nan and __builtin_nans families of functions,
22122         respectively.
22123
22124         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22125         (sqrt_test): Remove duplicate test with qNaN input.
22126         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22127         (round_test, signbit_test, significand_test): Note missing +/-Inf
22128         as well as qNaN tests.
22129
22130         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22131         qNaN_var.  Fix a few strings, too.
22132         * math/libm-test.inc (nan_value): Rename to qnan_value.
22133         * math/gen-libm-test.pl (%beautify): Adjust to that.
22134         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22135         * math/test-misc.c (main): Likewise.
22136         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22137         to __qnan_bytes, and __qnan_union, respectively.
22138         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22139         Likewise.
22140         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22141         and lqnanval, respectively.
22142         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22143         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22144         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22145         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22146
22147         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22148         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22149         doubles.
22150
22151         * math/test-misc.c (main): Fix copy'n'pastos.
22152         * misc/tst-efgcvt.c (special): Likewise.
22153
22154         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22155         Remove declarations.
22156
22157 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22158
22159         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22160         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22161         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22162         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22163
22164 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22165
22166         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22167         macro to return vdso values correctly in IFUNC implementations.
22168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22169         Optimization by using IFUNC.
22170
22171 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22172             Richard Henderson  <rth@redhat.com>
22173             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22174
22175         * Makefile.in (bench): New target.
22176         * NEWS: Mention the benchmark framework.
22177         * Rules (bench): Likewise.
22178         (binaries-bench): Generate binaries for functions to
22179         benchmark.
22180         * benchtests/Makefile: New makefile for benchmark tests.
22181         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22182         programs.
22183         * benchtests/exp-inputs: New input file for EXP function.
22184         * benchtests/pow-inputs: New input file for POW function.
22185         * scripts/bench.pl: New script to generate source files for
22186         benchmark programs.
22187
22188 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22189
22190         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22191         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22192         computations on mantissa.  Use macros for rounding and
22193         division.
22194         (denorm): Likewise.
22195         (__dbl_mp): Likewise.
22196         (add_magnitudes): Likewise.
22197         (sub_magnitudes): Likewise.
22198         (__mul): Likewise.
22199         (__sqr): Likewise.
22200         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22201         powers of two in terms of TWOPOW macro.
22202         (mp_no): Make type of mantissa as MANTISSA_T.
22203         [!RADIXI]: Define RADIXI.
22204         [!TWO52]: Define TWO52.
22205         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22206
22207         * manual/nptl.texi (cindex): Modify threads to pthreads.
22208
22209 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22210
22211         * sysdeps/x86_64/preconfigure: Regenerated.
22212
22213 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22214
22215         [BZ #14155]
22216         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22217         0x1p28 and above.
22218         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22219         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22220         0x1p28 and above.
22221         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22222         * math/libm-test.inc (j0_test): Do not allow one spurious
22223         underflow exception.
22224         (y1_test): Likewise.
22225
22226 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22227
22228         * manual/Makefile (chapters): Add nptl.
22229         * manual/debug.texi (Debugging Support): Add link to Threads
22230         chapter.
22231         * manual/nptl.texi: New file.
22232
22233         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22234
22235 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22236
22237         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22238         for non-NULL pointer before the memory validity test. Pointed
22239         out by Holger Brunck <holger.brunck@keymile.com>.
22240
22241 2013-03-13  Andreas Schwab  <schwab@suse.de>
22242
22243         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22244         instead of .os.
22245
22246 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22247
22248         * timezone/zic.c: Update from tzcode 2013b.
22249
22250 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22251
22252         * manual/install.texi (Configuring and compiling):
22253         Mention i686 and i586.
22254         * INSTALL: Regenerate.
22255
22256 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22257
22258         * sysdeps/init_array/elf-init.c: New file.
22259         * csu/elf-init.c
22260         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22261         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22262
22263         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22264         __gmon_start__ as global, but as static with a .preinit_array pointer.
22265         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22266         * sysdeps/init_array/crti.S: New file, empty except for comments.
22267         * sysdeps/init_array/crtn.S: Likewise.
22268
22269 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22270
22271         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22272         definining bcopy.
22273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22274         Remove Prefer_SSE_for_memop.
22275         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22276         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22277         HAS_PREFER_SSE_FOR_MEMOP.
22278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22279         memset-x86-64.
22280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22281         Remove bzero, memset ifunc support.
22282         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22283         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22284         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22285         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22286
22287 2013-03-11  Andreas Schwab  <schwab@suse.de>
22288
22289         [BZ #15234]
22290         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22291         by SHLIB_COMPAT.
22292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22293         (GLIBC_2.16): Remove pthread_atfork.
22294
22295 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22296
22297         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22298         (ptestcases.h): Likewise.
22299
22300 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22301
22302         * Makeconfig ($(common-objpfx)config.status): Depend on
22303         sysdeps/*/preconfigure{,.in} too.
22304
22305 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22306
22307         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22308         (__free_hook): Use void * instead of __malloc_ptr_t.
22309         (__malloc_hook): Likewise.
22310         (__realloc_hook): Likewise.
22311         (__memalign_hook): Likewise.
22312         (__after_morecore_hook): Likewise.
22313         * malloc/arena.c (save_malloc_hook): Likewise.
22314         (save_free_hook): Likewise.
22315         * malloc/hooks.c (malloc_hook_ini): Likewise.
22316         (realloc_hook_ini): Likewise.
22317         (memalign_hook_ini): Likewise.
22318         * malloc/malloc.c (malloc_hook_ini): Likewise.
22319         (realloc_hook_ini): Likewise.
22320         (memalign_hook_ini): Likewise.
22321         (__free_hook): Likewise.
22322         (__malloc_hook): Likewise.
22323         (__realloc_hook): Likewise.
22324         (__memalign_hook): Likewise.
22325         (__libc_malloc): Likewise.
22326         (__libc_free): Likewise.
22327         (__libc_realloc): Likewise.
22328         (__libc_memalign): Likewise.
22329         (__libc_valloc): Likewise.
22330         (__libc_pvalloc): Likewise.
22331         (__libc_calloc): Likewise.
22332         (__posix_memalign): Likewise.
22333         * malloc/morecore.c (__sbrk): Likewise.
22334         (__default_morecore): Likewise.
22335
22336         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22337
22338         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22339         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22340         __malloc_ptrdiff_t.
22341
22342         * malloc/malloc.h (__malloc_size_t): Remove macro.
22343         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22344         __malloc_size_t.
22345         (old_memalign_hook): Likewise.
22346         (old_realloc_hook): Likewise.
22347         (struct hdr): Likewise.
22348         (flood): Likewise.
22349         (mallochook): Likewise.
22350         (memalignhook): Likewise.
22351         (reallochook): Likewise.
22352         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22353         (tr_old_realloc_hook): Likewise.
22354         (tr_old_memalign_hook): Likewise.
22355         (tr_mallochook): Likewise.
22356         (tr_reallochook): Likewise.
22357         (tr_memalignhook): Likewise.
22358
22359 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22360
22361         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22362         default_ldbl_pack and using as default implementation.
22363         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22364         implementation.
22365         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22366         redundant definition.
22367         (ldbl_insert_mantissa): Likewise.
22368         (ldbl_canonicalize): Likewise.
22369         (ldbl_nearbyint): Likewise.
22370         (ldbl_pack): Rename to ldbl_pack_ppc.
22371         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22372         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22373         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22374
22375 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22376
22377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22378         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22379         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22380         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22382         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22383         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22384         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22385
22386 2013-03-07  Andreas Jaeger  <aj@suse.de>
22387
22388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22389         bits/mman-linux.h.
22390
22391 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22392
22393         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22394         Include mpa.h and declare __MPEXP.
22395         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22396         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22397         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22398         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22399         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22400         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22401         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22402
22403         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22404         (__slowpow): Use long double EXPL and LOGL functions to
22405         compute POW.
22406         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22407         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22408         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22409         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22410         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22411         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22412
22413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22414         intermediate variable to calculate exponent.
22415         (__sqr): Likewise.
22416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22417         Likewise.
22418         (__sqr): Likewise.
22419
22420         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22421         [!NO__SQR]: Define __sqr.
22422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22423         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22424         sysdeps/ieee754/dbl-64/mpa.c.
22425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22426
22427         [BZ #12723]
22428         * posix/Makefile (tests): Add tst-pathconf.
22429         * posix/tst-pathconf.c: New test case.
22430         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22431         _PC_PIPE_BUF.
22432         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22433
22434 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22435
22436         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22437
22438 2013-03-06  Andreas Jaeger  <aj@suse.de>
22439
22440         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22441         definition via __MAP_ANONYMOUS.
22442
22443         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22444         it's not part of Linux headers.
22445
22446         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22447         (MAP_HUGE_MASK): Define.
22448
22449         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22450         Define.
22451         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22452         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22453         Define.
22454         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22455         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22456         Define.
22457         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22458         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22459         Define.
22460         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22461
22462         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22463         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22464         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22465         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22466         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22467         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22468
22469         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22470         Handle f2fs.
22471
22472         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22473         Handle f2fs and efivarfs.
22474
22475         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22476         f2fs.
22477
22478         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22479         (EFIVARFS_MAGIC): Add.
22480         (F2FS_LINK_MAX): Add.
22481
22482 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22483
22484         * stdio-common/vfprintf.c: Replace __builtin_expect with
22485         __glibc_unlikely.
22486
22487 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22488
22489         [BZ #13550]
22490         * sysdeps/generic/bp-sym.h: Remove file.
22491         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22492         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22493         <bp-sym.h> and <bp-asm.h>.
22494         (__longjmp): Don't use BP_SYM.
22495         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22496         and <bp-asm.h>.
22497         (memcpy): Don't use BP_SYM.
22498         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22499         <bp-sym.h> and <bp-asm.h>.
22500         (memcpy): Don't use BP_SYM.
22501         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22502         <bp-asm.h>.
22503         (memcpy): Don't use BP_SYM.
22504         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22505         <bp-asm.h>.
22506         (memset): Don't use BP_SYM.
22507         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22508         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22509         (__bzero): Don't use BP_SYM.
22510         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22511         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22512         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22513         <bp-sym.h> and <bp-asm.h>.
22514         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22515         pointers.
22516         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22517         <bp-sym.h> and <bp-asm.h>.
22518         (memcpy): Don't use BP_SYM.
22519         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22520         <bp-sym.h> and <bp-asm.h>.
22521         (memset): Don't use BP_SYM.
22522         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22523         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22524         (__bzero): Don't use BP_SYM.
22525         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22526         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22527         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22528         <bp-sym.h> and <bp-asm.h>.
22529         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22530         pointers.
22531         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22532         <bp-sym.h> and <bp-asm.h>.
22533         (memcpy): Don't use BP_SYM.
22534         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22535         <bp-sym.h> and <bp-asm.h>.
22536         (memset): Don't use BP_SYM.
22537         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22538         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22539         (__bzero): Don't use BP_SYM.
22540         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22541         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22542         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22543         <bp-sym.h> and <bp-asm.h>.
22544         (__memchr): Don't use BP_SYM.
22545         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22546         <bp-sym.h> and <bp-asm.h>.
22547         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22548         pointers.
22549         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22550         <bp-sym.h> and <bp-asm.h>.
22551         (memcpy): Don't use BP_SYM.
22552         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22553         <bp-sym.h> and <bp-asm.h>.
22554         (__mempcpy): Don't use BP_SYM.
22555         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22556         <bp-sym.h> and <bp-asm.h>.
22557         (__memrchr): Don't use BP_SYM.
22558         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22559         <bp-sym.h> and <bp-asm.h>.
22560         (memset): Don't use BP_SYM.
22561         (__bzero): Likewise.
22562         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22563         <bp-sym.h> and <bp-asm.h>.
22564         (__rawmemchr): Don't use BP_SYM.
22565         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22566         <bp-sym.h> and <bp-asm.h>.
22567         (__STRCMP): Don't use BP_SYM.
22568         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22569         <bp-sym.h> and <bp-asm.h>.
22570         (strchr): Don't use BP_SYM.
22571         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22572         <bp-sym.h> and <bp-asm.h>.
22573         (__strchrnul): Don't use BP_SYM.
22574         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22575         <bp-sym.h> and <bp-asm.h>.
22576         (strlen): Don't use BP_SYM.
22577         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22578         <bp-sym.h> and <bp-asm.h>.
22579         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22580         pointers.
22581         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22582         <bp-sym.h> and <bp-asm.h>.
22583         (__strnlen): Don't use BP_SYM.
22584         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22585         <bp-sym.h> and <bp-asm.h>.
22586         (__GI__setjmp): Don't use BP_SYM.
22587         (_setjmp): Likewise.
22588         (__sigsetjmp): Likewise.
22589         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22590         (L(start_addresses)): Don't use BP_SYM.
22591         (_start): Likewise.
22592         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22593         <bp-asm.h>.
22594         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22595         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22596         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22597         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22598         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22599         <bp-asm.h>.
22600         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22601         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22602         about bounded pointers.
22603         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22604         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22605         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22606         <bp-asm.h>.
22607         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22608         about bounded pointers.  Remove GKM FIXME comments.
22609         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22610         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22611         <bp-asm.h>.
22612         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22613         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22614         Remove GKM FIXME comments.
22615         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22616         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22617         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22618         <bp-asm.h>.
22619         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22620         about bounded pointers.  Remove GKM FIXME comment.
22621         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22622         and <bp-asm.h>.
22623         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22624         pointers.
22625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22626         <bp-sym.h> and <bp-asm.h>.
22627         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22629         <bp-sym.h> and <bp-asm.h>.
22630         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22631         comment.
22632
22633 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22634
22635         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22636         call free(NULL).
22637
22638 2013-03-05  David S. Miller  <davem@davemloft.net>
22639
22640         * po/es.po: Update from translation team.
22641
22642 2013-03-05  Andreas Jaeger  <aj@suse.de>
22643
22644         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22645         <bits/mman-linux.h>.
22646         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22647         is fine.
22648         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22649         <bits/mman-linux.h> to end of file.
22650         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22651         is fine.
22652         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22653         <bits/mman-linux.h> to end of file.
22654         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22655         is fine.
22656         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22657         <bits/mman-linux.h> to end of file.
22658
22659         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22660         (MCL_CURRENT, MCL_FUTURE): Define here.
22661
22662 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22663
22664         [BZ #15232]
22665         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22666         attribute_hidden.
22667         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22668
22669 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22670
22671         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22672         fourth parameter needed for rt_sigprocmask syscall.
22673         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22674         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22675         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22676         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22677         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22678         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22679
22680 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22681
22682         [BZ #13550]
22683         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22684         comment about bounded pointers.
22685         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22686         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22687
22688 2013-03-04  Andreas Jaeger  <aj@suse.de>
22689
22690         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22691         common definitions.
22692
22693         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22694         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22695         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22696         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22697         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22699
22700 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22701
22702         [BZ #15055]
22703         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22704         __ieee754_sqrl instead of __sqrl.
22705
22706 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22707
22708         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22709         * sysdeps/powerpc/fpu_control.h: ... here.
22710         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22711         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22712         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22713         * sysdeps/powerpc/bits/mathinline.h: ... here.
22714
22715 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22716
22717         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22718         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22719         to just [NEED_DL_SYSINFO_DSO].
22720         * elf/dl-support.c: Likewise.
22721         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22722         * elf/rtld.c (dl_main): Likewise.
22723         * elf/setup-vdso.h (setup_vdso): Likewise.
22724         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22725         * sysdeps/unix/sysv/linux/dl-sysdep.c
22726         (_dl_discover_osversion): Likewise.
22727
22728 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22729
22730         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22731         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22732
22733 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22734
22735         * NEWS: Mention libm performance improvements and non-x86 PI
22736         futex support.
22737
22738         * csu/libc-start.c (__pthread_initialize_minimal): Change
22739         function arguments.
22740         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22741
22742 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22743
22744         [BZ #13550]
22745         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22746         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22747         <bp-sym.h> and <bp-asm.h>.
22748         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22749         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22750         and <bp-asm.h>.
22751         (memcpy): Don't use BP_SYM.
22752         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22753         <bp-asm.h>.
22754         (__mpn_add_n): Don't use BP_SYM.
22755         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22756         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22757         and <bp-asm.h>.
22758         (__mpn_addmul_1): Don't use BP_SYM.
22759         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22760         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22761         <bp-sym.h>.
22762         (_setjmp): Don't use BP_SYM.
22763         (__novmx_setjmp): Likewise.
22764         (__GI__setjmp): Likewise.
22765         (__vmx_setjmp): Likewise.
22766         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22767         <bp-sym.h>.
22768         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22769         (__bzero): Don't use BP_SYM.
22770         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22771         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22772         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22773         <bp-sym.h> and <bp-asm.h>.
22774         (memcpy): Don't use BP_SYM.
22775         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22776         <bp-sym.h> and <bp-asm.h>.
22777         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22778         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22779         <bp-sym.h> and <bp-asm.h>.
22780         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22781         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22782         <bp-asm.h>.
22783         (__mpn_lshift): Don't use BP_SYM.
22784         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22785         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22786         <bp-asm.h>.
22787         (memset): Don't use BP_SYM.
22788         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22789         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22790         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22791         <bp-asm.h>.
22792         (__mpn_mul_1): Don't use BP_SYM.
22793         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22794         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22795         <bp-sym.h> and <bp-asm.h>.
22796         (memcmp): Don't use BP_SYM.
22797         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22798         <bp-sym.h> and <bp-asm.h>.
22799         (memcpy): Don't use BP_SYM.
22800         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22801         <bp-sym.h> and <bp-asm.h>.
22802         (memset): Don't use BP_SYM.
22803         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22804         <bp-sym.h> and <bp-asm.h>.
22805         (strncmp): Don't use BP_SYM.
22806         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22807         <bp-sym.h> and <bp-asm.h>.
22808         (memcpy): Don't use BP_SYM.
22809         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22810         <bp-sym.h> and <bp-asm.h>.
22811         (memset): Don't use BP_SYM.
22812         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22813         <bp-sym.h> and <bp-asm.h>.
22814         (__memchr): Don't use BP_SYM.
22815         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22816         <bp-sym.h> and <bp-asm.h>.
22817         (memcmp): Don't use BP_SYM.
22818         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22819         <bp-sym.h> and <bp-asm.h>.
22820         (memcpy): Don't use BP_SYM.
22821         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22822         <bp-sym.h> and <bp-asm.h>.
22823         (__mempcpy): Don't use BP_SYM.
22824         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22825         <bp-sym.h> and <bp-asm.h>.
22826         (__memrchr): Don't use BP_SYM.
22827         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22828         <bp-sym.h> and <bp-asm.h>.
22829         (memset): Don't use BP_SYM.
22830         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22831         <bp-sym.h> and <bp-asm.h>.
22832         (__rawmemchr): Don't use BP_SYM.
22833         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22834         <bp-sym.h> and <bp-asm.h>.
22835         (__STRCMP): Don't use BP_SYM.
22836         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22837         <bp-sym.h> and <bp-asm.h>.
22838         (strchr): Don't use BP_SYM.
22839         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22840         <bp-sym.h> and <bp-asm.h>.
22841         (__strchrnul): Don't use BP_SYM.
22842         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22843         <bp-sym.h> and <bp-asm.h>.
22844         (strlen): Don't use BP_SYM.
22845         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22846         <bp-sym.h> and <bp-asm.h>.
22847         (strncmp): Don't use BP_SYM.
22848         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22849         <bp-sym.h> and <bp-asm.h>.
22850         (__strnlen): Don't use BP_SYM.
22851         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22852         <bp-asm.h>.
22853         (__mpn_rshift): Don't use BP_SYM.
22854         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22855         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22856         <bp-sym.h> and <bp-asm.h>.
22857         (__sigsetjmp): Don't use BP_SYM.
22858         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22859         (L(start_addresses)): Don't use BP_SYM.
22860         (_start): Likewise.
22861         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22862         <bp-asm.h>.
22863         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22864         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22865         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22866         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22867         <bp-asm.h>.
22868         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22869         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22870         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22871         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22872         <bp-asm.h>.
22873         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22874         comments.
22875         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22876         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22877         <bp-asm.h>.
22878         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22879         FIXME comments.
22880         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22881         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22882         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22883         <bp-asm.h>.
22884         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22885         comment.
22886         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22887         and <bp-asm.h>.
22888         (strncmp): Don't use BP_SYM,
22889         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22890         <bp-asm.h>.
22891         (__mpn_sub_n): Don't use BP_SYM.
22892         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22893         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22894         and <bp-asm.h>.
22895         (__mpn_submul_1): Don't use BP_SYM.
22896         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22898         <bp-sym.h> and <bp-asm.h>.
22899         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22901         <bp-sym.h> and <bp-asm.h>.
22902         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22903         comment.
22904
22905 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22906
22907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22908         Use ZK to minimize writes to Z.
22909         (sub_magnitudes): Simplify code a bit.
22910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22911         Use ZK to minimize writes to Z.
22912         (sub_magnitudes): Simplify code a bit.
22913
22914 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22915
22916         * csu/gmon-start.c: Add special exception to license text.
22917
22918 2013-02-27  Richard Henderson  <rth@redhat.com>
22919
22920         * scripts/config.guess: Update from config.git.
22921         * scripts/config.sub: Likewise.
22922
22923 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22924
22925         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22926
22927         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22928
22929         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22930
22931         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22932
22933         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22934
22935 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22936
22937         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22938         [$(build-shared = yes].
22939
22940 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22941
22942         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22943         (__mul): Reduce iterations for calculating mantissa.
22944
22945         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22946         MPTWO.
22947         (__mpranred): Likewise.
22948
22949         [BZ #15160]
22950         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22951         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22952
22953 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22954
22955         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22956         Define __attribute__.
22957
22958 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22959
22960         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22961         unused.
22962         * posix/regex_internal.h (__attribute): Remove.
22963         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22964         (re_string_context_at): Likewise.
22965         (bitset_not): Use __attribute__ and mark function as possibly
22966         unused.
22967         (bitset_merge): Likewise.
22968         (bitset_mask): Likewise.
22969         (re_string_char_size_at): Likewise.
22970         (re_string_wchar_at): Likewise.
22971         (re_string_elem_size_at): Likewise.
22972
22973 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22974
22975         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22976         code.
22977         (cc32): Likewise.
22978
22979         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22980         (__acr): Likewise.
22981         (__cpy): Likewise.
22982         (norm): Likewise.
22983         (denorm): Likewise.
22984         (__dbl_mp): Likewise.
22985         (add_magnitudes): Likewise.
22986         (sub_magnitudes): Likewise.
22987         (__mul): Likewise.
22988         (__inv): Likewise.
22989
22990         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22991         style.
22992
22993         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22994         style.
22995
22996         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22997         code.
22998
22999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23000         up changes with default code.
23001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23002         Likewise.
23003
23004 2013-02-24  Allan McRae  <allan@archlinux.org>
23005
23006         * manual/socket.texi (The Internet Namespace): Order menu items
23007         to match that in the file.
23008
23009         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23010         node listing of the info page menu.
23011
23012 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23013
23014         [BZ #13550]
23015         * sysdeps/i386/bp-asm.h: Remove file.
23016         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23017         (PARMS): Do not use macros from bp-asm.h.
23018         (S1): Likewise.
23019         (S2): Likewise.
23020         (SIZE): Likewise.
23021         (__mpn_add_n): Do not use BP_SYM
23022         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23023         "bp-asm.h".
23024         (PARMS): Do not use macros from bp-asm.h.
23025         (S1): Likewise.
23026         (SIZE): Likewise.
23027         (__mpn_addmul_1): Do not use BP_SYM
23028         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23029         "bp-asm.h".
23030         (PARMS): Do not use macros from bp-asm.h.
23031         (SIGMSK): Likewise.
23032         (_setjmp): Likewise.  Do not use BP_SYM.
23033         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23034         "bp-asm.h".
23035         (PARMS): Do not use macros from bp-asm.h.
23036         (SIGMSK): Likewise.
23037         (setjmp): Likewise.  Do not use BP_SYM.
23038         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23039         "bp-asm.h".
23040         (PARMS): Do not use macros from bp-asm.h.
23041         (__frexp): Do not use BP_SYM.
23042         (frexp): Likewise.
23043         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23044         "bp-asm.h".
23045         (PARMS): Do not use macros from bp-asm.h.
23046         (__frexpf): Do not use BP_SYM.
23047         (frexpf): Likewise.
23048         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23049         "bp-asm.h".
23050         (PARMS): Do not use macros from bp-asm.h.
23051         (__frexpl): Do not use BP_SYM.
23052         (frexpl): Likewise.
23053         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23054         "bp-asm.h".
23055         (PARMS): Do not use macros from bp-asm.h.
23056         (__remquo): Do not use BP_SYM.
23057         (remquo): Likewise.
23058         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23059         "bp-asm.h".
23060         (PARMS): Do not use macros from bp-asm.h.
23061         (__remquof): Do not use BP_SYM.
23062         (remquof): Likewise.
23063         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23064         "bp-asm.h".
23065         (PARMS): Do not use macros from bp-asm.h.
23066         (__remquol): Do not use BP_SYM.
23067         (remquol): Likewise.
23068         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23069         "bp-asm.h".
23070         (PARMS): Do not use macros from bp-asm.h.
23071         (DEST): Likewise.
23072         (SRC): Likewise.
23073         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23074         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23075         "bp-asm.h".
23076         (PARMS): Do not use macros from bp-asm.h.
23077         (strlen): Do not use BP_SYM.
23078         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23079         "bp-asm.h".
23080         (PARMS): Do not use macros from bp-asm.h.
23081         (S1): Likewise.
23082         (S2): Likewise.
23083         (SIZE): Likewise.
23084         (__mpn_add_n): Do not use BP_SYM.
23085         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23086         "bp-asm.h".
23087         (PARMS): Do not use macros from bp-asm.h.
23088         (S1): Likewise.
23089         (SIZE): Likewise.
23090         (__mpn_addmul_1): Do not use BP_SYM.
23091         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23092         weak_alias.
23093         (bzero): Likewise.
23094         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23095         "bp-asm.h".
23096         (PARMS): Do not use macros from bp-asm.h.
23097         (S): Likewise.
23098         (SIZE): Likewise.
23099         (__mpn_lshift): Do not use BP_SYM.
23100         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23101         "bp-asm.h".
23102         (PARMS): Do not use macros from bp-asm.h.
23103         (DEST): Likewise.
23104         (SRC): Likewise.
23105         (LEN): Likewise.
23106         (memcpy): Likewise.  Do not use BP_SYM.
23107         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23108         libc_hidden_def and weak_alias.
23109         (mempcpy): Do not use BP_SYM in weak_alias.
23110         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23111         "bp-asm.h".
23112         (PARMS): Do not use macros from bp-asm.h.
23113         (DEST): Likewise.
23114         (LEN): Likewise.
23115         [!BZERO_P] (CHR): Likewise.
23116         (memset): Likewise.  Do not use BP_SYM.
23117         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23118         "bp-asm.h".
23119         (PARMS): Do not use macros from bp-asm.h.
23120         (S1): Likewise.
23121         (SIZE): Likewise.
23122         (__mpn_mul_1): Do not use BP_SYM.
23123         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23124         "bp-asm.h".
23125         (PARMS): Do not use macros from bp-asm.h.
23126         (S): Likewise.
23127         (SIZE): Likewise.
23128         (__mpn_rshift): Do not use BP_SYM.
23129         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23130         "bp-asm.h".
23131         (PARMS): Do not use macros from bp-asm.h.
23132         (STR): Likewise.
23133         (CHR): Likewise.
23134         (strchr): Likewise.  Do not use BP_SYM.
23135         (index): Do not use BP_SYM in weak_alias.
23136         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23137         "bp-asm.h".
23138         (PARMS): Do not use macros from bp-asm.h.
23139         (DEST): Likewise.
23140         (SRC): Likewise.
23141         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23142         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23143         "bp-asm.h".
23144         (PARMS): Do not use macros from bp-asm.h.
23145         (strlen): Do not use BP_SYM.
23146         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23147         "bp-asm.h".
23148         (PARMS): Do not use macros from bp-asm.h.
23149         (S1): Likewise.
23150         (S2): Likewise.
23151         (SIZE): Likewise.
23152         (__mpn_sub_n): Do not use BP_SYM.
23153         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23154         "bp-asm.h".
23155         (PARMS): Do not use macros from bp-asm.h.
23156         (S1): Likewise.
23157         (SIZE): Likewise.
23158         (__mpn_submul_1): Do not use BP_SYM.
23159         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23160         "bp-asm.h".
23161         (PARMS): Do not use macros from bp-asm.h.
23162         (S1): Likewise.
23163         (S2): Likewise.
23164         (SIZE): Likewise.
23165         (__mpn_add_n): Do not use BP_SYM.
23166         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23167         weak_alias.
23168         (bzero): Likewise.
23169         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23170         "bp-asm.h".
23171         (PARMS): Do not use macros from bp-asm.h.
23172         (BLK2): Likewise.
23173         (LEN): Likewise.
23174         (memcmp): Do not use BP_SYM.
23175         (bcmp): Do not use BP_SYM in weak_alias.
23176         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23177         "bp-asm.h".
23178         (PARMS): Do not use macros from bp-asm.h.
23179         (DEST): Likewise.
23180         (SRC): Likewise.
23181         (LEN): Likewise.
23182         (memcpy): Likewise.  Do not use BP_SYM.
23183         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23184         "bp-asm.h".
23185         (PARMS): Do not use macros from bp-asm.h.
23186         (DEST): Likewise.
23187         (SRC): Likewise.
23188         (LEN): Likewise.
23189         (memmove): Likewise.  Do not use BP_SYM.
23190         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23191         "bp-asm.h".
23192         (PARMS): Do not use macros from bp-asm.h.
23193         (DEST): Likewise.
23194         (SRC): Likewise.
23195         (LEN): Likewise.
23196         (__mempcpy): Likewise.  Do not use BP_SYM.
23197         (mempcpy): Do not use BP_SYM in weak_alias.
23198         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23199         "bp-asm.h".
23200         (PARMS): Do not use macros from bp-asm.h.
23201         (DEST): Likewise.
23202         (LEN): Likewise.
23203         [!BZERO_P] (CHR): Likewise.
23204         (memset): Likewise.  Do not use BP_SYM.
23205         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23206         "bp-asm.h".
23207         (PARMS): Do not use macros from bp-asm.h.
23208         (STR2): Likewise.
23209         (strcmp): Do not use BP_SYM.
23210         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23211         "bp-asm.h".
23212         (PARMS): Do not use macros from bp-asm.h.
23213         (STR): Likewise.
23214         (DELIM): Likewise.
23215         [USE_AS_STRTOK_R] (SAVE): Likewise.
23216         (FUNCTION): Likewise.  Do not use BP_SYM.
23217         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23218         aliases.
23219         (strtok_r): Likewise.
23220         (__GI___strtok_r): Likewise.
23221         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23222         (PARMS): Do not use macros from bp-asm.h.
23223         (S): Likewise.
23224         (SIZE): Likewise.
23225         (__mpn_lshift): Do not use BP_SYM.
23226         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23227         (PARMS): Do not use macros from bp-asm.h.
23228         (STR): Likewise.
23229         (CHR): Likewise.
23230         (__memchr): Do not use BP_SYM.
23231         (memchr): Do not use BP_SYM in weak_alias.
23232         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23233         (PARMS): Do not use macros from bp-asm.h.
23234         (BLK2): Likewise.
23235         (LEN): Likewise.
23236         (memcmp): Do not use BP_SYM.
23237         (bcmp): Do not use BP_SYM in weak_alias.
23238         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23239         (PARMS): Do not use macros from bp-asm.h.
23240         (S1): Likewise.
23241         (SIZE): Likewise.
23242         (__mpn_mul_1): Do not use BP_SYM.
23243         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23244         "bp-asm.h".
23245         (PARMS): Do not use macros from bp-asm.h.
23246         (STR): Likewise.
23247         (CHR): Likewise.
23248         (__rawmemchr): Do not use BP_SYM.
23249         (rawmemchr): Do not use BP_SYM in weak_alias.
23250         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23251         (PARMS): Do not use macros from bp-asm.h.
23252         (S): Likewise.
23253         (SIZE): Likewise.
23254         (__mpn_rshift): Do not use BP_SYM.
23255         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23256         (PARMS): Do not use macros from bp-asm.h.
23257         (SIGMSK): Likewise.
23258         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23259         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23260         (_start): Do not use BP_SYM.
23261         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23262         (PARMS): Do not use macros from bp-asm.h.
23263         (DEST): Likewise.
23264         (SRC): Likewise.
23265         (__stpcpy): Likewise.  Do not use BP_SYM.
23266         (stpcpy): Do not use BP_SYM in weak_alias.
23267         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23268         "bp-asm.h".
23269         (PARMS): Do not use macros from bp-asm.h.
23270         (DEST): Likewise.
23271         (SRC): Likewise.
23272         (LEN): Likewise.
23273         (__stpncpy): Likewise.  Do not use BP_SYM.
23274         (stpncpy): Do not use BP_SYM in weak_alias.
23275         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23276         (PARMS): Do not use macros from bp-asm.h.
23277         (STR): Likewise.
23278         (CHR): Likewise.
23279         (strchr): Likewise.  Do not use BP_SYM.
23280         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23281         "bp-asm.h".
23282         (PARMS): Do not use macros from bp-asm.h.
23283         (STR): Likewise.
23284         (CHR): Likewise.
23285         (__strchrnul): Likewise.  Do not use BP_SYM.
23286         (strchrnul): Do not use BP_SYM in weak_alias.
23287         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23288         "bp-asm.h".
23289         (PARMS): Do not use macros from bp-asm.h.
23290         (STOP): Likewise.
23291         (strcspn): Do not use BP_SYM.
23292         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23293         "bp-asm.h".
23294         (PARMS): Do not use macros from bp-asm.h.
23295         (STR): Likewise.
23296         (STOP): Likewise.
23297         (strpbrk): Likewise.  Do not use BP_SYM.
23298         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23299         "bp-asm.h".
23300         (PARMS): Do not use macros from bp-asm.h.
23301         (STR): Likewise.
23302         (CHR): Likewise.
23303         (strrchr): Likewise.  Do not use BP_SYM.
23304         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23305         (PARMS): Do not use macros from bp-asm.h.
23306         (SKIP): Likewise.
23307         (strspn): Do not use BP_SYM.
23308         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23309         (PARMS): Do not use macros from bp-asm.h.
23310         (STR): Likewise.
23311         (DELIM): Likewise.
23312         (SAVE): Likewise.
23313         (FUNCTION): Likewise.  Do not use BP_SYM.
23314         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23315         aliases.
23316         (strtok_r): Likewise.
23317         (__GI___strtok_r): Likewise.
23318         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23319         (PARMS): Do not use macros from bp-asm.h.
23320         (S1): Likewise.
23321         (S2): Likewise.
23322         (SIZE): Likewise.
23323         (__mpn_sub_n): Do not use BP_SYM.
23324         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23325         "bp-asm.h".
23326         (PARMS): Do not use macros from bp-asm.h.
23327         (S1): Likewise.
23328         (SIZE): Likewise.
23329         (__mpn_submul_1): Do not use BP_SYM.
23330         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23331         <bp-sym.h>.
23332         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23333         and <bp-asm.h>.
23334         (PARMS): Do not use macros from bp-asm.h.
23335         (FLAGS): Likewise.
23336         (PTID): Likewise.
23337         (TLS): Likewise.
23338         (CTID): Likewise.
23339         (__clone): Do not use BP_SYM.
23340         (clone): Do not use BP_SYM in weak_alias.
23341         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23342         and <bp-asm.h>.
23343         (PARMS): Do not use macros from bp-asm.h.
23344         (LEN): Likewise.
23345         (__mmap64): Do not use BP_SYM.
23346         (mmap64): Do not use BP_SYM in weak_alias.
23347         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23348         <bp-sym.h> and <bp-asm.h>.
23349         (PARMS): Do not use macros from bp-asm.h.
23350         (__posix_fadvise64_l64): Do not use BP_SYM.
23351         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23352         (PARMS): Do not use macros from bp-asm.h.
23353         (NSOPS): Likewise.
23354         (semtimedop): Do not use BP_SYM.
23355         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23356         and <bp-asm.h>.
23357
23358 2013-02-21  Allan McRae  <allan@archlinux.org>
23359
23360         * manual/message.texi (Charset conversion in gettext):
23361         Move @end statement to beginning of line.
23362
23363 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23364
23365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23366         static.
23367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23368         Likewise.
23369
23370         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23371         (denorm): Likewise.
23372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23374
23375 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23376
23377         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23378         tail-call to the resolved function if pltexit isn't needed.
23379
23380 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23381
23382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23383         or Y being zero as being unlikely.
23384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23385         Likewise.
23386
23387 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23388
23389         * manual/nss.texi (System Databases and Name Service Switch):
23390         Remove frobnicate @pxref.
23391
23392 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23393
23394         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23395         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23396
23397 2013-02-20  Petr Machata  <pmachata@redhat.com>
23398
23399         * elf/elf.h (R_ARM_TARGET1): New macro.
23400         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23401         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23402         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23403         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23404         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23405         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23406         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23407         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23408         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23409         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23410         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23411         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23412         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23413         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23414         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23415         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23416         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23417         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23418         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23419         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23420         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23421         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23422         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23423         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23424         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23425         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23426         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23427         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23428         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23429         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23430         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23431         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23432         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23433         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23434         (R_ARM_THM_GOT_BREL12): Likewise.
23435         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23436         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23437         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23438         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23439         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23440         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23441         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23442         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23443         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23444
23445 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23446
23447         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23448         __attribute_used__ to __attribute__ ((unused)).
23449
23450 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23451
23452         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23453         powerpc mpa.c.
23454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23455         comment formatting.
23456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23457
23458 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23459
23460         [BZ #13550]
23461         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23462         Remove macro.
23463         (ENTER): Remove both macro definitions.
23464         (LEAVE): Likewise.
23465         (CHECK_BOUNDS_LOW): Likewise.
23466         (CHECK_BOUNDS_HIGH): Likewise.
23467         (CHECK_BOUNDS_BOTH): Likewise.
23468         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23469         (RETURN_BOUNDED_POINTER): Likewise.
23470         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23471         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23472         (POP_ERRNO_LOCATION_RETURN): Likewise.
23473         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23474         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23475         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23476         macros.
23477         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23478         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23479         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23480         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23481         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23482         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23483         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23484         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23485         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23486         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23487         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23488         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23489         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23490         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23491         removed macros.
23492         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23493         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23494         macros.
23495         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23496         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23497         * sysdeps/i386/i586/memset.S (memset): Likewise.
23498         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23499         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23500         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23501         macros.
23502         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23503         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23504         Change uses of L(2) to L(out).
23505         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23506         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23507         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23508         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23509         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23510         removed macros.
23511         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23512         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23513         macros.
23514         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23515         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23516         (RETURN): Do not use macro LEAVE.
23517         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23518         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23519         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23520         * sysdeps/i386/i686/memset.S (memset): Likewise.
23521         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23522         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23523         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23524         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23525         Likewise.
23526         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23527         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23528         L(1_2) and L(1_3) into L(1).
23529         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23530         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23531         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23532         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23533         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23534         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23535         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23536         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23537         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23538         macros.
23539         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23540         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23541         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23542         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23543         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23544         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23545         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23546         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23547         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23548         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23549         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23550         * sysdeps/i386/strspn.S (strspn): Likewise.
23551         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23552         conditional code.
23553         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23554         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23555         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23556         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23557         L(1_3) into L(1_1).
23558         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23559         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23560         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23561         macros.
23562         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23563
23564 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23565
23566         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23567         macro.
23568
23569 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23570
23571         * math/atest-exp.c (exp_mpn): Remove ROUND.
23572         * math/atest-exp2.c (exp_mpn): Likewise.
23573         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23574
23575         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23576         * stdlib/tst-tls-atexit-lib.c: Likewise.
23577         * stdlib/tst-tls-atexit.c: Likewise.
23578
23579 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23580
23581         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23582         and __attribute_alloc_size__.
23583
23584 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23585
23586         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23587         __attribute_alloc_size__.
23588         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23589         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23590
23591 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23592
23593         * include/programs/xmalloc.h: New file.
23594         * catgets/gencat.c: Include it.
23595         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23596         * elf/pldd.c: Likewise.
23597         * iconv/iconv_charmap.c: Likewise.
23598         * iconv/iconvconfig.c: Likewise.
23599         * iconv/strtab.c: Likewise.
23600         * locale/programs/locale.c: Likewise.
23601         * locale/programs/localedef.h: Likewise.
23602         * locale/programs/simple-hash.c: Likewise.
23603         * nscd/nscd.h: Likewise.
23604         * nss/makedb.c: Likewise.
23605         * sysdeps/generic/ldconfig.h: Likewise.
23606
23607 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23608
23609         * Versions.def: Add GLIBC_2.18.
23610         * include/link.h (struct link_map): New member l_tls_dtor_count.
23611         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23612         (__call_tls_dtors): Likewise.
23613         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23614         __cxa_thread_atexit_impl.
23615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23616         Likewise.
23617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23618         Likewise.
23619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23620         Likewise.
23621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23622         Likewise.
23623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23625         Likewise.
23626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23627         Likewise.
23628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23630         Likewise.
23631         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23632         (tests): Add test case tst-tls-atexit.
23633         (modules-names): Add shared library for tst-tls-atexit.
23634         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23635         (GLIBC_PRIVATE): Add __call_tls_dtors.
23636         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23637         for libstdc++.
23638         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23639         * stdlib/tst-tls-atexit.c: New test case.
23640         * stdlib/tst-tls-atexit-lib.c: New test case.
23641
23642         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23643
23644         * elf/Versions (ld): Add _dl_find_dso_for_object.
23645         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23646         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23647         (dl_open_worker): Use _dl_find_dso_for_object.
23648         * elf/dl-sym.c (do_sym): Likewise.
23649         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23650
23651 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23652
23653         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23654         Syntactic changes only.
23655         (_dl_runtime_profile): Do a tail-call to the resolved function.
23656
23657 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23658
23659         [BZ #13550]
23660         * sysdeps/x86_64/bp-asm.h: Remove file.
23661         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23662         <bp-sym.h> and <bp-asm.h>.
23663         (__clone): Do not use BP_SYM.
23664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23665         <bp-sym.h> and <bp-asm.h>.
23666         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23667         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23668         "bp-asm.h".
23669         (_setjmp): Do not use BP_SYM.
23670         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23671         "bp-asm.h".
23672         (setjmp): Do not use BP_SYM.
23673         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23674         libc_hidden_def.
23675         (mempcpy): Do not use BP_SYM in weak_alias.
23676         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23677         "bp-asm.h".
23678         (strchr): Do not use BP_SYM.
23679         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23680         "bp-asm.h".
23681         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23682         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23683         (_start): Do not use BP_SYM.
23684         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23685         "bp-asm.h".
23686         (strcat): Do not use BP_SYM.
23687         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23688         "bp-asm.h".
23689         (STRCMP): Do not use BP_SYM.
23690         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23691         "bp-asm.h".
23692         (STRCPY): Do not use BP_SYM.
23693         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23694         "bp-asm.h".
23695         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23696         "bp-asm.h".
23697         (FUNCTION): Do not use BP_SYM.
23698         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23699         weak_alias.
23700         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23701
23702 2013-02-17  Andreas Jaeger  <aj@suse.de>
23703
23704         * time/Versions: Sort entries.
23705         * string/Versions: Likewise.
23706         * resolv/Versions: Likewise.
23707         * posix/Versions: Likewise.
23708         * iconv/Versions: Likewise.
23709         * elf/Versions: Likewise.
23710         * wcsmbs/Versions: Likewise.
23711
23712 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23713
23714         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23715         loop termination condition.
23716
23717         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23718         variable to calculate EZ.
23719         (__sqr): Likewise.
23720
23721         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23722         the lower precision input.
23723
23724 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23725
23726         [BZ #13550]
23727         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23728         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23729         (run-via-rtld-prefix): Do not handle %-bp tests.
23730         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23731         (all-object-suffixes): Remove .ob.
23732         (bppfx): Remove variable.
23733         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23734         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23735         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23736         [$(build-bounded) = yes] (libtype.ob): Likewise.
23737         * Makerules (elide-routines.ob): Remove variable.
23738         (do-tests-clean): Do not handle *-bp.out.
23739         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23740         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23741         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23742         (tests): Do not include $(tests-bp.out).
23743         (xtests): Do not include $(xtests-bp.out).
23744         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23745         [$(build-bounded) = yes] ($(addprefix
23746         $(objpfx),$(binaries-bounded))): Remove rule.
23747         ($(objpfx)%-bp.out): Remove rule.
23748         * config.make.in (build-bounded): Remove variable.
23749         * crypt/Makefile [$(build-bounded) = yes]
23750         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23751         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23752         append to variable.
23753         [$(build-bounded) = yes] (install-lib): Likewise.
23754         [$(build-bounded) = yes] (generated): Likewise.
23755         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23756         Remove rule.
23757         * intl/Makefile [$(build-bounded) = yes]
23758         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23759         * math/Makefile [$(build-bounded) = yes]
23760         ($(tests:%=$(objpfx)%-bp): Likewise.
23761         * misc/Makefile [$(build-bounded) = yes]
23762         ($(objpfx)tst-tsearch-bp): Likewise.
23763         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23764         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23765         Remove dependency.
23766         * string/Makefile (o-objects.ob): Remove variable.
23767         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23768         (CFLAGS-.ob): Remove variable.
23769         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23770         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23771         both definitions of variable.
23772         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23773         (ASFLAGS-.ob): Remove variable.
23774
23775 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23776
23777         [BZ #13550]
23778         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23779         Remove __BOUNDED_POINTERS__ from condition.
23780         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23781         * string/bits/string2.h [!__NO_STRING_INLINES &&
23782         !__BOUNDED_POINTERS__]: Likewise.
23783         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23784         Likewise.
23785         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23786         Remove conditional code.
23787         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23788         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23789         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23790         condition.
23791
23792         [BZ #13550]
23793         * csu/libc-start.c: Do not include <bp-sym.h>.
23794         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23795         * elf/dl-open.c: Do not include <bp-sym.h>.
23796         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23797         * math/fegetenv.c: Do not include <bp-sym.h>.
23798         (fegetenv): Do not use BP_SYM in versioned symbols.
23799         * nptl/sysdeps/pthread/bits/libc-lockP.h
23800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23801         <bp-sym.h>.
23802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23803         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23805         (__pthread_mutex_destroy): Likewise.
23806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23807         (__pthread_mutex_lock): Likewise.
23808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23809         (__pthread_mutex_trylock): Likewise.
23810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23811         (__pthread_mutex_unlock): Likewise.
23812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23813         (__pthread_mutexattr_init): Likewise.
23814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23815         (__pthread_mutexattr_destroy): Likewise.
23816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23817         (__pthread_mutexattr_settype): Likewise.
23818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23819         (__pthread_rwlock_init): Likewise.
23820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23821         (__pthread_rwlock_destroy): Likewise.
23822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23823         (__pthread_rwlock_rdlock): Likewise.
23824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23825         (__pthread_rwlock_tryrdlock): Likewise.
23826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23827         (__pthread_rwlock_wrlock): Likewise.
23828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23829         (__pthread_rwlock_trywrlock): Likewise.
23830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23831         (__pthread_rwlock_unlock): Likewise.
23832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23833         (__pthread_key_create): Likewise.
23834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23835         (__pthread_setspecific): Likewise.
23836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23837         (__pthread_getspecific): Likewise.
23838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23839         Likewise.
23840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23841         (_pthread_cleanup_push_defer): Likewise.
23842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23843         (_pthread_cleanup_pop_restore): Likewise.
23844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23845         (pthread_setcancelstate): Likewise.
23846         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23847         <bp-sym.h>.
23848         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23849         (memchr): Do not use BP_SYM in weak_alias.
23850         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23851         (fegetenv): Do not use BP_SYM in versioned symbols.
23852         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23853         (fesetenv): Do not use BP_SYM in versioned symbols.
23854         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23855         (feupdateenv): Do not use BP_SYM in versioned symbols.
23856         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23857         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23858         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23859         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23860         (open64): Do not use BP_SYM in weak_alias.
23861         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23862         (fegetenv): Do not use BP_SYM in versioned symbols.
23863         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23864         (fesetenv): Do not use BP_SYM in versioned symbols.
23865         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23866         (feupdateenv): Do not use BP_SYM in versioned symbols.
23867         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23868         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23869         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23870         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23871         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23872         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23873         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23874         <bp-sym.h>.
23875         (__libc_start_main): Do not use BP_SYM.
23876
23877 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23878
23879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23880         redundant return line.
23881         (norm): Likewise.
23882         (denorm): Likewise.
23883         (dbl_mp): Likewise.
23884         (sub_magnitudes): Likewise.
23885         (__add): Likewise.
23886         (__sub): Likewise.
23887         (__mul): Likewise.
23888         (__inv): Likewise.
23889         (__dvd): Likewise.
23890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23891         (norm): Likewise.
23892         (denorm): Likewise.
23893         (dbl_mp): Likewise.
23894         (sub_magnitudes): Likewise.
23895         (__add): Likewise.
23896         (__sub): Likewise.
23897         (__mul): Likewise.
23898         (__inv): Likewise.
23899         (__dvd): Likewise.
23900
23901         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23902         instead of __mul.
23903         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23904         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23905         (cc32): Likewise.
23906
23907         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23908         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23910         of __mul for squares.
23911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23912         function
23913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23914         Likewise.
23915         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23916         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23917
23918 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23919
23920         [BZ #13550]
23921         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23922         code.
23923         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23924         prototype or function definition.  Rename ubp_* variables and
23925         parameters.  Remove argv definitions conditional on
23926         [__BOUNDED_POINTERS__].
23927         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23928         * elf/dl-runtime.c (_dl_fixup): Likewise.
23929         * include/set-hooks.h (RUN_HOOK): Likewise.
23930         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23931         definition.
23932         * string/strcpy.c (strcpy): Do not use __unbounded.
23933         * sysdeps/generic/frame.h (struct layout): Likewise.
23934         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23935         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23936         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23937         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23938         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23939         (__backtrace): Likewise.
23940         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23941         use __ptrvalue.
23942         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23943         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23944         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23945         Likewise.
23946         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23947         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23948         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23949         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23950         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23951         Do not use __unbounded.
23952         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23953         Rename __unboundedrlimits parameter to rlimits in prototype.
23954         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23955         Do not use __unbounded.
23956         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23957         not use __ptrvalue.
23958         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23959         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23960         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23961         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23962         __ptrvalue or __unbounded.
23963         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23964         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23965         use __unbounded.
23966         (__new_msgctl): Do not use __ptrvalue.
23967         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23968         __unbounded.
23969         (__libc_msgrcv): Do not use __ptrvalue.
23970         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23971         startup_info): Do not use __unbounded.
23972         (__libc_start_main): Likewise.  Rename ubp_* variables and
23973         parameters.  Remove argv definitions conditional on
23974         [__BOUNDED_POINTERS__].
23975         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23976         __ptrvalue.
23977         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23978         use __unbounded.
23979         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23980         or __ptrvalue.
23981         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23982         use __unbounded.
23983         (__new_shmctl): Do not use __ptrvalue.
23984         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23985         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23986         Likewise.
23987         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23989         (__libc_sigaction): Likewise.
23990         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23991         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23992         Likewise.
23993         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23994
23995 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23996
23997         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23998
23999         * string/mempcpy.c: Implement by calling memcpy.
24000
24001 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24002
24003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24004
24005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24006         evaluation.
24007
24008         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24009         values in the mantissa.
24010
24011         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24012         minimize writes to Z.
24013         (sub_magnitudes): Simplify code a bit.
24014
24015 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24016
24017         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24018         from the message.  The linker prefixes all warnings with that already.
24019
24020 2013-02-12  Andreas Schwab  <schwab@suse.de>
24021
24022         [BZ #15078]
24023         * posix/regexec.c (extend_buffers): Add parameter min_len.
24024         (check_matching): Pass minimum needed length.
24025         (clean_state_log_if_needed): Likewise.
24026         (get_subexp): Likewise.
24027         * posix/Makefile (tests): Add bug-regex34.
24028         (bug-regex34-ENV): Define.
24029         * posix/bug-regex34.c: New file.
24030
24031         [BZ #11561]
24032         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24033         elements compare against the byte sequence of it, not its name.
24034         * posix/Makefile (tests): Add bug-regex35.
24035         (bug-regex35-ENV): Define.
24036         * posix/bug-regex35.c: New file.
24037
24038 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24039
24040         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24041         comment.
24042         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24043         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24044         (CHECK_EOL): Add undef.
24045
24046 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24047
24048         * bits/stdlib-bsearch.h: New file.
24049         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24050         * stdlib/stdlib.h: Likewise.
24051
24052 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24053
24054         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24055         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24056         declaration.
24057         * manual/search.texi (Array Search Function): Add missing const in
24058         lfind prototype.
24059         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24060         declaration to use rlim_t.
24061         (Basic Scheduling Functions): Remove erroneous const from
24062         sched_getparam prototype.  Remove erroneous * from
24063         sched_get_priority_max and sched_get_priority_min prototypes.
24064         (Resource Usage): Fix summary @comment on vtimes to refer to
24065         sys/vtimes.h rather than vtimes.h.
24066         Add missing *s in vtimes prototype.
24067         (Limits on Resources): Fix ulimit prototype to return long int.
24068         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24069         prototypes to use long int rather than double.
24070         (BSD Random): Fix initstate and setstate to use char *, not void *.
24071         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24072         prototype to make second argument 'struct aiocb64 *const[]'.
24073         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24074         (Status of AIO Operations): Remove erroneous const in aio_return and
24075         aio_return64 prototypes.
24076         (Synchronizing I/O): Fix sync prototype to return void.
24077         * manual/startup.texi (Suboptions): Remove an erroneous const in
24078         getsubopt prototype.
24079         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24080         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24081         use size_t rather than int.
24082         (Scanning All Users): Likewise for getpwent_r.
24083         (Setting Groups): Add missing const to setgroups prototype.
24084         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24085         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24086         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24087         'const void *' rather than 'const char *'.
24088         (Host Address Functions): Likewise for inet_ntop.
24089         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24090         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24091         ssize_t for return value.
24092         (Sending Data): Likewise for send, sendto, sendmsg.
24093         (Socket Option Functions): Add a missing const in setsockopt prototype.
24094         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24095         use wchar_t for the argument.
24096         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24097         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24098         take no arguments.
24099         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24100         double/float/long double for second argument.
24101         Fix return types of significand, significandf, significandl.
24102         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24103         argument in fchmod prototype.
24104         (File Owner): Use uid_t and gid_t in fchown prototype.
24105         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24106         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24107         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24108         use 'const struct dirent **' as argument types to CMP function pointer
24109         argument.
24110         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24111         (File Times): Fix summary magic @comment for struct utimbuf and utime
24112         to refer to utime.h, not time.h.
24113         * manual/string.texi (Argz Functions): Add missing const in
24114         argz_extract and argz_next prototypes.
24115         (Finding Tokens in a String): Likewise for basename.
24116         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24117         (Copying and Concatenation): Fix typo in wmemmove prototype.
24118         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24119         (Signal Stack): Remove erroneous const in sigstack prototype.
24120         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24121         prototype.
24122         (Simple Calendar Time): Likewise for stime.
24123         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24124         prototype.
24125         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24126         say sys/sysctl.h instead.
24127         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24128         and vsyslog prototypes.
24129
24130 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24131
24132         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24133         Remove.
24134
24135 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24136
24137         * misc/sys/mman.h: Fix typo in mremap comment.
24138
24139 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24140
24141         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24142         the '\0' terminator.
24143
24144 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24145
24146         [BZ #13550]
24147         * debug/segfault.c: Don't include <bp-checks.h>.
24148         * sysdeps/generic/bp-checks.h: Remove file.
24149         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24150         (__GETDENTS): Don't use CHECK_N.
24151         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24152         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24153         (__getgroups): Don't use CHECK_N.
24154         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24155         (setgroups): Don't use CHECK_N.
24156         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24157         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24158         (__libc_msgrcv): Don't use CHECK_N.
24159         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24160         (__libc_msgsnd): Don't use CHECK_N.
24161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24162         <bp-checks.h>.
24163         (__libc_pread): Don't use CHECK_N.
24164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24165         include <bp-checks.h>.
24166         (__libc_pread64): Don't use CHECK_N.
24167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24168         include <bp-checks.h>.
24169         (__libc_pwrite): Don't use CHECK_N.
24170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24171         include <bp-checks.h>.
24172         (__libc_pwrite64): Don't use CHECK_N.
24173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24174         <bp-checks.h>.
24175         (__libc_pread): Don't use CHECK_N.
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24177         include <bp-checks.h>.
24178         (__libc_pread64): Don't use CHECK_N.
24179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24180         include <bp-checks.h>.
24181         (__libc_pwrite): Don't use CHECK_N.
24182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24183         include <bp-checks.h>.
24184         (__libc_pwrite64): Don't use CHECK_N.
24185         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24186         (do_pread): Don't use CHECK_N.
24187         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24188         (do_pread64): Don't use CHECK_N.
24189         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24190         (do_pwrite): Don't use CHECK_N.
24191         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24192         (do_pwrite64): Don't use CHECK_N.
24193         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24194         (__libc_readv): Don't use CHECK_N.
24195         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24196         (semop): Don't use CHECK_N.
24197         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24198         <bp-checks.h>.
24199         (semtimedop): Don't use CHECK_N.
24200         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24201         (__libc_pread): Don't use CHECK_N.
24202         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24203         <bp-checks.h>.
24204         (__libc_pread64): Don't use CHECK_N.
24205         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24206         <bp-checks.h>.
24207         (__libc_pwrite): Don't use CHECK_N.
24208         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24209         <bp-checks.h>.
24210         (__libc_pwrite64): Don't use CHECK_N.
24211         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24212         <bp-checks.h>.
24213         (__libc_msgrcv): Don't use CHECK_N.
24214         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24215         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24216         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24217         (__libc_writev): Don't use CHECK_N.
24218
24219 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24220
24221         * string/strcpy.c: Removed unused variable.
24222
24223         * Makeconfig (+sysdep-includes): Define with := rather than =.
24224         Use an existing include/ subdir of each sysdeps dir before it.
24225
24226 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24227
24228         * nscd/connection.c (register_traced_file): Comment function.
24229         [HAVE_INOTIFY] (union __inev): Define.
24230         [HAVE_INOTIFY] (inotify_check_files): New function.
24231         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24232         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24233         clear_db_cache.
24234         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24235
24236 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24237
24238         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24239         loaded if not already and that a failure is permanent.
24240
24241 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24242
24243         [BZ #15006]
24244         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24245         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24246
24247 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24248
24249         [BZ #13550]
24250         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24251         (CHECK_1_NULL_OK): Likewise.
24252         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24253         (__fxstat): Do not use CHECK_1.
24254         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24255         <bp-checks.h>.
24256         (___fxstat64): Do not use CHECK_1.
24257         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24258         <bp-checks.h>.
24259         (__fxstatat): Do not use CHECK_1.
24260         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24261         <bp-checks.h>.
24262         (__fxstatat64): Do not use CHECK_1.
24263         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24264         <bp-checks.h>.
24265         (__fxstat): Do not use CHECK_1.
24266         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24267         <bp-checks.h>.
24268         (__fxstatat): Do not use CHECK_1.
24269         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24270         <bp-checks.h>.
24271         (__getresgid): Do not use CHECK_1.
24272         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24273         <bp-checks.h>.
24274         (__getresuid): Do not use CHECK_1.
24275         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24276         <bp-checks.h>.
24277         (__lxstat): Do not use CHECK_1.
24278         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24279         <bp-checks.h>.
24280         (__old_msgctl): Do not use CHECK_1.
24281         (__new_msgctl): Likewise.
24282         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24283         <bp-checks.h>.
24284         (__new_setrlimit): Do not use CHECK_1.
24285         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24286         <bp-checks.h>.
24287         (__old_shmctl): Do not use CHECK_1.
24288         (__new_shmctl): Likewise.
24289         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24290         <bp-checks.h>.
24291         (__xstat): Do not use CHECK_1.
24292         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24293         (__lxstat): Do not use CHECK_1.
24294         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24295         <bp-checks.h>.
24296         (___lxstat64): Do not use CHECK_1.
24297         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24298         (__old_msgctl): Do not use CHECK_1.
24299         (__new_msgctl): Likewise.
24300         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24301         <bp-checks.h>.
24302         (__gettimeofday): Do not use CHECK_1.
24303         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24304         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24305         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24306         <bp-checks.h>.
24307         (__gettimeofday): Do not use CHECK_1.
24308         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24309         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24310         (__new_shmctl): Do not use CHECK_1.
24311         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24312         <bp-checks.h>.
24313         (do_sigtimedwait): Do not use CHECK_1.
24314         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24315         <bp-checks.h>.
24316         (do_sigwaitinfo): Do not use CHECK_1.
24317         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24318         <bp-checks.h>.
24319         (msgctl): Do not use CHECK_1.
24320         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24321         <bp-checks.h>.
24322         (shmctl): Do not use CHECK_1.
24323         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24324         (ustat): Do not use CHECK_1.
24325         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24326         <bp-checks.h>.
24327         (__fxstat): Do not use CHECK_1.
24328         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24329         <bp-checks.h>.
24330         (__fxstatat): Do not use CHECK_1.
24331         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24332         <bp-checks.h>.
24333         (__lxstat): Do not use CHECK_1.
24334         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24335         <bp-checks.h>.
24336         (__xstat): Do not use CHECK_1.
24337         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24338         (__xstat): Do not use CHECK_1.
24339         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24340         (___xstat64): Do not use CHECK_1.
24341
24342         [BZ #13550]
24343         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24344         definitions.
24345         (CHECK_BOUNDS_HIGH): Likewise.
24346         * string/strcpy.c: Do not include <bp-checks.h>.
24347         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24348
24349 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24350
24351         * nscd/nscd-client.h (__nscd_drop_map_ref):
24352         Add __attribute__ ((unused)).
24353         * nis/nss-nisplus.h (niserr2nss): Likewise.
24354
24355         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24356         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24357
24358         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24359         Remove inline keyword.
24360         * include/rounding-mode.h (round_away): Likewise.
24361         * libio/wfileops.c (adjust_wide_data): Likewise.
24362         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24363         (__m128i_strloadu_tolower): Likewise.
24364         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24365         (__m128i_strloadu_tolower): Likewise.
24366         * time/mktime.c (ydhms_diff): Likewise.
24367         * locale/elem-hash.h (elem_hash): Likewise.
24368         * locale/setlocale.c (setdata): Likewise.
24369         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24370         (re_string_wchar_at): Likewise.
24371         (bitset_not, bitset_merge, bitset_mask): Likewise.
24372         [!(__GNUC__ > 3)] (inline): Remove macro.
24373         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24374         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24375         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24376         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24377         * string/memcmp.c (memcmp_bytes): Likewise.
24378         * locale/programs/locarchive.c (compute_hashval): Likewise.
24379         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24380         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24381         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24382         * nss/getent.c (print_rpc, print_protocols): Likewise.
24383         (print_passwd, print_group, print_aliases): Likewise.
24384         * nis/nss-nisplus.h (niserr2nss): Likewise.
24385         * nscd/connections.c (restart_p): Likewise.
24386         Change return type to bool.
24387
24388 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24389
24390         * Makeconfig (all-Depend-files): Add existing
24391         $(sorted-subdirs:=/Depend) files.
24392         (all-subdirs): Remove nss.
24393         * sysdeps/unix/inet/Subdirs: Add it here instead.
24394         * hesiod/Depend: New file.
24395
24396         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24397         instead of calling alloca.
24398
24399         * io/lseek.c (__lseek): Rename to __libc_lseek.
24400         Define __lseek as an alias.
24401
24402         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24403
24404 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24405
24406         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24407         else clause and remove check for non-standard endianness.
24408
24409 2013-02-04  David S. Miller  <davem@davemloft.net>
24410
24411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24412
24413 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24414
24415         [BZ #13550]
24416         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24417         (__ubp_memchr): Remove prototype.
24418         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24419         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24420         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24421         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24422         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24423         Remove alias.
24424         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24425         (__ubp_memchr): Likewise.
24426         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24427         (__ubp_memchr): Likewise.
24428         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24429         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24430         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24431         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24432         CHECK_STRING.
24433         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24434         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24435         (__getcwd): Do not use CHECK_STRING.
24436         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24437         <bp-checks.h>.
24438         (__real_chown): Do not use CHECK_STRING.
24439         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24440         <bp-checks.h>.
24441         (fchownat): Do not use CHECK_STRING.
24442         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24443         CHECK_STRING.
24444         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24445         <bp-checks.h>.
24446         (__lchown): Do not use CHECK_STRING.
24447         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24448         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24449         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24450         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24452         include <bp-checks.h>.
24453         (truncate64): Do not use CHECK_STRING.
24454         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24455         <bp-checks.h>.
24456         (__real_chown): Do not use CHECK_STRING.
24457         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24458         <bp-checks.h>.
24459         (__lchown): Do not use CHECK_STRING.
24460         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24461         <bp-checks.h>.
24462         (__chown): Do not use CHECK_STRING.
24463         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24464         <bp-checks.h>.
24465         (truncate64): Do not use CHECK_STRING.
24466         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24467         Likewise.
24468         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24469         (__xmknod): Do not use CHECK_STRING.
24470         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24471         <bp-checks.h>.
24472         (__xmknodat): Do not use CHECK_STRING.
24473         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24474         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24475
24476 2013-02-04  Andreas Schwab  <schwab@suse.de>
24477
24478         [BZ #14142]
24479         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24480         * include/netdb.h: Likewise for h_errno.
24481         * elf/tst-stackguard1.c: Include <tls.h>.
24482
24483 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24484
24485         * elf/link.h (struct link_map): Extend the l_addr comment.
24486         * include/link.h (struct link_map): Likewise.
24487
24488 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24489
24490         [BZ #13550]
24491         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24492         (BOUNDED_1): Remove macro.
24493         * debug/backtrace.c: Don't include <bp-checks.h>.
24494         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24495         (__backtrace): Likewise.
24496         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24497         <bp-checks.h>.
24498         (__backtrace): Don't use BOUNDED_1.
24499         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24500         <bp-checks.h>.
24501         (__backtrace): Don't use BOUNDED_1.
24502         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24503         (__backtrace): Don't use BOUNDED_1.
24504         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24505         (shmat): Don't use BOUNDED_N.
24506
24507 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24508
24509         [BZ #13550]
24510         * sysdeps/generic/bp-start.h: Remove file.
24511         * csu/libc-start.c: Don't include <bp-start.h>.
24512         (LIBC_START_MAIN): Set up __environ directly instead of using
24513         INIT_ARGV_and_ENVIRON.
24514         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24515         <bp-start.h>.
24516
24517         [BZ #13550]
24518         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24519         definitions.
24520         (CHECK_FCNTL): Likewise.
24521         (CHECK_N_PAGES): Likewise.
24522
24523         [BZ #13550]
24524         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24525         definitions.
24526         (CHECK_SIGSET_NULL_OK): Likewise.
24527         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24528         <bp-checks.h>.
24529         (sigpending): Don't use CHECK_SIGSET.
24530         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24531         <bp-checks.h>.
24532         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24533         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24534         <bp-checks.h>.
24535         (do_sigsuspend): Don't use CHECK_SIGSET.
24536         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24537         use CHECK_SIGSET.
24538         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24539         (do_sigwait): Don't use CHECK_SIGSET.
24540         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24541         use CHECK_SIGSET.
24542         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24543         include <bp-checks.h>.
24544         (sigpending): Don't use CHECK_SIGSET.
24545         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24546         include <bp-checks.h>.
24547         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24548         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24549         <bp-checks.h>.
24550         (sigpending): Don't use CHECK_SIGSET.
24551         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24552         <bp-checks.h>.
24553         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24554
24555         [BZ #13550]
24556         * sysdeps/generic/bp-semctl.h: Remove file.
24557         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24558         <bp-checks.h> and <bp-semctl.h>.
24559         (__old_semctl): Don't use CHECK_SEMCTL.
24560         (__new_semctl): Likewise.
24561         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24562         and <bp-semctl.h>.
24563         (__old_semctl): Don't use CHECK_SEMCTL.
24564         (__new_semctl): Likewise.
24565         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24566         <bp-checks.h> and <bp-semctl.h>.
24567         (__old_semctl): Don't use CHECK_SEMCTL.
24568         (__new_semctl): Likewise.
24569         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24570         <bp-checks.h> and <bp-semctl.h>.
24571         (semctl): Don't use CHECK_SEMCTL.
24572
24573         [BZ #13550]
24574         * Makerules (elide-bp-thunks): Remove variable.
24575         (elide-routines.oS): Don't use $(elide-bp-thunks).
24576         (elide-routines.os): Likewise.
24577         (elide-routines.o): Likewise.
24578         (elide-routines.op): Likewise.
24579         (elide-routines.og): Likewise.
24580         (objects): Don't use $(bp-thunks).
24581         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24582         include.
24583         (common-generated): Do not add s-proto-bp.d.
24584         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24585         (int): Likewise.
24586         (typ): Likewise.
24587         Do not generate makefile rules for bounded-pointer thunks.
24588         * sysdeps/generic/bp-thunks.h: Remove file.
24589         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24590         * sysdeps/unix/s-proto-bp.S: Likewise.
24591
24592         [BZ #15062]
24593         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24594         parts of result separately when argument is not close to line from
24595         -i to i and one part of argument is small.
24596         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24597         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24598         * math/libm-test.inc (cacos_test): Add more tests.
24599         (casin_test): Likewise.
24600         (casinh_test): Likewise.
24601         * sysdeps/i386/fpu/libm-test-ulps: Update.
24602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24603
24604 2013-01-31  David S. Miller  <davem@davemloft.net>
24605
24606         * po/de.po: Update from translation team.
24607
24608 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24609
24610         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24611
24612 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24613
24614         * configure.in (_AC_PROG_CC_C89): New definition.
24615         * configure: Regenerate.
24616
24617         * configure.in (AC_PROG_CPP): New definition.
24618         * configure: Regenerate.
24619
24620 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24621
24622         * debug/tst-backtrace.h: New file.
24623         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24624         (ret): Remove variable.
24625         (x): Likewise.
24626         (FAIL): Remove macro.
24627         (NO_INLINE): Likewise.
24628         (fn1): Use match function instead of strstr.
24629         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24630         (ret): Remove variable.
24631         (x): Likewise.
24632         (FAIL): Remove macro.
24633         (NO_INLINE): Likewise.
24634         (fn): Use match function instead of strstr.
24635         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24636         (ret): Remove variable.
24637         (x): Likewise.
24638         (FAIL): Remove macro.
24639         (NO_INLINE): Likewise.
24640         (handle_signal): Use match function instead of strstr.
24641         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24642         (ret): Remove variable.
24643         (x): Likewise.
24644         (FAIL): Remove macro.
24645         (NO_INLINE): Likewise.
24646         (handle_signal): Use match function instead of strstr.
24647
24648 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24649
24650         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24651
24652 2013-01-23  David S. Miller  <davem@davemloft.net>
24653
24654         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24655         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24656         argument of CAS if possible.
24657         * sysdeps/sparc/sparc64/bits/atomic.h
24658         (__arch_compare_and_exchange_val_32_acq): Likewise.
24659         (__arch_compare_and_exchange_val_64_acq): Likewise.
24660
24661 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24662
24663         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24664         * sysdeps/posix/ulimit.c: ... this.
24665         Include <limits.h>.
24666         * sysdeps/unix/bsd/ulimit.c: Remove file.
24667
24668 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24669
24670         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24671         (LDFLAGS-tst-array5): Likewise.
24672
24673 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24674
24675         [BZ #15036]
24676         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24677         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24678         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24679         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24680
24681 2013-01-21  David S. Miller  <davem@davemloft.net>
24682
24683         * sysdeps/sparc/backtrace.c: New file.
24684         * sysdeps/sparc/sparc32/backtrace.h: New file.
24685         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24686         * sysdeps/sparc/sparc64/backtrace.h: New file.
24687         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24688         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24689         -funwind-tables.
24690
24691 2013-01-21  Andreas Schwab  <schwab@suse.de>
24692
24693         [BZ #15020]
24694         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24695         closed its stdout.
24696
24697 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24698
24699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24700         "mpa2.h".
24701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24702
24703 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24704             Mark Mitchell  <mark@codesourcery.com>
24705             Tom de Vries  <tom@codesourcery.com>
24706             Paul Pluzhnikov  <ppluzhnikov@google.com>
24707
24708         * debug/tst-backtrace2.c: New file.
24709         * debug/tst-backtrace3.c: Likewise.
24710         * debug/tst-backtrace4.c: Likewise.
24711         * debug/tst-backtrace5.c: Likewise.
24712         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24713         (CFLAGS-tst-backtrace3.c): Likewise.
24714         (CFLAGS-tst-backtrace4.c): Likewise.
24715         (CFLAGS-tst-backtrace5.c): Likewise.
24716         (LDFLAGS-tst-backtrace2): Likewise.
24717         (LDFLAGS-tst-backtrace3): Likewise.
24718         (LDFLAGS-tst-backtrace4): Likewise.
24719         (LDFLAGS-tst-backtrace5): Likewise.
24720         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24721         tst-backtrace4 and tst-backtrace5.
24722
24723 2013-01-18  Anton Blanchard  <anton@samba.org>
24724             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24725
24726         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24727         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24728         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24729         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24731         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24732         "+r" and remove output regs list as redundant.  Add explicit inline
24733         asm to specify register of return val to work around compiler codegen
24734         bug.  Remove (int) cast on return value.  Add return type parameter to
24735         use in macro so that this macro does not truncate return value for
24736         64-bit values.
24737         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24738         pass to INTERNAL_VSYSCALL_NCS.
24739         (INLINE_VSYSCALL): Add 'long int' as return type to
24740         INTERNAL_VSYSCALL_NCS macro invocation.
24741         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24742         INTERNAL_VSYSCALL_NCS macro invocation.
24743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24744
24745 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24746
24747         [BZ #14496]
24748         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24749         Fix application of SIMD FP exception mask.
24750
24751         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24752         mp_no from a power of two.
24753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24754         __mpexp_twomm1.  Use __pow_mp.
24755
24756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24757         multiplication.
24758
24759 2013-01-17  David S. Miller  <davem@davemloft.net>
24760
24761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24762
24763 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24764
24765         [BZ #15023]
24766         * include/complex.h: Condition contents on [!_COMPLEX_H].
24767         (__kernel_casinhf): New prototype.
24768         (__kernel_casinh): Likewise.
24769         (__kernel_casinhl): Likewise.
24770         * math/Makefile (libm_calls): Add k_casinh.
24771         * math/k_casinh.c: New file.
24772         * math/k_casinhf.c: Likewise.
24773         * math/k_casinhl.c: Likewise.
24774         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24775         finite nonzero arguments.
24776         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24777         finite nonzero arguments.
24778         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24779         finite nonzero arguments.
24780         * math/s_casinh.c: Do not include <float.h>.
24781         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24782         * math/s_casinhf.c: Do not include <float.h>.
24783         (__casinhf): Move code for finite nonzero arguments to
24784         k_casinhf.c.
24785         * math/s_casinhl.c: Do not include <float.h>.
24786         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24787         redefine.
24788         (__casinhl): Move code for finite nonzero arguments to
24789         k_casinhl.c.
24790         * math/libm-test.inc (cacos_test): Add more tests.
24791         * sysdeps/i386/fpu/libm-test-ulps: Update.
24792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24793
24794 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24795
24796         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24797         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24798         [!HAVE_MREMAP]: Remove [defined linux] case.
24799         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24800
24801 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24802
24803         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24804
24805 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24806
24807         * elf/elf.h (R_386_SIZE32): New relocation.
24808         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24809         R_386_SIZE32.
24810         (elf_machine_rela): Likewise.
24811         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24812         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24813
24814 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24815
24816         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24817         (FP_FAST_FMA): Do not define.
24818         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24819         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24820         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24821         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24822         !_SOFT_FLOAT]: Likewise.
24823         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24824         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24825         value.
24826         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24827         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24828         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24829         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24830         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24831         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24832         file.
24833
24834 2013-01-16  Andreas Schwab  <schwab@suse.de>
24835
24836         [BZ #14327]
24837         * include/stdlib.h (__mktemp): Add declaration.
24838         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24839         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24840
24841 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24842
24843         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24844         definitions.
24845         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24846         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24847         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24848         definitions here.
24849         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24850         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24851         definitions.
24852         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24853         and ONE.
24854         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24855         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24856         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24857         definitions.
24858         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24859         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24860         definitions.
24861         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24862
24863         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24864
24865 2013-01-15  David S. Miller  <davem@davemloft.net>
24866
24867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24868         trunc{,f} to libm-sysdep_routes.
24869         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24871         file.
24872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24874         file.
24875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24876         file.
24877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24879         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24880         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24881         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24882         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24883         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24884         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24885
24886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24887         nearbyint{,f} to libm-sysdep_routes.
24888         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24890         New file.
24891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24892         file.
24893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24894         New file.
24895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24896         file.
24897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24899         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24900         file.
24901         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24902         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24903         file.
24904         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24905         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24906         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24907
24908         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24909         libc_feholdexcept and libc_fesetenv.
24910
24911 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24912
24913         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24914
24915 2013-01-14  David S. Miller  <davem@davemloft.net>
24916
24917         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24918         (SPARC_ASM_VIS2_IFUNC): Likewise.
24919         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24921         use of 'siam' instruction.
24922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24923         Likewise.
24924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24925         Likewise.
24926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24927         Likewise.
24928         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24929         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24930         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24933         file.
24934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24935         file.
24936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24937         file.
24938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24939         file.
24940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24945         new VIS2 routines.
24946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24949         Likewise.
24950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24955         routines to libm-sysdep_routines.
24956         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24957
24958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24959         fdim/fdimf to libm-sysdep_routines.
24960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24961         file.
24962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24964         file.
24965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24968         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24969         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24970         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24971         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24972
24973 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24974
24975         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24976         to optimize copies.
24977
24978         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24981
24982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24983         local variable MPTWO.
24984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24985         Likewise.
24986
24987 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24988
24989         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24990         GLOB_NOESCAPE.
24991
24992 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24993
24994         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24995
24996 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24997
24998         * manual/pattern.texi (glob_t): Document gl_flags.
24999         (glob64_t): Likewise.
25000
25001 2013-01-11  David S. Miller  <davem@davemloft.net>
25002
25003         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25004         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25005         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25006         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25007         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25008         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25009         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25010         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25011         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25012         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25013         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25014         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25015         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25016
25017         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25018         sparc V9 rather than using V8 code.
25019         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25020         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25021
25022         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25023         Move to...
25024         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25025         Here.
25026
25027 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25028
25029         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25030         not in the main loop.
25031         * configure: Regenerated.
25032
25033 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25034
25035         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25036         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25037         to just #else.
25038         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25039         [!__GLIBC_HAVE_LONG_LONG] case.
25040         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25041         condition to just #else.
25042         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25043         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25044         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25045         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25046         unconditional.
25047         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25048         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25049         #elif condition to just #else.
25050         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25051         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25052         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25053         #elif condition to just #else.
25054
25055 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25056
25057         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25058         (EF_MIPS_ARCH_64): Fix value.
25059         (EF_MIPS_ARCH_32R2): New.
25060         (EF_MIPS_ARCH_64R2): New.
25061
25062 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25063
25064         * Makeconfig (+link-pie-before-libc): New.
25065         (+link-pie-after-libc): Likewise.
25066         (+link-pie-tests): Likewise.
25067         (+link-pie): Rewritten.
25068         (link-before-libc): Remove $(config-LDFLAGS).
25069         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25070         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25071         (config-LDFLAGS): Renamed to ...
25072         (rtld-LDFLAGS): This.
25073         (rtld-tests-LDFLAGS): New macro.
25074         (link-libc-rpath-link): Likewise.
25075         (link-libc-tests-rpath-link): Likewise.
25076         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25077         (link-libc): Prepand $(link-libc-rpath-link).
25078         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25079         (test-program-prefix): New macro.
25080         (test-via-rtld-prefix): Likewise.
25081         (test-program-cmd): Likewise.
25082         (host-test-program-cmd): Likewise.
25083         * Makefile ($(common-objpfx)testrun.sh): Replace
25084         $(run-program-prefix) with $(test-program-prefix).
25085         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25086         $(rtld-LDFLAGS).
25087         ($(common-objpfx)shlib.lds): Likewise.
25088         (build-module-helper): Likewise.
25089         ($(common-objpfx)format.lds): Likewise.
25090         * Rules (binaries-pie-tests): New.
25091         (binaries-pie-notests): Likewise.
25092         (binaries-pie): Rewritten.
25093         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25094         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25095         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25096         (make-test-out): Replace $(host-built-program-cmd) with
25097         $(host-test-program-cmd).
25098         * config.make.in (build-hardcoded-path-in-tests): New variable.
25099         * configure.in (--enable-hardcoded-path-in-tests): New configure
25100         option.
25101         (hardcoded_path_in_tests): New AC_SUBST.
25102         * configure: Regenerated.
25103         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25104         $(built-program-cmd) with $(test-program-cmd).
25105         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25106         (test_program_cmd): This.
25107         * elf/Makefile ($(objpfx)order.out): Run test with
25108         $(test-program-prefix).
25109         ($(objpfx)order2.out): Likewise.
25110         ($(objpfx)tst-initorder.out): Likewise.
25111         ($(objpfx)tst-initorder2.out): Likewise.
25112         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25113         $(test-program-cmd).
25114         ($(objpfx)tst-array1-static.out): Likewise.
25115         ($(objpfx)tst-array2.out): Likewise.
25116         ($(objpfx)tst-array3.out): Likewise.
25117         ($(objpfx)tst-array4.out): Likewise.
25118         ($(objpfx)tst-array5.out): Likewise.
25119         ($(objpfx)tst-array5-static.out): Likewise.
25120         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25121         $(test-program-cmd).
25122         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25123         $(run-program-prefix) with $(test-program-prefix).
25124         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25125         (test_program_prefix): This.
25126         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25127         $(run-program-prefix) with $(test-program-prefix).
25128         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25129         (test_program_prefix): This.
25130         * iconvdata/tst-tables.sh: Likewise.
25131         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25132         $(run-program-prefix) with $(test-program-prefix).
25133         ($(objpfx)tst-translit.out): Likewise.
25134         ($(objpfx)tst-gettext2.out): Likewise.
25135         ($(objpfx)tst-gettext4.out): Likewise.
25136         ($(objpfx)tst-gettext6.out): Likewise.
25137         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25138         (test_program_prefix): This.
25139         * intl/tst-gettext2.sh: Likewise.
25140         * intl/tst-gettext4.sh  Likewise.
25141         * intl/tst-gettext6.sh: Likewise.
25142         * intl/tst-translit.sh: Likewise.
25143         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25144         with $(test-program-cmd).
25145         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25146         $(run-program-prefix) with $(test-program-prefix).
25147         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25148         (test_program_prefix): This.
25149         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25150         $(run-program-prefix) with $(test-program-prefix).
25151         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25152         (test_program_prefix): This.
25153         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25154         * posix/Makefile ($(objpfx)globtest.out): Replace
25155         $(run-via-rtld-prefix) and $(test-wrapper) with
25156         $(test-program-prefix) and $(test-via-rtld-prefix).
25157         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25158         $(test-program-prefix).
25159         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25160         $(host-test-program-cmd).
25161         (tst-spawn-ARGS): Likewise.
25162         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25163         $(test-program-prefix).
25164         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25165         (test_via_rtld_prefix): This.
25166         (test_wrapper): Renamed to ...
25167         (test_program_prefix): This.
25168         (run_program_prefix): Replaced by test_program_prefix.
25169         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25170         (test_program_prefix): This.
25171         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25172         with $(host-test-program-cmd).
25173         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25174         $(run-program-prefix) with $(test-program-prefix).
25175         ($(objpfx)tst-printf.out): Likewise.
25176         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25177         $(test-program-cmd).
25178         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25179         (test_program_prefix): This.
25180         * stdio-common/tst-unbputc.sh: Likewise.
25181         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25182         $(run-program-prefix) with $(test-program-prefix).
25183         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25184         (test_program_prefix): This.
25185         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25186         $(built-program-cmd) with $(test-program-cmd).
25187
25188 2013-01-11  Andreas Jaeger  <aj@suse.de>
25189
25190         [BZ #15003]
25191         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25192         value. Sync with Linux 3.7.
25193
25194 2013-01-10  David S. Miller  <davem@davemloft.net>
25195
25196         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25197         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25198         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25199
25200 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25201
25202         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25203         never set.
25204         * configure: Regenerated.
25205
25206 2013-01-10  David S. Miller  <davem@davemloft.net>
25207
25208         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25209         sparc V9 rather than using V8 code.
25210         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25211         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25212
25213 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25214
25215         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25216         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25217         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25218         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25219         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25220         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25221         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25222         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25223         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25224         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25225         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25226         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25227         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25228         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25229         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25230         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25231         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25232         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25233         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25234         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25235         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25236         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25237         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25238         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25239         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25240         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25241         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25242
25243 2013-01-10  David S. Miller  <davem@davemloft.net>
25244
25245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25246
25247 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25248
25249         * posix/Makefile (tests-static): New variable.
25250         (tests): Add $(tests-static).
25251         (tst-exec-static-ARGS): New variable.
25252         (tst-spawn-static-ARGS): Likewise.
25253         * posix/tst-exec-static.c: New file.
25254         * posix/tst-spawn-static.c: Likewise.
25255         * posix/tst-exec.c: Support run directly.
25256         * posix/tst-spawn.c: Likewise.
25257
25258 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25259
25260         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25261         long.
25262         * math/bits/mathcalls.h (llrint): Likewise.
25263         (llround): Likewise.
25264         * stdlib/stdlib.h (struct drand48_data): Likewise.
25265         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25266         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25267         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25268         Likewise.
25269         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25270         Likewise.
25271         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25272         (elf_greg_t): Likewise.
25273         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25274         (__jmp_buf): Likewise.
25275         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25276         definitions.
25277         (llrint): Likewise, for all definitions.
25278         (llrintl): Likewise.
25279
25280         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25281         Remove [__GNUC__] condition.
25282         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25283         condition to just [__USE_ISOC99].
25284         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25285
25286 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25287
25288         [BZ #14200]
25289         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25290         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25291         defined.
25292         (_POSIX_V6_ILP32_OFF32): Likewise.
25293         (_XBS5_ILP32_OFF32): Likewise.
25294         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25295         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25296
25297 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25298
25299         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25300
25301         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25302         doubles __mpexp_twomm1.  Adjust usage.
25303         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25304         Remove.
25305
25306 2013-01-10  Andreas Schwab  <schwab@suse.de>
25307
25308         [BZ #14964]
25309         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25310         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25311
25312 2013-01-09  David S. Miller  <davem@davemloft.net>
25313
25314         [BZ #15003]
25315         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25316         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25317         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25318         (TCP_FASTOPEN): Define.
25319         (tcp_repair_opt): New structure.
25320         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25321         enum values.
25322         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25323         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25324         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25325         (tcp_cookie_transactions): New structure.
25326
25327 2013-01-09  Anton Blanchard  <anton@samba.org>
25328
25329         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25330         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25331         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25332         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25333
25334 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25335
25336         * include/features.h (__USE_ANSI): Remove.
25337
25338 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25339
25340         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25341
25342         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25343
25344 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25345
25346         * sysdeps/s390/fpu/libm-test-ulps: Update.
25347
25348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25349
25350         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25351         (__acr): Likewise.
25352         (__cpy): Likewise.
25353         (norm): Likewise.
25354         (denorm): Likewise.
25355         (__mp_dbl): Likewise.
25356         (__dbl_mp): Likewise.
25357         (add_magnitudes): Likewise.
25358         (sub_magnitudes): Likewise.
25359         (__add): Likewise.
25360         (__sub): Likewise.
25361         (__mul): Likewise.
25362         (__inv): Likewise.
25363         (__dvd): Likewise.
25364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25365         (__acr): Likewise.
25366         (__cpy): Likewise.
25367         (norm): Likewise.
25368         (denorm): Likewise.
25369         (__mp_dbl): Likewise.
25370         (__dbl_mp): Likewise.
25371         (add_magnitudes): Likewise.
25372         (sub_magnitudes): Likewise.
25373         (__add): Likewise.
25374         (__sub): Likewise.
25375         (__mul): Likewise.
25376         (__inv): Likewise.
25377         (__dvd): Likewise.
25378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25379         (__acr): Likewise.
25380         (__cpy): Likewise.
25381         (norm): Likewise.
25382         (denorm): Likewise.
25383         (__mp_dbl): Likewise.
25384         (__dbl_mp): Likewise.
25385         (add_magnitudes): Likewise.
25386         (sub_magnitudes): Likewise.
25387         (__add): Likewise.
25388         (__sub): Likewise.
25389         (__mul): Likewise.
25390         (__inv): Likewise.
25391         (__dvd): Likewise.
25392
25393 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25394
25395         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25396         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25397         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25398         2 && __USE_EXTERN_INLINES]: Likewise.
25399
25400 2013-01-08  Andreas Jaeger  <aj@suse.de>
25401
25402         [BZ# 14985]
25403         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25404         Remove.
25405         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25406         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25407
25408 2013-01-07  Anton Blanchard  <anton@samba.org>
25409
25410         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25411         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25412         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25413         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25414         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25415         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25416         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25417         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25419         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25420         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25421         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25422         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25423         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25424         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25425         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25426         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25427         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25428         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25429         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25430         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25431         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25432         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25433         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25434         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25435         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25436         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25437         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25438         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25439         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25440         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25442         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25443         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25444         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25445         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25446         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25447         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25448         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25449         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25450         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25451         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25452         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25453
25454 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25455
25456         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25457         (__MALLOC_PMT): Likewise.
25458         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25459         [__GNUC__], only on [_LIBC].
25460         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25461         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25462         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25463         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25464         forward declaration.
25465         (realloc_hook_ini): Likewise.
25466         (memalign_hook_ini): Likewise.
25467         (__libc_memalign): Do not use __MALLOC_PMT in variable
25468         declaration.
25469         (__libc_valloc): Likewise.
25470         (__libc_pvalloc): Likewise.
25471         (__libc_calloc): Likewise.
25472         (__posix_memalign): Likewise.
25473
25474         [BZ #14996]
25475         * math/s_casinh.c: Include <float.h>.
25476         (__casinh): Do not do computation with squaring and square root
25477         for large arguments.
25478         * math/s_casinhf.c: Include <float.h>.
25479         (__casinhf): Do not do computation with squaring and square root
25480         for large arguments.
25481         * math/s_casinhl.c: Include <float.h>.
25482         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25483         (__casinhl): Do not do computation with squaring and square root
25484         for large arguments.
25485         * math/libm-test.inc (casin_test): Add more tests.
25486         (casinh_test): Likewise.
25487         * sysdeps/i386/fpu/libm-test-ulps: Update.
25488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25489
25490 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25491
25492         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25493         (__x86_64_raw_data_cache_size): Likewise.
25494         (__x86_64_data_cache_size_half): Likewise.
25495         (__x86_64_raw_data_cache_size_half): Likewise.
25496         (__x86_64_shared_cache_size): Likewise.
25497         (__x86_64_raw_shared_cache_size): Likewise.
25498         (__x86_64_shared_cache_size_half): Likewise.
25499         (__x86_64_raw_shared_cache_size_half): Likewise.
25500         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25501         to ...
25502         (__x86_data_cache_size): This.
25503         (__x86_64_raw_data_cache_size): Renamed to ...
25504         (__x86_raw_data_cache_size): This.
25505         (__x86_64_data_cache_size_half): Renamed to ...
25506         (__x86_data_cache_size_half): This.
25507         (__x86_64_raw_data_cache_size_half): Renamed to ...
25508         (__x86_raw_data_cache_size_half): This.
25509         (__x86_64_shared_cache_size): Renamed to ...
25510         (__x86_shared_cache_size): This.
25511         (__x86_64_raw_shared_cache_size): Renamed to ...
25512         (__x86_raw_shared_cache_size): This.
25513         (__x86_64_shared_cache_size_half): Renamed to ...
25514         (__x86_shared_cache_size_half): This.
25515         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25516         (__x86_raw_shared_cache_size_half): This.
25517         * sysdeps/x86_64/memcpy.S: Updated.
25518         * sysdeps/x86_64/memset.S: Likewise.
25519         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25520         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25521         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25522
25523 2013-01-04  David S. Miller  <davem@davemloft.net>
25524
25525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25526
25527 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25528
25529         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25530         1 to avoid redefinition warning.
25531         (__USE_GNU): Don't define.
25532         (init_signaling_nan): Protoize.
25533
25534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25535
25536 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25537
25538         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25540         (__cpymn): Likewise.
25541         (norm): Remove commented code.
25542         (denorm): Likewise.
25543         (__mp_dbl): Likewise.
25544         (__inv): Likewise.
25545         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25546         (__cpymn): Likewise.
25547         (norm): Remove commented code.
25548         (denorm): Likewise.
25549         (__mp_dbl): Likewise.
25550         (__inv): Likewise.
25551
25552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25553         mp_no value for 1.0 and 2.0.
25554         (norm): Use RADIXI instead of radixi.d.
25555         (denorm): Likewise.
25556         (__mul): Use 0.0 instead of zero.d.
25557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25558         mp_no value for 1.0 and 2.0.
25559         (norm): Use RADIXI instead of radixi.d.
25560         (denorm): Likewise.
25561         (__mul): Use 0.0 instead of zero.d.
25562
25563 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25564
25565         [BZ #14994]
25566         * math/s_casinh.c (__casinh): Reduce finite argument to first
25567         quadrant then set signs of results at the end.
25568         * math/s_casinhf.c (__casinhf): Likewise.
25569         * math/s_casinhl.c (__casinhl): Likewise.
25570         * math/libm-test.inc (casin_test): Add more tests.
25571         (casinh_test): Likewise.
25572         * sysdeps/i386/fpu/libm-test-ulps: Update.
25573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25574
25575 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25576
25577         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25578
25579         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25580
25581         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25582         declarations.
25583         (denorm): Likewise.
25584         (__mp_dbl): Likewise.
25585         (__inv): Likewise.
25586
25587         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25588         and adjust the header comment.
25589
25590         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25591         variable name from declaration.
25592
25593 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25594
25595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25596         Initialize COMMON_CPUID_INDEX_7 element.
25597         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25598         (CPUID_RTM): Likewise.
25599         (HAS_RTM): Likewise.
25600         (COMMON_CPUID_INDEX_7): New enum.
25601
25602 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25603
25604         [BZ #14981]
25605         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25606         size is zero, record memory as freed.
25607
25608 2013-01-03  Andreas Jaeger  <aj@suse.de>
25609
25610         * po/ia.po: Add new Interlingua translation.
25611
25612 2012-01-03  Allan McRae  <allan@archlinux.org>
25613
25614         * locale/programs/localedef.c: Fix description of '--posix' flag.
25615
25616 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25617
25618         * NEWS: Update dates in second copyright notice.
25619         * README: Update copyright dates in example.
25620         * manual/libc.texinfo: Update copyright dates.
25621         * scripts/test-installation.pl: Update copyright date in --version
25622         output.
25623
25624         * hurd/ctty-input.c: Fix copyright notice formatting.
25625         * hurd/ctty-output.c: Likewise.
25626         * hurd/dtable.c: Likewise.
25627         * hurd/hurd-raise.c: Likewise.
25628         * hurd/hurdprio.c: Likewise.
25629         * hurd/msgportdemux.c: Likewise.
25630         * misc/sys/file.h: Likewise.
25631         * misc/sys/ioctl.h: Likewise.
25632         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25633         * sysdeps/mach/hurd/chdir.c: Likewise.
25634         * sysdeps/mach/hurd/fchdir.c: Likewise.
25635         * sysdeps/mach/hurd/rename.c: Likewise.
25636         * sysdeps/mach/hurd/rmdir.c: Likewise.
25637         * sysdeps/mach/hurd/seekdir.c: Likewise.
25638         * sysdeps/mach/hurd/setsid.c: Likewise.
25639         * sysdeps/posix/wait3.c: Likewise.
25640
25641         * All files with FSF copyright notices: Update copyright dates
25642         using scripts/update-copyrights.
25643         * intl/plural.c: Regenerated.
25644         * locale/programs/charmap-kw.h: Likewise.
25645         * locale/programs/locfile-kw.h: Likewise.
25646
25647 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25648
25649         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25650         four values.
25651
25652         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25653         calculation loop and add branch prediction.
25654
25655         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25656         check access beyond bounds of m1np.
25657
25658         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25659         MPTWO.
25660         (__inv): Remove local variable MPTWO to use the global
25661         constant.
25662         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25663         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25664         variable MPTWO.
25665         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25666         MP3HALFS static const.
25667
25668 2013-01-01  David S. Miller  <davem@davemloft.net>
25669
25670         * po/ca.po: Update from translation team.
25671
25672 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25673
25674         * scripts/update-copyrights: New file.
25675         * Makeconfig: Reformat copyright notice.
25676         * ctype/ctype.h: Likewise.
25677         * debug/swprintf_chk.c: Likewise.
25678         * elf/dl-cache.c: Likewise.
25679         * elf/dl-debug.c: Likewise.
25680         * elf/dl-object.c: Likewise.
25681         * grp/initgroups.c: Likewise.
25682         * hurd/Makefile: Likewise.
25683         * hurd/hurd/signal.h: Likewise.
25684         * hurd/hurdfault.c: Likewise.
25685         * hurd/hurdioctl.c: Likewise.
25686         * hurd/hurdlookup.c: Likewise.
25687         * hurd/intr-msg.c: Likewise.
25688         * iconv/gconv_open.c: Likewise.
25689         * libio/swprintf.c: Likewise.
25690         * locale/lc-ctype.c: Likewise.
25691         * locale/nl_langinfo.c: Likewise.
25692         * mach/Machrules: Likewise.
25693         * mach/Makefile: Likewise.
25694         * malloc/obstack.h: Likewise.
25695         * manual/Makefile: Likewise.
25696         * manual/tsort.awk: Likewise.
25697         * misc/bits/stab.def: Likewise.
25698         * nis/nis_print_group_entry.c: Likewise.
25699         * nis/nis_table.c: Likewise.
25700         * nis/nss_compat/compat-pwd.c: Likewise.
25701         * nis/nss_compat/compat-spwd.c: Likewise.
25702         * po/Makefile: Likewise.
25703         * posix/fnmatch.c: Likewise.
25704         * posix/regex.h: Likewise.
25705         * resolv/Makefile: Likewise.
25706         * resolv/nss_dns/dns-network.c: Likewise.
25707         * resolv/res_hconf.c: Likewise.
25708         * scripts/gen-sorted.awk: Likewise.
25709         * soft-fp/soft-fp.h: Likewise.
25710         * stdio-common/printf.h: Likewise.
25711         * stdlib/monetary.h: Likewise.
25712         * stdlib/random.c: Likewise.
25713         * stdlib/random_r.c: Likewise.
25714         * sysdeps/generic/Makefile: Likewise.
25715         * sysdeps/gnu/Makefile: Likewise.
25716         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25718         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25719         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25720         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25721         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25722         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25723         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25724         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25725         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25726         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25727         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25728         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25729         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25730         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25731         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25732         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25733         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25734         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25735         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25736         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25737         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25738         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25739         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25740         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25741         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25742         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25743         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25744         * sysdeps/mach/hurd/errnos.awk: Likewise.
25745         * sysdeps/mach/hurd/fork.c: Likewise.
25746         * sysdeps/mach/hurd/getcwd.c: Likewise.
25747         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25748         * sysdeps/mach/hurd/mmap.c: Likewise.
25749         * sysdeps/mach/hurd/utimes.c: Likewise.
25750         * sysdeps/mach/hurd/xmknod.c: Likewise.
25751         * sysdeps/posix/profil.c: Likewise.
25752         * sysdeps/posix/readdir_r.c: Likewise.
25753         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25754         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25755         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25756         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25758         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25759         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25760         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25762         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25763         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25764         * sysdeps/pthread/lio_listio.c: Likewise.
25765         * sysdeps/sparc/dl-procinfo.h: Likewise.
25766         * sysdeps/unix/i386/sysdep.S: Likewise.
25767         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25768         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25769         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25770         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25772         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25773         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25774         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25775         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25776         * sysdeps/wordsize-32/divdi3.c: Likewise.
25777         * time/sys/time.h: Likewise.
25778         * wcsmbs/Makefile: Likewise.
25779
25780 2013-01-01  David S. Miller  <davem@davemloft.net>
25781
25782         * po/fr.po: Update from translation team.
25783
25784         * catgets/gencat.c: Update copyright year.
25785         * csu/version.c: Likewise.
25786         * debug/catchsegv.sh: Likewise.
25787         * debug/pcprofiledump.c: Likewise.
25788         * debug/xtrace.sh: Likewise.
25789         * elf/ldconfig.c: Likewise.
25790         * elf/ldd.bash.in: Likewise.
25791         * elf/pldd.c: Likewise.
25792         * elf/sotruss.ksh: Likewise.
25793         * elf/sprof.c: Likewise.
25794         * iconv/iconv_prog.c: Likewise.
25795         * iconv/iconvconfig.c: Likewise.
25796         * locale/programs/locale.c: Likewise.
25797         * locale/programs/localedef.c: Likewise.
25798         * login/programs/pt_chown.c: Likewise.
25799         * malloc/memusage.sh: Likewise.
25800         * malloc/memusagestat.c: Likewise.
25801         * malloc/mtrace.pl: Likewise.
25802         * nscd/nscd.c: Likewise.
25803         * nss/getent.c: Likewise.
25804         * nss/makedb.c: Likewise.
25805         * posix/getconf.c: Likewise.
25806
25807 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25808
25809         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25810         numbers.
25811
25812 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25813
25814         * math/bits/mathcalls.h (modf): Use __nonnull.
25815
25816 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25817
25818         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25819         (split): Use macro CN instead of the bare value.
25820         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25821         could be used.
25822         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25823         instead of the bare value.
25824         (power1): Likewise.
25825
25826 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25827
25828         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25829         __ATAN_TWOM.
25830         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25831
25832         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25833         their values.
25834         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25835         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25836         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25837         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25838
25839 2012-12-28  Andreas Jaeger  <aj@suse.de>
25840
25841         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25842         values are from Linux 3.7.
25843
25844         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25845         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25846
25847 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25848
25849         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25850         TRUE case.
25851
25852         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25853         (norm): Likewise.
25854         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25855         variables with preprocessor constants.
25856         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25857         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25858         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25859
25860 2012-12-27  Bruno Haible  <bruno@clisp.org>
25861
25862         [BZ #14317]
25863         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25864         only if needed.
25865
25866 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25867
25868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25869         and use variable directly.
25870         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25871
25872         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25873         MPONE.
25874         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25875         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25876         variable MPONE.
25877         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25879         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25880         include directive.  Remove local variable MPONE.
25881         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25882         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25883         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25884
25885 2012-12-25  David S. Miller  <davem@davemloft.net>
25886
25887         * version.h (RELEASE): Set to "development".
25888         (VERSION): Set to "2.17.90".
25889         * NEWS: Add 2.18 section.
25890
25891 2012-12-21  David S. Miller  <davem@davemloft.net>
25892
25893         * po/hr.po: Update from translation team.
25894
25895 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25896
25897         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25898
25899 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25900
25901         * NEWS:  Mention new memcpy for MIPS.
25902
25903 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25904
25905         * manual/contrib.texi (Contributors): Spelling correction.
25906
25907 2012-12-15  David S. Miller  <davem@davemloft.net>
25908
25909         * po/ru.po: Update from translation team.
25910
25911 2012-12-13  David S. Miller  <davem@davemloft.net>
25912
25913         * NEWS: Mention IFUNC testsuite enhancements.
25914
25915         * po/pl.po: Update from translation team.
25916         * po/bg.po: Likewise.
25917
25918         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25919         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25920
25921 2012-12-11  David S. Miller  <davem@davemloft.net>
25922
25923         * po/sv.po: Update from translation team.
25924
25925         * po/vi.po: Update from translation team.
25926
25927         * po/cs.po: Update from translation team.
25928
25929         * po/de.po: Update from translation team.
25930         * po/eo.po: Likewise.
25931         * po/nl.po: Likewise.
25932
25933 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25934
25935         [BZ #14246]
25936         * manual/argp.texi (Argp Helper Functions): Move node to follow
25937         Argp Parsing State.
25938
25939         [BZ #14872]
25940         * manual/conf.texi (Limits on File System Capacity): Mention if
25941         terminating null is included in the max size.
25942
25943 2012-12-10  Andreas Jaeger  <aj@suse.de>
25944
25945         * po/cs.po: Update from translation team.
25946
25947 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25948
25949         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25950         void pointer and cast to uintptr_t.
25951         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25952         path.
25953         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25954         * sysdeps/s390/s390-64/memset.S: Likewise.
25955
25956 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25957
25958         [BZ #14833]
25959         * menual/message.texi (Message Translation): Fix typos.
25960         (Helper programs for gettext): Likewise.
25961
25962 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25963
25964         [BZ #14898]
25965         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25966         Change to -1.
25967
25968 2012-12-07  David S. Miller  <davem@davemloft.net>
25969
25970         * po/libc.pot: Update.
25971
25972 2012-12-07  Richard Henderson  <rth@redhat.com>
25973
25974         [BZ #10114]
25975         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25976         normal/normal case to before the switch.
25977         (_FP_DIV): Likewise.
25978
25979 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25980             Mike Frysinger  <vapier@gentoo.org>
25981
25982         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25983         check for __NR_fadvise64_64.
25984
25985 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25986
25987         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25988         0, not just to plain "0" as a statement.
25989         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25990         with cw.
25991
25992 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25993
25994         * NEWS: Use sourceware.org in Bugzilla URL.
25995
25996 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25997
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25999         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26000
26001         * stdio-common/tst-put-error.c (do_test): Add newline to the
26002         padded test to ensure flush.
26003
26004 2012-12-05  Jeff Law  <law@redhat.com>
26005
26006         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26007
26008 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26009
26010         * README: Don't refer to ports add-on as distributed separately.
26011         Mention AArch64 in list of systems supported in the ports add-on.
26012
26013         * LICENSES: Add more non-FSF copyright and license notices.
26014
26015         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26016         ((unused)).
26017
26018         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26019
26020         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26021         10000 as width of padded output.
26022
26023 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26024
26025         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26026
26027         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26028         variable LX with __attribute__ ((unused)).
26029         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26030         Likewise.
26031         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26032         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26033         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26034         with __attribute__ ((unused)).
26035
26036 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26037
26038         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26039
26040 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26041
26042         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26043         (CFLAGS-nldbl-acos.c): New variable.
26044         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26045         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26046         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26047         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26048         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26049         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26050         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26051         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26052         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26053         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26054         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26055         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26056         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26057         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26058         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26059         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26060         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26061         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26062         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26063         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26064         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26065         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26066         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26067         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26068         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26069         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26070         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26071         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26072         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26073         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26074         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26075         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26076         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26077         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26078         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26079         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26080         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26081         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26082         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26083         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26084         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26085         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26086         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26087         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26088         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26089         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26090         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26091         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26092         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26093         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26094         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26095         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26096         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26097         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26098         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26099         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26100         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26101         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26102         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26103         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26104         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26105         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26106         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26107         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26108         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26109         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26110         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26111         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26112         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26113         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26114         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26115         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26116         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26117         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26118         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26119         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26120         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26121         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26122         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26123         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26124         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26125         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26126         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26127         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26128         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26129         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26130         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26131         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26132         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26133         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26134         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26135         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26136         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26137         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26138         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26139         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26140         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26141
26142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26143         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26144
26145         [BZ #14914]
26146         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26147         whole low double instead of just low 47 bits when splitting values
26148         into two parts.
26149
26150 2012-12-03  Allan McRae  <allan@archlinux.org>
26151
26152         * manual/stdio.texi (Predefined Printf Handlers): Remove
26153         @hsep and @vsep usage.
26154
26155 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26156
26157         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26158         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26159
26160 2012-12-03  Jeff Law  <law@redhat.com>
26161
26162         * time/sys/time.h (settimeofday): Do not mark TV argument
26163         as __nonnull.
26164
26165 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26166
26167         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26168         when currently writing and seek to current position when not.
26169         * libio/Makefile (tests): Remove bug-fclose1.
26170         * libio/bug-fclose1.c: Delete.
26171
26172 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26173
26174         * manual/arith.texi (feenableexcept): Fix typo.
26175         (fedisableexcept): Likewise.
26176
26177 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26178
26179         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26180         second, differently-typed declaration, rather than a cast.
26181
26182 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26183
26184         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26185         * include/rpc/svc.h: ... here.
26186
26187 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26188
26189         [BZ #13013]
26190         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26191         depending n and resplen2 to catch cases where answer
26192         equals answerp2.
26193
26194 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26195
26196         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26197         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26198
26199 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26200
26201         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26202
26203 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26204
26205         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26206
26207 2012-11-28  Jeff Law  <law@redhat.com>
26208
26209         [BZ #13761]
26210         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26211         dataset_temporary.  Track alloca usage into alloca_used.
26212         If dataset is large allocate and release it via malloc/free.
26213
26214 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26215
26216         [BZ #14197]
26217         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26218
26219 2012-11-28  David S. Miller  <davem@davemloft.net>
26220
26221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26222
26223 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26224
26225         [BZ #14803]
26226         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26227         of pi/2 rounded to nearest to 64 bits.
26228         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26229         nearest to 64 bits.
26230         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26231         bits.
26232
26233 2012-11-28  Jeff Law <law@redhat.com>
26234             Martin Osvald <mosvald@redhat.com>
26235
26236         [BZ #14889]
26237         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26238         * sunrpc/svc.c: Include time.h.
26239         (__svc_accept_failed): New function.
26240         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26241         any reason other than EINTR, call __svc_accept_failed.
26242         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26243         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26244
26245 2012-11-28  Andreas Schwab  <schwab@suse.de>
26246
26247         * scripts/abilist.awk: Also handle indirect functions in .opd
26248         section.
26249
26250 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26251
26252         [BZ #13881]
26253         * sysdeps/x86/fpu/powl_helper.c: New file.
26254         * sysdeps/x86/fpu/Makefile: Likewise.
26255         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26256         (p3): New object.
26257         (__ieee754_powl): Use __powl_helper for finite arguments except
26258         integer exponents below 8.
26259         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26260         (p3): New object.
26261         (__ieee754_powl): Use __powl_helper for finite arguments except
26262         integer exponents below 8.
26263         * math/libm-test.inc (pow_test): Add more tests and enable some
26264         previously disabled tests.
26265         * sysdeps/i386/fpu/libm-test-ulps: Update.
26266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26267
26268 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26269             Carlos O'Donell  <carlos_odonell@mentor.com>
26270
26271         * nss/makedb.c (is_prime): Assert that input is odd and greater
26272         than 4.  Note that fact in a comment too.
26273         (next_prime): Add 4 to input.
26274
26275 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26276
26277         [BZ #11741]
26278         * libio/Makefile (tests): Add test case tst-fwrite-error.
26279         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26280         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26281         * libio/tst-fwrite-error.c: New test case.
26282
26283 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26284
26285         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26286         before casting to void *.
26287         * include/libc-internal.h (__pointer_type): New macro.
26288         (__integer_if_pointer_type_sub): Likewise.
26289         (__integer_if_pointer_type): Likewise.
26290         (cast_to_integer): Likewise.
26291         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26292         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26293         before casting to atomic64_t.
26294         (atomic_exchange_acq): Likewise.
26295         (__arch_exchange_and_add_body): Likewise.
26296         (__arch_add_body): Likewise.
26297         (atomic_add_negative): Likewise.
26298         (atomic_add_zero): Likewise.
26299
26300 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26301
26302         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26303         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26304         (add_fdes): Likewise.
26305         (linear_search_fdes): Likewise.
26306         (binary_search_unencoded_fdes): Likewise.
26307
26308 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26309
26310         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26311
26312 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26313
26314         * configure.in: Autodetect C++ header directories.
26315         * configure: Regenerated.
26316
26317 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26318
26319         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26320
26321 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26322
26323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26324
26325 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26326
26327         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26328         LDBL_MANT_DIG == 106]: Disable some tests.
26329         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26330         Likewise.
26331         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26332         Likewise.
26333
26334         [BZ #14871]
26335         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26336         input for small inputs.  Return +/- pi/2 for large inputs.
26337         * math/libm-test.inc (atan_test): Add more tests.
26338
26339         * sysdeps/generic/unwind-dw2-fde-glibc.c
26340         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26341         __attribute__ ((unused)).
26342
26343         [BZ #14645]
26344         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26345         x * y if x and y are nonzero and z is zero.
26346
26347         [BZ #14811]
26348         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26349         nonzero exponents with absolute value below 0x1p-117 to +/-
26350         0x1p-117.
26351
26352         [BZ #14869]
26353         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26354         up arguments below 2**-450, not just those below 2**-500.
26355         * math/libm-test.inc (hypot_test): Add another test.
26356
26357         [BZ #14868]
26358         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26359         Return a+b for ratio over 2**120, not 2**60.
26360         * math/libm-test.inc (hypot_test): Add another test.
26361
26362         * math/libm-test.inc (clog_test): Use
26363         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26364         (clog10_test): Likewise.
26365
26366         [BZ #6778]
26367         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26368
26369 2012-11-22  Andreas Schwab  <schwab@suse.de>
26370
26371         * sysdeps/i386/fpu/libm-test-ulps: Update.
26372
26373 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26374
26375         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26376         printf output with newline.
26377
26378 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26379
26380         [BZ #14865]
26381         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26382         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26383         -z nodlopen, -z initfirst and -z execstack support.
26384         * configure: Regenerated.
26385
26386         * elf/elf.h (DF_1_NODIRECT): New macro.
26387         (DF_1_IGNMULDEF): Likewise.
26388         (DF_1_NOKSYMS): Likewise.
26389         (DF_1_NOHDR): Likewise.
26390         (DF_1_EDITED): Likewise.
26391         (DF_1_NORELOC): Likewise.
26392         (DF_1_SYMINTPOSE): Likewise.
26393         (DF_1_GLOBAUDIT): Likewise.
26394         (DF_1_SINGLETON): Likewise.
26395         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26396         DT_1_SUPPORTED_MASK bits.
26397         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26398
26399 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26400
26401         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26402
26403 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26404
26405         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26406         macro.
26407
26408         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26409         (sendmmsg): Move declarations...
26410         * socket/sys/socket.h: ... here.
26411         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26412         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26413         include it from...
26414         * socket/recvmmsg.c: ... this new file.
26415         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26416         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26417         definition of __sendmmsg hidden.
26418         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26419         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26420         Move ENOSYS stub into and include it from...
26421         * socket/sendmmsg.c: ... this new file.
26422         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26423         (sysdep_routines): Move recvmmsg and sendmmsg...
26424         * socket/Makefile (routines): ... here.
26425         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26426         (GLIBC_PRIVATE): Add __sendmmsg.
26427         * include/sys/socket.h (__sendmmsg): Add declarations.
26428         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26429         sendmmsg.
26430
26431 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26432
26433         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26434         variable I1 with __attribute__ ((unused)).
26435         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26436
26437 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26438
26439         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26440         DUMMY variables with __attribute__ ((unused)).
26441
26442         * bits/byteswap.h: Include <bits/types.h>.
26443         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26444
26445 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26446
26447         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26448         string_t.  Do not manually set errno.
26449         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26450         length with __strnlen.  Make sure to both set errno and return it on
26451         failure.
26452
26453 2012-11-19  David S. Miller  <davem@davemloft.net>
26454
26455         With help from Joseph Myers.
26456         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26457         very large arguments properly.
26458         * math/libm-test.inc (atan_test): New tests.
26459         (atan2_test): New tests.
26460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26462
26463 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26464
26465         [BZ #14856]
26466         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26467         Define to 3.
26468
26469         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26470         [POSIX] (EADDRNOTAVAIL): Likewise.
26471         [POSIX] (EAFNOSUPPORT): Likewise.
26472         [POSIX] (EALREADY): Likewise.
26473         [POSIX] (ECONNABORTED): Likewise.
26474         [POSIX] (ECONNREFUSED): Likewise.
26475         [POSIX] (ECONNRESET): Likewise.
26476         [POSIX] (EDESTADDRREQ): Likewise.
26477         [POSIX] (EDQUOT): Likewise.
26478         [POSIX] (EHOSTUNREACH): Likewise.
26479         [POSIX] (EIDRM): Likewise.
26480         [POSIX] (EISCONN): Likewise.
26481         [POSIX] (ELOOP): Likewise.
26482         [POSIX] (EMULTIHOP): Likewise.
26483         [POSIX] (ENETDOWN): Likewise.
26484         [POSIX] (ENETUNREACH): Likewise.
26485         [POSIX] (ENOBUFS): Likewise.
26486         [POSIX] (ENODATA): Likewise.
26487         [POSIX] (ENOLINK): Likewise.
26488         [POSIX] (ENOMSG): Likewise.
26489         [POSIX] (ENOPROTOOPT): Likewise.
26490         [POSIX] (ENOSR): Likewise.
26491         [POSIX] (ENOSTR): Likewise.
26492         [POSIX] (ENOTCONN): Likewise.
26493         [POSIX] (ENOTSOCK): Likewise.
26494         [POSIX] (EOPNOTSUPP): Likewise.
26495         [POSIX] (EOVERFLOW): Likewise.
26496         [POSIX] (EPROTO): Likewise.
26497         [POSIX] (EPROTONOSUPPORT): Likewise.
26498         [POSIX] (EPROTOTYPE): Likewise.
26499         [POSIX] (ESTALE): Likewise.
26500         [POSIX] (ETIME): Likewise.
26501         [POSIX] (ETXTBSY): Likewise.
26502         [POSIX] (EWOULDBLOCK): Likewise.
26503         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26504         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26505         [POSIX] (SEEK_CUR): Likewise.
26506         [POSIX] (SEEK_END): Likewise.
26507         [POSIX || UNIX98] (mode_t): Do not require.
26508         [POSIX] (off_t): Likewise.
26509         [POSIX] (pid_t): Likewise.
26510         [POSIX] (sys/stat.h): Do not allow header.
26511         [POSIX] (unistd.h): Likewise.
26512         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26513         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26514         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26515         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26516         require.
26517         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26518         sigevent): Specify elements.
26519         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26520         entry.
26521         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26522         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26523
26524         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26525         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26526         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26527         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26528         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26529         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26530         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26531         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26532         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26533         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26534         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26535         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26536         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26537         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26538         Likewise.
26539         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26540         Likewise.
26541         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26542         Likewise.
26543         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26544         Likewise.
26545         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26546         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26547         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26548         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26549         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26550         Specify lower bound on value.
26551         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26552         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26553         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26554         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26555         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26556         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26557         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26558         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26559         value.
26560         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26561         as optional.
26562         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26563         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26564         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26565         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26566         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26567         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26568         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26569         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26570         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26571         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26572         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26573         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26574         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26575         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26576         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26577         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26578         entry.
26579         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26580         optional.
26581         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26582         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26583         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26584         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26585         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26586         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26587         Likewise.
26588         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26589         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26590         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26591         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26592         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26593         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26594         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26595         as optional.
26596         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26597         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26598         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26599         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26600         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26601         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26602         specify as optional.
26603         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26604         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26605         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26606         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26607         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26608         [XPG3] (NL_LANGMAX): Likewise.
26609         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26610         [POSIX || XPG3] (NL_NMAX): Likewise.
26611         [POSIX || XPG3] (NL_SETMAX): Likewise.
26612         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26613         [XPG3] (NZERO): Likewise.
26614         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26615         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26616         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26617         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26618         (REG_ERANGE): Expect.
26619         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26620         optional-constant.
26621         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26622         Use (void) in prototype.
26623         [POSIX] (*_t): Allow.
26624         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26625         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26626         (WRDE_BADVAL): Expect.
26627
26628         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26629         expect.
26630         [XPG3 || XPG4] (O_RSYNC): Likewise.
26631         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26632         Likewise.
26633         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26634         [XPG3 || XPG4] (sigqueue): Likewise.
26635         [XPG3 || XPG4] (sigtimedwait): Likewise.
26636         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26637         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26638         [XPG3 || XPG4] (vsnprintf): Likewise.
26639         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26640         Likewise.
26641         [XPG3 || XPG4] (blksize_t): Likewise.
26642         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26643         Likewise.
26644         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26645         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26646         [XPG3 || XPG4] (struct itimerspec): Likewise.
26647         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26648         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26649         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26650         [XPG3 || XPG4] (clockid_t): Likewise.
26651         [XPG3 || XPG4] (timer_t): Likewise.
26652         [XPG3 || XPG4] (clock_getres): Likewise.
26653         [XPG3 || XPG4] (clock_gettime): Likewise.
26654         [XPG3 || XPG4] (clock_settime): Likewise.
26655         [XPG3 || XPG4] (nanosleep): Likewise.
26656         [XPG3 || XPG4] (timer_create): Likewise.
26657         [XPG3 || XPG4] (timer_delete): Likewise.
26658         [XPG3 || XPG4] (timer_gettime): Likewise.
26659         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26660         [XPG3 || XPG4] (timer_settime): Likewise.
26661         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26662         [XPG3 || XPG4] (getlogin_r): Likewise.
26663         [XPG3 || XPG4] (pread): Likewise.
26664         [XPG3 || XPG4] (pthread_atfork): Likewise.
26665         [XPG3 || XPG4] (pwrite): Likewise.
26666
26667         [BZ #14835]
26668         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26669         <bits/siginfo.h>.
26670
26671 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26672
26673         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26674         finalizing MALLSTREAM.
26675
26676         * sysdeps/mach/hurd/syncfs.c: New file.
26677
26678 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26679
26680         [BZ #14719]
26681         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26682         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26683         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26684         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26685         (_nss_dns_gethostbyname4_r): Likewise.
26686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26687         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26688
26689 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26690
26691         [BZ #13763]
26692         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26693
26694 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26695
26696         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26697         * elf/cache.c (print_entry): Print ",AArch64" for
26698         FLAG_AARCH64_LIB64
26699
26700         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26701         * elf/cache.c (print_entry): Print ",hard-float" for
26702         FLAG_ARM_LIBHF.
26703
26704 2012-11-18  David S. Miller  <davem@davemloft.net>
26705
26706         With help from Joseph Myers.
26707         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26708         cutoff to 2**-13.
26709         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26710         cutoff to 2**-25.
26711         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26712         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26713         small.
26714         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26715         * math/libm-test.inc (y0_test): New tests.
26716         (y1_test): New tests.
26717         * sysdeps/i386/fpu/libm-test-ulps: Update.
26718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26720
26721 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26722
26723         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26724         64-bit targets.
26725         * configure: Regenerated.
26726
26727 2012-11-17  David S. Miller  <davem@davemloft.net>
26728
26729         [BZ #14811]
26730         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26731         nonzero exponents with absolute value below 0x1p-128 to +/-
26732         0x1p-128.
26733
26734 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26735
26736         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26737
26738         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26739
26740         * posix/getconf-speclist.c: New file.
26741         * posix/posix-envs.def: Likewise.
26742         * posix/confstr.c (START_ENV_GROUP): New macro.
26743         (END_ENV_GROUP): Likewise.
26744         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26745         (KNOWN_PRESENT_ENV_STRING): Likewise.
26746         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26747         (UNKNOWN_ENVIRONMENT): Likewise.
26748         (confstr): Include posix-envs.def instead of handling
26749         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26750         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26751         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26752         (END_ENV_GROUP): Likewise.
26753         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26754         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26755         (UNKNOWN_ENVIRONMENT): Likewise.
26756         (__sysconf): Include posix-envs.def instead of handling associated
26757         cases directly here.
26758         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26759         preprocessing getconf-speclist.c rather than running getconf or
26760         generating empty file.
26761
26762 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26763
26764         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26765
26766 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26767
26768         [BZ #14672]
26769         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26770
26771 2012-11-16  David S. Miller  <davem@davemloft.net>
26772
26773         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26774         smaller than LDBL_EPSILON/2.0L, just return xm1.
26775
26776 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26777
26778         * elf/tst-array1.c (init): Set constructor priority to 1000.
26779         (fini): Set destructor priority to 1000.
26780         * elf/tst-array2dep.c: Likewise.
26781
26782 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26783
26784         [BZ #11741]
26785         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26786         (_IO_new_file_xsputn): Also return EOF if none of the input
26787         data was written when overflow failed.
26788         * libio/iopadn.c (_IO_padn): Likewise.
26789         * libio/iowpadn.c (_IO_wpadn): Likewise.
26790         * stdio-common/tst-put-error.c: Add copyright notice.
26791         (do_test): Add case for printing padded string.
26792         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26793         _IO_padn returned error.
26794         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26795         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26796         return EOF.
26797
26798 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26799
26800         * libio/libioP.h: Add comment note that the references to C++
26801         bits are now obsolete.
26802
26803 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26804
26805         * math/libm-test.inc (check_complex): Use asprintf.
26806
26807 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26808
26809         * debug/pcprofiledump.c (print_version): Update copyright year.
26810         * malloc/memusagestat.c (print_version): Likewise.
26811
26812 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26813
26814         [BZ #14831]
26815         * elf/Makefile (tests): Add tst-audit8.
26816         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26817         ($(objpfx)tst-audit8.out): New target.
26818         (tst-audit8-ENV): New variable.
26819         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26820         audit if l_reloc_result is NULL.
26821         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26822         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26823         * elf/tst-audit8.c: New file.
26824
26825 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26826
26827         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26828         * misc/Makefile (CFLAGS-select.c): Define.
26829         * posix/Makefile (CFLAGS-pause.c): Define.
26830
26831 2012-11-13  David S. Miller  <davem@davemloft.net>
26832
26833         * crypt/Makefile: Move test targets after toplevel Rules
26834         inclusion.  Grab any necessary sysdep routines when linking.
26835         * crypt/md5.c (md5_process_block): Remove define, we will always
26836         name it __md5_process_block.
26837         (md5_finish_ctx): Update md5_process_block call.
26838         (md5_stream): Likewise.
26839         (md5_process_bytes): Likewise.
26840         (md5_process_block): Rename to __md5_process_block and move to ...
26841         * crypt/md5-block.c: ... here.
26842         * crypt/sha256.c (sha256_process_block): Move to ...
26843         * crypt/sha256-block.c: ... here.
26844         * crypt/sha512.c (sha512_process_block): Move to ...
26845         * crypt/sha512-block.c: ... here.
26846         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26847         path.
26848         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26849         * sysdeps/sparc/sparc64/multiarch/Makefile
26850         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26851         crypt subdir.
26852         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26853         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26854         multiarch changes.
26855         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26856         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26857         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26858         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26859         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26860         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26861         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26862         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26863         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26864         file.
26865         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26866         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26867         file.
26868         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26869
26870 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26871
26872         * timezone/tzselect.ksh: Update from tzcode git revision
26873         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26874         * timezone/zdump.c: Likewise.
26875         * timezone/zic.c: Likewise.
26876         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26877         in TZVERSION setting, not $(PKGVERSION).
26878         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26879         REPORT_BUGS_TO settings.
26880
26881         [BZ #14838]
26882         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26883         macro.
26884
26885 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26886
26887         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26888         detection to immediately after _FP_ROUND().
26889         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26890         bits are 0.
26891
26892 2012-11-11  David S. Miller  <davem@davemloft.net>
26893
26894         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26895         inttypes.h
26896         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26897         __close rather than their public counterparts.
26898
26899 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26900
26901         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26902         file.
26903         [UNIX98] (sem_timedwait): Do not expect.
26904         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26905         [XPG4 || UNIX98] (sockatmark): Do not expect.
26906         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26907         (clock_getcpuclockid): Do not expect.
26908         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26909         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26910         Do not expect.
26911         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26912         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26913         [UNIX98] (vwscanf): Likewise.
26914         [UNIX98] (vswscanf): Likewise.
26915
26916 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26917
26918         * timezone/version.h: Remove file.
26919         * timezone/README: Do not refer to version.h.
26920         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26921         $(objpfx)version.h.
26922         ($(objpfx)zdump.o): Likewise.
26923         ($(objpfx)version.h): New target.
26924
26925         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26926         2012i.
26927         * timezone/README: Don't mention modification to tzselect.ksh.
26928         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26929         work on unmodified tzselect.ksh.  Substitute version numbers in
26930         tzselect.ksh.
26931
26932         * Makefile (format-me): Remove.
26933         (INSTALL): Adjust indentation.  Use commands directly instead of
26934         using $(format-me).
26935
26936         * aclocal.m4 (ACX_PKGVERSION): New macro.
26937         (ACX_BUGURL): Likewise.
26938         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26939         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26940         (REPORT_BUGS_TO): Likewise.
26941         * configure: Regenerated.
26942         * config.h.in (PKGVERSION): New macro.
26943         (REPORT_BUGS_TO): Likewise.
26944         * config.make.in (PKGVERSION): New variable.
26945         (PKGVERSION_TEXI): Likewise.
26946         (REPORT_BUGS_TO): Likewise.
26947         (REPORT_BUGS_TEXI): Likewise.
26948         * Makefile (format-me): Use -I$(common-objpfx)manual.
26949         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26950         ($(common-objpfx)manual/%): New target.
26951         (manual/%): Remove target.
26952         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26953         (print_version): Use PKGVERSION.
26954         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26955         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26956         and REPORT_BUGS_TO.
26957         ($(objpfx)xtrace): Likewise.
26958         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26959         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26960         (print_version): Use PKGVERSION.
26961         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26962         (do_version): Use PKGVERSION.
26963         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26964         REPORT_BUGS_TO.
26965         (common-ldd-rewrite): Likewise.
26966         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26967         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26968         (print_version): Use PKGVERSION.
26969         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26970         * elf/pldd.c (argp_program_bug_address): Remove variable.
26971         (more_help): New function.
26972         (argp): Use more_help.
26973         (print_version): Use PKGVERSION.
26974         * elf/sln.c (main): Use PKGVERSION.
26975         (usage): Use REPORT_BUGS_TO.
26976         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26977         (top level): Use PKGVERSION.
26978         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26979         (print_version): Use PKGVERSION.
26980         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26981         (print_version): Use PKGVERSION.
26982         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26983         (print_version): Use PKGVERSION.
26984         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26985         (print_version): Use PKGVERSION.
26986         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26987         (print_version): Use PKGVERSION.
26988         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26989         (print_version): Use PKGVERSION.
26990         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26991         and BUGURL.
26992         ($(objpfx)memusage): Likewise.
26993         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26994         (do_version): Use PKGVERSION.
26995         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26996         (print_version): Use PKGVERSION.
26997         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26998         ($PKGVERSION): New variable.
26999         ($REPORT_BUGS_TO): Likewise.
27000         (usage): Use $REPORT_BUGS_TO.
27001         (top level): Use $PKGVERSION.
27002         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27003         ($(objpfx)pkgvers.texi): New rule.
27004         ($(objpfx)stamp-pkgvers): Likewise.
27005         * manual/install.texi: Include pkgvers.texi.
27006         (--with-pkgversion): Document new configure option.
27007         (--with-bugurl): Likewise.
27008         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27009         than necessarily for this particular distribution.  Use
27010         REPORT_BUGS_TO for where to report bugs.
27011         * INSTALL: Regenerated.
27012         * manual/libc.texinfo: Include pkgvers.texi.
27013         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27014         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27015         (print_version): Use PKGVERSION.
27016         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27017         (print_version): Use PKGVERSION.
27018         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27019         (print_version): Use PKGVERSION.
27020         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27021         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27022         macro.
27023         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27024         (print_version): Use PKGVERSION.
27025         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27026         (print_version): Use PKGVERSION.
27027         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27028         and PKGVERSION.
27029
27030         * timezone/checktab.awk: Update from tzcode 2012i.
27031         * timezone/ialloc.c: Likewise.
27032         * timezone/private.h: Likewise.
27033         * timezone/scheck.c: Likewise.
27034         * timezone/tzfile.h: Likewise.
27035         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27036         (TZVERSION): Hardcode tzcode version number.
27037         * timezone/zdump.c: Update from tzcode 2012i.
27038         * timezone/zic.c: Likewise.
27039         * timezone/version.h: New file.
27040         * timezone/README: Describe version.h.  Update upstream location.
27041
27042         [BZ #14824]
27043         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27044         (mktemp): Enable declaration.
27045         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27046         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27047         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27049         Likewise.
27050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27051         Likewise.
27052         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27053         Likewise.
27054         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27055         Likewise.
27056         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27057         Likewise.
27058         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27059         Likewise.
27060
27061         [BZ #14821]
27062         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27063         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27064         for copies of such integer values.
27065         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27066         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27067
27068 2012-11-09  Andreas Jaeger  <aj@suse.de>
27069
27070         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27071         definitions and declarations that are provided by
27072         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27073
27074 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27075
27076         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27077         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27078         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27079         definition.
27080
27081 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27082
27083         * elf/elf.h: Update comment before AArch64 relocations.
27084
27085 2012-11-07  David S. Miller  <davem@davemloft.net>
27086
27087         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27088         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27089         (__start_context): Declare.
27090         (__makecontext_ret): Delete.
27091         (__makecontext): Hook up __start_context instead of
27092         __makecontext_ret.
27093         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27094         (sysdep_routines): Add __start_context when in stdlib.
27095
27096 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27097
27098         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27099         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27100         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27101         hardcoded "nm".
27102         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27103         (READELF): New variable.  Use it instead of hardcoded "readelf".
27104
27105 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27106
27107         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27108         * sysdeps/x86/Makefile: Here.
27109         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27110         * sysdeps/x86/tst-xmmymm.sh: This.
27111
27112 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27113
27114         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27115         expectations.
27116         [UNIX98] (pthread_barrier_t): Do not expect.
27117         [UNIX98] (pthread_barrierattr_t): Likewise.
27118         [UNIX98] (pthread_spinlock_t): Likewise.
27119         [UNIX98] (pthread_barrier_destroy): Likewise.
27120         [UNIX98] (pthread_barrier_init): Likewise.
27121         [UNIX98] (pthread_barrier_wait): Likewise.
27122         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27123         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27124         [UNIX98] (pthread_barrierattr_init): Likewise.
27125         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27126         [UNIX98] (pthread_getcpuclockid): Likewise.
27127         [UNIX98] (pthread_mutex_timedlock): Likewise.
27128         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27129         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27130         [UNIX98] (pthread_sigmask): Likewise.
27131         [UNIX98] (pthread_spin_destroy): Likewise.
27132         [UNIX98] (pthread_spin_init): Likewise.
27133         [UNIX98] (pthread_spin_lock): Likewise.
27134         [UNIX98] (pthread_spin_trylock): Likewise.
27135         [UNIX98] (pthread_spin_unlock): Likewise.
27136         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27137         Do not expect.
27138         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27139         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27140         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27141         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27142         [XPG3 || XPG4] (pthread_key_t): Likewise.
27143         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27144         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27145         [XPG3 || XPG4] (pthread_once_t): Likewise.
27146         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27147         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27148         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27149         [XPG3 || XPG4] (pthread_t): Likewise.
27150
27151         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27152         not expect.
27153         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27154
27155         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27156         Change function return type to int.
27157
27158         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27159         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27160         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27161         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27162         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27163         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27164         [!POSIX] (posix_madvise): Likewise.
27165         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27166         && !UNIX98].
27167         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27168         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27169         (mode_t): Likewise.
27170         (posix_mem_offset): Likewise.
27171         (posix_typed_mem_get_info): Likewise.
27172         (posix_typed_mem_open): Likewise.
27173
27174         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27175         Change condition to [XOPEN2K8].
27176
27177         * conform/conformtest.pl: Preprocess allow-header data with -x c
27178         instead of from stdin.
27179         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27180         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27181         [C99-based standards] (cerfc): Likewise.
27182         [C99-based standards] (cexp2): Likewise.
27183         [C99-based standards] (cexpm1): Likewise.
27184         [C99-based standards] (clog10): Likewise.
27185         [C99-based standards] (clog1p): Likewise.
27186         [C99-based standards] (clog2): Likewise.
27187         [C99-based standards] (clgamma): Likewise.
27188         [C99-based standards] (ctgamma): Likewise.
27189         [C99-based standards] (cerff): Likewise.
27190         [C99-based standards] (cerfcf): Likewise.
27191         [C99-based standards] (cexp2f): Likewise.
27192         [C99-based standards] (cexpm1f): Likewise.
27193         [C99-based standards] (clog10f): Likewise.
27194         [C99-based standards] (clog1pf): Likewise.
27195         [C99-based standards] (clog2f): Likewise.
27196         [C99-based standards] (clgammaf): Likewise.
27197         [C99-based standards] (ctgammaf): Likewise.
27198         [C99-based standards] (cerfl): Likewise.
27199         [C99-based standards] (cerfcl): Likewise.
27200         [C99-based standards] (cexp2l): Likewise.
27201         [C99-based standards] (cexpm1l): Likewise.
27202         [C99-based standards] (clog10l): Likewise.
27203         [C99-based standards] (clog1pl): Likewise.
27204         [C99-based standards] (clog2l): Likewise.
27205         [C99-based standards] (clgammal): Likewise.
27206         [C99-based standards] (ctgammal): Likewise.
27207         * conform/data/inttypes.h-data [C99-based standards]: Include
27208         stdint.h-data.  Remove all expectations for stdint.h contents.
27209         [C99-based standards] (PRI*): Do not allow.
27210         [C99-based standards] (SCN*): Likewise.
27211         [C99-based standards] (*_t): Likewise.
27212         [C99-based-standards] (PRId8): Expect macro.
27213         [C99-based-standards] (PRIi8): Likewise.
27214         [C99-based-standards] (PRIo8): Likewise.
27215         [C99-based-standards] (PRIu8): Likewise.
27216         [C99-based-standards] (PRIx8): Likewise.
27217         [C99-based-standards] (PRIX8): Likewise.
27218         [C99-based-standards] (SCNd8): Likewise.
27219         [C99-based-standards] (SCNi8): Likewise.
27220         [C99-based-standards] (SCNo8): Likewise.
27221         [C99-based-standards] (SCNu8): Likewise.
27222         [C99-based-standards] (SCNx8): Likewise.
27223         [C99-based-standards] (PRIdLEAST8): Likewise.
27224         [C99-based-standards] (PRIiLEAST8): Likewise.
27225         [C99-based-standards] (PRIoLEAST8): Likewise.
27226         [C99-based-standards] (PRIuLEAST8): Likewise.
27227         [C99-based-standards] (PRIxLEAST8): Likewise.
27228         [C99-based-standards] (PRIXLEAST8): Likewise.
27229         [C99-based-standards] (SCNdLEAST8): Likewise.
27230         [C99-based-standards] (SCNiLEAST8): Likewise.
27231         [C99-based-standards] (SCNoLEAST8): Likewise.
27232         [C99-based-standards] (SCNuLEAST8): Likewise.
27233         [C99-based-standards] (SCNxLEAST8): Likewise.
27234         [C99-based-standards] (PRIdFAST8): Likewise.
27235         [C99-based-standards] (PRIiFAST8): Likewise.
27236         [C99-based-standards] (PRIoFAST8): Likewise.
27237         [C99-based-standards] (PRIuFAST8): Likewise.
27238         [C99-based-standards] (PRIxFAST8): Likewise.
27239         [C99-based-standards] (PRIXFAST8): Likewise.
27240         [C99-based-standards] (SCNdFAST8): Likewise.
27241         [C99-based-standards] (SCNiFAST8): Likewise.
27242         [C99-based-standards] (SCNoFAST8): Likewise.
27243         [C99-based-standards] (SCNuFAST8): Likewise.
27244         [C99-based-standards] (SCNxFAST8): Likewise.
27245         [C99-based-standards] (PRId16): Likewise.
27246         [C99-based-standards] (PRIi16): Likewise.
27247         [C99-based-standards] (PRIo16): Likewise.
27248         [C99-based-standards] (PRIu16): Likewise.
27249         [C99-based-standards] (PRIx16): Likewise.
27250         [C99-based-standards] (PRIX16): Likewise.
27251         [C99-based-standards] (SCNd16): Likewise.
27252         [C99-based-standards] (SCNi16): Likewise.
27253         [C99-based-standards] (SCNo16): Likewise.
27254         [C99-based-standards] (SCNu16): Likewise.
27255         [C99-based-standards] (SCNx16): Likewise.
27256         [C99-based-standards] (PRIdLEAST16): Likewise.
27257         [C99-based-standards] (PRIiLEAST16): Likewise.
27258         [C99-based-standards] (PRIoLEAST16): Likewise.
27259         [C99-based-standards] (PRIuLEAST16): Likewise.
27260         [C99-based-standards] (PRIxLEAST16): Likewise.
27261         [C99-based-standards] (PRIXLEAST16): Likewise.
27262         [C99-based-standards] (SCNdLEAST16): Likewise.
27263         [C99-based-standards] (SCNiLEAST16): Likewise.
27264         [C99-based-standards] (SCNoLEAST16): Likewise.
27265         [C99-based-standards] (SCNuLEAST16): Likewise.
27266         [C99-based-standards] (SCNxLEAST16): Likewise.
27267         [C99-based-standards] (PRIdFAST16): Likewise.
27268         [C99-based-standards] (PRIiFAST16): Likewise.
27269         [C99-based-standards] (PRIoFAST16): Likewise.
27270         [C99-based-standards] (PRIuFAST16): Likewise.
27271         [C99-based-standards] (PRIxFAST16): Likewise.
27272         [C99-based-standards] (PRIXFAST16): Likewise.
27273         [C99-based-standards] (SCNdFAST16): Likewise.
27274         [C99-based-standards] (SCNiFAST16): Likewise.
27275         [C99-based-standards] (SCNoFAST16): Likewise.
27276         [C99-based-standards] (SCNuFAST16): Likewise.
27277         [C99-based-standards] (SCNxFAST16): Likewise.
27278         [C99-based-standards] (PRId32): Likewise.
27279         [C99-based-standards] (PRIi32): Likewise.
27280         [C99-based-standards] (PRIo32): Likewise.
27281         [C99-based-standards] (PRIu32): Likewise.
27282         [C99-based-standards] (PRIx32): Likewise.
27283         [C99-based-standards] (PRIX32): Likewise.
27284         [C99-based-standards] (SCNd32): Likewise.
27285         [C99-based-standards] (SCNi32): Likewise.
27286         [C99-based-standards] (SCNo32): Likewise.
27287         [C99-based-standards] (SCNu32): Likewise.
27288         [C99-based-standards] (SCNx32): Likewise.
27289         [C99-based-standards] (PRIdLEAST32): Likewise.
27290         [C99-based-standards] (PRIiLEAST32): Likewise.
27291         [C99-based-standards] (PRIoLEAST32): Likewise.
27292         [C99-based-standards] (PRIuLEAST32): Likewise.
27293         [C99-based-standards] (PRIxLEAST32): Likewise.
27294         [C99-based-standards] (PRIXLEAST32): Likewise.
27295         [C99-based-standards] (SCNdLEAST32): Likewise.
27296         [C99-based-standards] (SCNiLEAST32): Likewise.
27297         [C99-based-standards] (SCNoLEAST32): Likewise.
27298         [C99-based-standards] (SCNuLEAST32): Likewise.
27299         [C99-based-standards] (SCNxLEAST32): Likewise.
27300         [C99-based-standards] (PRIdFAST32): Likewise.
27301         [C99-based-standards] (PRIiFAST32): Likewise.
27302         [C99-based-standards] (PRIoFAST32): Likewise.
27303         [C99-based-standards] (PRIuFAST32): Likewise.
27304         [C99-based-standards] (PRIxFAST32): Likewise.
27305         [C99-based-standards] (PRIXFAST32): Likewise.
27306         [C99-based-standards] (SCNdFAST32): Likewise.
27307         [C99-based-standards] (SCNiFAST32): Likewise.
27308         [C99-based-standards] (SCNoFAST32): Likewise.
27309         [C99-based-standards] (SCNuFAST32): Likewise.
27310         [C99-based-standards] (SCNxFAST32): Likewise.
27311         [C99-based-standards] (PRId64): Likewise.
27312         [C99-based-standards] (PRIi64): Likewise.
27313         [C99-based-standards] (PRIo64): Likewise.
27314         [C99-based-standards] (PRIu64): Likewise.
27315         [C99-based-standards] (PRIx64): Likewise.
27316         [C99-based-standards] (PRIX64): Likewise.
27317         [C99-based-standards] (SCNd64): Likewise.
27318         [C99-based-standards] (SCNi64): Likewise.
27319         [C99-based-standards] (SCNo64): Likewise.
27320         [C99-based-standards] (SCNu64): Likewise.
27321         [C99-based-standards] (SCNx64): Likewise.
27322         [C99-based-standards] (PRIdLEAST64): Likewise.
27323         [C99-based-standards] (PRIiLEAST64): Likewise.
27324         [C99-based-standards] (PRIoLEAST64): Likewise.
27325         [C99-based-standards] (PRIuLEAST64): Likewise.
27326         [C99-based-standards] (PRIxLEAST64): Likewise.
27327         [C99-based-standards] (PRIXLEAST64): Likewise.
27328         [C99-based-standards] (SCNdLEAST64): Likewise.
27329         [C99-based-standards] (SCNiLEAST64): Likewise.
27330         [C99-based-standards] (SCNoLEAST64): Likewise.
27331         [C99-based-standards] (SCNuLEAST64): Likewise.
27332         [C99-based-standards] (SCNxLEAST64): Likewise.
27333         [C99-based-standards] (PRIdFAST64): Likewise.
27334         [C99-based-standards] (PRIiFAST64): Likewise.
27335         [C99-based-standards] (PRIoFAST64): Likewise.
27336         [C99-based-standards] (PRIuFAST64): Likewise.
27337         [C99-based-standards] (PRIxFAST64): Likewise.
27338         [C99-based-standards] (PRIXFAST64): Likewise.
27339         [C99-based-standards] (SCNdFAST64): Likewise.
27340         [C99-based-standards] (SCNiFAST64): Likewise.
27341         [C99-based-standards] (SCNoFAST64): Likewise.
27342         [C99-based-standards] (SCNuFAST64): Likewise.
27343         [C99-based-standards] (SCNxFAST64): Likewise.
27344         [C99-based-standards] (PRIdMAX): Likewise.
27345         [C99-based-standards] (PRIiMAX): Likewise.
27346         [C99-based-standards] (PRIoMAX): Likewise.
27347         [C99-based-standards] (PRIuMAX): Likewise.
27348         [C99-based-standards] (PRIxMAX): Likewise.
27349         [C99-based-standards] (PRIXMAX): Likewise.
27350         [C99-based-standards] (SCNdMAX): Likewise.
27351         [C99-based-standards] (SCNiMAX): Likewise.
27352         [C99-based-standards] (SCNoMAX): Likewise.
27353         [C99-based-standards] (SCNuMAX): Likewise.
27354         [C99-based-standards] (SCNxMAX): Likewise.
27355         [C99-based-standards] (PRIdPTR): Likewise.
27356         [C99-based-standards] (PRIiPTR): Likewise.
27357         [C99-based-standards] (PRIoPTR): Likewise.
27358         [C99-based-standards] (PRIuPTR): Likewise.
27359         [C99-based-standards] (PRIxPTR): Likewise.
27360         [C99-based-standards] (PRIXPTR): Likewise.
27361         [C99-based-standards] (SCNdPTR): Likewise.
27362         [C99-based-standards] (SCNiPTR): Likewise.
27363         [C99-based-standards] (SCNoPTR): Likewise.
27364         [C99-based-standards] (SCNuPTR): Likewise.
27365         [C99-based-standards] (SCNxPTR): Likewise.
27366         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27367         allow.
27368         * conform/data/stdint.h-data: Update comments to clarify
27369         requirements.
27370         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27371         type.
27372         [C99-based standards] (INT8_MAX): Likewise.
27373         [C99-based standards] (INT16_MIN): Likewise.
27374         [C99-based standards] (INT16_MAX): Likewise.
27375         [C99-based standards] (INT32_MIN): Likewise.
27376         [C99-based standards] (INT32_MAX): Likewise.
27377         [C99-based standards] (INT64_MIN): Likewise.
27378         [C99-based standards] (INT64_MAX): Likewise.
27379         [C99-based standards] (UINT8_MAX): Likewise.
27380         [C99-based standards] (UINT16_MAX): Likewise.
27381         [C99-based standards] (UINT32_MAX): Likewise.
27382         [C99-based standards] (UINT64_MAX): Likewise.
27383         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27384         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27385         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27386         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27387         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27388         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27389         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27390         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27391         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27392         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27393         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27394         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27395         [C99-based standards] (INT_FAST8_MIN): Likewise.
27396         [C99-based standards] (INT_FAST8_MAX): Likewise.
27397         [C99-based standards] (INT_FAST16_MIN): Likewise.
27398         [C99-based standards] (INT_FAST16_MAX): Likewise.
27399         [C99-based standards] (INT_FAST32_MIN): Likewise.
27400         [C99-based standards] (INT_FAST32_MAX): Likewise.
27401         [C99-based standards] (INT_FAST64_MIN): Likewise.
27402         [C99-based standards] (INT_FAST64_MAX): Likewise.
27403         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27404         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27405         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27406         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27407         [C99-based standards] (INTPTR_MIN): Likewise.
27408         [C99-based standards] (INTPTR_MAX): Likewise.
27409         [C99-based standards] (UINTPTR_MAX): Likewise.
27410         [C99-based standards] (INTMAX_MIN): Likewise.
27411         [C99-based standards] (INTMAX_MAX): Likewise.
27412         [C99-based standards] (UINTMAX_MAX): Likewise.
27413         [C99-based standards] (PTRDIFF_MIN): Likewise.
27414         [C99-based standards] (PTRDIFF_MAX): Likewise.
27415         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27416         [C99-based standards] (SIZE_MAX): Likewise.
27417         [C99-based standards] (WCHAR_MAX): Likewise.
27418         [C99-based standards] (WINT_MAX): Likewise.
27419         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27420         constraint on value.
27421         [C99-based standards] (WCHAR_MIN): Likewise.
27422         [C99-based standards] (WINT_MIN): Likewise.
27423         [C99-based standards] (*_t): Allow.
27424         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27425         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27426         Include math.h-data and complex.h-data.  Remove all expectations
27427         of math.h and complex.h contents.
27428         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27429         at end of line.
27430         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27431         (struct tm): Expect tag.
27432         [C99-based-standards] (wcstof): Expect function.
27433         [C99-based-standards] (wcstold): Likewise.
27434         [C99-based-standards] (wcstoll): Likewise.
27435         [C99-based-standards] (wcstoull): Likewise.
27436         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27437         macro-int-constant.  Specify type.
27438         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27439         constraint on value.
27440         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27441         Specify type.
27442         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27443         Specify value.
27444         [ISO C standards]: Do not allow headers.
27445         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27446         wcs[abcdefghijklmnopqrstuvwxyz]*.
27447         [ISO C standards] (*_t): Do not allow.
27448         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27449         Expect function.
27450         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27451         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27452         Specify type.
27453         [ISO C standards]: Do not allow headers.
27454         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27455         is[abcdefghijklmnopqrstuvwxyz]*.
27456         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27457         to[abcdefghijklmnopqrstuvwxyz]*.
27458         [ISO C standards] (*_t): Do not allow.
27459         * conform/data/stdalign.h-data: New file.
27460         * conform/data/stdbool.h-data: Likewise.
27461         * conform/data/stdnoreturn.h-data: Likewise.
27462
27463 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27464
27465         [BZ #14815]
27466         * manual/filesys.texi (Directory Entries): Typo fix.
27467         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27468
27469 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27470
27471         * elf/elf.h (EM_AARCH64): New macro.
27472         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27473         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27474         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27475         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27476         (R_AARCH64_TLSDESC): Likewise.
27477         (NT_ARM_TLS): Likewise.
27478         (NT_ARM_HW_BREAK): Likewise.
27479         (NT_ARM_HW_WATCH): Likewise.
27480
27481 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27482
27483         [BZ #14811]
27484         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27485         (__ieee754_powl): Saturate nonzero exponents with absolute value
27486         below 0x1p-79 to +/- 0x1p-79.
27487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27488         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27489         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27490         nonzero exponents with absolute value below 0x1p-32 to +/-
27491         0x1p-32.
27492         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27493         (__ieee754_powl): Saturate nonzero exponents with absolute value
27494         below 0x1p-79 to +/- 0x1p-79.
27495         * math/libm-test.inc (pow_test): Add more tests.
27496
27497 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27498
27499         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27500         _dl_s390_cap_flags with kernel. Increase string length.
27501         (_dl_s390_platforms): Add z196 and zEC12.
27502
27503 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27504
27505         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27506         Change XOPEN21K to XOPEN2K.
27507
27508 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27509
27510         * string/memmove.c: Use memcpy when possible.
27511
27512 2012-11-06  Andreas Jaeger  <aj@suse.de>
27513
27514         * po/eo.po: Update from translation team.
27515
27516 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27517
27518         [BZ #14793]
27519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27520         exponent and small x and y exponents, scale x or y up.  Increase
27521         by 2 the exponent used in scaling up.
27522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27524         * math/libm-test.inc (fma_test): Add more tests.
27525         (fma_test_towardzero): Likewise.
27526         (fma_test_downward): Likewise.
27527         (fma_test_upward): Likewise.
27528
27529 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27530
27531         [BZ #14805]
27532         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27533         fenv_t *.
27534
27535         [BZ #14801]
27536         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27537         namespace for names of struct fields.
27538         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27539         fenv_t fields.
27540         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27541         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27542
27543 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27544
27545         [BZ #3665]
27546         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27547
27548 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27549
27550         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27551         PTR_DEMANGLE.
27552
27553         [BZ #5246]
27554         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27555         PTR_DEMANGLE.
27556
27557 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27558
27559         [BZ #14797]
27560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27561         definitely overflow as x * y not x * y + z.
27562         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27563         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27564         * math/libm-test.inc (fma_test): Add more tests.
27565         (fma_test_towardzero): Likewise.
27566         (fma_test_downward): Likewise.
27567         (fma_test_upward): Likewise.
27568
27569 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27570
27571         [BZ #157]
27572
27573         * include/stub-tag.h: Remove file.
27574         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27575         '#include' of it.
27576         * manual/maint.texi (Porting): Don't reference it.
27577         * Makerules ($(objpfx)stubs): Likewise.
27578         * dirent/closedir.c: Don't include <stub-tag.h>.
27579         * dirent/dirfd.c: Likewise.
27580         * dirent/fdopendir.c: Likewise.
27581         * dirent/getdents.c: Likewise.
27582         * dirent/getdents64.c: Likewise.
27583         * dirent/opendir.c: Likewise.
27584         * dirent/readdir.c: Likewise.
27585         * dirent/readdir64.c: Likewise.
27586         * dirent/readdir64_r.c: Likewise.
27587         * dirent/readdir_r.c: Likewise.
27588         * dirent/rewinddir.c: Likewise.
27589         * dirent/seekdir.c: Likewise.
27590         * dirent/telldir.c: Likewise.
27591         * gmon/profil.c: Likewise.
27592         * grp/setgroups.c: Likewise.
27593         * inet/if_index.c: Likewise.
27594         * io/access.c: Likewise.
27595         * io/chdir.c: Likewise.
27596         * io/chmod.c: Likewise.
27597         * io/chown.c: Likewise.
27598         * io/close.c: Likewise.
27599         * io/dup.c: Likewise.
27600         * io/dup2.c: Likewise.
27601         * io/dup3.c: Likewise.
27602         * io/euidaccess.c: Likewise.
27603         * io/faccessat.c: Likewise.
27604         * io/fchdir.c: Likewise.
27605         * io/fchmod.c: Likewise.
27606         * io/fchmodat.c: Likewise.
27607         * io/fchown.c: Likewise.
27608         * io/fchownat.c: Likewise.
27609         * io/fcntl.c: Likewise.
27610         * io/flock.c: Likewise.
27611         * io/fstatfs.c: Likewise.
27612         * io/fstatfs64.c: Likewise.
27613         * io/fstatvfs.c: Likewise.
27614         * io/fstatvfs64.c: Likewise.
27615         * io/futimens.c: Likewise.
27616         * io/fxstat.c: Likewise.
27617         * io/fxstat64.c: Likewise.
27618         * io/fxstatat.c: Likewise.
27619         * io/fxstatat64.c: Likewise.
27620         * io/getcwd.c: Likewise.
27621         * io/isatty.c: Likewise.
27622         * io/lchmod.c: Likewise.
27623         * io/lchown.c: Likewise.
27624         * io/link.c: Likewise.
27625         * io/linkat.c: Likewise.
27626         * io/lseek.c: Likewise.
27627         * io/lseek64.c: Likewise.
27628         * io/lxstat64.c: Likewise.
27629         * io/mkdir.c: Likewise.
27630         * io/mkdirat.c: Likewise.
27631         * io/mkfifo.c: Likewise.
27632         * io/mkfifoat.c: Likewise.
27633         * io/open.c: Likewise.
27634         * io/open64.c: Likewise.
27635         * io/openat.c: Likewise.
27636         * io/openat64.c: Likewise.
27637         * io/pipe.c: Likewise.
27638         * io/pipe2.c: Likewise.
27639         * io/poll.c: Likewise.
27640         * io/posix_fadvise.c: Likewise.
27641         * io/posix_fadvise64.c: Likewise.
27642         * io/posix_fallocate.c: Likewise.
27643         * io/posix_fallocate64.c: Likewise.
27644         * io/read.c: Likewise.
27645         * io/readlink.c: Likewise.
27646         * io/readlinkat.c: Likewise.
27647         * io/rmdir.c: Likewise.
27648         * io/sendfile.c: Likewise.
27649         * io/sendfile64.c: Likewise.
27650         * io/statfs.c: Likewise.
27651         * io/statfs64.c: Likewise.
27652         * io/statvfs.c: Likewise.
27653         * io/statvfs64.c: Likewise.
27654         * io/symlink.c: Likewise.
27655         * io/symlinkat.c: Likewise.
27656         * io/ttyname.c: Likewise.
27657         * io/ttyname_r.c: Likewise.
27658         * io/umask.c: Likewise.
27659         * io/unlink.c: Likewise.
27660         * io/unlinkat.c: Likewise.
27661         * io/utime.c: Likewise.
27662         * io/utimensat.c: Likewise.
27663         * io/write.c: Likewise.
27664         * io/xmknod.c: Likewise.
27665         * io/xmknodat.c: Likewise.
27666         * io/xstat.c: Likewise.
27667         * io/xstat64.c: Likewise.
27668         * login/getpt.c: Likewise.
27669         * login/grantpt.c: Likewise.
27670         * login/unlockpt.c: Likewise.
27671         * math/e_acoshl.c: Likewise.
27672         * math/e_acosl.c: Likewise.
27673         * math/e_asinl.c: Likewise.
27674         * math/e_atan2l.c: Likewise.
27675         * math/e_atanhl.c: Likewise.
27676         * math/e_coshl.c: Likewise.
27677         * math/e_expl.c: Likewise.
27678         * math/e_fmodl.c: Likewise.
27679         * math/e_gammal_r.c: Likewise.
27680         * math/e_hypotl.c: Likewise.
27681         * math/e_j0l.c: Likewise.
27682         * math/e_j1l.c: Likewise.
27683         * math/e_jnl.c: Likewise.
27684         * math/e_lgammal_r.c: Likewise.
27685         * math/e_log10l.c: Likewise.
27686         * math/e_log2l.c: Likewise.
27687         * math/e_logl.c: Likewise.
27688         * math/e_powl.c: Likewise.
27689         * math/e_rem_pio2l.c: Likewise.
27690         * math/e_sinhl.c: Likewise.
27691         * math/e_sqrtl.c: Likewise.
27692         * math/fclrexcpt.c: Likewise.
27693         * math/fedisblxcpt.c: Likewise.
27694         * math/feenablxcpt.c: Likewise.
27695         * math/fegetenv.c: Likewise.
27696         * math/fegetexcept.c: Likewise.
27697         * math/fegetround.c: Likewise.
27698         * math/feholdexcpt.c: Likewise.
27699         * math/fesetenv.c: Likewise.
27700         * math/fesetround.c: Likewise.
27701         * math/feupdateenv.c: Likewise.
27702         * math/fgetexcptflg.c: Likewise.
27703         * math/fraiseexcpt.c: Likewise.
27704         * math/fsetexcptflg.c: Likewise.
27705         * math/ftestexcept.c: Likewise.
27706         * math/k_cosl.c: Likewise.
27707         * math/k_rem_pio2l.c: Likewise.
27708         * math/k_sinl.c: Likewise.
27709         * math/k_tanl.c: Likewise.
27710         * math/s_asinhl.c: Likewise.
27711         * math/s_atanl.c: Likewise.
27712         * math/s_cbrtl.c: Likewise.
27713         * math/s_erfl.c: Likewise.
27714         * math/s_expm1l.c: Likewise.
27715         * math/s_log1pl.c: Likewise.
27716         * math/s_tanhl.c: Likewise.
27717         * misc/acct.c: Likewise.
27718         * misc/brk.c: Likewise.
27719         * misc/chflags.c: Likewise.
27720         * misc/chroot.c: Likewise.
27721         * misc/fchflags.c: Likewise.
27722         * misc/fgetxattr.c: Likewise.
27723         * misc/flistxattr.c: Likewise.
27724         * misc/fremovexattr.c: Likewise.
27725         * misc/fsetxattr.c: Likewise.
27726         * misc/fsync.c: Likewise.
27727         * misc/ftruncate.c: Likewise.
27728         * misc/futimes.c: Likewise.
27729         * misc/futimesat.c: Likewise.
27730         * misc/getdomain.c: Likewise.
27731         * misc/getdtsz.c: Likewise.
27732         * misc/gethostid.c: Likewise.
27733         * misc/gethostname.c: Likewise.
27734         * misc/getloadavg.c: Likewise.
27735         * misc/getpagesize.c: Likewise.
27736         * misc/getsysstats.c: Likewise.
27737         * misc/getxattr.c: Likewise.
27738         * misc/gtty.c: Likewise.
27739         * misc/ioctl.c: Likewise.
27740         * misc/lgetxattr.c: Likewise.
27741         * misc/listxattr.c: Likewise.
27742         * misc/llistxattr.c: Likewise.
27743         * misc/lremovexattr.c: Likewise.
27744         * misc/lsetxattr.c: Likewise.
27745         * misc/lutimes.c: Likewise.
27746         * misc/madvise.c: Likewise.
27747         * misc/mincore.c: Likewise.
27748         * misc/mlock.c: Likewise.
27749         * misc/mlockall.c: Likewise.
27750         * misc/mmap.c: Likewise.
27751         * misc/mprotect.c: Likewise.
27752         * misc/msync.c: Likewise.
27753         * misc/munlock.c: Likewise.
27754         * misc/munlockall.c: Likewise.
27755         * misc/munmap.c: Likewise.
27756         * misc/preadv.c: Likewise.
27757         * misc/preadv64.c: Likewise.
27758         * misc/ptrace.c: Likewise.
27759         * misc/pwritev.c: Likewise.
27760         * misc/pwritev64.c: Likewise.
27761         * misc/readv.c: Likewise.
27762         * misc/reboot.c: Likewise.
27763         * misc/remap_file_pages.c: Likewise.
27764         * misc/removexattr.c: Likewise.
27765         * misc/revoke.c: Likewise.
27766         * misc/select.c: Likewise.
27767         * misc/setdomain.c: Likewise.
27768         * misc/setegid.c: Likewise.
27769         * misc/seteuid.c: Likewise.
27770         * misc/sethostid.c: Likewise.
27771         * misc/sethostname.c: Likewise.
27772         * misc/setregid.c: Likewise.
27773         * misc/setreuid.c: Likewise.
27774         * misc/setxattr.c: Likewise.
27775         * misc/sstk.c: Likewise.
27776         * misc/stty.c: Likewise.
27777         * misc/swapoff.c: Likewise.
27778         * misc/swapon.c: Likewise.
27779         * misc/sync.c: Likewise.
27780         * misc/syncfs.c: Likewise.
27781         * misc/syscall.c: Likewise.
27782         * misc/truncate.c: Likewise.
27783         * misc/ualarm.c: Likewise.
27784         * misc/usleep.c: Likewise.
27785         * misc/ustat.c: Likewise.
27786         * misc/utimes.c: Likewise.
27787         * misc/vhangup.c: Likewise.
27788         * misc/writev.c: Likewise.
27789         * posix/_exit.c: Likewise.
27790         * posix/alarm.c: Likewise.
27791         * posix/execve.c: Likewise.
27792         * posix/fexecve.c: Likewise.
27793         * posix/fork.c: Likewise.
27794         * posix/fpathconf.c: Likewise.
27795         * posix/getaddrinfo.c: Likewise.
27796         * posix/getegid.c: Likewise.
27797         * posix/geteuid.c: Likewise.
27798         * posix/getgid.c: Likewise.
27799         * posix/getgroups.c: Likewise.
27800         * posix/getlogin.c: Likewise.
27801         * posix/getlogin_r.c: Likewise.
27802         * posix/getpgid.c: Likewise.
27803         * posix/getpid.c: Likewise.
27804         * posix/getppid.c: Likewise.
27805         * posix/getresgid.c: Likewise.
27806         * posix/getresuid.c: Likewise.
27807         * posix/getsid.c: Likewise.
27808         * posix/getuid.c: Likewise.
27809         * posix/glob64.c: Likewise.
27810         * posix/nanosleep.c: Likewise.
27811         * posix/pathconf.c: Likewise.
27812         * posix/pause.c: Likewise.
27813         * posix/posix_madvise.c: Likewise.
27814         * posix/pread.c: Likewise.
27815         * posix/pread64.c: Likewise.
27816         * posix/pwrite.c: Likewise.
27817         * posix/pwrite64.c: Likewise.
27818         * posix/sched_getaffinity.c: Likewise.
27819         * posix/sched_getp.c: Likewise.
27820         * posix/sched_gets.c: Likewise.
27821         * posix/sched_primax.c: Likewise.
27822         * posix/sched_primin.c: Likewise.
27823         * posix/sched_rr_gi.c: Likewise.
27824         * posix/sched_setaffinity.c: Likewise.
27825         * posix/sched_setp.c: Likewise.
27826         * posix/sched_sets.c: Likewise.
27827         * posix/sched_yield.c: Likewise.
27828         * posix/setgid.c: Likewise.
27829         * posix/setlogin.c: Likewise.
27830         * posix/setpgid.c: Likewise.
27831         * posix/setresgid.c: Likewise.
27832         * posix/setresuid.c: Likewise.
27833         * posix/setsid.c: Likewise.
27834         * posix/setuid.c: Likewise.
27835         * posix/sleep.c: Likewise.
27836         * posix/spawni.c: Likewise.
27837         * posix/sysconf.c: Likewise.
27838         * posix/times.c: Likewise.
27839         * posix/wait.c: Likewise.
27840         * posix/wait3.c: Likewise.
27841         * posix/wait4.c: Likewise.
27842         * posix/waitpid.c: Likewise.
27843         * resolv/gai_sigqueue.c: Likewise.
27844         * resource/getpriority.c: Likewise.
27845         * resource/getrlimit.c: Likewise.
27846         * resource/getrusage.c: Likewise.
27847         * resource/nice.c: Likewise.
27848         * resource/setpriority.c: Likewise.
27849         * resource/setrlimit.c: Likewise.
27850         * resource/ulimit.c: Likewise.
27851         * rt/aio_cancel.c: Likewise.
27852         * rt/aio_fsync.c: Likewise.
27853         * rt/aio_read.c: Likewise.
27854         * rt/aio_sigqueue.c: Likewise.
27855         * rt/aio_suspend.c: Likewise.
27856         * rt/aio_write.c: Likewise.
27857         * rt/clock_getres.c: Likewise.
27858         * rt/clock_gettime.c: Likewise.
27859         * rt/clock_nanosleep.c: Likewise.
27860         * rt/clock_settime.c: Likewise.
27861         * rt/lio_listio.c: Likewise.
27862         * rt/mq_close.c: Likewise.
27863         * rt/mq_getattr.c: Likewise.
27864         * rt/mq_notify.c: Likewise.
27865         * rt/mq_open.c: Likewise.
27866         * rt/mq_receive.c: Likewise.
27867         * rt/mq_send.c: Likewise.
27868         * rt/mq_setattr.c: Likewise.
27869         * rt/mq_timedreceive.c: Likewise.
27870         * rt/mq_timedsend.c: Likewise.
27871         * rt/mq_unlink.c: Likewise.
27872         * rt/shm_open.c: Likewise.
27873         * rt/shm_unlink.c: Likewise.
27874         * rt/timer_create.c: Likewise.
27875         * rt/timer_delete.c: Likewise.
27876         * rt/timer_getoverr.c: Likewise.
27877         * rt/timer_gettime.c: Likewise.
27878         * rt/timer_settime.c: Likewise.
27879         * setjmp/__longjmp.c: Likewise.
27880         * setjmp/setjmp.c: Likewise.
27881         * signal/kill.c: Likewise.
27882         * signal/killpg.c: Likewise.
27883         * signal/raise.c: Likewise.
27884         * signal/sigaction.c: Likewise.
27885         * signal/sigaltstack.c: Likewise.
27886         * signal/sigblock.c: Likewise.
27887         * signal/sigignore.c: Likewise.
27888         * signal/sigintr.c: Likewise.
27889         * signal/signal.c: Likewise.
27890         * signal/sigpause.c: Likewise.
27891         * signal/sigpending.c: Likewise.
27892         * signal/sigqueue.c: Likewise.
27893         * signal/sigreturn.c: Likewise.
27894         * signal/sigset.c: Likewise.
27895         * signal/sigsetmask.c: Likewise.
27896         * signal/sigstack.c: Likewise.
27897         * signal/sigsuspend.c: Likewise.
27898         * signal/sigtimedwait.c: Likewise.
27899         * signal/sigvec.c: Likewise.
27900         * signal/sigwait.c: Likewise.
27901         * signal/sigwaitinfo.c: Likewise.
27902         * signal/sysv_signal.c: Likewise.
27903         * socket/accept.c: Likewise.
27904         * socket/accept4.c: Likewise.
27905         * socket/bind.c: Likewise.
27906         * socket/connect.c: Likewise.
27907         * socket/getpeername.c: Likewise.
27908         * socket/getsockname.c: Likewise.
27909         * socket/getsockopt.c: Likewise.
27910         * socket/isfdtype.c: Likewise.
27911         * socket/listen.c: Likewise.
27912         * socket/recv.c: Likewise.
27913         * socket/recvfrom.c: Likewise.
27914         * socket/recvmsg.c: Likewise.
27915         * socket/send.c: Likewise.
27916         * socket/sendmsg.c: Likewise.
27917         * socket/sendto.c: Likewise.
27918         * socket/setsockopt.c: Likewise.
27919         * socket/shutdown.c: Likewise.
27920         * socket/sockatmark.c: Likewise.
27921         * socket/socket.c: Likewise.
27922         * socket/socketpair.c: Likewise.
27923         * stdio-common/ctermid.c: Likewise.
27924         * stdio-common/cuserid.c: Likewise.
27925         * stdio-common/remove.c: Likewise.
27926         * stdio-common/rename.c: Likewise.
27927         * stdio-common/renameat.c: Likewise.
27928         * stdio-common/tempname.c: Likewise.
27929         * stdlib/getcontext.c: Likewise.
27930         * stdlib/makecontext.c: Likewise.
27931         * stdlib/setcontext.c: Likewise.
27932         * stdlib/swapcontext.c: Likewise.
27933         * stdlib/system.c: Likewise.
27934         * streams/fattach.c: Likewise.
27935         * streams/fdetach.c: Likewise.
27936         * streams/getmsg.c: Likewise.
27937         * streams/getpmsg.c: Likewise.
27938         * streams/putmsg.c: Likewise.
27939         * streams/putpmsg.c: Likewise.
27940         * sysdeps/unix/bsd/getpt.c: Likewise.
27941         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27942         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27943         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27945         Likewise.
27946         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27947         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27948         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27949         * sysvipc/msgctl.c: Likewise.
27950         * sysvipc/msgget.c: Likewise.
27951         * sysvipc/msgrcv.c: Likewise.
27952         * sysvipc/msgsnd.c: Likewise.
27953         * sysvipc/semctl.c: Likewise.
27954         * sysvipc/semget.c: Likewise.
27955         * sysvipc/semop.c: Likewise.
27956         * sysvipc/semtimedop.c: Likewise.
27957         * sysvipc/shmat.c: Likewise.
27958         * sysvipc/shmctl.c: Likewise.
27959         * sysvipc/shmdt.c: Likewise.
27960         * sysvipc/shmget.c: Likewise.
27961         * termios/tcdrain.c: Likewise.
27962         * termios/tcflow.c: Likewise.
27963         * termios/tcflush.c: Likewise.
27964         * termios/tcgetattr.c: Likewise.
27965         * termios/tcgetpgrp.c: Likewise.
27966         * termios/tcsendbrk.c: Likewise.
27967         * termios/tcsetattr.c: Likewise.
27968         * termios/tcsetpgrp.c: Likewise.
27969         * time/adjtime.c: Likewise.
27970         * time/clock.c: Likewise.
27971         * time/getitimer.c: Likewise.
27972         * time/gettimeofday.c: Likewise.
27973         * time/setitimer.c: Likewise.
27974         * time/settimeofday.c: Likewise.
27975         * time/stime.c: Likewise.
27976         * time/time.c: Likewise.
27977
27978 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27979
27980         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27981         /usr/old/bin.
27982
27983         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27984         instead of spaces.
27985         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27986
27987 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27988
27989         [BZ #14796]
27990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27991         FE_TONEAREST before applying Dekker multiplication and Knuth
27992         addition.  Clear inexact exceptions and check for exact zero
27993         results afterwards.
27994         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27995         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27996         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27997         * math/libm-test.inc (fma_test): Add more tests.
27998         (fma_test_towardzero): Likewise.
27999         (fma_test_downward): Likewise.
28000         (fma_test_upward): Likewise.
28001         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28002         function.
28003         (libc_fesetround): New macro.
28004         (libc_fesetroundf): Likewise.
28005         (libc_fesetroundl): Likewise.
28006         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28007         function.
28008         (libc_fesetround_387): Likewise.
28009         (libc_fesetroundf): New macro.
28010         (libc_fesetround): Likewise.
28011         (libc_fesetroundl): Likewise.
28012         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28013         function.
28014         (libc_fesetroundf): New macro.
28015         (libc_fesetround): Likewise.
28016         (libc_fesetroundl): Likewise.
28017         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28018         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28019         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28020         libm_hidden_ver.
28021         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28022         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28023         libm_hidden_def.
28024         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28025         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28026         libm_hidden_ver.
28027         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28028         libm_hidden_def.
28029
28030         [BZ #3439]
28031         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28032         integer constant usable in #if and use that to give value to enum
28033         constant.
28034         (FE_DIVBYZERO): Likewise.
28035         (FE_UNDERFLOW): Likewise.
28036         (FE_OVERFLOW): Likewise.
28037         (FE_INVALID): Likewise.
28038         (FE_INVALID_SNAN): Likewise.
28039         (FE_INVALID_ISI): Likewise.
28040         (FE_INVALID_IDI): Likewise.
28041         (FE_INVALID_ZDZ): Likewise.
28042         (FE_INVALID_IMZ): Likewise.
28043         (FE_INVALID_COMPARE): Likewise.
28044         (FE_INVALID_SOFTWARE): Likewise.
28045         (FE_INVALID_SQRT): Likewise.
28046         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28047         (FE_TONEAREST): Likewise.
28048         (FE_TOWARDZERO): Likewise.
28049         (FE_UPWARD): Likewise.
28050         (FE_DOWNWARD): Likewise.
28051         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28052         (FE_DIVBYZERO): Likewise.
28053         (FE_OVERFLOW): Likewise.
28054         (FE_UNDERFLOW): Likewise.
28055         (FE_INEXACT): Likewise.
28056         (FE_TONEAREST): Likewise.
28057         (FE_DOWNWARD): Likewise.
28058         (FE_UPWARD): Likewise.
28059         (FE_TOWARDZERO): Likewise.
28060         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28061         (FE_UNDERFLOW): Likewise.
28062         (FE_OVERFLOW): Likewise.
28063         (FE_DIVBYZERO): Likewise.
28064         (FE_INVALID): Likewise.
28065         (FE_TONEAREST): Likewise.
28066         (FE_TOWARDZERO): Likewise.
28067         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28068         (FE_OVERFLOW): Likewise.
28069         (FE_UNDERFLOW): Likewise.
28070         (FE_DIVBYZERO): Likewise.
28071         (FE_INEXACT): Likewise.
28072         (FE_TONEAREST): Likewise.
28073         (FE_TOWARDZERO): Likewise.
28074         (FE_UPWARD): Likewise.
28075         (FE_DOWNWARD): Likewise.
28076         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28077         (FE_DIVBYZERO): Likewise.
28078         (FE_OVERFLOW): Likewise.
28079         (FE_UNDERFLOW): Likewise.
28080         (FE_INEXACT): Likewise.
28081         (FE_TONEAREST): Likewise.
28082         (FE_DOWNWARD): Likewise.
28083         (FE_UPWARD): Likewise.
28084         (FE_TOWARDZERO): Likewise.
28085
28086 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28087
28088         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28089
28090 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28091
28092         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28093         commands.  Quote $PWD.
28094         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28095         -x" by "export".
28096         (remove_newlines): Remove.
28097
28098 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28099
28100         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28101         * stdlib/stdlib.h (atof): Moved to ...
28102         * include/bits/stdlib-float.h: Here.  New file.
28103         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28104         * stdlib/bits/stdlib-float.h: New file.
28105         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28106         -mno-sse -mno-mmx.
28107         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28108         <xmmintrin.h>.
28109
28110 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28111
28112         * conform/conformtest.pl (@headers): Add fenv.h.
28113         * conform/data/fenv.h-data: New file.
28114         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28115         include of <math/fenv.h>.
28116
28117         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28118         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28119         && !UNIX98].  Enables tests for XOPEN2K8.
28120         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28121         POSIX2008]: Likewise.
28122
28123         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28124         (struct rusage): Do not expect type or its members.
28125
28126         [BZ #3439]
28127         * math/math.h (FP_NAN): Define macro to integer constant usable in
28128         #if and use that to give value to enum constant.
28129         (FP_INFINITE): Likewise.
28130         (FP_ZERO): Likewise.
28131         (FP_SUBNORMAL): Likewise.
28132         (FP_NORMAL): Likewise.
28133
28134 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28135
28136         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28137         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28138         arguments.
28139
28140 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28141
28142         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28143         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28144         autoconf-time if not.
28145         * configure.in: Remove AC_PREREQ.
28146
28147 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28148
28149         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28150         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28151         of the internal implementation.
28152
28153 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28154
28155         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28156         except include of <misc/sys/syslog.h>.
28157
28158 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28159
28160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28161         function returns with a NULL context exit with zero.
28162
28163 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28164
28165         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28166
28167 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28168
28169         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28170         (run_program_cmd): This.
28171         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28172         (tst_langinfo): New variable.  Use it.
28173
28174 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28175
28176         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28177         floating point opcodes.
28178
28179 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28180
28181         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28182         variable.
28183
28184         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28185
28186         * sysdeps/mach/hurd/powerpc: Remove directory.
28187         * sysdeps/mach/powerpc: Likewise.
28188
28189 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28190
28191         * scripts/check-local-headers.sh: Ignore c++ headers.
28192
28193 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28194
28195         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28196         __libc_cleanup_region_start argument.
28197
28198 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28199
28200         [BZ #14784]
28201         [BZ #14785]
28202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28203         x * y using scaling, not as x * y + z.
28204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28205         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28206         * math/libm-test.inc (fma_test): Add more tests.
28207         (fma_test_towardzero): Likewise.
28208         (fma_test_downward): Likewise.
28209         (fma_test_upward): Likewise.
28210
28211 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28212
28213         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28214
28215 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28216
28217         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28218         New variable.
28219
28220 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28221
28222         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28223
28224 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28225
28226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28227         Fix sort order.
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28229         Likewise.
28230
28231 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28232
28233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28234         Fix the order of the list for glibc 2.17.
28235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28236         Likewise.
28237
28238 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28239
28240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28241
28242 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28243
28244         [BZ #14610]
28245         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28246         for low part of x being zero before using __atanl (y).
28247         * math/libm-test.inc (atan2_test): Add another test.
28248
28249         * manual/install.texi (Configuring and compiling): Document
28250         general use of test-wrapper and test-wrapper-env.
28251         * INSTALL: Regenerated.
28252
28253         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28254         (__fma): Do not extract and scale down low bits on after-rounding
28255         systems when result rounded to normal precision would have normal
28256         exponent.
28257         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28258         (__fmal): Do not extract and scale down low bits on after-rounding
28259         systems when result rounded to normal precision would have normal
28260         exponent.
28261         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28262         (__fmal): Do not extract and scale down low bits on after-rounding
28263         systems when result rounded to normal precision would have normal
28264         exponent.
28265         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28266         macro.
28267         (fma_test): Add more tests.
28268         (fma_test_towardzero): Likewise.
28269         (fma_test_downward): Likewise.
28270         (fma_test_upward): Likewise.
28271
28272 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28273
28274         * sysdeps/i386/tininess.h: Renamed to ...
28275         * sysdeps/x86/tininess.h: This.
28276         * sysdeps/x86_64/tininess.h: Removed.
28277
28278 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28279
28280         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28281         input.  Use $(build-program-cmd).
28282         ($(objpfx)tst-array1-static.out): Likewise.
28283         ($(objpfx)tst-array2.out): Likewise.
28284         ($(objpfx)tst-array3.out): Likewise.
28285         ($(objpfx)tst-array4.out): Likewise.
28286         ($(objpfx)tst-array5.out): Likewise.
28287         ($(objpfx)tst-array5-static.out): Likewise.
28288
28289 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28290
28291         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28292         if defined.
28293
28294         * nss/nsswitch.h (nss_interface_function): Provide new
28295         macro for use with NSS functions.
28296         * grp/initgroups.c: Use new macro.
28297         * nss/getXXbyYY.c: Likewise.
28298         * nss/getXXbyYY_r.c: Likewise.
28299         * nss/getXXent.c: Likewise.
28300         * nss/getXXent_r.c: Likewise.
28301         * sysdeps/posix/getaddrinfo.c: Likewise.
28302
28303 2012-10-30  Andreas Jaeger  <aj@suse.de>
28304
28305         * po/ru.po: Update Russion translation from translation project.
28306
28307 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28308
28309         [BZ #14152]
28310         [BZ #14783]
28311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28312         result and shift together with sticky bit instead of replicating
28313         round-to-nearest rounding.
28314         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28315         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28316         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28317         missing underflow exceptions.
28318         (fma_test_towardzero): Add more tests.
28319         (fma_test_downward): Likewise.
28320         (fma_test_upward): Likewise.
28321
28322         [BZ #14047]
28323         * sysdeps/generic/tininess.h: New file.
28324         * sysdeps/i386/tininess.h: Likewise.
28325         * sysdeps/sh/tininess.h: Likewise.
28326         * sysdeps/x86_64/tininess.h: Likewise.
28327         * stdlib/tst-strtod-underflow.c: Likewise.
28328         * stdlib/tst-tininess.c: Likewise.
28329         * stdlib/strtod_l.c: Include <tininess.h>.
28330         (round_and_return): Do not set errno for exact underflow cases.
28331         Force an underflow exception when setting errno for underflow.
28332         Determine underflow based on rounding to normal precision if
28333         TININESS_AFTER_ROUNDING.
28334         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28335         ERANGE for exact underflow cases.
28336         * stdlib/Makefile (tests): Add tst-tininess and
28337         tst-strtod-underflow.
28338         ($(objpfx)tst-tininess): Use $(link-libm).
28339         ($(objpfx)tst-strtod-underflow): Likewise.
28340
28341 2012-10-30  Andreas Jaeger  <aj@suse.de>
28342
28343         [BZ#14767]
28344         * elf/Makefile (tests): Remove conditional for have-initfini-array
28345         since this is now always required and the variable does not exist
28346         anymore.
28347         (tests-static): Likewise.
28348         (modules-names): Likewise.
28349
28350         * po/eo.po: Add Esperanto translation from translation project.
28351
28352         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28353         merged with constructor/destructor.
28354         (init_array): Likewise.
28355         * elf/tst-array2dep.c (fini_array): Likewise.
28356         (init_array): Likewise.
28357
28358 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28359
28360         * manual/message.texi: Delete @cartouche tags.
28361
28362 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28363
28364         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28365         EOPNOTSUPP.
28366         * sysdeps/mach/hurd/fsync.c: Likewise.
28367
28368         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28369         [_POSIX_REALTIME_SIGNALS]: Change condition to
28370         [_POSIX_REALTIME_SIGNALS > 0].
28371
28372 2012-10-27  Andreas Jaeger  <aj@suse.de>
28373
28374         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28375         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28376         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28377         [__WORDSIZE != 64]: Likewise.
28378
28379 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28380
28381         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28382         *  iconvdata/tst-tables.sh: Likewise.
28383
28384 2012-10-25  David S. Miller  <davem@davemloft.net>
28385
28386         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28387         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28388         of strtoull.
28389
28390         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28391         ifunc-impl-list.c
28392         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28393         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28394         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28395         file.
28396
28397 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28398
28399         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28400         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28401         __getdirentries.
28402
28403 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28404             Jim Blandy  <jimb@codesourcery.com>
28405
28406         * scripts/cross-test-ssh.sh: New file.
28407         * manual/install.texi (Configuring and compiling): Document use of
28408         cross-test-ssh.sh.
28409         * INSTALL: Regenerated.
28410
28411 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28412
28413         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28414         EOPNOTSUPP.
28415
28416 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28417
28418         * Makeconfig (run-program-prefix): Fix comment.
28419
28420 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28421             Jim Blandy  <jimb@codesourcery.com>
28422
28423         * Makeconfig (test-wrapper): New variable,
28424         (test-wrapper-env): Likewise.
28425         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28426         (run-built-tests): Define to yes.
28427         (run-program-prefix): Use $(test-wrapper).
28428         (built-program-cmd): Likewise.
28429         * Rules (make-test-out): Use $(test-wrapper-env) and
28430         $(host-built-program-cmd).
28431         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28432         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28433         tst-pathopt.sh.
28434         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28435         $(test-wrapper-env) to tst-rtld-load-self.sh.
28436         ($(objpfx)order2.out): Use $(test-wrapper).
28437         ($(objpfx)tst-initorder.out): Likewise.
28438         ($(objpfx)tst-initorder2.out): Likewise.
28439         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28440         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28441         (test_wrapper_env): New variable.  Use it to run ld.so.
28442         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28443         Use it to run ld.so.
28444         (test_wrapper_env): Likewise.
28445         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28446         $(test-wrapper) to run-iconv-test.sh.
28447         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28448         (ICONV): Use $test_wrapper.
28449         * posix/Makefile ($(objpfx)globtest.out): Pass
28450         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28451         globtest.sh, not $(run-program-prefix).
28452         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28453         (test_wrapper): Likewise.
28454         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28455         set together with run_via_rtld_prefix.
28456         (run_program_prefix): Define in terms of test_wrapper and
28457         run_via_rtld_prefix.
28458
28459 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28460
28461         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28462         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28463         Targets removed.
28464
28465         [BZ #14743]
28466         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28467         Declare __clock_getres, __clock_gettime, __clock_settime,
28468         __clock_nanosleep, and __clock_getcpuclockid.
28469         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28470         Remove librt_hidden_def (clock_gettime).
28471         * sysdeps/unix/clock_gettime.c: Likewise.
28472         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28473         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28474         * rt/clock_getres.c: Define __clock_getres as an alias.
28475         * sysdeps/posix/clock_getres.c: Likewise.
28476         * rt/clock_settime.c: Define __clock_settime as an alias.
28477         * sysdeps/unix/clock_settime.c: Likewise.
28478         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28479         * sysdeps/unix/clock_nanosleep.c: Likewise.
28480         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28481         * rt/clock-compat.c: New file.
28482         * rt/Makefile (librt-routines): Add clock-compat and move
28483         $(clock-routines) to ...
28484         (routines): ... here, new variable.
28485         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28486         Don't add get_clockfreq here.
28487         * rt/Versions (libc: GLIBC_2.17): New version set.
28488         Add clock_* symbols here.
28489         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28490         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28491         (GLIBC_2.17): Add clock_* symbols.
28492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28494         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28496         Likewise.
28497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28498         Likewise.
28499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28503         * NEWS: Mention the move.
28504
28505         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28506         Use __open, __read, __close rather than their public counterparts.
28507         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28508         (__get_clockfreq_via_cpuinfo): Likewise.
28509         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28510         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28511
28512         * config.h.in (HAVE_IFUNC): New #undef.
28513         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28514         was successful.
28515         * configure: Regenerated.
28516
28517 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28518
28519         * configure.in: Move READELF check to start of file.
28520         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28521         libc_cv_asm_gnu_indirect_function in the process.
28522         * configure: Regenerated.
28523
28524 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28525
28526         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28527         send the output to /dev/null.
28528         (libc_cv_cc_with_libunwind): Likewise.
28529         (libc_cv_as_noexecstack): Likewise.
28530         * configure: Regenerate.
28531
28532 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28533
28534         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28535
28536         * posix/globtest.sh (TMPDIR): Do not set.
28537         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28538         (testout): Likewise.
28539
28540 2012-10-24  Andreas Jaeger  <aj@suse.de>
28541
28542         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28543         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28544         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28545         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28546         posix_fadvise64, posix_fallocate64.
28547
28548         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28549         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28550         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28551         Likewise.
28552         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28553         Likewise.
28554         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28555
28556         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28557         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28558         <bits/fcntl-linux.h>.
28559         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28560
28561         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28562         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28563         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28564         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28565         [__WORDSIZE != 64]: Likewise.
28566
28567 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28568
28569         * Makeconfig (run-built-tests): New variable.
28570         * Rules [$(cross-compiling) = yes]: Change condition to
28571         [$(run-built-tests) = no].
28572         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28573         to [$(run-built-tests) = yes].
28574         * elf/Makefile [$(cross-compiling) = no]: Likewise
28575         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28576         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28577         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28578         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28579         * io/Makefile [$(cross-compiling) = no]: Likewise.
28580         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28581         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28582         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28583         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28584         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28585         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28586         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28587         * string/Makefile [$(cross-compiling) = no]: Likewise.
28588
28589         * posix/Makefile ($(objpfx)globtest.out): Pass
28590         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28591         $(rtld-installed-name).
28592         * posix/globtest.sh (elf_objpfx): Remove variable.
28593         (rtld_installed_name): Likewise.
28594         (library_path): Likewise.
28595         (run_program_prefix): New variable.  Use for running globtest
28596         binary.
28597
28598 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28599             Joseph Myers  <joseph@codesourcery.com>
28600
28601         * Makeconfig (host-built-program-cmd): New variable.
28602         * elf/Makefile (tst-stackguard1-ARGS): Use
28603         $(host-built-program-cmd).
28604         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28605         (tst-spawn-ARGS): Likewise.
28606         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28607
28608 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28609             Jim Blandy  <jimb@codesourcery.com>
28610
28611         * Makeconfig (run-via-rtld-prefix): New variable.
28612         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28613         (built-program-cmd): Likewise.
28614
28615 2012-10-22  Andreas Jaeger  <aj@suse.de>
28616
28617         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28618         __O_RSYNC if it exists, otherwise to O_SYNC.
28619
28620 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28621             Joseph Myers  <joseph@codesourcery.com>
28622
28623         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28624         /dev/null.
28625         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28626         from /dev/null
28627         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28628         /dev/null.
28629
28630 2012-10-22  Andreas Jaeger  <aj@suse.de>
28631
28632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28633         Define always.
28634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28635
28636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28637         bits/fcntl-linux.h.
28638
28639         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28640         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28641
28642         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28643         to __O_LARGEFILE.
28644         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28645         to __O_LARGEFILE.
28646
28647 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28648             Joseph Myers  <joseph@codesourcery.com>
28649
28650         * config.make.in (NM): New variable.
28651
28652 2012-10-21  Andreas Jaeger  <aj@suse.de>
28653
28654         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28655         definitions and declarations that are provided by
28656         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28657
28658 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28659
28660         [BZ #14683]
28661         * elf/Makefile (tests-static): Add tst-leaks1-static.
28662         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28663         ($(objpfx)tst-leaks1-static): New rule.
28664         ($(objpfx)tst-leaks1-static-mem): Likewise.
28665         (tst-leaks1-static-ENV): New macro.
28666         * elf/dl-open.c (dl_open_worker): Check the main application
28667         only if SHARED is defined.
28668         * elf/tst-leaks1-static.c: New file.
28669
28670 2012-10-20  Andreas Jaeger  <aj@suse.de>
28671
28672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28673         generic values for Linux.
28674         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28675         and declarations that are provided by <bits/fcntl-linux.h> and
28676         include <bits/fcntl-linux.h>.
28677         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28678         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28679
28680 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28681
28682         * io/fcntl.h: Move include of <bits/types.h> to the top and
28683         include it unconditionally.
28684
28685 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28686
28687         * wcsmbs/Makefile (tests-ifunc): New variable.
28688         (tests): Add $(tests-ifunc).
28689         * wcsmbs/test-wcschr-ifunc.c: New file.
28690         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28691         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28692         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28693         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28694         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28695
28696         * string/Makefile (tests-ifunc): New variable.
28697         (tests): Add $(tests-ifunc).
28698         * string/test-memccpy.c (TEST_NAME): New macro.
28699         * string/test-memchr.c (TEST_NAME): Likewise.
28700         * string/test-memcmp.c (TEST_NAME): Likewise.
28701         * string/test-memcpy.c (TEST_NAME): Likewise.
28702         * string/test-memmem.c (TEST_NAME): Likewise.
28703         * string/test-memmove.c (TEST_NAME): Likewise.
28704         * string/test-memset.c (TEST_NAME): Likewise.
28705         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28706         * string/test-stpcpy.c (TEST_NAME): Likewise.
28707         * string/test-stpncpy.c (TEST_NAME): Likewise.
28708         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28709         * string/test-strcasestr.c (TEST_NAME): Likewise.
28710         * string/test-strcat.c (TEST_NAME): Likewise.
28711         * string/test-strchr.c (TEST_NAME): Likewise.
28712         * string/test-strcmp.c(TEST_NAME): Likewise.
28713         * string/test-strcpy.c (TEST_NAME): Likewise.
28714         * string/test-strcspn.c (TEST_NAME): Likewise.
28715         * string/test-strlen.c (TEST_NAME): Likewise.
28716         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28717         * string/test-strncmp.c (TEST_NAME): Likewise.
28718         * string/test-strncpy.c (TEST_NAME): Likewise.
28719         * string/test-strnlen.c (TEST_NAME): Likewise.
28720         * string/test-strpbrk.c (TEST_NAME): Likewise.
28721         * string/test-strrchr.c (TEST_NAME): Likewise.
28722         * string/test-strspn.c (TEST_NAME): Likewise.
28723         * string/test-strstr.c (TEST_NAME): Likewise.
28724         * string/test-bcopy-ifunc.c: New file.
28725         * string/test-bzero-ifunc.c: Likewise.
28726         * string/test-memccpy-ifunc.c: Likewise.
28727         * string/test-memchr-ifunc.c: Likewise.
28728         * string/test-memcmp-ifunc.c: Likewise.
28729         * string/test-memcpy-ifunc.c: Likewise.
28730         * string/test-memmem-ifunc.c: Likewise.
28731         * string/test-memmove-ifunc.c: Likewise.
28732         * string/test-mempcpy-ifunc.c: Likewise.
28733         * string/test-memset-ifunc.c: Likewise.
28734         * string/test-rawmemchr-ifunc.c: Likewise.
28735         * string/test-stpcpy-ifunc.c: Likewise.
28736         * string/test-stpncpy-ifunc.c: Likewise.
28737         * string/test-strcasecmp-ifunc.c: Likewise.
28738         * string/test-strcasestr-ifunc.c: Likewise.
28739         * string/test-strcat-ifunc.c: Likewise.
28740         * string/test-strchr-ifunc.c: Likewise.
28741         * string/test-strchrnul-ifunc.c: Likewise.
28742         * string/test-strcmp-ifunc.c: Likewise.
28743         * string/test-strcpy-ifunc.c: Likewise.
28744         * string/test-strcspn-ifunc.c: Likewise.
28745         * string/test-strlen-ifunc.c: Likewise.
28746         * string/test-strncasecmp-ifunc.c: Likewise.
28747         * string/test-strncat-ifunc.c: Likewise.
28748         * string/test-strncmp-ifunc.c: Likewise.
28749         * string/test-strncpy-ifunc.c: Likewise.
28750         * string/test-strnlen-ifunc.c: Likewise.
28751         * string/test-strpbrk-ifunc.c: Likewise.
28752         * string/test-strrchr-ifunc.c: Likewise.
28753         * string/test-strspn-ifunc.c: Likewise.
28754         * string/test-strstr-ifunc.c: Likewise.
28755
28756         * debug/Makefile (tests-ifunc): New variable.
28757         (tests): Add $(tests-ifunc).
28758         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28759         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28760         * debug/test-stpcpy_chk-ifunc.c: New file.
28761         * debug/test-strcpy_chk-ifunc.c: Likewise.
28762
28763 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28764
28765         [BZ #13601]
28766         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28767         header is not read in.
28768
28769 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28770
28771         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28772         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28773         directly.  Pass built executable to script as
28774         $(built-program-cmd).
28775         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28776         $testprogram without using LD_LIBRARY_PATH and $ldso.
28777
28778         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28779         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28780         $(rtld-installed-name).
28781         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28782         (rtld_installed_name): Likewise.
28783         (library_path): Likewise.
28784         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28785         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28786         $(run-program-prefix) to tst-tables.sh.
28787         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28788         it to run tst-table-from and tst-table-to.
28789         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28790         Pass it to tst-table.sh.
28791         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28792         $(run-program-prefix) to tst-gettext.sh.
28793         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28794         tst-translit.sh.
28795         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28796         tst-gettext2.sh.
28797         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28798         to run tst-gettext.
28799         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28800         to run tst-gettext2.
28801         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28802         to run tst-translit.
28803         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28804         $(run-program-prefix) to tst-mtrace.sh.
28805         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28806         to run tst-mtrace.
28807         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28808         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28809         $(rtld-installed-name).
28810         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28811         (rtld_installed_name): Likewise.
28812         (run_program_prefix): New variable.  Use it to run wordexp-test.
28813
28814         * Makeconfig (ARCH): Remove all definitions.
28815         (machine): Likewise.
28816         [ARCH]: Remove conditional code.
28817         [!objdir]: Give error.
28818         [!objdir] (objpfx): Remove.
28819         [!objdir] (common-objpfx): Likewise.
28820         [!objdir] (common-objdir): Likewise.
28821         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28822         AC_CONFIG_FILES call.
28823         * configure: Regenerated.
28824
28825         [BZ #13888]
28826         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28827         or TMPDIR.
28828         (testout): Likewise.
28829
28830         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28831         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28832         $(rtld-installed-name).
28833         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28834         (rtld_installed_name): Likwise.
28835         (runit): Remove function.
28836         (run_getconf): New variable,  Use it for running getconf binary.
28837
28838 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28839
28840         [BZ #14716]
28841         * string/test-memmem.c (check_result): New function.
28842         (do_one_test): Use it.
28843         (check1): New function.
28844         (test_main): Use it.
28845
28846 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28847
28848         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28849
28850 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28851
28852         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28853         (_G_LSEEK64): Likewise.
28854         (_G_MMAP64): Likewise.
28855         (_G_FSTAT64): Likewise.
28856         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28857         (_G_LSEEK64): Likewise.
28858         (_G_MMAP64): Likewise.
28859         (_G_FSTAT64): Likewise.
28860         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28861         unconditional.  Call __mmap64 directly.
28862         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28863         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28864         __lseek64 directly.
28865         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28866         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28867         __mmap64 directly.
28868         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28869         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28870         __lseek64 directly.
28871         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28872         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28873         __lseek64 directly.
28874         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28875         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28876         __lseek64 directly.
28877         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28878         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28879         __fxstat64 directly.
28880         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28881         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28882         unconditional.
28883         (freopen64) [!_G_OPEN64]: Remove conditional code.
28884         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28885         unconditional.
28886         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28887         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28888         unconditional.
28889         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28890         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28891         unconditional.
28892         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28893         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28894         unconditional.
28895         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28896         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28897         unconditional.
28898         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28899         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28900         unconditional.
28901         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28902         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28903         unconditional.
28904         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28905
28906 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28907
28908         [BZ #12140]
28909         * manual/memory.texi (Malloc Tunable Parameters): Add note
28910         about free list pointers overwriting some perturb bytes.
28911         Wording suggested by Roland McGrath.
28912
28913 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28914
28915         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28916         (lgamma_test): Likewise.
28917         (tgamma_test): Likewise.
28918
28919 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28920
28921         [BZ #14700]
28922         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28923         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28924
28925 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28926
28927         * NEWS: Mention BZ #14716.
28928         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28929         when removing AVAILABLE1_USES_J macro.
28930
28931 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28932
28933         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28934         (__bswap_64): __uint64_t for unsigned 64-bit int.
28935
28936 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28937
28938         * include/string.h (memmem): Declare libc hidden alias.
28939         * string/memmem.c (memmem): Define libc hidden alias.
28940         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28941         __read, __close instead of open, read, close.
28942
28943 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28944
28945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28946         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28947         global and hidden.
28948         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28949         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28950         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28951         Likewise.
28952         (__rawmemchr_sse2): Likewise.
28953         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28954         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28955         (__strchr_sse2): Likewise.
28956         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28957         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28958         (__strcasecmp_sse2): Likewise.
28959         (__strncasecmp_sse2): Likewise.
28960         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28961         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28962         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28963         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28964         (__strrchr_sse2): Likewise.
28965         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28966         ifunc-impl-list.c.
28967         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28968         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28969         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28970         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28971         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28972         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28973         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28974         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28975         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28976         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28977         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28978         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28979         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28980         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28981         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28982         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28983         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28984         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28985         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28986         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28987         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28988         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28989         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28990         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28991         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28992         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28993         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28994         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28995         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28996         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28997
28998         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28999         global and hidden.
29000         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29001         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29002         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29003         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29004         Likewise.
29005         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29006         Likewise.
29007         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29008         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29009         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29010         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29011         ifunc-impl-list.c.
29012         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29013         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29014         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29015         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29016         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29017         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29018         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29019         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29020         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29021         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29022         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29023         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29024         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29025         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29026         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29027         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29028         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29029         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29030         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29031         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29032         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29033         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29034         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29035         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29036         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29037         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29038         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29039         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29040         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29041         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29042         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29043         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29044         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29045         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29046         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29047         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29048         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29049         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29050         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29051         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29052         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29053
29054         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29055         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29056         * include/ifunc-impl-list.h: New file.
29057         * misc/ifunc-impl-list.c: Likewise.
29058         * misc/Makefile (routines): Add ifunc-impl-list.
29059         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29060         * string/test-string.h: Include <ifunc-impl-list.h>.
29061         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29062         TEST_NAME]: New variables.
29063         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29064         are defined.
29065         (test_init): Call __libc_ifunc_impl_list to initialize
29066         func_list if TEST_IFUNC and TEST_NAME are defined.
29067
29068         * string/Makefile (strop-tests): Add bcopy and bzero.
29069         * string/test-bcopy.c: New file.
29070         * string/test-bzero.c: Likewise.
29071         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29072         defined.
29073         * string/test-memset.c: Support bzero test if TEST_BZERO is
29074         defined.
29075         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29076         __libc_memmove.
29077         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29078         __libc_memset.
29079         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29080         of memset.
29081
29082 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29083
29084         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29085         * configure: Regenerated.
29086
29087         * Makeconfig (+link-static-before-libc): Don't include
29088         $(link-static-libc).
29089
29090         * libio/libio.h (_IO_pos_t): Remove.
29091
29092 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29093
29094         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29095         McGrath.
29096
29097 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29098
29099         * crypt/crypt-entry.c: Include fips-private.h.
29100         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29101         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29102         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29103         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29104
29105 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29106
29107         * crypt/crypt-private.h: Include stdbool.h.
29108         (_ufc_setup_salt_r): Return bool.
29109         * crypt/crypt-entry.c: Include errno.h.
29110         (__crypt_r): Return NULL with EINVAL for bad salt.
29111         * crypt/crypt_util.c (bad_for_salt): New.
29112         (_ufc_setup_salt_r): Check that salt is long enough and within
29113         the specified alphabet.
29114         * crypt/badsalttest.c: New file.
29115         * crypt/Makefile (tests): Add it.
29116         ($(objpfx)badsalttest): New.
29117
29118 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29119
29120         * NEWS: Add entry for BZ #14602.
29121
29122 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29123
29124         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29125         type-generic.
29126         * math/libm-test.inc: Update comment listing what functions and
29127         macros are tested.
29128         (isgreater_test): New function.
29129         (isgreaterequal_test): Likewise.
29130         (isless_test): Likewise.
29131         (islessequal_test): Likewise.
29132         (islessgreater_test): Likewise.
29133         (isunordered_test): Likewise.
29134         (main): Call the new functions.
29135
29136 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29137
29138         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29139         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29140         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29141         * sysdeps/i386/configure: Regenerated.
29142         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29143         * sysdeps/mach/configure: Regenerated.
29144         * sysdeps/mach/hurd/configure: Regenerated.
29145         * sysdeps/powerpc/configure: Regenerated.
29146         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29147         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29148         * sysdeps/s390/s390-32/configure: Regenerated.
29149         * sysdeps/s390/s390-64/configure: Regenerated.
29150         * sysdeps/sh/configure: Regenerated.
29151         * sysdeps/sparc/configure: Regenerated.
29152         * sysdeps/unix/sysv/linux/configure: Regenerated.
29153         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29154         * sysdeps/x86_64/configure: Regenerated.
29155
29156         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29157         defined.  Don't check if MAP is NULL.
29158
29159 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29160
29161         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29162         (_G_stat64): Likewise.
29163         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29164         (_G_stat64): Likewise.
29165         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29166         instead of struct _G_stat64.
29167         * libio/fileops.c (mmap_remap_check): Likewise.
29168         (decide_maybe_mmap): Likewise.
29169         (_IO_new_file_seekoff): Likewise.
29170         (_IO_file_stat): Likewise.
29171         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29172         _G_off64_t.
29173         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29174         instead of struct _G_stat64.
29175         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29176
29177 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29178
29179         [BZ #14602]
29180         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29181         Replace with ...
29182         (CHECK_EOL): New macro.
29183         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29184         CHECK_EOL.
29185         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29186         Replace with CHECK_EOL.
29187         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29188         Replace with CHECK_EOL.
29189
29190 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29191
29192         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29193         type-generic.
29194         * math/libm-test.inc: Update comment listing what functions and
29195         macros are tested.
29196         (finite_test): New function.
29197         (isinf_test): Likewise.
29198         (isnan_test): Likewise.
29199         (fpclassify_test): Test subnormal input.
29200         (isfinite_test): Likewise.
29201         (isnormal_test): Likewise.
29202         (main): Call the new functions.
29203
29204 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29205
29206         [BZ #14660]
29207         * Makerules (%.dynsym): Force C locale when running
29208         $(OBJDUMP) --dynamic-syms.
29209
29210 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29211
29212         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29213         <stdint.h>.
29214
29215 2012-10-06  David S. Miller  <davem@davemloft.net>
29216
29217         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29218         upper 32-bits of the length value in %o2 since we use branch-on-register
29219         tests which consider the entire 64-bit register.
29220
29221 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29222
29223         * string/test-strstr.c (check2): Add a test for page boundary.
29224
29225 2012-10-05  David S. Miller  <davem@davemloft.net>
29226
29227         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29228         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29229         file.
29230         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29231         sysdep_routines.
29232         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29233         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29234         and bzero when HWCAP_SPARC_CRYPTO is present.
29235
29236 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29237
29238         [BZ #14602]
29239         * string/test-strstr.c (check2): New function.
29240         (test_main): Call check2.
29241
29242         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29243         and bug-strchr1.
29244         * string/bug-strcasestr1.c (do_test): Moved to ...
29245         * string/test-strcasestr.c (check1): Here.  New function.
29246         (do_one_test): Break out result checking code into ...
29247         (check_result): This.  New function.
29248         (do_one_test): Call check_result.
29249         (test_main): Call check1.
29250         * string/bug-strchr1.c (do_test): Moved to ...
29251         * string/test-strchr.c (check1): Here.  New function.
29252         (do_one_test): Break out result checking code into ...
29253         (check_result): This.  New function.
29254         (do_one_test): Call check_result.
29255         (test_main): Call check1.
29256         * string/bug-strstr1.c (main): Moved to ...
29257         * string/test-strstr.c (check1): Here.  New function.
29258         (do_one_test): Break out result checking code into ...
29259         (check_result): This.  New function.
29260         (do_one_test): Call check_result.
29261         (test_main): Call check1.
29262         * string/bug-strcasestr1.c: Removed.
29263         * string/bug-strchr1.c: Likewise.
29264         * string/bug-strstr1.c: Likewise.
29265
29266         * elf/Makefile (dl-routines): Add hwcaps.
29267         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29268         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29269         (_dl_important_hwcaps): Moved to ...
29270         * elf/dl-hwcaps.c: Here.  New file.
29271         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29272
29273         [BZ #14557]
29274         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29275         if IS_IN_rtld isn't defined.
29276
29277         * elf/dl-support.c (_dl_sysinfo_map): New.
29278         Include "get-dynamic-info.h" and "setup-vdso.h".
29279         (_dl_non_dynamic_init): Call setup_vdso.
29280         * elf/dynamic-link.h: Don't include <assert.h>.
29281         (elf_get_dynamic_info): Moved to ...
29282         * elf/get-dynamic-info.h: Here.  New file.
29283         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29284         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29285         * elf/setup-vdso.h: Here.  New file.
29286         * elf/rtld.c: Include "setup-vdso.h".
29287         (dl_main): Call setup_vdso.
29288
29289 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29290
29291         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29292         creal in comment listing functions tested.  List finite, isinf,
29293         isnan, isless, islessequal, isgreater, isgreaterequal,
29294         islessgreater, isunordered, lgamma_r and pow10 as functions and
29295         macros not tested.  Mention which functions not tested are aliases
29296         for other functions.  Fix typo.  Note that signs of NaNs are not
29297         tested.
29298
29299         * scripts/config.guess: Update from config.git.
29300         * scripts/config.sub: Likewise.
29301
29302 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29303
29304         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29305         * misc/madvise.c (madvise): Renamed to __madvise.
29306         Make madvise a weak alias.
29307         * include/sys/mman.h: Declare __madvise.
29308         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29309         * sysdeps/unix/syscalls.list
29310         (madvise): Make __madvise the strong name, and madvise a weak alias.
29311         * sysdeps/unix/sysv/linux/syscalls.list
29312         (madvise, mmap): Remove redundant entries.
29313         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29314         * malloc/malloc.c (mtrim): Likewise.
29315         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29316
29317 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29318
29319         * sysdeps/mach/hurd/dl-cache.c: File removed.
29320         * config.h.in (USE_LDCONFIG): New #undef.
29321         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29322         * configure: Regenerated.
29323         * elf/Makefile (dl-routines): Add dl-cache only under
29324         [$(use-ldconfig) = yes].
29325         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29326         cache on [USE_LDCONFIG].
29327         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29328         [USE_LDCONFIG].
29329         * elf/rtld.c (dl_main): Likewise.
29330
29331 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29332
29333         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29334         _SC_LEVEL4_CACHE_LINESIZE.
29335
29336 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29337
29338         * sysdeps/unix/bsd/confstr.h: File removed.
29339
29340 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29341
29342         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29343         sys/sdt-config.h.
29344
29345 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29346
29347         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29348         Make 'mapoff' field ElfW(Off) rather than off_t.
29349
29350 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29351
29352         * nscd/Makefile: Remove nscd-cflags and all its users.
29353         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29354         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29355
29356         [BZ #10631]
29357         * malloc.c (malloc_printerr): Clarify error message.
29358
29359 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29360
29361         [BZ #14648]
29362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29363         Set bit_FMA_Usable if FMA is supported.
29364         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29365         macro.
29366         (bit_FMA4_Usable): Updated.
29367         (index_FMA_Usable): New macro.
29368         (CPUID_FMA): Likewise
29369         (HAS_FMA): Defined with bit_FMA_Usable.
29370
29371 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29372
29373         * bits/types.h (__swblk_t): Type removed.
29374         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29375         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29376         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29377         (__SWBLK_T_TYPE): Likewise.
29378         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29379         (__SWBLK_T_TYPE): Likewise.
29380         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29381         (__SWBLK_T_TYPE): Likewise.
29382         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29383         (__SWBLK_T_TYPE): Likewise.
29384
29385 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29386             Honza Horak <hhorak@redhat.com>
29387
29388         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29389         (xdr_mapname): Use YPMAXMAP as maxsize.
29390         (xdr_peername): Use YPMAXPEER as maxsize.
29391         (xdr_keydat): Use YPAXRECORD as maxsize.
29392         (xdr_valdat): Use YPMAXRECORD as maxsize.
29393
29394 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29395
29396         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29397
29398         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29399         * csu/init-first.c: ... here.
29400         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29401         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29402         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29403         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29404         * sysdeps/i386/init-first.c: File removed.
29405         * sysdeps/sh/init-first.c: File removed.
29406
29407 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29408
29409         [BZ #14645]
29410         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29411         if x * y might underflow to zero and z is zero.
29412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29414         * math/libm-test.inc (min_subnorm_value): New variable.
29415         (fma_test): Add more tests.
29416         (fma_test_towardzero): Likewise.
29417         (fma_test_downward): Likewise
29418         (fma_test_upward): Likewise.
29419         (initialize): Set min_subnorm_value.
29420
29421 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29422
29423         [BZ #14638]
29424         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29425         0 + 0.
29426         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29427         mode for addition resulting in exact zero.
29428         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29430         exact 0 + 0.
29431         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29433         * math/libm-test.inc (fma_test): Add more tests.
29434         (fma_test_towardzero): New function.
29435         (fma_test_downward): Likewise.
29436         (fma_test_upward): Likewise.
29437         (main): Call the new functions.
29438
29439 2012-09-28  David S. Miller  <davem@davemloft.net>
29440
29441         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29442
29443 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29444
29445         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29446         instead of SIGALRM.
29447
29448         * sysdeps/gnu/_G_config.h: Moved to ...
29449         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29450         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29451         * sysdeps/generic/_G_config.h: ... here.
29452
29453         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29454
29455         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29456
29457         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29458         Conditionalize target on [libnss_test1.so-version].
29459
29460         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29461
29462         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29463         (elfobjdir): Move out of conditionals.
29464
29465         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29466         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29467         (__nss_lookup_function): Conditionalize label remove_from_tree on
29468         [!DO_STATIC_NSS || SHARED], matching its only use.
29469
29470 2012-09-28  David S. Miller  <davem@davemloft.net>
29471
29472         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29473         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29474         file.
29475         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29476         sysdep_routines.
29477         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29479         when HWCAP_SPARC_CRYPTO is present.
29480
29481 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29482
29483         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29484
29485 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29486
29487         [BZ #6530]
29488         * stdio-common/vfprintf.c (process_string_arg): Revert
29489         2000-07-22 change.
29490
29491 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29492
29493         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29494         for testcase.
29495         * stdio-common/tst-sprintf.c: Include <locale.h>
29496         (main): Test sprintf's handling of incomplete multibyte
29497         characters.
29498
29499 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29500
29501         * elf/dl-runtime.c (VERSYMIDX): Removed.
29502         * elf/dl-version.c (VERSYMIDX): Likewise.
29503         * elf/do-rel.h (VERSYMIDX): Likewise.
29504         (VALIDX): Likewise.
29505         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29506         * elf/rtld.c (VALIDX): Likewise.
29507         (ADDRIDX): Likewise.
29508         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29509         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29510         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29511         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29512         (VALIDX): Likewise.
29513         (ADDRIDX): Likewise.
29514
29515 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29516
29517         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29518
29519 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29520
29521         [BZ #11438]
29522         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29523         to global scope.
29524         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29525         addresses are in the same scope as 192.0.2/24.
29526         * posix/gai.conf: Document new scope table defaults.
29527
29528 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29529
29530         [BZ #5298]
29531         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29532         for ftell.  Compute offsets from write pointers instead.
29533         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29534
29535 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29536
29537         [BZ #14543]
29538         * libio/Makefile (tests): New test case tst-fseek.
29539         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29540         combination works in wide mode.
29541         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29542         state when the external buffer state changes.
29543
29544 2012-09-27  David S. Miller  <davem@davemloft.net>
29545
29546         [BZ #14376]
29547         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29548         pass reloc->r_addend in as the 'high' argument to
29549         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29550
29551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29552
29553 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29554
29555         * rt/tst-aio2.c: Include <pthread.h>.
29556         * rt/tst-aio3.c: Likewise.
29557
29558 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29559
29560         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29561
29562 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29563
29564         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29565         contents on [SHARED].
29566
29567 2012-09-26  Marek Polacek  <polacek@redhat.com>
29568
29569         [BZ #14530]
29570         [BZ #13741]
29571         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29572         for C++ and GCC <4.3 as well as for non GCC compilers.
29573
29574 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29575
29576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29577
29578 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29579
29580         * Makefile.in (all, install): Declare with .PHONY.
29581         Reported by Michael Hope <michael.hope@linaro.org>.
29582
29583 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29584
29585         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29586         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29587         system header.
29588         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29589         Likewise.
29590         (sydep_routines): Add the new and the internal functions.
29591         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29592         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29594         (GLIBC_2.17): Add the new function.
29595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29596         (GLIBC_2.17): Likewise.
29597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29598         (GLIBC_2.17): Likewise.
29599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29600         (GLIBC_2.17): Likewise.
29601         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29602
29603 2012-09-25  Alan Modra  <amodra@gmail.com>
29604
29605         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29606         Add release barrier before setting once_control to say
29607         initialisation is done.  Add hints on lwarx.  Use macro in
29608         place of isync.
29609         (clear_once_control): Add release barrier.
29610
29611 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29612
29613         [BZ #13629]
29614         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29615         specially.
29616         * math/s_clog10.c (__clog10): Likewise.
29617         * math/s_clog10f.c (__clog10f): Likewise.
29618         * math/s_clog10l.c (__clog10l): Likewise.
29619         * math/s_clogf.c (__clogf): Likewise.
29620         * math/s_clogl.c (__clogl): Likewise.
29621         * math/Makefile (libm-calls): Add x2y2m1.
29622         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29623         (__x2y2m1): Likewise.
29624         (__x2y2m1l): Likewise.
29625         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29626         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29627         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29628         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29629         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29630         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29631         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29632         * sysdeps/i386/fpu/libm-test-ulps: Update.
29633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29634
29635         [BZ #14621]
29636         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29637         int as type of variable DEPTH.
29638         (glob): Use size_t instead of int as type of variables NEWCOUNT
29639         and OLD_PATHC.
29640
29641 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29642
29643         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29644         Add s_sincosf-sse2.
29645         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29646         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29647         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29648         macros for using routine as __sincosf_ia32.
29649         Use macro for function declaration and weak_alias.
29650         * sysdeps/i386/fpu/libm-test-ulps: Update.
29651
29652         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29654
29655         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29656         subnormal argument.
29657         * math/s_cexpf.c (__cexpf): Likewise.
29658         * math/s_csinf.c (__csinf): Likewise.
29659         * math/s_csinhf.c (__csinhf): Likewise.
29660         * math/s_ctanf.c (__ctanf): Likewise.
29661         * math/s_ctanhf.c (__ctanhf): Likewise.
29662         * math/s_ccosh.c (__ccoshf): Likewise.
29663         * math/s_cexp.c (__cexpl): Likewise.
29664         * math/s_csin.c (__csin): Likewise.
29665         * math/s_csinh.c (__csinh): Likewise.
29666         * math/s_ctan.c (__ctan): Likewise.
29667         * math/s_ctanh.c (ctanh): Likewise.
29668         * math/s_ccoshl.c (__ccoshl): Likewise.
29669         * math/s_cexpl.c (__cexpl): Likewise.
29670         * math/s_csinl.c (__csinl): Likewise.
29671         * math/s_csinhl.c (__csinhl): Likewise.
29672         * math/s_ctanl.c (__ctanl): Likewise.
29673         * math/s_ctanhl.c (__ctanhl): Likewise.
29674
29675 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29676
29677         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29678         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29679         (_IO_off_t): Define to __off_t, not _G_off_t.
29680         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29681         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29682         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29683         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29684         type of __dummy and __dummy2 fields.
29685         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29686         (_G_ssize_t): Likewise.
29687         (_G_off_t): Likewise.
29688         (_G_pid_t): Likewise.
29689         (_G_uid_t): Likewise.
29690         (_G_wchar_t): Likewise.
29691         (_G_wint_t): Likewise.
29692         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29693         (_G_ssize_t): Likewise.
29694         (_G_off_t): Likewise.
29695         (_G_pid_t): Likewise.
29696         (_G_uid_t): Likewise.
29697         (_G_wchar_t): Likewise.
29698         (_G_wint_t): Likewise.
29699         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29700         (_G_ssize_t): Likewise.
29701         (_G_off_t): Likewise.
29702         (_G_pid_t): Likewise.
29703         (_G_uid_t): Likewise.
29704         (_G_wchar_t): Likewise.
29705         (_G_wint_t): Likewise.
29706
29707 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29708
29709         * malloc/arena.c: Include malloc-sysdep.h.
29710         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29711         is sufficient to shrink the heap or an unmap is needed.
29712         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29713         new function check_may_shrink_heap.
29714         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29715         new function check_may_shrink_heap.
29716
29717 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29718
29719         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29720         comments.
29721
29722 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29723
29724         * catgets/test-gencat.sh: Add "set -e".
29725         * elf/tst-pathopt.sh: Likewise.
29726         * grp/tst_fgetgrent.sh: Likewise.
29727         * iconvdata/run-iconv-test.sh: Likewise.
29728         * intl/tst-gettext.sh: Likewise.
29729         * intl/tst-gettext2.sh: Likewise.
29730         * intl/tst-gettext4.sh: Likewise.
29731         * intl/tst-gettext6.sh: Likewise.
29732         * intl/tst-translit.sh: Likewise.
29733         * io/ftwtest-sh: Likewise.
29734         * libio/test-freopen.sh: Likewise.
29735         * malloc/tst-mtrace.sh: Likewise.
29736         * posix/globtest.sh: Likewise.
29737         * posix/tst-getconf.sh: Likewise.
29738         * posix/wordexp-tst.sh: Likewise.
29739         * stdio-common/tst-printf.sh: Likewise.
29740         * stdio-common/tst-unbputc.sh: Likewise.
29741         * stdlib/tst-fmtmsg.sh: Likewise.
29742         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29743         * catgets/Makefile: Do not specify -e option when running
29744         testsuite shell scripts.
29745         * elf/Makefile: Likewise.
29746         * grp/Makefile: Likewise.
29747         * iconvdata/Makefile: Likewise.
29748         * intl/Makefile: Likewise.
29749         * io/Makefile: Likewise.
29750         * libio/Makefile: Likewise.
29751         * malloc/Makefile: Likewise.
29752         * posix/Makefile: Likewise.
29753         * stdio-common/Makefile: Likewise.
29754         * stdlib/Makefile: Likewise.
29755         * sysdeps/x86_64/Makefile: Likewise.
29756
29757         * io/ftwtest-sh: Add copyright header.
29758         * posix/globtest.sh: Likewise.
29759         * posix/tst-getconf.sh: Likewise.
29760         * posix/wordexp-tst.sh: Likewise.
29761         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29762
29763 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29764
29765         [BZ #13679]
29766         * Makeconfig (+link): Defined as $(+link-static) if
29767         $(build-shared) isn't yes.
29768         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29769         isn't yes.
29770         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29771
29772         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29773
29774         [BZ #14562]
29775         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29776         new chunk size with MALLOC_ALIGN_MASK.
29777
29778 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29779
29780         [BZ #5044]
29781         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29782         <rounding-mode.h>.
29783         (__printf_fphex): Determine rounding using get_rounding_mode and
29784         round_away.
29785         * stdio-common/tst-printf-round.c (struct hex_test): New
29786         structure.
29787         (hex_tests): New variable.
29788         (test_hex_in_one_mode): New function.
29789         (do_test): Also run tests for hex float output.
29790
29791 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29792
29793         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29794         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29795         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29796         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29797         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29798         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29799         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29800         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29801
29802 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29803
29804         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29805         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29806         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29807         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29808
29809 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29810
29811         [BZ #14579]
29812         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29813         mode only.
29814         * elf/tst-rtld-load-self.sh: New test.
29815         * elf/Makefile: Run it.
29816
29817 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29818
29819         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29820         (tst-writev-ENV): Remove.
29821         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29822
29823 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29824
29825         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29826
29827 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29828
29829         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29830         unconditional.
29831         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29832         Likewise.
29833         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29834         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29835         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29836         Likewise.
29837
29838 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29839
29840         [BZ #14587]
29841         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29842         * config.make.in (have-cpp-asm-debuginfo): Removed.
29843         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29844         * configure: Regenerated.
29845
29846 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29847
29848         [BZ #5044]
29849         * stdio-common/printf_fp.c: Include <stdbool.h> and
29850         <rounding-mode.h>.
29851         (___printf_fp): Determine rounding using get_rounding_mode and
29852         round_away.
29853         * stdio-common/tst-printf-round.c: New file.
29854         * stdio-common/Makefile (tests): Add tst-printf-round.
29855         (link-libm): New variable.
29856         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29857
29858 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29859
29860         [BZ #14576]
29861         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29862         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29863         Likewise.
29864         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29865         Likewise.
29866
29867 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29868
29869         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29870         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29871         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29872         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29873
29874 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29875
29876         [BZ #14518]
29877         * include/rounding-mode.h: New file.
29878         * sysdeps/generic/get-rounding-mode.h: Likewise.
29879         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29880         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29881         (MAX_VALUE): New macro.
29882         (MIN_VALUE): Likewise.
29883         (overflow_value): New function.
29884         (underflow_value): Likewise.
29885         (round_and_return): Use overflow_value and underflow_value to
29886         determine return values in overflow and underflow cases.  Use
29887         round_away to determine rounding depending on rounding mode.
29888         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29889         determine return values in overflow and underflow cases.
29890         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29891         (struct test_results): New structure.
29892         (struct test): Use struct test_results to store expected results
29893         for all rounding modes.
29894         (TEST): Include expected results for all rounding modes.
29895         (test_in_one_mode): New function.
29896         (do_test): Use test_in_one_mode to compute and check results.
29897         Check results for all rounding modes.
29898         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29899         $(link-libm).
29900
29901 2012-12-09  Allan McRae  <allan@archlinux.org>
29902
29903         * sysdeps/i386/fpu/libm-test-ulps: Update
29904
29905 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29906
29907         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29908         (_G_int32_t): Likewise.
29909         (_G_uint16_t): Likewise.
29910         (_G_uint32_t): Likewise.
29911         (_G_HAVE_BOOL): Likewise.
29912         (_G_HAVE_ATEXIT): Likewise.
29913         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29914         (_G_HAVE_IO_FILE_OPEN): Likewise.
29915         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29916         (_G_int32_t): Likewise.
29917         (_G_uint16_t): Likewise.
29918         (_G_uint32_t): Likewise.
29919         (_G_HAVE_BOOL): Likewise.
29920         (_G_HAVE_ATEXIT): Likewise.
29921         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29922         (_G_HAVE_IO_FILE_OPEN): Likewise.
29923         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29924         (_G_int32_t): Likewise.
29925         (_G_uint16_t): Likewise.
29926         (_G_uint32_t): Likewise.
29927         (_G_HAVE_BOOL): Likewise.
29928         (_G_HAVE_ATEXIT): Likewise.
29929         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29930         (_G_HAVE_IO_FILE_OPEN): Likewise.
29931
29932 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29933
29934         * csu/libc-tls.c: Update copyright years.
29935
29936 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29937
29938         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29939         [!_G_USING_THUNKS]: Remove conditional code.
29940         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29941         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29942
29943         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29944         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29945         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29946         (_G_VTABLE_LABEL_PREFIX): Likewise.
29947         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29948         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29949         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29950         (_G_VTABLE_LABEL_PREFIX): Likewise.
29951         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29952         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29953         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29954         (_G_VTABLE_LABEL_PREFIX): Likewise.
29955         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29956
29957 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29958
29959         * libio/Makefile: Include ../Makeconfig before tests.
29960         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29961         only if $(build-shared) is yes.
29962
29963         * iconv/gconv_db.c: Update copyright years.
29964
29965 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29966
29967         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29968         unwind info if defined PIC. Fix special cases description.
29969         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29970
29971         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29972         DP_HI_MASK entry.
29973         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29974
29975 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29976
29977         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29978
29979         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29980         is NULL.
29981
29982         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29983         (LDLIBS-tst-chk4): This.
29984         (LDFLAGS-tst-chk5): Renamed to ...
29985         (LDLIBS-tst-chk5): This.
29986         (LDFLAGS-tst-chk6): Renamed to ...
29987         (LDLIBS-tst-chk6): This.
29988         (LDFLAGS-tst-lfschk4): Renamed to ...
29989         (LDLIBS-tst-lfschk4): This.
29990         (LDFLAGS-tst-lfschk5): Renamed to ...
29991         (LDLIBS-tst-lfschk5): This.
29992         (LDFLAGS-tst-lfschk6): Renamed to ...
29993         (LDLIBS-tst-lfschk6): This.
29994
29995         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29996         on $(common-objpfx)soversions.mk.
29997
29998 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29999
30000         [BZ #10014]
30001         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30002         example host name.
30003
30004 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30005
30006         * malloc/arena.c (arena_get_retry): New function that gets
30007         another arena for the caller to try its request on.
30008         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30009         current arena cannot fulfill the request.
30010         (__libc_memalign): Likewise.
30011         (__libc_memalign): Likewise.
30012         (__libc_pvalloc): Likewise.
30013         (__libc_calloc): Likewise.
30014
30015 2012-09-05  John Tobey  <john.tobey@gmail.com>
30016
30017         [BZ #13542]
30018         * manual/arith.texi (Operations on Complex): Fix description
30019         of carg branch cut.
30020
30021 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30022
30023         [BZ #10014]
30024         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30025         host name.
30026
30027         [BZ #10038]
30028         * manual/memory.texi (Memory): Make order of menu items match
30029         order of sections.
30030
30031 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30032
30033         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30034         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30035         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30036
30037 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30038
30039         * csu/libc-tls.c (static_dtv): Renamed to ...
30040         (_dl_static_dtv): This.  Make it global.
30041         (_dl_initial_dtv): Removed.
30042         (__libc_setup_tls): Updated.
30043         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30044         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30045         DL_INITIAL_DTV.
30046
30047 2012-09-06  Petr Machata  <pmachata@redhat.com>
30048
30049         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30050         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30051         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30052         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30053
30054 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30055
30056         [BZ #14545]
30057         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30058         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30059         freeing dtv[-1].
30060
30061 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30062
30063         [BZ #14544]
30064         * Makeconfig (link-static-before-libc): Replace $(+prector)
30065         with $(+prectorT).
30066         (link-static-after-libc): Replace $(+postctor) with
30067         $(+postctorT).
30068         (link-bounded): Replace $(+prector)/$(+postctor) with
30069         $(+prectorT)/$(+postctorT).
30070         (+prectorT): New macro.
30071         (+postctorT): Likewise.
30072
30073 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30074
30075         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30076         (round_str): Handle values above the maximum for IBM long double
30077         as inexact.
30078         * stdlib/tst-strtod-round.c (tests): Regenerated.
30079
30080 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30081
30082         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30083         assembler flag.
30084         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30085         zarch_nohighgprs around the zarch optimized routines.
30086         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30087         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30088         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30089         for zarch.
30090
30091 2012-09-05  David S. Miller  <davem@davemloft.net>
30092
30093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30094
30095         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30096         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30097         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30098         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30099         entries.
30100
30101 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30102
30103         * malloc/arena.c: Fold copyright years.
30104         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30105
30106 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30107
30108         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30109
30110 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30111
30112         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30113
30114 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30115
30116         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30117         change internal state upon failure.
30118
30119 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30120
30121         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30122         * malloc/memusage.c (mmap): Likewise.
30123         (mmap64, mremap): Likewise.  Adjust name in comment.
30124
30125 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30126
30127         * libio/fileops.c: Fix typos in comments.
30128         * libio/oldfileops.c: Likewise.
30129         * libio/wfileops.c: Likewise.
30130
30131 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30132
30133         [BZ #1349]
30134         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30135         (tst-malloc-usable-ENV): Set environment for test case.
30136         * malloc/hooks.c (malloc_check_get_size): New function to get
30137         requested size.
30138         * malloc/malloc.c (musable): Use malloc_check_get_size.
30139         * malloc/tst-malloc-usable.c: New test case.
30140
30141 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30142
30143         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30144
30145 2012-09-05  Allan McRae  <allan@archlinux.org>
30146
30147         [BZ #13966]
30148         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30149         determine header location.
30150         * configure: Regenerated.
30151
30152 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30153
30154         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30155         float format.
30156         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30157         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30158         format.
30159         (test): Regenerate.
30160
30161 2012-09-04  David S. Miller  <davem@davemloft.net>
30162
30163         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30164         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30165         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30166
30167 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30168
30169         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30170         failures.
30171
30172         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30173
30174 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30175
30176         [BZ #9914]
30177         * libio/iogetdelim.c: Include <limits.h>.
30178         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30179         + len + 1 would overflow.
30180
30181 2012-09-03  Andreas Jaeger  <aj@suse.de>
30182
30183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30184         * sysdeps/i386/fpu/libm-test-ulps: Update.
30185
30186 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30187
30188         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30189         Add s_sinf-sse2, s_conf-sse2.
30190
30191         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30192         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30193         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30194         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30195
30196         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30197         for using routine as __sinf_ia32.
30198         Use macro for function declaration and weak_alias.
30199         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30200         for using routine as __cosf_ia32.
30201         Use macro for function declaration and weak_alias.
30202
30203         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30204         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30205
30206         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30207         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30209
30210         * math/libm-test.inc (cos_test): Add more test cases.
30211         (sin_test): Likewise.
30212         (sincos_test): Likewise.
30213
30214 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30215
30216         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30217         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30218         hidden.
30219         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30220
30221 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30222
30223         [BZ #14538]
30224         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30225         first element of the GOT.
30226         (elf_machine_load_address): Return the difference between
30227         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30228
30229 2012-09-01  Allan McRae  <allan@archlinux.org>
30230
30231         [BZ #13412]
30232         * configure.in (AWK): Require gawk version 3.0 or later.
30233         * configure: Regenerated.
30234
30235 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30236
30237         * sysdeps/unix/sysv/linux/kernel-features.h
30238         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30239         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30240         [__NR_clock_getres]: Make code unconditional.
30241         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30242         (clock_getcpuclockid): Remove code left unreachable by removal of
30243         conditionals.
30244         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30245         code unconditional.
30246         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30247         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30248         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30249         Make code unconditional.
30250         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30251         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30252         * sysdeps/unix/sysv/linux/clock_settime.c
30253         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30254         conditional code.
30255         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30256         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30257
30258 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30259
30260         [BZ #14476]
30261         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30262         scripts/test-installation.pl.
30263
30264         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30265         and $ld_so_version if it is set.
30266
30267 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30268
30269         [BZ #14516]
30270         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30271         failure if reading from procfs failed.
30272         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30273
30274 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30275
30276         * sysdeps/unix/sysv/linux/kernel-features.h
30277         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30278         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30279         Remove conditional code.
30280         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30281         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30282         Remove conditional code.
30283         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30284         * sysdeps/unix/sysv/linux/i386/fxstat.c
30285         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30286         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30287         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30288         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30289         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30290         * sysdeps/unix/sysv/linux/i386/lxstat.c
30291         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30292         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30293         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30294         Remove conditional code.
30295         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30296         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30297         Remove conditional code.
30298         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30299         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30300         <kernel-features.h>.
30301         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30302         Remove.
30303         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30304         Remove conditional code.
30305         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30306         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30307         Remove conditional.
30308
30309 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30310
30311         [BZ #5400]
30312         * NEWS: Add fixed bug number.
30313
30314 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30315
30316         [BZ #14519]
30317         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30318         underflowing exponent in case of negative sign.
30319         * stdlib/tst-strtod-round-data: Add more tests.
30320         * stdlib/tst-strtod-round.c (tests): Regenerated.
30321
30322         [BZ #3479]
30323         * stdlib/strtod_l.c (NDIG): Remove.
30324         (HEXNDIG): Likewise.
30325         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30326         smallest representable value.
30327         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30328         lie within an exact representation of 1/2 ulp of the result.
30329         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30330         unconditionally.
30331         (TENS_P9_IDX): Define unconditionally.
30332         (TENS_P9_SIZE): Likewise.
30333         (TENS_P10_IDX): Likewise.
30334         (TENS_P10_SIZE): Likewise.
30335         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30336         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30337         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30338         entries for 10^2^13 and 10^2^14.
30339         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30340         (TENS_P13_IDX): Define.
30341         (TENS_P13_SIZE): Likewise.
30342         (TENS_P14_IDX): Likewise.
30343         (TENS_P14_SIZE): Likewise.
30344         (_fpioconst_pow10): Change array size to
30345         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30346         unconditional.
30347         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30348         1024]: Add entries for 10^2^13 and 10^2^14.
30349         [LAST_POW10 > _LAST_POW10]: Remove #error.
30350         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30351         (_fpioconst_pow10): Change array size to
30352         FPIOCONST_POW10_ARRAY_SIZE.
30353         * stdlib/gen-fpioconst.c: New file.
30354         * stdlib/gen-tst-strtod-round.c: Likewise.
30355         * stdlib/tst-strtod-round-data: Likewise.
30356         * stdlib/tst-strtod-round.c: Likewise.
30357         * stdlib/Makefile (tests): Add tst-strtod-round.
30358
30359         [BZ #14459]
30360         * stdlib/strtod_l.c: Include <stdint.h>.
30361         (NDEBUG): Do not define.
30362         (round_and_return): Change EXPONENT parameter to type intmax_t.
30363         Rearrange calculations to avoid internal overflow possibilities.
30364         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30365         Rearrange calculations to avoid internal overflow possibilities.
30366         Assert that number fits inside MPNSIZE limbs.
30367         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30368         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30369         calculations and add assertions to avoid internal overflow
30370         possibilities.  Add casts to avoid signed/unsigned operations.
30371         * stdlib/tst-strtod-overflow.c: New file.
30372         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30373
30374 2012-08-25  Marek Polacek  <polacek@redhat.com>
30375
30376         * time/time.h: Fix some typos in comments.
30377
30378 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30379
30380         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30381         * posix/tst-rfc3484-2.c: Likewise.
30382         * posix/tst-rfc3484-3.c: Likewise.
30383
30384 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30385
30386         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30387         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30388
30389 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30390
30391         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30392         #include of fxstatat64.c.
30393
30394 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30395
30396         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30397         * shadow/getspent_r.c: Likewise.
30398         * shadow/getspnam.c: Likewise.
30399         * shadow/getspnam_r.c: Likewise.
30400         * gshadow/getsgent.c: Likewise.
30401         * gshadow/getsgent_r.c: Likewise.
30402         * gshadow/getsgnam.c: Likewise.
30403         * gshadow/getsgnam_r.c: Likewise.
30404         * inet/getnetbyad.c: Likewise.
30405         * inet/getnetbyad_r.c: Likewise.
30406         * inet/getnetbynm.c: Likewise.
30407         * inet/getnetbynm_r.c: Likewise.
30408         * inet/getnetent.c: Likewise.
30409         * inet/getnetent_r.c: Likewise.
30410         * inet/getproto.c: Likewise.
30411         * inet/getproto_r.c: Likewise.
30412         * inet/getprtent.c: Likewise.
30413         * inet/getprtent_r.c: Likewise.
30414         * inet/getprtname.c: Likewise.
30415         * inet/getprtname_r.c: Likewise.
30416         * inet/getrpcbyname.c: Likewise.
30417         * inet/getrpcbyname_r.c: Likewise.
30418         * inet/getrpcbynumber.c: Likewise.
30419         * inet/getrpcbynumber_r.c: Likewise.
30420         * inet/getrpcent.c: Likewise.
30421         * inet/getrpcent_r.c: Likewise.
30422         * inet/getaliasent.c: Likewise.
30423         * inet/getaliasent_r.c: Likewise.
30424         * inet/getaliasname.c: Likewise.
30425         * inet/getaliasname_r.c: Likewise.
30426         * nscd/getgrgid_r.c: Likewise.
30427         * nscd/getgrnam_r.c: Likewise.
30428         * nscd/gethstbyad_r.c: Likewise.
30429         * nscd/gethstbynm3_r.c: Likewise.
30430         * nscd/getpwnam_r.c: Likewise.
30431         * nscd/getpwuid_r.c: Likewise.
30432         * nscd/getsrvbynm_r.c: Likewise.
30433         * nscd/getsrvbypt_r.c: Likewise.
30434         * nscd/gai.c: Likewise.
30435
30436         * configure.in (build_nscd): New substituted variable, set
30437         by --disable-build-nscd and defaults to $use_nscd.
30438         * configure: Regenerated.
30439         * config.make.in (build-nscd): New substituted variable.
30440         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30441         Change conditional to require [$(build-nscd) = yes] as well.
30442         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30443
30444         [BZ# 13696]
30445         * configure.in (use_nscd): New substituted variable, set by
30446         --disable-nscd.  If enabled, define USE_NSCD.
30447         * configure: Regenerated.
30448         * config.h.in: Add USE_NSCD.
30449         * config.make.in (use-nscd): New substituted variable.
30450         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30451         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30452         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30453         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30454         (CFLAGS-getgrnam_r.c): Likewise.
30455         (CFLAGS-initgroups.c): Likewise.
30456         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30457         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30458         Variables removed.
30459         * inet/getnetgrent_r.c
30460         (nscd_setnetgrent): New function, broken out of ...
30461         (setnetgrent): ... here.  Call it.
30462         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30463         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30464         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30465         * nscd/Makefile (routines, aux): Move definitions after include of
30466         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30467         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30468         Conditionalize on [USE_NSCD].
30469         (is_nscd, nscd_init_cb): Likewise.
30470         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30471         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30472         * nss/nss_db/db-init.c: Likewise.
30473         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30474         [USE_NSCD].
30475         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30476         (make_request): Use it.
30477         (cache_valid_p): New function.
30478         (__check_pf): Use it.
30479         * NEWS: Add item for --disable-nscd.
30480
30481 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30482
30483         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30484         to support sed >= 4.2.1-20-ga9bf076.
30485         * configure: Regenerated.
30486
30487 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30488
30489         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30490         Conditionalize whole body on [IREL].
30491
30492 2012-08-22  Jeff Law <law@redhat.com>
30493
30494         [BZ #14505]
30495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30496         if the family is PF_UNSPEC.
30497
30498 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30499
30500         * Makerules (lib-version): Rename from V.
30501         (install-lib-nosubdir): Change V to lib-version.
30502
30503 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30504
30505         [BZ #14252]
30506         * powerpc32/power6/wcschr.c: New file.
30507         * powerpc32/power6/wcscpy.c: New file.
30508         * powerpc32/power6/wcsrchr.c: New file.
30509         * powerpc64/power6/wcschr.c: New file.
30510         * powerpc64/power6/wcscpy.c: New file.
30511         * powerpc64/power6/wcsrchr.c: New file.
30512
30513 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30514
30515         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30516         (two_way_short_needle): Use it.
30517         * string/strstr.c (AVAILABLE1_USES_J): Define.
30518         * string/strcasestr.c: Likewise.
30519
30520         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30521         array references.
30522         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30523
30524         [BZ #11607]
30525         * NEWS: Add an entry.
30526         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30527         define their defaults.
30528         (two_way_short_needle): Detect end-of-string on-the-fly.
30529         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30530         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30531         * string/bug-strcasestr1.c: New test.
30532         * string/Makefile: Run it.
30533
30534 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30535
30536         [BZ #11607]
30537         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30538         the first character.
30539
30540 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30541
30542         * csu/elf-init.c (__libc_csu_irel): Function removed.
30543         * csu/libc-start.c (apply_irel): New function.
30544         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30545
30546 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30547
30548         * sysdeps/unix/sysv/linux/kernel-features.h
30549         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30550         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30551         <kernel-features.h>.
30552         [__NR_fadvise64_64]: Make code unconditional.
30553         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30554         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30555         !__NR_fadvise64_64)]: Likewise.
30556         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30557         !__NR_fadvise64_64))]: Likewise.
30558         [__NR_fadvise64]: Make code unconditional.
30559         [!__NR_fadvise64]: Remove conditional code.
30560         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30561         <kernel-features.h>.
30562         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30563         unconditional.
30564         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30565         conditional code.
30566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30567         not include <kernel-features.h>.
30568         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30569         unconditional.
30570         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30571         conditional code.
30572         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30573         include <kernel-features.h>.
30574         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30575         unconditional.
30576         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30577         conditional code.
30578
30579 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30580
30581         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30582         slight instruction rearrangements per scrollpipe analysis.
30583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30584
30585 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30586
30587         * manual/syslog.texi (syslog; vsyslog, closelog):
30588         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30589         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30590
30591         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30592         DSOCAPS to match condition on defining it.
30593
30594 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30595
30596         * sysdeps/unix/sysv/linux/kernel-features.h
30597         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30599         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30600         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30602         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30603         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30605         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30606         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30607
30608         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30609         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30610
30611         * sysdeps/unix/sysv/linux/kernel-features.h
30612         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30613         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30614         unconditional.
30615         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30616         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30617         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30618         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30619         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30620         Make code unconditional.
30621         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30622         (__mmap64) [!__NR_mmap2]: Likewise.
30623         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30624         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30625         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30626         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30627         [__NR_mmap2]: Make code unconditional.
30628         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30629         (__mmap64) [!__NR_mmap2]: Likewise.
30630
30631 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30632
30633         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30634
30635 2012-08-18  Andreas Jaeger  <aj@suse.de>
30636
30637         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30638
30639 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30640
30641         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30642         * include/unistd.h (__have_sock_cloexec): Likewise.
30643         (__have_pipe2): Likewise.
30644         (__have_dup3): Likewise.
30645
30646 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30647
30648         [BZ #9685]
30649         * include/unistd.h (__have_pipe2): Change define into an extern int.
30650         (__have_dup3): Likewise.
30651         * socket/have_sock_cloexec.c: Include fcntl.h.
30652         (__have_pipe2): New variable.
30653         (__have_dup3): Likewise.
30654
30655 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30656
30657         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30658
30659 2012-08-17  Marek Polacek  <polacek@redhat.com>
30660
30661         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30662         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30663
30664 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30665
30666         * configure.in: Add AC_SUBST for sysheaders.
30667         * configure: Regenerated.
30668         * config.make.in (sysheaders): New substituted variable.
30669
30670         * sysdeps/unix/mkfifo.c: Moved ...
30671         * sysdeps/posix/mkfifo.c: ... here.
30672         * sysdeps/unix/mkfifoat.c: Moved ...
30673         * sysdeps/posix/mkfifoat.c: ... here.
30674
30675         * sysdeps/unix/utime.c: Moved ...
30676         * sysdeps/posix/utime.c: ... here.
30677
30678         * sysdeps/unix/time.c: Moved ...
30679         * sysdeps/posix/time.c: ... here.
30680         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30681         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30682
30683         * sysdeps/unix/nice.c: Moved ...
30684         * sysdeps/posix/nice.c: ... here.
30685
30686         * sysdeps/unix/alarm.c: Moved ...
30687         * sysdeps/posix/alarm.c: ... here.
30688
30689         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30690
30691 2012-08-17  Jeff Law <law@redhat.com>
30692
30693         * intl/Makefile (codeset_mo): New variable.
30694         ($(codeset_mo)): New target.
30695         (tst-codeset.out): Depend on that.  Remove explicit rule.
30696         (tst-gettext3.out, tst-gettext5.out): Likewise.
30697         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30698         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30699         * intl/tst-codeset.sh: Remove.
30700         * intl/tst-gettext3.sh: Likewise.
30701         * intl/tst-gettext5.sh: Likewise.
30702
30703 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30704
30705         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30706         * sysdeps/unix/syscalls.list: ... here.
30707
30708         * sysdeps/posix/getaddrinfo.c
30709         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30710         (gaiconf_init, gaiconf_reload): Use them.
30711         [!_STATBUF_ST_NSEC]
30712         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30713         Define using time_t rather than struct timespec.
30714
30715         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30716         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30717         Macros removed.
30718         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30719         [!NO_THREADS].
30720         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30721         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30722         Likewise.
30723
30724         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30725         __libc_cleanup_push argument.
30726
30727         * bits/param.h: New file.
30728         * misc/sys/param.h: New file.
30729         * include/sys/param.h: New file.
30730         * misc/Makefile (headers): Add bits/param.h.
30731         * sysdeps/generic/sys/param.h: File removed.
30732         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30733         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30734         * sysdeps/mach/hurd/bits/param.h: New file.
30735         * sysdeps/mach/hurd/sys/param.h: File removed.
30736
30737         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30738         last change.
30739
30740         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30741         [_IO_MTSAFE_IO].
30742         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30743         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30744         New macros.
30745
30746         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30747         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30748         rather than -D_IO_MTSAFE_IO conditionally.
30749         * stdio-common/Makefile (CPPFLAGS): Likewise.
30750         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30751         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30752         Use $(libio-mtsafe).
30753         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30754         of -D_IO_MTSAFE_IO.
30755         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30756         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30757         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30758         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30759         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30760         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30761         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30762         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30763         (CFLAGS-fread_u_chk.c): Likewise.
30764         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30765         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30766         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30767         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30768         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30769         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30770         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30771         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30772         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30773
30774         * libio/Makefile: Test [$(libc-reentrant) = yes]
30775         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30776
30777         * Makeconfig
30778         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30779         * sysdeps/pthread/configure: File removed.
30780         * sysdeps/pthread/Makeconfig: New file.
30781         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30782         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30783
30784 2012-08-16  Gary Benson  <gbenson@redhat.com>
30785
30786         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30787         unmapping the first object in a namespace.
30788
30789 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30790
30791         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30792         (__internal_setnetgrent): ... this.  Add internal_function to
30793         definition.  Add libc_hidden_def.
30794         (setnetgrent): Update caller.
30795         (internal_endnetgrent): Renamed to ...
30796         (__internal_endnetgrent): ... this.  Add internal_function to
30797         definition.  Add libc_hidden_def.
30798         (endnetgrent): Update caller.
30799         (internal_getnetgrent_r): Renamed to ...
30800         (__internal_getnetgrent_r): ... this.  Add internal_function to
30801         definition.  Add libc_hidden_def.
30802         (__getnetgrent_r): Update caller.
30803         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30804
30805 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30806
30807         * stdlib/longlong.h: Update from GCC.
30808
30809 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30810
30811         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30812         on _QL, which is set by umul_ppmm but never used.
30813         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30814         variables, which are set by GMP macros but never used.
30815         * stdio-common/_itowa.c (_itowa): Likewise.
30816         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30817         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30818
30819 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30820
30821         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30822         struct La_sh_regs is not constant.
30823         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30824         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30825         and struct La_sparc64_regs are not constant.
30826
30827 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30828
30829         * sysdeps/unix/sysv/linux/kernel-features.h
30830         (__ASSUME_POSIX_TIMERS): Remove.
30831         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30832         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30833         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30834         Make code unconditional.
30835         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30836         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30837         Make code unconditional.
30838         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30839         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30840         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30841         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30842         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30843         Make code unconditional.
30844         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30845         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30846         (__libc_missing_posix_timers): Remove.
30847
30848 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30849
30850         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30851         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30852
30853         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30854
30855         * elf/dl-sym.c: Include <stdlib.h>.
30856
30857         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30858         constants, which avoids warnings in 32-bit builds.
30859
30860         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30861         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30862
30863         * misc/lseek.c: File moved to ...
30864         * io/lseek.c: ... here.
30865
30866         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30867
30868         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30869         shifting LEN more than 31 bits at once.
30870
30871 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30872
30873         [BZ #14195]
30874         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30875         segmentation fault for a case of two empty input strings.
30876         * string/test-strncasecmp.c (check1): Renamed to...
30877         (bz12205): ...this.
30878         (bz14195): Add new testcase for two empty input strings and N > 0.
30879         (test_main): Call new testcase, adapt for renamed function.
30880
30881 2012-08-15  Andreas Jaeger  <aj@suse.de>
30882
30883         [BZ #14090]
30884         * crypt/md5test2.c: New test, based on test supplied by Serge
30885         Belyshev <belyshev@depni.sinp.msu.ru>.
30886         * crypt/Makefile (xtests): Add md5test-giant..
30887         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30888
30889 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30890
30891         [BZ #14090]
30892         * crypt/md5.c (md5_process_block): Don't assume the buffer
30893         length is less than 2**32.
30894         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30895         length is less than 2**64.
30896
30897 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30898
30899         * string/str-two-way.h: Include <sys/param.h>.
30900         (MAX): Macro removed.
30901
30902         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30903         Move #define and #undef of memmove to just before and after
30904         including <string.h>.
30905
30906         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30907         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30908         and after including <string.h>.  Move declarations of
30909         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30910         to before #include "string/memmove.c".
30911
30912         * include/dirent.h: Declare __getdirentries.
30913
30914         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30915         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30916
30917 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30918
30919         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30920         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30921         * sysdeps/i386/configure: Regenerated.
30922         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30923         STABS_CURRENT_FILE, and STABS_FUN.
30924         (END): Remove call to STABS_FUN_END.
30925         (STABS_CURRENT_FILE1): Delete.
30926         (STABS_CURRENT_FILE): Likewise.
30927         (STABS_FUN): Likewise.
30928         (STABS_FUN_END): Likewise.
30929         (STABS_FUN2): Likewise.
30930         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30931         * sysdeps/x86_64/configure: Regenerated.
30932
30933 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30934
30935         * elf/dl-open.c: Include <atomic.h>.
30936         * elf/dl-lookup.c: Likewise.
30937
30938 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30939
30940         * sysdeps/unix/sysv/linux/kernel-features.h
30941         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30942         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30943         unconditionally.
30944         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30945         unconditionally.
30946         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30947         condition on __ASSUME_CLONE_THREAD_FLAGS.
30948
30949 2012-08-14  Andreas Jaeger  <aj@suse.de>
30950
30951         * sysdeps/i386/fpu/libm-test-ulps: Update.
30952
30953 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30954
30955         * include/atomic.h (atomic_exchange_and_add): Split into ...
30956         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30957         New atomic macros.
30958
30959 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30960
30961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30962
30963 2012-08-13  Jeff Law <law@redhat.com>
30964
30965         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30966         null byte in the output string.
30967
30968 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30969
30970         * sysdeps/unix/sysv/linux/kernel-features.h
30971         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30972         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30973         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30974         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30975         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30976         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30977         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30978
30979 2012-08-09  Jeff Law <law@redhat.com>
30980
30981         [BZ #13939]
30982         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30983         When avoid_arena is set, don't retry in the that arena.  Pick the
30984         next one, whatever it might be.
30985         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30986         (arena_lock): Pass in new parameter to arena_get2.
30987         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30988         arena_get2.
30989         (__libc_malloc): Unify retrying after main arena failure with
30990         __libc_memalign version.
30991         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30992
30993 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30994
30995         [BZ #14166]
30996         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30997         to __redirect_strstr.
30998         (__strstr_sse42): Use typeof __redirect_strstr.
30999         (__strstr_ia32): Likewise.
31000         (__libc_strstr): New prototype.
31001         (strstr): Renamed to ...
31002         (__libc_strstr): This.
31003         (strstr): New strong alias of __libc_strstr.
31004         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31005         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31006         __redirect_time.
31007         Include <time.h>.
31008         (__libc_time): New prototype.
31009         (time_ifunc): Replace time with __libc_time.
31010         (time): New strong alias and hidden definition of __libc_time.
31011         (__GI_time): Remove strong alias.
31012         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31013         Include <stddef.h>.
31014         (memmove): Redefined to __redirect_memmove.
31015         (__memmove_sse2): Use typeof __redirect_memmove.
31016         (__memmove_ssse3): Likewise.
31017         (__memmove_ssse3_back): Likewise.
31018         (__libc_memmove): New prototype.
31019         (memmove): Renamed to ...
31020         (__libc_memmove): This.
31021         (memmove): New strong alias of __libc_memmove.
31022
31023 2012-08-08  Mark Salter  <msalter@redhat.com>
31024
31025         * elf/elf.h
31026         (R_MN10300_TLS_GD): Define.
31027         (R_MN10300_TLS_LD): Likewise.
31028         (R_MN10300_TLS_LDO): Likewise.
31029         (R_MN10300_TLS_GOTIE): Likewise.
31030         (R_MN10300_TLS_IE): Likewise.
31031         (R_MN10300_TLS_LE): Likewise.
31032         (R_MN10300_TLS_DTPMOD): Likewise.
31033         (R_MN10300_TLS_DTPOFF): Likewise.
31034         (R_MN10300_TLS_TPOFF): Likewise.
31035         (R_MN10300_SYM_DIFF): Likewise.
31036         (R_MN10300_ALIGN): Likewise.
31037         (R_MN10300_NUM): Update.
31038
31039 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31040
31041         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31042         Remove.
31043
31044 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31045
31046         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31047
31048         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31049         sysdeps/unix -> sysdeps/posix move.
31050         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31051
31052 2012-08-07      Allan McRae     <allan@archlinux.org>
31053
31054         [BZ #14303]
31055         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31056         (SUNOS_CPP): Likewise.
31057         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31058         not found.
31059         (open_input): Call CPP using execvp.
31060
31061 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31062
31063         * sysdeps/unix/sysv/linux/kernel-features.h
31064         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31065         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31066         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31067         (__ASSUME_WAITID_SYSCALL): Likewise.
31068         * sysdeps/unix/sysv/linux/dl-execstack.c
31069         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31070         code unconditional.
31071         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31072         conditional code.
31073         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31074         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31075         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31076         code.
31077         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31078         unconditional.
31079         [__ASSUME_WAITID_SYSCALL]: Likewise.
31080         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31081
31082 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31083
31084         * sysdeps/unix/closedir.c: Renamed to ...
31085         * sysdeps/posix/closedir.c: ... here.
31086         * sysdeps/unix/dirfd.c: Renamed to ...
31087         * sysdeps/posix/dirfd.c: ... here.
31088         * sysdeps/unix/dirstream.h: Renamed to ...
31089         * sysdeps/posix/dirstream.h: ... here.
31090         * sysdeps/unix/fdopendir.c: Renamed to ...
31091         * sysdeps/posix/fdopendir.c: ... here.
31092         * sysdeps/unix/opendir.c: Renamed to ...
31093         * sysdeps/posix/opendir.c: ... here.
31094         * sysdeps/unix/readdir.c: Renamed to ...
31095         * sysdeps/posix/readdir.c: ... here.
31096         * sysdeps/unix/readdir_r.c: Renamed to ...
31097         * sysdeps/posix/readdir_r.c: ... here.
31098         * sysdeps/unix/rewinddir.c: Renamed to ...
31099         * sysdeps/posix/rewinddir.c: ... here.
31100         * sysdeps/unix/seekdir.c: Renamed to ...
31101         * sysdeps/posix/seekdir.c: ... here.
31102         * sysdeps/unix/telldir.c: Renamed to ...
31103         * sysdeps/posix/telldir.c: ... here.
31104         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31105         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31106         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31107         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31108
31109         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31110         * bits/fcntl.h: ... here.
31111
31112         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31113         not 0.
31114         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31115         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31116         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31117         (struct flock): Move l_start, l_len to the beginning.
31118         Use __pid_t for l_pid.
31119         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31120         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31121         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31122         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31123         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31124         [__USE_LARGEFILE64] (struct flock64): New type.
31125         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31126
31127         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31128         * bits/dirent.h: ... here.
31129
31130         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31131         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31132
31133 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31134
31135         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31136         Change from 2.6.0 to 2.6.16.
31137         * sysdeps/unix/sysv/linux/configure: Regenerated.
31138         * sysdeps/unix/sysv/linux/kernel-features.h
31139         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31140         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31141         version.
31142         (__ASSUME_UTIMES): Likewise.
31143         (__ASSUME_CLONE_STOPPED): Remove.
31144         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31145         architectures, not kernel version.
31146         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31147         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31148         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31149         (__ASSUME_WAITID_SYSCALL): Likewise.
31150         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31151         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31152         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31153         refer to older versions.
31154
31155 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31156
31157         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31158         Define alphasort64 as an alias.
31159         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31160         Define versionsort64 as an alias.
31161         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31162         Define scandir64 as an alias.
31163         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31164         Define scandirat64 as an alias.
31165         * dirent/alphasort64.c (alphasort64):
31166         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31167         * dirent/versionsort64.c: Likewise.
31168         * dirent/scandir64.c: Likewise.
31169         * dirent/scandirat64.c: Likewise.
31170         * sysdeps/wordsize-64/alphasort.c: File removed.
31171         * sysdeps/wordsize-64/alphasort64.c: File removed.
31172         * sysdeps/wordsize-64/scandir.c: File removed.
31173         * sysdeps/wordsize-64/scandir64.c: File removed.
31174         * sysdeps/wordsize-64/scandirat.c: File removed.
31175         * sysdeps/wordsize-64/scandirat64.c: File removed.
31176         * sysdeps/wordsize-64/versionsort.c: File removed.
31177         * sysdeps/wordsize-64/versionsort64.c: File removed.
31178         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31179         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31180         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31181         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31182         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31183         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31184         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31185         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31186
31187         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31188         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31189         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31190         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31191         [defined __arch64__ || defined __sparcv9]
31192         (__INO_T_MATCHES_INO64_T): New macro.
31193         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31194         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31195         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31196         * sysdeps/unix/sysv/linux/bits/dirent.h
31197         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31198         (_DIRENT_MATCHES_DIRENT64): New macro.
31199
31200         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31201         Define lockf64 as an alias.
31202         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31203         Define fseeko64 as an alias.
31204         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31205         Define ftello64 as an alias.
31206         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31207         Define _IO_fgetpos64 and fgetpos64 as aliases.
31208         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31209         Define _IO_fsetpos64 and fsetpos64 as aliases.
31210         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31211         Conditionalize body on this.
31212         * libio/fseeko64.c: Likewise.
31213         * libio/ftello64.c: Likewise.
31214         * libio/iofgetpos64.c: Likewise.
31215         * libio/iofsetpos64.c: Likewise.
31216         * sysdeps/wordsize-64/lockf.c: File removed.
31217         * sysdeps/wordsize-64/lockf64.c: File removed.
31218         * sysdeps/wordsize-64/fseeko.c: File removed.
31219         * sysdeps/wordsize-64/fseeko64.c: File removed.
31220         * sysdeps/wordsize-64/ftello.c: File removed.
31221         * sysdeps/wordsize-64/ftello64.c: File removed.
31222         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31223         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31224         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31225         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31226         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31227         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31228         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31229         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31230         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31231         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31232         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31233         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31234         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31235         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31236
31237         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31239         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31240         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31241         [defined __arch64__ || defined __sparcv9]
31242         (__OFF_T_MATCHES_OFF64_T): New macro.
31243         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31244         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31245         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31246         (__OFF_T_MATCHES_OFF64_T): New macro.
31247
31248 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31249
31250         * stdlib/secure-getenv.c (__secure_getenv): Replace
31251         GLIBC_2_16 with GLIBC_2_17.
31252
31253 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31254
31255         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31256         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31257
31258 2012-08-03  David S. Miller  <davem@davemloft.net>
31259
31260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31261
31262 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31263
31264         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31265         Remove.
31266         (__ASSUME_CORRECT_SI_PID): Likewise.
31267         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31268         (__ASSUME_TMPFS_NAME): Likewise.
31269         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31270         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31271         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31272         (HAVE_AUX_SECURE): Make definition unconditional.
31273         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31274         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31275
31276 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31277
31278         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31279         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31280         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31281         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31282         __eloop_threshold instead of SYMLOOP_MAX.
31283
31284         * sysdeps/generic/eloop-threshold.h: New file.
31285         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31286         of MAXSYMLINKS.
31287         * elf/chroot_canon.c (chroot_canon): Likewise.
31288
31289 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31290
31291         [BZ #13717]
31292         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31293         Change to 2.6.0 everywhere.
31294         * sysdeps/unix/sysv/linux/configure: Regenerated.
31295         * sysdeps/unix/sysv/linux/kernel-features.h
31296         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31297         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31298         kernel versions.
31299         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31300         (__ASSUME_FUTEX_REQUEUE): Remove.
31301         (__ASSUME_STATFS64): Define unconditionally.
31302         (__ASSUME_AT_SECURE): Likewise.
31303         (__ASSUME_CORRECT_SI_PID): Likewise.
31304         (__ASSUME_TGKILL): Define without depending on kernel version for
31305         i386.
31306         (__ASSUME_UTIMES): Likewise.
31307         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31308         kernel version.
31309         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31310         (__ASSUME_TMPFS_NAME): Likewise.
31311         * README: Update reference to Linux kernel versions.
31312
31313 2012-08-02  Marek Polacek  <polacek@redhat.com>
31314
31315         [BZ# 14150]
31316         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31317         libc_cv_asm_type_prefix with %.
31318         * configure: Regenerated.
31319         * include/libc-symbols.h: Remove comment about
31320         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31321         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31322         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31323         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31324         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31325         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31326         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31327         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31328         * elf/tst-unique2mod1.c: Likewise.
31329         * elf/tst-unique1mod2.c: Likewise.
31330         * elf/tst-unique1mod1.c: Likewise.
31331         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31332         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31333         Replace ASM_TYPE_DIRECTIVE with .type.
31334         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31335         * sysdeps/i386/sysdep.h: Likewise.
31336         * sysdeps/x86_64/sysdep.h: Likewise.
31337         * sysdeps/sh/sysdep.h: Likewise.
31338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31339         Do not define ASM_TYPE_DIRECTIVE.
31340         * sysdeps/powerpc/sysdep.h: Likewise.
31341         * sysdeps/powerpc/powerpc32/sysdep.h:
31342         Replace ASM_TYPE_DIRECTIVE with .type.
31343         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31344         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31345         * sysdeps/i386/fpu/e_powf.S: Likewise.
31346         * sysdeps/i386/fpu/e_expl.S: Likewise.
31347         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31348         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31349         * sysdeps/i386/fpu/e_pow.S: Likewise.
31350         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31351         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31352         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31353         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31354         * sysdeps/i386/fpu/e_log2.S: Likewise.
31355         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31356         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31357         * sysdeps/i386/fpu/e_powl.S: Likewise.
31358         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31359         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31360         * sysdeps/i386/fpu/e_logl.S: Likewise.
31361         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31362         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31363         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31364         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31365         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31366         * sysdeps/i386/fpu/e_log.S: Likewise.
31367         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31368         * sysdeps/i386/fpu/e_logf.S: Likewise.
31369         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31370         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31371         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31372         * sysdeps/i386/fpu/e_log10.S: Likewise.
31373         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31374         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31375         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31376         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31377         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31378         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31379         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31380         * sysdeps/i386/i686/strtok.S: Likewise.
31381         * sysdeps/i386/i386-mcount.S: Likewise.
31382         * sysdeps/i386/strtok.S: Likewise.
31383         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31384         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31385         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31386         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31387         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31388         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31389         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31390         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31391         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31392         * sysdeps/x86_64/_mcount.S: Likewise.
31393         * sysdeps/x86_64/strtok.S: Likewise.
31394         * sysdeps/sh/_mcount.S: Likewise.
31395
31396 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31397
31398         * libio/iofopen.c: Include <fcntl.h>.
31399         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31400         (_IO_fopen64, fopen64): Define as aliases.
31401         * libio/iofopen64.c: Include <fcntl.h>.
31402         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31403         Conditionalize body on this.
31404         * sysdeps/wordsize-64/iofopen.c: File removed.
31405         * sysdeps/wordsize-64/iofopen64.c: File removed.
31406
31407 2012-08-01  Marek Polacek  <polacek@redhat.com>
31408
31409         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31410         Use dlfcn directly instead of a variable.
31411         (binfmt-subdir): Do not define.
31412         (dlfcn): Likewise.
31413
31414 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31415
31416         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31417         Remove all definitions.
31418         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31419         <kernel-features.h>.
31420         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31421         (miss_F_GETOWN_EX): Remove all definitions.
31422         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31423         macro definition.
31424         [!__ASSUME_FCNTL64]: Remove conditional code.
31425         [__ASSUME_FCNTL64]: Make code unconditional.
31426         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31427         <kernel-features.h>.
31428         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31429         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31430         (lockf64) [__NR_fcntl64]: Make code unconditional.
31431         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31432
31433         * sysdeps/unix/sysv/linux/kernel-features.h
31434         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31435         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31436         Make code unconditional.
31437         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31438         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31440         [__NR_vfork]: Make code unconditional.
31441         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31442         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31444         [__NR_vfork]: Make code unconditional.
31445         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31446         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31447
31448 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31449
31450         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31451         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31452
31453         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31454         Define mkstemp64 as an alias.
31455         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31456         Define mkstemps64 as an alias.
31457         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31458         Define mkostemp64 as an alias.
31459         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31460         Define mkostemps64 as an alias.
31461         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31462         Conditionalize body on this.
31463         * misc/mkostemp64.c: Likewise.
31464         * misc/mkostemps64.c: Likewise.
31465         * misc/mkstemps64.c: Likewise.
31466         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31467         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31468         * sysdeps/wordsize-64/mkostemp.c: File removed.
31469         * sysdeps/wordsize-64/mkstemp.c: File removed.
31470         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31471         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31472         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31473         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31474
31475         [BZ #14138]
31476         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31477         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31478         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31479         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31480
31481         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31482         compat_symbol macros from <shlib-compat.h> rather than the underlying
31483         default_symbol_version and symbol_version macros, so that DEFAULT
31484         lines in shlib-versions are respected.
31485         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31486
31487 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31488
31489         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31490         Declare with warn_unused_result.
31491         (setgid, setregid, setegid, setresgid): Likewise.
31492         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31493         Likewise.
31494         * WUR-REPORT: Remove set*id functions.
31495
31496 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31497
31498         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31499
31500 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31501
31502         [BZ #10191]
31503         * include/sys/socket.h (__libc_accept, __libc_accept4):
31504         Add attribute_hidden.
31505         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31506
31507         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31508         use of PTR_MANGLE.
31509         * inet/getnetgrent_r.c (setup): Likewise.
31510
31511         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31512
31513 2012-07-31  David S. Miller  <davem@davemloft.net>
31514
31515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31516
31517 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31518
31519         [BZ #13629]
31520         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31521         value between 1.0 and 2.0 and smaller part has absolute value less
31522         than 1.0.
31523         * math/s_clog10.c (__clog10): Likewise.
31524         * math/s_clog10f.c (__clog10f): Likewise.
31525         * math/s_clog10l.c (__clog10l): Likewise.
31526         * math/s_clogf.c (__clogf): Likewise.
31527         * math/s_clogl.c (__clogl): Likewise.
31528         * math/libm-test.inc (clog_test): Add more tests.
31529         (clog10_test): Likewise.
31530         * sysdeps/i386/fpu/libm-test-ulps: Update.
31531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31532
31533 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31534
31535         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31536         Exit with zero in case no suitable GID is found, and write a
31537         message to standard error.
31538
31539 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31540
31541         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31542         rather than to 1.
31543         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31544         (MAXPATHLEN): Removed.
31545         (NOGROUP, NODEV): New macros.
31546         (setbit, clrbit, isset, isclr): New macros.
31547         (howmany, roundup, powerof2): New macros.
31548         (DEV_BSIZE): New macro.
31549
31550         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31551         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31552
31553         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31554         definition on [!__NO_LONG_DOUBLE_MATH].
31555
31556         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31557         PTR_MANGLE and PTR_DEMANGLE.
31558
31559         * socket/accept4.c (accept4): Rename to __libc_accept4.
31560         Define accept4 as a weak alias.
31561
31562         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31563         on [_DIRENT_HAVE_D_TYPE].
31564         * io/ftw.c (ftw_dir): Likewise.
31565
31566         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31567
31568         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31569
31570         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31571         Use the BSD numbers rather than the arbitrary ones we had.
31572         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31573         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31574         (SIGXCPU, SIGXFSZ): New macros.
31575         (_NSIG): Now 32.
31576
31577         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31578         initializer on [_LIBC_REENTRANT].
31579
31580         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31581         definitions inside [_POSIX_MAPPED_FILES].
31582
31583         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31584
31585         * dirent/opendir.c: Include <fcntl.h>.
31586
31587         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31588         (__libc_getspecific): Likewise.
31589         (__libc_key_create): Likewise.
31590
31591         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31592         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31593         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31594         (tmpfile64): Define as alias.
31595         * sysdeps/wordsize-64/tmpfile.c: File removed.
31596         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31597         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31598         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31599
31600         * stdio-common/vfscanf.c: Include <stdbool.h>.
31601         * nss/makedb.c: Likewise.
31602         * stdio-common/_i18n_number.h: Likewise.
31603         * argp/argp-help.c: Likewise.
31604         * posix/wordexp.c: Likewise.
31605         * sysdeps/posix/spawni.c: Likewise.
31606         * nss/nss_files/files-initgroups.c: Likewise.
31607         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31608         * nss/nss_files/files-initgroups.c: Likewise.
31609         * nss/nss_db/db-netgrp.c: Likewise.
31610         * nss/nss_db/db-initgroups.c: Likewise.
31611         * io/fchmodat.c: Include <sys/stat.h>.
31612
31613         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31614         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31615
31616         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31617         [HAVE_MMAP].
31618
31619         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31620         Add multiple inclusion protection.
31621
31622 2012-07-27  David S. Miller  <davem@davemloft.net>
31623
31624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31625
31626 2012-07-27  Gary Benson  <gbenson@redhat.com>
31627
31628         [BZ #14298]
31629         * elf/rtld.c: Include <stap-probe.h>.
31630         (dl_main): Added static probes "init_start" and "init_complete".
31631         * elf/dl-load.c: Include <stap-probe.h>.
31632         (lose): Take new parameter "nsid".
31633         Added static probe "map_failed".
31634         (_dl_map_object_from_fd): Pass namespace id to lose.
31635         Added static probe "map_start".
31636         (open_verify): Pass namespace id to lose.
31637         * elf/dl-open.c: Include <stap-probe.h>.
31638         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31639         and "reloc_complete".
31640         * elf/dl-close.c: Include <stap-probe.h>.
31641         (_dl_close_worker): Added static probes "unmap_start" and
31642         "unmap_complete".
31643         * elf/rtld-debugger-interface.txt: New file documenting the above.
31644
31645 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31646
31647         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31648         rather than a string variable.
31649         * sunrpc/rpc_main.c (h_output): Likewise.
31650         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31651
31652 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31653
31654         * inet/check_native.c: New file.
31655
31656 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31657
31658         [BZ #13629]
31659         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31660         if larger part has absolute value 1.0.
31661         * math/s_clog10.c (__clog10): Likewise.
31662         * math/s_clog10f.c (__clog10f): Likewise.
31663         * math/s_clog10l.c (__clog10l): Likewise.
31664         * math/s_clogf.c (__clogf): Likewise.
31665         * math/s_clogl.c (__clogl): Likewise.
31666         * math/libm-test.inc (clog_test): Add more tests.
31667         (clog10_test): Likewise.
31668         * sysdeps/i386/fpu/libm-test-ulps: Update.
31669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31670
31671         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31672         (pltexit): Likewise.
31673         (La_regs): Likewise.
31674         (La_retval): Likewise.
31675         (int_retval): Likewise.
31676         Update #error for removed macros to refer only to definitions in
31677         tst-audit.h.
31678         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31679         macro.
31680         (pltexit): Likewise.
31681         (La_regs): Likewise.
31682         (La_retval): Likewise.
31683         (int_retval): Likewise.
31684         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31685         macro.
31686         (pltexit): Likewise.
31687         (La_regs): Likewise.
31688         (La_retval): Likewise.
31689         (int_retval): Likewise.
31690         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31691         macro.
31692         (pltexit): Likewise.
31693         (La_regs): Likewise.
31694         (La_retval): Likewise.
31695         (int_retval): Likewise.
31696         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31697         macro.
31698         (pltexit): Likewise.
31699         (La_regs): Likewise.
31700         (La_retval): Likewise.
31701         (int_retval): Likewise.
31702         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31703         macro.
31704         (pltexit): Likewise.
31705         (La_regs): Likewise.
31706         (La_retval): Likewise.
31707         (int_retval): Likewise.
31708         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31709         macro.
31710         (pltexit): Likewise.
31711         (La_regs): Likewise.
31712         (La_retval): Likewise.
31713         (int_retval): Likewise.
31714         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31715         macro definitions in tst-audit.h.
31716         * sysdeps/i386/tst-audit.h: New file.
31717         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31718         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31719         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31720         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31721         * sysdeps/sh/tst-audit.h: Likewise.
31722         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31723         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31724         * sysdeps/x86_64/tst-audit.h: Likewise.
31725
31726 2012-07-26  Andreas Jaeger  <aj@suse.de>
31727
31728         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31729         ptrace.
31730
31731         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31732         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31733         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31734         PTRACE_O_MASK.
31735         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31736         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31737         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31738
31739         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31740         value.
31741
31742         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31743         _sigsys.
31744         (si_call_addr, si_syscall, si_arch): Define new macro.
31745         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31746         _sigsys.
31747         (si_call_addr, si_syscall, si_arch): Define new marcro.
31748         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31749         _sigsys.
31750         (si_call_addr, si_syscall, si_arch): Define new macro.
31751         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31752         _sigsys.
31753         (si_call_addr, si_syscall, si_arch): Define new macro.
31754
31755 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31756
31757         [BZ #13717]
31758         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31759         Change to 2.4.21 where previously 2.4.1.
31760         * sysdeps/unix/sysv/linux/configure: Regenerated.
31761         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31762         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31763         Linux kernel version.
31764         (__ASSUME_STD_AUXV): Remove.
31765         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31766         kernel version.
31767         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31768         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31769         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31770         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31771         (__ASSUME_NETLINK_SUPPORT): Likewise.
31772         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31773         (__no_netlink_support): Remove conditional definition.
31774         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31775         Remove.
31776         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31777         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31778         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31779         (if_nameindex_ioctl): Remove.
31780         (if_nameindex_netlink): Do not handle __no_netlink_support.
31781         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31782         code.
31783         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31784         Remove conditional code.
31785         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31786         code.
31787         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31788         unconditional.
31789         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31790         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31791         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31792         Remove.
31793         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31794         [!__ASSUME_STD_AUXV]: Remove conditional code.
31795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31796         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31797         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31799         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31800         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31801         code.
31802         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31804         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31805         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31806         conditional code.
31807         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31809         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31810         code.
31811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31812         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31813         conditional code.
31814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31815         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31816         code unconditional.
31817         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31818         conditional code.
31819         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31820         unconditional.
31821         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31822         conditional code.
31823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31824         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31825         unconditional.
31826         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31827         conditional code.
31828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31829         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31830         code unconditional.
31831         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31832         conditional code.
31833         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31834         unconditional.
31835         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31836         conditional code.
31837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31838         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31839         code unconditional.
31840         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31841         conditional code.
31842         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31843         unconditional.
31844         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31845         conditional code.
31846
31847 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31848
31849         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31850         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31851         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31852         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31853         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31854         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31855         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31856         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31857         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31858         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31859         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31860         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31861         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31862         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31863         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31864         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31865         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31866         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31867         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31869         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31870         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31871         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31872
31873 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31874
31875         * Versions.def: Add GLIBC_2.17.
31876         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31877         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31878         Introduce __libc_secure_getenv.
31879         * stdlib/Versions (2.17): Add secure_getenv
31880         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31881         * stdlib/secure-getenv.c: Rename __secure_getenv to
31882         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31883         symbol __secure_getenv for GLIBC_2.0.
31884         * stdlib/tst-secure-getenv.c: New.
31885         * stdlib/Makefile (tests): Add testcase.
31886         * manual/startup.texi (Environment Access): Document
31887         secure_getenv.
31888         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31889         __libc_secure_getenv.
31890         * inet/ruserpass.c (ruserpass): Likewise.
31891         * malloc/mtrace.c (mtrace): Likewise.
31892         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31893         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31894         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31895         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31896         HAVE_SECURE_GETENV.
31897         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31898         __secure_getenv to __libc_secure_getenv.
31899         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31901         Likewise.
31902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31903         Likewise.
31904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31906         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31911
31912 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31913
31914         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31915         (struct La_i86_retval): Likewise.
31916         (struct La_x86_64_regs): Likewise.
31917         (struct La_x86_64_retval): Likewise.
31918         (struct La_x32_regs): Likewise.
31919         (struct La_x32_retval): Likewise.
31920         (struct La_ppc32_regs): Likewise.
31921         (struct La_ppc32_retval): Likewise.
31922         (struct La_ppc64_regs): Likewise.
31923         (struct La_ppc64_retval): Likewise.
31924         (struct La_sh_regs): Likewise.
31925         (struct La_sh_retval): Likewise.
31926         (struct La_s390_32_regs): Likewise.
31927         (struct La_s390_32_retval): Likewise.
31928         (struct La_s390_64_regs): Likewise.
31929         (struct La_s390_64_retval): Likewise.
31930         (struct La_sparc32_regs): Likewise.
31931         (struct La_sparc32_retval): Likewise.
31932         (struct La_sparc64_regs): Likewise.
31933         (struct La_sparc64_retval): Likewise.
31934         (struct audit_ifaces): Remove architecture-specific pltenter and
31935         pltexit members.
31936         * sysdeps/i386/ldsodefs.h: New file.
31937         * sysdeps/powerpc/ldsodefs.h: Likewise.
31938         * sysdeps/s390/ldsodefs.h: Likewise.
31939         * sysdeps/sh/ldsodefs.h: Likewise.
31940         * sysdeps/sparc/ldsodefs.h: Likewise.
31941         * sysdeps/x86_64/ldsodefs.h: Likewise.
31942
31943 2012-07-25  Marek Polacek  <polacek@redhat.com>
31944
31945         [BZ #6808]
31946         * math/libm-test.inc (yn_test): Add another test.
31947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31948         to ERANGE when the result is +-Inf.
31949         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31950         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31951         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31952         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31953
31954 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31955
31956         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31957         equal to 0.
31958         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31959         clock_t.
31960         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31961
31962 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31963
31964         * configure.in <sysdeps resolving>: Correct printing
31965         Implies_before.
31966         * configure: Regenerate.
31967
31968 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31969
31970         * math/w_ilogb.c: Include <limits.h>.
31971         * math/w_ilogbl.c: Likewise.
31972
31973 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31974
31975         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31976         va_copy.  Document allowing for unavailable va_copy only as
31977         pre-C99 compatibility.
31978         * manual/string.texi (Copying and Concatenation): Use va_copy
31979         instead of __va_copy in concat example.
31980
31981 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31982
31983         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31984         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31985         it if not null.
31986
31987         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31988         with O_NOLINK passed to __file_name_lookup.
31989
31990         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31991         with O_NOLINK passed to __file_name_lookup.
31992
31993         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31994         negative N or less than NGIDS.
31995
31996         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31997         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31998         enough.  Use memcpy instead of strncpy.
31999
32000 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32001
32002         * elf/Makefile (check-data): Remove.
32003         (localplt.data): New vpath directive.
32004         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32005         instead of $(check-data).
32006         * scripts/data/localplt-generic.data: Move to ...
32007         * sysdeps/generic/localplt.data: ... here.
32008         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32009         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32010         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32012         ... here.
32013         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32015         ... here.
32016         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32018         ... here.
32019         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32021         ... here.
32022         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32024         ... here.
32025         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32027         ... here.
32028
32029 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32030
32031         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32032         PPC32 and PPC64 files.
32033         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32034         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32035
32036 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32037
32038         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32039         __makecontext_ret to ...
32040         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32041         ... here and call exit if uc_link is NULL.  New file.
32042         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32043         __makecontext_ret.S.
32044         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32045         __makecontext_ret to ...
32046         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32047         ... here and call exit if uc_link is NULL.  New file.
32048         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32049         __makecontext_ret.S.
32050
32051 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32052
32053         * elf/elf.h (R_390_IRELATIVE): New definition.
32054         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32055         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32056         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32057         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32058         (elf_machine_lazy_rel): Likewise.
32059         * sysdeps/s390/dl-irel.h: New file.
32060         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32061         * sysdeps/s390/s390-64/memset.S: New asm code.
32062         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32063         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32064         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32065         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32066         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32067         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32068         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32069         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32070         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32071         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32072         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32073         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32074         * sysdeps/s390/s390-32/memset.S: New asm code.
32075         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32076
32077 2012-07-17  Marek Polacek  <polacek@redhat.com>
32078
32079         [BZ #14349]
32080         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32081         * sysdeps/s390/s390-64/configure.in: Likewise.
32082         * sysdeps/sparc/configure.in: Likewise.
32083         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32084         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32085         * sysdeps/i386/configure.in: Likewise.
32086         * sysdeps/x86_64/configure.in: Likewise.
32087         * sysdeps/sh/configure.in: Likewise.
32088         * sysdeps/s390/s390-32/configure: Regenerated.
32089         * sysdeps/s390/s390-64/configure: Likewise.
32090         * sysdeps/x86_64/configure: Likewise.
32091         * sysdeps/sh/configure: Likewise.
32092         * sysdeps/powerpc/powerpc64/configure: Likewise.
32093         * sysdeps/powerpc/powerpc32/configure: Likewise.
32094         * sysdeps/sparc/configure: Likwise.
32095         * sysdeps/i386/configure: Likewise.
32096
32097         * elf/dl-open.c: Comment fixes.
32098
32099 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32100
32101         * Makefile [CXX] (check-data): Remove.
32102         [CXX] (c++-types.data): New vpath directive.
32103         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32104         vpath.  Do not allow for C++ type data being missing.
32105         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32106         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32107         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32108         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32109         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32110         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32111         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32113         ... here.
32114         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32116         ... here.
32117         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32119         ... here.
32120         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32122         ... here.
32123         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32125         ... here.
32126         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32128         ... here.
32129         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32131         ... here.
32132         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32134
32135         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32136         definitions to architecture-specific files.
32137         (TLS_IE): Likewise.
32138         (TLS_LD): Likewise.
32139         (TLS_GD): Likewise.
32140         * sysdeps/i386/tls-macros.h: New file.
32141         * sysdeps/powerpc/tls-macros.h: Likewise.
32142         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32143         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32144         * sysdeps/sh/tls-macros.h: Likewise.
32145         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32146         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32147         * sysdeps/x86_64/tls-macros.h: Likewise.
32148
32149 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32150
32151         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32152         zero value for regular exit case.
32153
32154         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32155         (__start_context): Preserve zero value for regular exit case.
32156
32157 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32158             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32159
32160         * manual/setjmp.texi (setcontext): Clarify normal process
32161         termination when uc_link is the null pointer.
32162         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32163         exit call.
32164
32165 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32166
32167         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32168         preprocessor.  Test for each exception mask separately.
32169
32170 2012-07-16  Andreas Jaeger  <aj@suse.de>
32171
32172         * po/ru.po: Update from translation team.
32173
32174 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32175
32176         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32177         equal to 0.
32178         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32179         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32180         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32181         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32182         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32183
32184 2012-07-13  Andreas Jaeger  <aj@suse.de>
32185
32186         * po/fr.po: Update from translation team.
32187
32188 2012-07-12  Marek Polacek  <polacek@redhat.com>
32189
32190         [BZ #14173]
32191         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32192         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32193         loop condition.
32194
32195 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32196
32197         [BZ #13717]
32198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32199         Change to 2.4.1 where previously 2.4.0.
32200         * sysdeps/unix/sysv/linux/configure: Regenerated.
32201         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32202         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32203         version.
32204         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32205         (__ASSUME_AT_CLKTCK): Remove.
32206         (__ASSUME_AT_PAGESIZE): Likewise.
32207         (__ASSUME_AT_XID): Likewise.
32208         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32209         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32210         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32211         unconditionally.
32212         (HAVE_AUX_PAGESIZE): Likewise.
32213         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32214         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32215         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32216
32217 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32218
32219         [BZ #14307]
32220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32221         the temporary buffer used to invoke __gethostbyname2_r,
32222         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32223         host_data / struct gaih_addrtuple.
32224         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32225         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32226         header file nss/nsswitch.h.
32227         * nss/nsswitch.h (global scope): Add definition of implementation
32228         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32229         resolv/nss_dns/dns-host.c).
32230
32231 2012-07-11  Andreas Jaeger  <aj@suse.de>
32232
32233         * po/fr.po: Update from translation team.
32234
32235         * po/sv.po: Update from translation team
32236         * po/fr.po: Another update from translation team.
32237
32238 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32239
32240         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32241         for subnormals or multiply small sinh result by itself.
32242         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32244
32245 2012-07-11  David S. Miller  <davem@davemloft.net>
32246
32247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32248
32249 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32250
32251         [BZ #14347]
32252         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32253         (INTERNAL_MARK): Shift it here.
32254
32255 2012-07-10  Marek Polacek  <polacek@redhat.com>
32256
32257         [BZ #14151]
32258         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32259         libc_cv_asm_global_directive with .globl.
32260         * configure: Regenerated.
32261         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32262         with .globl.
32263         * sysdeps/i386/configure: Regenerated.
32264         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32265         with .globl.
32266         * sysdeps/x86_64/configure: Regenerated.
32267         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32268         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32269         * elf/tst-unique2mod2.c: Likewise.
32270         * elf/tst-unique2mod1.c: Likewise.
32271         * elf/tst-unique1mod2.c: Likewise.
32272         * elf/tst-unique1mod1.c: Likewise.
32273         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32274         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32275         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32276         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32277         * sysdeps/mach/sysdep.h: Likewise.
32278         * sysdeps/i386/sysdep.h: Likewise.
32279         * sysdeps/i386/i386-mcount.S: Likewise.
32280         * sysdeps/x86_64/_mcount.S: Likewise.
32281         * sysdeps/x86_64/sysdep.h: Likewise.
32282         * sysdeps/sh/_mcount.S: Likewise.
32283         * sysdeps/sh/sysdep.h: Likewise.
32284         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32285         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32286         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32287         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32288         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32289         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32290         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32291         * locale/localeinfo.h: Likewise.
32292         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32293         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32294
32295 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32296
32297         [BZ #14336]
32298         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32299         system".
32300         * manual/message.texi (The Uniforum approach): Likewise.
32301         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32302         (glibc iconv Implementation): Likewise.
32303
32304 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32305
32306         [BZ #14337]
32307         * math/s_clog.c (__clog): Avoid scaling a value down where that
32308         could result in underflow.
32309         * math/s_clog10.c (__clog10): Likewise.
32310         * math/s_clog10f.c (__clog10f): Likewise.
32311         * math/s_clog10l.c (__clog10l): Likewise.
32312         * math/s_clogf.c (__clogf): Likewise.
32313         * math/s_clogl.c (__clogl): Likewise.
32314         * math/libm-test.inc (clog_test): Add more tests.
32315         (clog10_test): Likewise.
32316         * sysdeps/i386/fpu/libm-test-ulps: Update.
32317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32318
32319 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32320
32321         [BZ #14283]
32322         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32323         by 7 not 8 to examine high bit of fractional part.
32324
32325         [BZ #14042]
32326         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32327         for call to __mcount_internal.
32328         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32329         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32330         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32331
32332 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32333
32334         [BZ #14154]
32335         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32336         approximation for values within 0x1p-13f of an odd multiple of
32337         pi/4.
32338         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32339         exception.  Add more tests.
32340         * sysdeps/i386/fpu/libm-test-ulps: Update.
32341
32342         [BZ #6778]
32343         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32344         inputs and return -1 for them.  Do not check for +Inf in case not
32345         reachable for +Inf.
32346         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32347         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32348         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32349         and return -1 for them.  Do not check for +Inf in case not
32350         reachable for +Inf.
32351         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32352         define.
32353         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32354         and return -1 for them.  Do not check for +Inf in case not
32355         reachable for +Inf.
32356         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32357         spurious underflow.
32358         * sysdeps/i386/fpu/libm-test-ulps: Update.
32359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32360
32361 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32362
32363         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32364
32365 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32366
32367         [BZ #14157]
32368         [BZ #14331]
32369         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32370         could result in spurious underflow.  Scale down values above
32371         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32372         * math/s_csqrtf.c (__csqrtf): Likewise.
32373         * math/s_csqrtl.c (__csqrtl): Likewise.
32374         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32375         spurious underflow.
32376         * sysdeps/i386/fpu/libm-test-ulps: Update.
32377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32378
32379 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32380
32381         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32382         xopen-msg.sed.
32383         * catgets/xopen-msg.awk: New file.
32384         * catgets/xopen-msg.sed: Removed.
32385
32386         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32387         po2text.sed.
32388         * intl/po2test.awk: New file.
32389         * intl/po2test.sed: Removed.
32390
32391 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32392
32393         [BZ #14328]
32394         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32395         or multiply small sinh result by itself.
32396         * math/s_ctanf.c (__ctanf): Likewise.
32397         * math/s_ctanh.c (__ctanh): Likewise.
32398         * math/s_ctanhf.c (__ctanhf): Likewise.
32399         * math/s_ctanhl.c (__ctanhl): Likewise.
32400         * math/s_ctanl.c (__ctanl): Likewise.
32401         * math/libm-test.inc (ctan_test_tonearest): New function.
32402         (ctan_test_towardzero): Likewise.
32403         (ctan_test_downward): Likewise.
32404         (ctan_test_upward): Likewise.
32405         (ctanh_test_tonearest): Likewise.
32406         (ctanh_test_towardzero): Likewise.
32407         (ctanh_test_downward): Likewise.
32408         (ctanh_test_upward): Likewise.
32409         (main): Call these new functions.
32410         * sysdeps/i386/fpu/libm-test-ulps: Update.
32411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32412
32413 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32414
32415         * .gitignore: Delete /ports entry.
32416
32417 2012-07-03  Andreas Jaeger  <aj@suse.de>
32418
32419         * po/bg.po: Update from translation team.
32420         * po/cs.po: Likewise.
32421         * po/de.po: Likewise.
32422         * po/hr.po: Likewise.
32423         * po/nl.pl: Likewise.
32424         * po/pl.po: Likewise.
32425         * po/vi.po: Likewise.
32426
32427 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32428
32429         * Makeconfig [!+link] (+link-before-libc): New variable.
32430         [!+link] (+link-after-libc): Likewise.
32431         [!+link] (+link-tests): Likewise.
32432         [!+link] (+link): Define in terms of $(+link-before-libc) and
32433         $(+link-after-libc).
32434         [!+link-static] (+link-static-before-libc): New variable.
32435         [!+link-static] (+link-static-after-libc): Likewise.
32436         [!+link-static] (+link-static-tests): Likewise.
32437         [!+link-static] (+link-static): Define in terms of
32438         $(+link-static-before-libc) and $(+link-static-after-libc).
32439         [build-shared] (link-libc-before-gnulib): New variable.
32440         [build-shared] (link-libc-tests): Likewise.
32441         [build-shared] (link-libc): Define in terms of
32442         $(link-libc-before-gnulib).
32443         [!build-shared] (link-libc-tests): New variable.
32444         (link-libc-static-tests): New variable.
32445         [!gnulib] (gnulib-arch): New variable.
32446         [!gnulib] (gnulib-tests): Likewise.
32447         [!gnulib] (static-gnulib-arch): Likewise.
32448         [!gnulib] (static-gnulib-tests): Likewise.
32449         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32450         Define with "=" instead of ":=".
32451         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32452         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32453         * Rules (binaries-all-notests): New variable.
32454         (binaries-all-tests): Likewise.
32455         (binaries-static-notests): Likewise.
32456         (binaries-static-tests): Likewise.
32457         (binaries-all): Define using $(binaries-all-notests) and
32458         $(binaries-all-tests).
32459         (binaries-static): Define using $(binaries-static-notests) and
32460         $(binaries-static-tests).
32461         (binaries-shared-tests): New variable.
32462         (binaries-shared-notests): Likewise.
32463         (binaries-shared): Remove variable.
32464         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32465         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32466         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32467         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32468         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32469         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32470         * elf/Makefile (sln-modules): New variable.
32471         (extra-objs): Add $(sln-modules:=.o).
32472         (ldconfig-modules): Add static-stubs.
32473         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32474         * elf/static-stubs.c: New file.
32475
32476         [BZ #14283]
32477         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32478         by 7 not 8 to examine high bit of fractional part.  Use volatile
32479         variables when splitting into final array of floats if
32480         __FLT_EVAL_METHOD__ != 0.
32481         * math/libm-test.inc (cos_test): Add another test.
32482         (sin_test): Likewise.
32483         * sysdeps/i386/fpu/libm-test-ulps: Update.
32484
32485         [BZ #14273]
32486         * math/libm-test.inc (cosh_test): Add more tests.
32487
32488         * version.h (RELEASE): Set to "development".
32489         (VERSION): Set to "2.16.90".
32490
32491 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32492
32493         * NEWS: Update copyright. Remove last-updated date.
32494         Mention math library bug fixes and timezone data changes.
32495         * README: Mention GNU/Hurd, x32, and HPPA support status.
32496
32497 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32498
32499         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32500
32501 2012-06-27  Andreas Jaeger  <aj@suse.de>
32502
32503         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32504
32505 2012-06-25  Andreas Jaeger  <aj@suse.de>
32506
32507         * sysdeps/s390/fpu/libm-test-ulps: Update.
32508
32509 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32510             Thomas Schwinge  <thomas@codesourcery.com>
32511
32512         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32513         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32514         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32515         fanotify_mark.
32516
32517 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32518
32519         * sysdeps/mach/start.c: Remove file.
32520         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32521         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32522         * sysdeps/sh/init-first.c: Likewise.
32523
32524         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32525         registers for frame unwinding purposes, add CFI directives.
32526         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32527         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32528         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32529         Likewise.
32530
32531         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32532         __fortify_fail returning.
32533         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32534
32535         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32536         sysdeps/sh/____longjmp_chk.S.
32537         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32538         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32539         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32540         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32541
32542         * sysdeps/sh/abort-instr.h: New file.
32543         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32544         process in case exit returns.
32545
32546         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32547         initialize the GOT register before use.
32548
32549         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32550         calculation of ARGC > 4.
32551
32552         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32553         meaningful names to some local labels.
32554
32555 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32556             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32557
32558         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32559         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32560         (__arch_compare_and_exchange_val_16_acq): Likewise.
32561         (__arch_compare_and_exchange_val_32_acq): Likewise.
32562         (atomic_exchange_and_add): Fix gUSA sequence.
32563         (atomic_add): Likewise.
32564         (atomic_add_negative): Likewise.
32565         (atomic_add_zero): Likewise.
32566         (atomic_bit_test_set): Likewise.
32567
32568 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32569
32570         [BZ #13579]
32571         * include/link.h (struct link_map): Add l_free_initfini.
32572         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32573         l_initfini.
32574         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32575         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32576         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32577         set.
32578
32579 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32580
32581         * configure.in: Use AC_LANG_SOURCE.
32582         * configure: Regenerate.
32583
32584 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32585
32586         * configure.in (libc_cv_localstatedir): New substituted variable.
32587         * configure: Regenerated.
32588         * config.make.in (localstatedir): New variable, substituted from
32589         libc_cv_localstatedir.
32590         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32591         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32592         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32593         * sysdeps/gnu/configure: Regenerated.
32594
32595 2012-06-21  Jeff Law  <law@redhat.com>
32596
32597         [BZ #14277]
32598         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32599         free.  Simplify list management for _LIBC case.
32600
32601 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32602
32603         [BZ #14273]
32604         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32605         Clear sign bit of 64-bit integer value before comparing against
32606         overflow value.
32607
32608         * sysdeps/mach/configure: Regenerated.
32609
32610 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32611
32612         [BZ #14278]
32613         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32614
32615 2012-06-21  Jeff Law  <law@redhat.com>
32616
32617         [BZ #13882]
32618         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32619         uint16_t for elements in the "seen" array to avoid char overflows.
32620         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32621         * elf/dl-open.c (dl_open_worker): Likewise.
32622
32623 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32624
32625         * scripts/list-sources.sh: Scan PORTS for translations.
32626         * po/libc.pot: Regenerated.
32627
32628 2012-06-21  Andreas Jaeger  <aj@suse.de>
32629
32630         [BZ #12194]
32631         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32632         warning.
32633         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32634         * bits/byteswap-16.h (__bswap_16): Likewise.
32635         * bits/byteswap.h (__bswap_constant_16): Likewise.
32636
32637 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32638
32639         [BZ #14117]
32640         * sysdeps/i386/fpu_control.h: Removed.
32641         * sysdeps/x86_64/fpu_control.h: Moved to ...
32642         * sysdeps/x86/fpu_control.h: Here.
32643
32644         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32645         (_FPU_SETCW): Likewise.
32646
32647 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32648
32649         [BZ #14117]
32650         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32651         * sysdeps/x86/fpu/bits/mathinline.h: This.
32652         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32653
32654         [BZ #14050]
32655         [BZ #14117]
32656         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32657         functions if __x86_64__ is defined.
32658
32659 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32660
32661         * string/endian.h: Add !__ASSEMBLER__ condition for including
32662         conversion interfaces.
32663
32664 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32665
32666         [BZ #14241]
32667         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32668         of ABS(x) in calculating zero to negative powers other than odd
32669         integers.
32670         * math/libm-test.inc (pow_test): Add more tests.
32671
32672 2012-06-15  Andreas Jaeger  <aj@suse.de>
32673
32674         * manual/contrib.texi (Contributors): Update entry of Liubov
32675         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32676         Machado Filho.
32677
32678 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32679
32680         * string/string.h: Add __wur to GNU version of strerror_r.
32681
32682 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32683
32684         [BZ #14229]
32685         * string/Makefile (tests): Add tst-strtok_r.
32686         * string/tst-strtok_r.c: New file.
32687         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32688         RAX_LP/RDX_LP on SAVE_PTR.
32689
32690 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32691
32692         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32693
32694 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32695
32696         * libm_test.inc (csqrt_test): Allow more spurious underflow
32697         exceptions.
32698         (j0_test): Likewise.
32699         (j1_test): Likewise.
32700         (y0_test): Likewise.
32701         (y1_test): Likewise.
32702
32703 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32704
32705         * po/Makefile (libc.pot): Use UTF-8 charset.
32706
32707 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32708
32709         [BZ #14210]
32710         Suppress sign-conversion warning from FD_SET.
32711         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32712         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32713         not unsigned long int.
32714         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32715
32716 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32717
32718         [BZ #14050]
32719         [BZ #14117]
32720         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32721         __extern_always_inline instead of __extern_inline.
32722         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32723         (__signbit): Likewise.
32724         (__signbitl): Support C++ namespace.
32725         (lrintf): New inline function.
32726         (lrint): Likewise.
32727         (llrintf): Likewise.
32728         (llrint): Likewise.
32729         (fmaxf): Likewise.
32730         (fmax): Likewise.
32731         (fminf): Likewise.
32732         (fmin): Likewise.
32733         (rint): Likewise.
32734         (rintf): Likewise.
32735         (ceil): Likewise.
32736         (ceilf): Likewise.
32737         (floor): Likewise.
32738         (floorf): Likewise.
32739         (nearbyint): Likewise.
32740         (nearbyintf): Likewise.
32741
32742 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32743
32744         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32745         non-default versions.
32746
32747 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32748
32749         [BZ #14218]
32750         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32751
32752 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32753
32754         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32755         (FE_UPWARD, FE_DOWNWARD): Don't define.
32756         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32757         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32758
32759         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32760         reading it.
32761         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32762         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32763
32764 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32765
32766         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32767         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32768         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32769         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32770
32771 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32772
32773         [BZ #14117]
32774         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32775         * sysdeps/i386/fpu/Implies: New file.
32776         * sysdeps/x86_64/fpu/Implies: Likewise.
32777         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32778         * sysdeps/x86/fpu/bits/fenv.h: This.
32779
32780         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32781         __SSE_MATH__.
32782
32783 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32784
32785         [BZ #14134]
32786         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32787         character 0xffff that matches the last element of the
32788         conversion table.
32789
32790 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32791
32792         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32793         fmodl commit.
32794
32795 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32796
32797         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32798         values higher than 25.6283.
32799
32800 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32801
32802         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32803         subnormal exponent extraction and add some __builtin_expect.
32804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32805         Fix for subnormal mantissa calculation.
32806
32807 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32808
32809         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32810         cpu2 is -1 and errno is not ENOSYS.
32811
32812 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32813
32814         [BZ #14117]
32815         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32816         * sysdeps/x86/bits/string.h: This.
32817         * sysdeps/x86_64/bits/string.h: Removed.
32818
32819         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32820         if not compiling for x86-64, but compiling for >= i486.
32821
32822         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32823         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32824
32825         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32826         New macro from Linux kernel 3.4.0.
32827         (FP_XSTATE_MAGIC2): Likewise.
32828         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32829         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32830         (struct _fpx_sw_bytes): New struct.
32831         (struct _xsave_hdr): Likewise.
32832         (struct _ymmh_state): Likewise.
32833         (struct _xstate): Likewise.
32834
32835         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32836         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32837         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32838         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32839         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32840         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32841
32842         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32843         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32844         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32845         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32846         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32847         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32848
32849 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32850
32851         [BZ #13743]
32852         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32853         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32854         (sysdep_headers): Include sys/platform/ppc.h.
32855         * sysdeps/powerpc/test-gettimebase.c: Test for
32856         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32857         * manual/Makefile (appendices): Include platform.texi.
32858         * manual/contrib.texi (Contributors): Update @node pointers.
32859         * manual/maint.texi (Maintenance): Likewise.
32860         (Platform): New node.
32861         * manual/platform.texi: New file.  Document the new features.
32862
32863 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32864             Jakub Jelinek  <jakub@redhat.com>
32865
32866         [BZ #14188]
32867         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32868         where __builtin_expect is unavailable.
32869
32870 2012-06-03  David S. Miller  <davem@davemloft.net>
32871
32872         * stdlib/longlong.h: Updated from GCC.
32873
32874 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32875
32876         [BZ #14042]
32877         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32878         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32879         __mcount_internal.
32880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32881         (GLIBC_2.16): Likewise.
32882
32883 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32884
32885         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32886
32887 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32888
32889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32890         (default-abi): New variable.
32891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32892         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32893         variable.
32894         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32895         Likewise.
32896         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32897         Likewise.
32898         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32899         Likewise.
32900
32901         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32902         definition.  Document in comment.
32903
32904 2012-06-01  David S. Miller  <davem@davemloft.net>
32905
32906         * stdlib/longlong.h: Updated from GCC.
32907
32908 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32909
32910         [BZ #14117]
32911         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32912         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32913         sys/debugreg.h sys/io.h here.
32914         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32915         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32916         sys/io.h.
32917         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32918         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32919         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32920         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32921         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32922         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32923
32924         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32925         Define only if __x86_64__ is defined.
32926
32927 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32928
32929         [BZ #14048]
32930         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32931         Use int64_t for variable i.
32932         * math/libm-test.inc (fmod_test): Add more tests.
32933
32934         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32935         z computation is not scheduled after fetestexcept.
32936         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32937         Use math_force_eval instead of asm to ensure calculation scheduled
32938         before exception test.
32939         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32940         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32941
32942 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32943
32944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32945         computation is not scheduled after fetestexcept.
32946
32947 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32948
32949         [BZ #14117]
32950         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32951         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32952
32953 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32954
32955         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32956         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32957
32958 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32959
32960         [BZ #14117]
32961         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32962         <bits/wordsize.h>.
32963         (__WCHAR_MIN): Support __WORDSIZE == 64.
32964         (__WCHAR_MAX): Likewise.
32965
32966         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32967         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32968
32969         [BZ #14183]
32970         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32971         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32972
32973         [BZ #14117]
32974         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32975         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32976
32977         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32978         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32979
32980         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32981         Defined to 1 if __x86_64__ isn't defined.
32982         (_STAT_VER_LINUX_OLD): New.
32983         (st_atime): Remove duplicate.
32984         (st_mtime): Likewise.
32985         (st_ctime): Likewise.
32986
32987 2012-05-31  David S. Miller  <davem@davemloft.net>
32988
32989         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32990         entries.
32991
32992 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32993
32994         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32995         gen-libm-test.pl.
32996
32997         [BZ #14132]
32998         * elf/dl-reloc.c: Include <_itoa.h>.
32999         (_dl_reloc_bad_type): Remove use of INTUSE.
33000         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33001         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33002         * stdio-common/psiginfo.c (psiginfo): Likewise.
33003         * stdio-common/psignal.c (psignal): Likewise.
33004         * string/strsignal.c (strsignal): Likewise.
33005         * include/signal.h (_sys_siglist): Declare hidden proto.
33006         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33007         INTVARDEF with libc_hidden_data_def.
33008         * stdio-common/itoa-udigits.c: Likewise.
33009         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33010         (_itoa_lower_digits_internal): Remove declaration.
33011         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33012         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33013         (_sys_sigabbrev_internal): Remove aliases.
33014         (_sys_siglist): Define hidden alias.
33015
33016 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33017
33018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33019         bits/sysctl.h.
33020
33021 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33022
33023         [BZ #14117]
33024         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33025         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33026
33027         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33028         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33029         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33030         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33031         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33032         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33033
33034         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33035         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33036         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33037
33038         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33039         with __addr.
33040         (insw): Likewise.
33041         (insl): Likewise.
33042         (outsb): Likewise.
33043         (outsw): Likewise.
33044         (outsl): Likewise.
33045
33046         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33047         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33048         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33049
33050         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33051         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33052         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33053         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33054         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33055         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33056
33057         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33058         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33059
33060         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33061         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33062
33063         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33064         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33065         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33066
33067         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33068         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33069         to ...
33070         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33071
33072         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33073         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33074         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33075
33076         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33077         for x86-64.
33078         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33079
33080 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33081
33082         * math/math.h (M_El): Use two more decimal places.
33083         (M_LOG2El): Likewise.
33084         (M_LOG10El): Likewise.
33085         (M_LN2l): Likewise.
33086         (M_LN10l): Likewise.
33087         (M_PIl): Likewise.
33088         (M_PI_2l): Likewise.
33089         (M_PI_4l): Likewise.
33090         (M_1_PIl): Likewise.
33091         (M_2_PIl): Likewise.
33092         (M_2_SQRTPIl): Likewise.
33093         (M_SQRT2l): Likewise.
33094         (M_SQRT1_2l): Likewise.
33095
33096 2012-05-31  David S. Miller  <davem@davemloft.net>
33097
33098         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33099         values between float registers.
33100         * sysdeps/sparc/sparc64/memset.S: Likewise.
33101         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33102
33103 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33104
33105         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33106         -D_FORTIFY_SOURCE=1.
33107         (CPPFLAGS-tst-longjmp_chk.c): Define.
33108         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33109         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33110         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33111         CFLAGS-tst-wchar-h.c.
33112
33113 2012-05-31  Marek Polacek  <polacek@redhat.com>
33114
33115         [BZ #14132]
33116         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33117         __endmntent_internal): Remove declaration.
33118         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33119         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33120         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33121
33122 2012-05-30  David S. Miller  <davem@davemloft.net>
33123
33124         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33125         (___Q_simulate_exceptions): Use real FP ops rather than writing
33126         into the %fsr.
33127         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33128         Likewise.
33129
33130 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33131
33132         [BZ #14117]
33133         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33134         * sysdeps/x86/bits/xtitypes.h: This.
33135
33136         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33137         * sysdeps/x86/bits/wordsize.h: This.
33138
33139         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33140         * sysdeps/x86/bits/huge_vall.h: This.
33141
33142         * sysdeps/i386/bits/select.h: Removed.
33143         * sysdeps/x86_64/bits/select.h: Renamed to ...
33144         * sysdeps/x86/bits/select.h: This.
33145
33146         * sysdeps/i386/bits/setjmp.h: Removed.
33147         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33148         * sysdeps/x86/bits/setjmp.h: This.
33149
33150         * sysdeps/i386/bits/mathdef.h: Removed.
33151         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33152         * sysdeps/x86/bits/mathdef.h: This.
33153
33154 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33155
33156         [BZ #14132]
33157         * include/sys/socket.h (__connect_internal)
33158         (__libc_sa_len_internal): Remove declaration.
33159         (__connect, __libc_sa_len): Declare hidden_proto.
33160         (SA_LEN): Remove use of INTUSE.
33161         * socket/connect.c: Add libc_hidden_def.
33162         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33163         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33164         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33165         alias.
33166         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33167         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33168         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33169         of adding _internal alias.
33170
33171 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33172
33173         [BZ #14117]
33174         * sysdeps/i386/bits/link.h: Removed.
33175         * sysdeps/i386/bits/linkmap.h: Likewise.
33176         * sysdeps/x86_64/bits/link.h: Renamed to ...
33177         * sysdeps/x86/bits/link.h: This.
33178         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33179         * sysdeps/x86/bits/linkmap.h: This.
33180
33181         * sysdeps/i386/bits/endian.h: Removed.
33182         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33183         * sysdeps/x86/bits/endian.h: This.
33184
33185         * sysdeps/i386/bits/byteswap.h: Removed.
33186         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33187         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33188         * sysdeps/x86/bits/byteswap.h: This.
33189         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33190         * sysdeps/x86/bits/byteswap-16.h: This.
33191         * sysdeps/i386/Implies: Add x86.
33192         * sysdeps/x86_64/Implies: Likewise.
33193
33194 2012-05-30  David S. Miller  <davem@davemloft.net>
33195
33196         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33197         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33198         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33199         (FP_TRAPPING_EXCEPTIONS): Define.
33200         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33201         (FP_TRAPPING_EXCEPTIONS): Define.
33202         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33203         subnormals only when inexact has been signalled or underflow
33204         exceptions are enabled.
33205         (_FP_PACK_CANONICAL): Likewise.
33206
33207 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33208
33209         [BZ #14183]
33210         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33211         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33212
33213 2012-05-30  Richard Henderson  <rth@twiddle.net>
33214
33215         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33216         with #ifndef NOT_IN_libc.
33217
33218         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33219         marked to avoid plt entry.
33220
33221 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33222
33223         [BZ #14112]
33224         * Makeconfig (default-abi): New macro.
33225         (abi-includes): Likewise.
33226         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33227         $(abi-$(default-abi)-lib-soname) for soname if defined.
33228         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33229         abi-variants.
33230         * Makefile (installed-stubs): Likewise.
33231         * include/stubs-biarch.h: Removed.
33232         * scripts/lib-names.awk: Only handle one library at a time.
33233         * scripts/soversions.awk: Remove WORDSIZE support.
33234         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33235         entries.
33236         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33237         Removed.
33238         (syscall-list-default-condition): Likewise.
33239         (syscall-list-default-condition): Likewise.
33240         (syscall-list-includes): Likewise.
33241         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33242         syscall-list-* with abi-*.  Handle undefined abi-variants.
33243         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33244         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33245         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33246         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33247         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33248         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33249         Removed.
33250         (syscall-list-32-options): Likewise.
33251         (syscall-list-32-condition): Likewise.
33252         (syscall-list-64-options): Likewise.
33253         (syscall-list-64-condition): Likewise.
33254         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33255         macro.
33256         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33257         Renamed to ...
33258         (abi-*): This.
33259         (abi-64-ld-soname): New macro.
33260         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33261         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33262         Renamed to ...
33263         (abi-*): This.
33264         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33265         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33266
33267 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33268
33269         * sysdeps/unix/sysv/linux/kernel-features.h
33270         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33271         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33272         include <kernel-features.h>.
33273         [!__NR_ftruncate64]: Remove conditional code.
33274         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33275         [__NR_ftruncate64]: Make code unconditional.
33276         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33277         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33278         include <kernel-features.h>.
33279         [!__NR_ftruncate64]: Remove conditional code.
33280         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33281         [__NR_ftruncate64]: Make code unconditional.
33282         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33284         include <kernel-features.h>.
33285         [!__NR_ftruncate64]: Remove conditional code.
33286         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33287         [__NR_ftruncate64]: Make code unconditional.
33288         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33290         include <kernel-features.h>.
33291         [!__NR_ftruncate64]: Remove conditional code.
33292         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33293         [__NR_ftruncate64]: Make code unconditional.
33294         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33295
33296         * configure.in (libc_cv_fpie): Weaken to a compile test using
33297         LIBC_TRY_CC_OPTION.
33298         * configure: Regenerated.
33299
33300 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33301
33302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33306         Refreshed.
33307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33313         Refreshed.
33314
33315 2012-05-27  David S. Miller  <davem@davemloft.net>
33316
33317         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33318         (___Q_zero): New.
33319         (__Q_simulate_exceptions): Return void.  Change to simulate
33320         exceptions by writing into the %fsr.
33321         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33322         (__Qp_handle_exceptions): Likewise.
33323         (numbers): Delete.
33324         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33325         __Qp_handle_exceptions.
33326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33327         __Qp_handle_exceptions.
33328         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33329         as unused and give dummy FP_RND_NEAREST initializer.
33330         (FP_INHIBIT_RESULTS): Define.
33331         (___Q_simulate_exceptions): Update declaration.
33332         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33333         formatting.
33334         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33335         as unused and give dummy FP_RND_NEAREST initializer.
33336         (__Qp_handle_exceptions): Update declaration.
33337         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33338         formatting.
33339
33340 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33341
33342         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33343         the temporary FPU control word.
33344         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33345         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33346         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33347         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33348         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33349         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33350         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33351         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33352         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33353         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33354         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33355
33356 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33357
33358         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33359         fields.
33360
33361 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33362
33363         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33364         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33365         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33366         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33367         Likewise.
33368         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33369         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33370         Likewise.
33371
33372 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33373
33374         * po/h.po: Update from translation team.
33375
33376 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33377
33378         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33379
33380         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33381         handling of denormals.
33382         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33383         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33384         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33385         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33386         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33387         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33388         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33389         Likewise.
33390
33391 2012-05-26  Marek Polacek  <polacek@redhat.com>
33392
33393         [BZ #14152]
33394         * math/libm-test.inc (fma_test): Don't always expect underflow
33395         exception.
33396
33397 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33398
33399         [BZ #12416]
33400         * elf/tst-execstack.c: Include stackinfo.h.
33401         (do_test): Adjust test case to ensure that pthread_getattr_np
33402         behaviour remains the same after marking stack executable.
33403
33404 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33405
33406         * sysdeps/unix/sysv/linux/kernel-features.h
33407         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33408         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33409         kernel-features.h.
33410         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33411         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33412         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33413         kernel-features.h.
33414         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33415         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33416
33417 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33418
33419         * configure.in: Define the default includes to being none.
33420         * configure: Regenerated.
33421
33422 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33423
33424         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33425         * sysdeps/x86_64/setjmp.S: Likewise.
33426         * sysdeps/i386/bsd-setjmp.S: Likewise.
33427         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33428         * sysdeps/i386/setjmp.S: Likewise.
33429         * sysdeps/i386/__longjmp.S: Likewise.
33430         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33431         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33432
33433         * include/stap-probe.h: New file.
33434         * configure.in: Handle --enable-systemtap.
33435         * configure: Regenerated.
33436         * config.h.in (USE_STAP_PROBE): New #undef.
33437         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33438         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33439         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33440
33441 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33442
33443         [BZ #13717]
33444         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33445         to 2.4.0 where earlier.
33446         * sysdeps/unix/sysv/linux/configure: Regenerated.
33447         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33448         <kernel-features.h>.
33449         [__ASSUME_32BITUIDS]: Make code unconditional.
33450         [!__ASSUME_32BITUIDS]: Remove conditional code.
33451         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33452         <kernel-features.h>.
33453         [__ASSUME_32BITUIDS]: Make code unconditional.
33454         [!__ASSUME_32BITUIDS]: Remove conditional code.
33455         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33456         [__ASSUME_32BITUIDS]: Make code unconditional.
33457         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33458         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33459         <kernel-features.h>.
33460         [__ASSUME_32BITUIDS]: Make code unconditional.
33461         [!__ASSUME_32BITUIDS]: Remove conditional code.
33462         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33463         <kernel-features.h>.
33464         [__ASSUME_32BITUIDS]: Make code unconditional.
33465         [!__ASSUME_32BITUIDS]: Remove conditional code.
33466         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33467         <kernel-features.h>.
33468         [__ASSUME_32BITUIDS]: Make code unconditional.
33469         [!__ASSUME_32BITUIDS]: Remove conditional code.
33470         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33471         <kernel-features.h>.
33472         [__ASSUME_32BITUIDS]: Make code unconditional.
33473         [!__ASSUME_32BITUIDS]: Remove conditional code.
33474         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33475         <kernel-features.h>.
33476         [__ASSUME_32BITUIDS]: Make code unconditional.
33477         [!__ASSUME_32BITUIDS]: Remove conditional code.
33478         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33479         <kernel-features.h>.
33480         [__ASSUME_32BITUIDS]: Make code unconditional.
33481         [!__ASSUME_32BITUIDS]: Remove conditional code.
33482         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33483         <kernel-features.h>.
33484         [__ASSUME_32BITUIDS]: Make code unconditional.
33485         [!__ASSUME_32BITUIDS]: Remove conditional code.
33486         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33487         <kernel-features.h>.
33488         [__ASSUME_32BITUIDS]: Make code unconditional.
33489         [!__ASSUME_32BITUIDS]: Remove conditional code.
33490         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33491         <kernel-features.h>.
33492         [__ASSUME_32BITUIDS]: Make code unconditional.
33493         [!__ASSUME_32BITUIDS]: Remove conditional code.
33494         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33495         <kernel-features.h>.
33496         [__ASSUME_32BITUIDS]: Make code unconditional.
33497         [!__ASSUME_32BITUIDS]: Remove conditional code.
33498         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33499         <kernel-features.h>.
33500         [__NR_setresgid] (__setresgid): Do not declare.
33501         [__ASSUME_32BITUIDS]: Make code unconditional.
33502         [!__ASSUME_32BITUIDS]: Remove conditional code.
33503         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33504         <kernel-features.h>.
33505         [__NR_setresuid] (__setresuid): Do not declare.
33506         [__ASSUME_32BITUIDS]: Make code unconditional.
33507         [!__ASSUME_32BITUIDS]: Remove conditional code.
33508         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33509         <kernel-features.h>.
33510         [__ASSUME_32BITUIDS]: Make code unconditional.
33511         [!__ASSUME_32BITUIDS]: Remove conditional code.
33512         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33513         <kernel-features.h>.
33514         [__ASSUME_32BITUIDS]: Make code unconditional.
33515         [!__ASSUME_32BITUIDS]: Remove conditional code.
33516         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33517         <kernel-features.h>.
33518         [__ASSUME_32BITUIDS]: Make code unconditional.
33519         [!__ASSUME_32BITUIDS]: Remove conditional code.
33520         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33521         <kernel-features.h>.
33522         [__ASSUME_32BITUIDS]: Make code unconditional.
33523         [!__ASSUME_32BITUIDS]: Remove conditional code.
33524         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33525         <kernel-features.h>.
33526         [__ASSUME_32BITUIDS]: Make code unconditional.
33527         [!__ASSUME_32BITUIDS]: Remove conditional code.
33528         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33529         <kernel-features.h>.
33530         [__ASSUME_32BITUIDS]: Make code unconditional.
33531         [!__ASSUME_32BITUIDS]: Remove conditional code.
33532         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33533         <kernel-features.h>.
33534         [__ASSUME_32BITUIDS]: Make code unconditional.
33535         [!__ASSUME_32BITUIDS]: Remove conditional code.
33536         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33537         <kernel-features.h>.
33538         [__ASSUME_32BITUIDS]: Make code unconditional.
33539         [!__ASSUME_32BITUIDS]: Remove conditional code.
33540         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33541         <kernel-features.h>.
33542         [__ASSUME_32BITUIDS]: Make code unconditional.
33543         [!__ASSUME_32BITUIDS]: Remove conditional code.
33544         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33545         <kernel-features.h>.
33546         [__ASSUME_32BITUIDS]: Make code unconditional.
33547         [!__ASSUME_32BITUIDS]: Remove conditional code.
33548         * sysdeps/unix/sysv/linux/kernel-features.h
33549         (__ASSUME_SETRESUID_SYSCALL): Remove.
33550         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33551         (__ASSUME_32BITUIDS): Likewise.
33552         (__ASSUME_LDT_WORKS): Likewise.
33553         (__ASSUME_O_DIRECTORY): Likewise.
33554         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33555         architecture but not kernel version.
33556         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33557         (__ASSUME_MMAP2_SYSCALL): Likewise.
33558         (__ASSUME_STAT64_SYSCALL): Likewise.
33559         (__ASSUME_IPC64): Likewise.
33560         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33561         <kernel-features.h>.
33562         [__ASSUME_32BITUIDS]: Make code unconditional.
33563         [!__ASSUME_32BITUIDS]: Remove conditional code.
33564         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33565         <kernel-features.h>.
33566         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33567         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33568         132096]: Remove conditional code.
33569         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33570         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33571         <kernel-features.h>.
33572         [__ASSUME_32BITUIDS]: Make code unconditional.
33573         [!__ASSUME_32BITUIDS]: Remove conditional code.
33574         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33575         <kernel-features.h>.
33576         [__ASSUME_32BITUIDS]: Make code unconditional.
33577         [!__ASSUME_32BITUIDS]: Remove conditional code.
33578         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33579         <kernel-features.h>.
33580         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33581         unconditional.
33582         (__setresgid): Do not declare.
33583         [__ASSUME_32BITUIDS]: Make code unconditional.
33584         [!__ASSUME_32BITUIDS]: Remove conditional code.
33585         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33586         <kernel-features.h>.
33587         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33588         unconditional.
33589         (__setresuid): Do not declare.
33590         [__ASSUME_32BITUIDS]: Make code unconditional.
33591         [!__ASSUME_32BITUIDS]: Remove conditional code.
33592         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33593         <kernel-features.h>.
33594         [__ASSUME_32BITUIDS]: Make code unconditional.
33595         [!__ASSUME_32BITUIDS]: Remove conditional code.
33596         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33597         <kernel-features.h>.
33598         [__ASSUME_32BITUIDS]: Make code unconditional.
33599         [!__ASSUME_32BITUIDS]: Remove conditional code.
33600
33601 2012-05-25  Richard Henderson  <rth@twiddle.net>
33602
33603         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33604         dl_hwcap to ifunc resolver.
33605         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33606         elf_ifunc_invoke.
33607         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33608         dl_hwcap to ifunc resolver.
33609         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33610
33611 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33612
33613         [BZ #14153]
33614         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33615         for |x| <= 2**-26, not 2**-57.
33616         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33617         exception.
33618
33619 2012-05-24  Jeff Law  <law@redhat.com>
33620
33621         * stdio-common/Makefile (tests): Add bug25.
33622         * stdio-common/bug25.c: New test.
33623
33624 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33625
33626         [BZ #13576]
33627         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33628         multiple of MALLOC_ALIGNMENT in size.
33629         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33630
33631 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33632
33633         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33634         Require >= 256.
33635         (FILENAME_MAX): Use macro-int-constant.
33636         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33637         (_IOFBF): Use macro-int-constant.
33638         (_IOLBF): Likewise.
33639         (_IONBF): Likewise.
33640         (SEEK_CUR): Likewise.
33641         (SEEK_END): Likewise.
33642         (SEEK_SET): Likewise.
33643         (TMP_MAX): Likewise.
33644         (EOF): Use macro-int-constant.  Require < 0.
33645         (NULL): Use macro-constant.  Require == 0.
33646         (stdin): Require type to be FILE *.
33647         (stdout): Likewise.
33648         (stderr): Likewise.
33649         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33650         macro-int-constant.
33651         (EXIT_SUCCESS): Likewise.
33652         (NULL): Use macro-constant.  Require == 0.
33653         (RAND_MAX): Use macro-int-constant.
33654         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33655         [C99-based standards] (strtof): Require function.
33656         [C99-based standards] (strtold): Likewise.
33657         [C99-based standards] (strtoll): Likewise.
33658         [C99-based standards] (strtoull): Likewise.
33659         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33660         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33661         [ISO || ISO99 || ISO11] (math.h): Likewise.
33662         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33663         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33665
33666 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33667
33668         [BZ #14132]
33669         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33670         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33671         * intl/dgettext.c (DCGETTEXT): Likewise.
33672         * intl/gettext.c (DCGETTEXT): Likewise.
33673         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33674         * posix/regex_internal.h (gettext): Likewise.
33675         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33676         Remove declaration.
33677         * include/argz.h (__argz_count_internal)
33678         (__argz_stringify_internal): Remove declaration.
33679         (__argz_count, __argz_stringify): Declare hidden proto.
33680         * intl/dcgettext.c: Remove use of INTDEF.
33681         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33682         * string/argz-stringify.c: Likewise.
33683         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33684         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33685         Declare hidden proto.
33686         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33687         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33688         Declare hidden proto.
33689         * include/stdio.h (__asprintf_internal): Don't declare.
33690         (__asprintf): Don't define as macro.  Declare hidden proto.
33691         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33692         (__fsetlocking): Declare hidden proto.
33693         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33694         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33695         hidden proto.
33696         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33697         (_IO_setlinebuf): Remove use of INTUSE.
33698         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33699         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33700         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33701         Remove declaration.
33702         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33703         (_IO_do_flush): Remove use of INTUSE.
33704         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33705         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33706         (_IO_adjust_column, _IO_least_wmarker)
33707         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33708         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33709         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33710         (_IO_default_doallocate, _IO_wdefault_doallocate)
33711         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33712         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33713         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33714         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33715         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33716         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33717         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33718         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33719         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33720         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33721         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33722         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33723         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33724         proto.
33725         (_IO_flush_all_internal, _IO_adjust_column_internal)
33726         (_IO_default_uflow_internal, _IO_default_finish_internal)
33727         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33728         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33729         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33730         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33731         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33732         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33733         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33734         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33735         (_IO_file_close_internal, _IO_file_close_it_internal)
33736         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33737         (_IO_file_init_internal, _IO_file_attach_internal)
33738         (_IO_file_fopen_internal, _IO_file_read_internal)
33739         (_IO_file_sync_internal, _IO_file_seek_internal)
33740         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33741         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33742         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33743         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33744         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33745         (_IO_list_all_internal, _IO_link_in_internal)
33746         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33747         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33748         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33749         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33750         (_IO_do_write_internal, _IO_padn_internal)
33751         (_IO_getline_info_internal, _IO_getline_internal)
33752         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33753         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33754         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33755         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33756         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33757         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33758         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33759         with libc_hidden_ver, remove use of INTUSE.
33760         * libio/genops.c: Likewise.
33761         * libio/freopen.c: Likewise.
33762         * libio/freopen64.c: Likewise.
33763         * libio/iofclose.c: Likewise.
33764         * libio/iofdopen.c: Likewise.
33765         * libio/iofflush.c: Likewise.
33766         * libio/iofflush_u.c: Likewise.
33767         * libio/iofgets.c: Likewise.
33768         * libio/iofgets_u.c: Likewise.
33769         * libio/iofopen.c: Likewise.
33770         * libio/iofopncook.c: Likewise.
33771         * libio/iofread.c: Likewise.
33772         * libio/iofread_u.c: Likewise.
33773         * libio/ioftell.c: Likewise.
33774         * libio/iofwrite.c: Likewise.
33775         * libio/iogetline.c: Likewise.
33776         * libio/iogets.c: Likewise.
33777         * libio/iogetwline.c: Likewise.
33778         * libio/iopadn.c: Likewise.
33779         * libio/iopopen.c: Likewise.
33780         * libio/ioseekoff.c: Likewise.
33781         * libio/ioseekpos.c: Likewise.
33782         * libio/iosetbuffer.c: Likewise.
33783         * libio/iosetvbuf.c: Likewise.
33784         * libio/ioungetc.c: Likewise.
33785         * libio/ioungetwc.c: Likewise.
33786         * libio/iovdprintf.c: Likewise.
33787         * libio/iovsprintf.c: Likewise.
33788         * libio/iovsscanf.c: Likewise.
33789         * libio/memstream.c: Likewise.
33790         * libio/obprintf.c: Likewise.
33791         * libio/oldfileops.c: Likewise.
33792         * libio/oldiofclose.c: Likewise.
33793         * libio/oldiofdopen.c: Likewise.
33794         * libio/oldiofopen.c: Likewise.
33795         * libio/oldiopopen.c: Likewise.
33796         * libio/oldstdfiles.c: Likewise.
33797         * libio/putc.c: Likewise.
33798         * libio/setbuf.c: Likewise.
33799         * libio/setlinebuf.c: Likewise.
33800         * libio/stdfiles.c: Likewise.
33801         * libio/strops.c: Likewise.
33802         * libio/vasprintf.c: Likewise.
33803         * libio/vscanf.c: Likewise.
33804         * libio/vsnprintf.c: Likewise.
33805         * libio/vswprintf.c: Likewise.
33806         * libio/wfiledoalloc.c: Likewise.
33807         * libio/wfileops.c: Likewise.
33808         * libio/wgenops.c: Likewise.
33809         * libio/wmemstream.c: Likewise.
33810         * libio/wstrops.c: Likewise.
33811         * libio/__fpurge.c: Likewise.
33812         * libio/__fsetlocking.c: Likewise.
33813         * assert/assert.c: Likewise.
33814         * debug/fgets_chk.c: Likewise.
33815         * debug/fgets_u_chk.c: Likewise.
33816         * debug/fread_chk.c: Likewise.
33817         * debug/fread_u_chk.c: Likewise.
33818         * debug/gets_chk.c: Likewise.
33819         * debug/obprintf_chk.c: Likewise.
33820         * debug/vasprintf_chk.c: Likewise.
33821         * debug/vdprintf_chk.c: Likewise.
33822         * debug/vsnprintf_chk.c: Likewise.
33823         * debug/vsprintf_chk.c: Likewise.
33824         * malloc/mtrace.c: Likewise.
33825         * misc/error.c: Likewise.
33826         * misc/syslog.c: Likewise.
33827         * stdio-common/asprintf.c: Likewise.
33828         * stdio-common/fxprintf.c: Likewise.
33829         * stdio-common/getw.c: Likewise.
33830         * stdio-common/isoc99_fscanf.c: Likewise.
33831         * stdio-common/isoc99_scanf.c: Likewise.
33832         * stdio-common/isoc99_vfscanf.c: Likewise.
33833         * stdio-common/isoc99_vscanf.c: Likewise.
33834         * stdio-common/isoc99_vsscanf.c: Likewise.
33835         * stdio-common/printf-prs.c: Likewise.
33836         * stdio-common/printf_fp.c: Likewise.
33837         * stdio-common/printf_fphex.c: Likewise.
33838         * stdio-common/printf_size.c: Likewise.
33839         * stdio-common/putw.c: Likewise.
33840         * stdio-common/scanf.c: Likewise.
33841         * stdio-common/sprintf.c: Likewise.
33842         * stdio-common/tmpfile.c: Likewise.
33843         * stdio-common/vfprintf.c: Likewise.
33844         * stdio-common/vfscanf.c: Likewise.
33845         * stdlib/strfmon_l.c: Likewise.
33846         * sunrpc/openchild.c: Likewise.
33847         * sunrpc/xdr_stdio.c: Likewise.
33848         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33849         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33850
33851 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33852
33853         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33854
33855         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33856         in the third column, to generate for the shared library an IFUNC
33857         that uses _dl_vdso_vsym.
33858         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33859         * Makeconfig (object-suffixes-noshared): New variable.
33860
33861         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33862         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33863         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33864         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33865
33866         [BZ #14132]
33867         * include/sys/time.h (__gettimeofday): Remove macro.
33868         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33869         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33870         Remove INTDEF.
33871         (__gettimeofday): Add libc_hidden_def.
33872         (gettimeofday): Add libc_hidden_weak.
33873         * sysdeps/mach/gettimeofday.c: Likewise.
33874         * sysdeps/posix/gettimeofday.c: Likewise.
33875         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33876         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33877         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33878         (__gettimeofday_internal): Remove strong_alias.
33879         (__gettimeofday): Add libc_hidden_def.
33880         (gettimeofday): Add libc_hidden_weak.
33881         * sysdeps/unix/syscalls.list (gettimeofday):
33882         Remove __gettimeofday_internal alias.
33883
33884 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33885             H.J. Lu  <hongjiu.lu@intel.com>
33886
33887         [BZ #12495]
33888         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33889         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33890         (largebin_index_32_big): New.
33891         (largebin_index): Use it for 16-byte alignment.
33892         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33893         correction with front_misalign.
33894
33895 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33896
33897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33899         Likewise.
33900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33901         Likewise.
33902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33903         Likewise.
33904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33905         Likewise.
33906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33907         Likewise.
33908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33909         Likewise.
33910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33911         Likewise.
33912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33913         Likewise.
33914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33915         Likewise.
33916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33917         Likewise.
33918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33919         Likewise.
33920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33921         Likewise.
33922
33923         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33924         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33925
33926 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33927
33928         [BZ #10846]
33929         [BZ #14036]
33930         * math/libm-test.inc (exp_test): Add test from bug 14036.
33931         (pow_test): Add test from bug 10846.
33932
33933         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33934         and other flags.
33935         (special_function): Do not include flags in test name.
33936         (parse_args): Likewise.
33937         * sysdeps/i386/fpu/libm-test-ulps: Update.
33938         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33939         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33940         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33942
33943         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33944         exceptions.
33945         * math/libm-test.inc ("Philosophy"): Update comment about
33946         exception testing.
33947         (UNDERFLOW_EXCEPTION): New macro.
33948         (UNDERFLOW_EXCEPTION_OK): Likewise.
33949         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33950         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33951         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33952         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33953         (INVALID_EXCEPTION_OK): Update value.
33954         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33955         (OVERFLOW_EXCEPTION_OK): Likewise.
33956         (IGNORE_ZERO_INF_SIGN): Likewise.
33957         (test_exceptions): Handle underflow exceptions.
33958         (acos_test): Update for underflow exception expectations.
33959         (cexp_test): Likewise.
33960         (clog_test): Likewise.
33961         (clog10_test): Likewise.
33962         (csqrt_test): Likewise.
33963         (ctan_test): Likewise.
33964         (ctanh_test): Likewise.
33965         (exp_test): Likewise.
33966         (exp10_test): Likewise.
33967         (exp2_test): Likewise.
33968         (expm1_test): Likewise.
33969         (fma_test): Likewise.
33970         (j0_test): Likewise.
33971         (jn_test): Likewise.
33972         (nexttoward_test): Likewise.
33973         (pow_test): Likewise.
33974         (scalbn_test): Likewise.
33975         (scalbln_test): Likewise.
33976         (tan_test): Likewise.
33977         (y1_test): Likewise.
33978         * sysdeps/i386/fpu/libm-test-ulps: Update.
33979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33980
33981 2012-05-23  David S. Miller  <davem@davemloft.net>
33982
33983         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33984         (__libc_sigaction): Remove unused local variables.
33985
33986 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33987
33988         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33989
33990 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33991
33992         mktime: avoid signed integer overflow
33993         * time/mktime.c (__mktime_internal): Do not mishandle the case
33994         where diff == INT_MIN.
33995
33996         mktime: simplify computation of average
33997         * time/mktime.c (ranged_convert): Use new time_t_avg function
33998         instead of rolling our own (probably-slower) code.
33999
34000         mktime: do not assume signed right shift propagates sign bit
34001         * time/mktime.c (isdst_differ): New static function.
34002         (__mktime_internal): No need to normalize tm_isdst now.
34003         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34004         tm_isdst values.
34005
34006         mktime: merge another wrapv change from gnulib
34007         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34008         from some compilers.
34009
34010         mktime: remove incorrect attempt at unusual arithmetics
34011         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34012         The code didn't really work on such machines anyway.
34013         (TYPE_MINIMUM): Assume two's complement.
34014         (twos_complement_arithmetic): Verify that long_int and time_t
34015         are two's complement (or unsigned, in the latter case).
34016
34017         mktime: check signed shifts on long_int and time_t, too
34018         * time/mktime.c (SHR): Check that shifts work as desired
34019         on the types long_int and time_t too, as SHR is used on
34020         such types.
34021
34022         mktime: do not assume 'long' is wide enough
34023         * time/mktime.c (verify): Move decl up.
34024         (long_int): New type.
34025         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34026         to remove assumption in the code that 'long' is wide enough to
34027         store year values.  This assumption is not true on x32 and on
34028         some non-glibc platforms.
34029
34030         mktime: merge wrapv change from gnulib
34031         * time/mktime.c (WRAPV): New macro.
34032         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34033         (guess_time_tm, __mktime_internal): Do not assume that signed
34034         integer overflow wraps around; modern compilers generate code
34035         where this assumption is no longer valid.
34036
34037 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34038
34039         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34040         Replace "jmp L(pseudo_end)" with "ret".
34041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34042         Likewise.
34043
34044 2012-05-23  Andreas Jaeger  <aj@suse.de>
34045
34046         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34047         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34048
34049 2012-05-23  Andreas Jaeger  <aj@suse.de>
34050             Maximilian Attems  <max@stro.at>
34051
34052         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34053         New macros.
34054
34055 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34056
34057         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34058         code so that pseudo_end is just ret and the stack pointer is
34059         correct also for static library in error case.
34060
34061 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34062
34063         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34064         move to syscalls.list.
34065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34069
34070         * manual/install.texi (Running make install): Do not mention Linux
34071         kernel version for which pt_chown is not needed.
34072         (Linux): Do not mention problems with nscd with 2.0 kernels.
34073         * INSTALL: Regenerated.
34074
34075 2012-05-23  Andreas Jaeger  <aj@suse.de>
34076
34077         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34078         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34079         macro.
34080         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34081         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34082         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34083         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34084         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34085         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34086         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34087         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34088         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34089         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34090         * sysdeps/unix/sysv/linux/bits/in.h
34091         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34092
34093 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34094
34095         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34096         (PREPARE_VERSION): Just use assert instead, it will be elided
34097         under [NDEBUG] anyway.
34098
34099 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34100
34101         * sysdeps/unix/sysv/linux/Makefile: Include
34102         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34103         (sysdep_routines): Remove sysctl.
34104         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34105         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34106         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34107         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34108         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34109
34110 2012-05-22  Andreas Jaeger  <aj@suse.de>
34111
34112         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34113         that pseudo_end is just ret and the stack pointer is correct also
34114         for static library in error case.
34115
34116 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34117
34118         [BZ #14122]
34119         * nss/nsswitch.c (defconfig_entries): New variable.
34120         (__nss_database_lookup): Don't leak defconfig entries.
34121         (nss_parse_service_list): Don't leak on error paths.
34122         (free_database_entries): New function.
34123         (free_defconfig): New function.
34124         (free_mem): Move common code to free_database_entries.
34125
34126 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34127
34128         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34129         Add arch_prctl.
34130         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34131
34132         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34133         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34134         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34135         New macro.
34136         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34137         (INTERNAL_SYSCALL_TYPES): Likewise.
34138         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34139         (LOAD_REGS_TYPES_[1-6]): Likewise.
34140         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34141         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34142
34143 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34144
34145         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34146         copysignl for GLIBC_2_0.
34147         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34148         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34149         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34150         logbl for GLIBC_2_0.
34151         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34152         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34153
34154 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34155
34156         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34157         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34158
34159         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34160         Use "neg %eax".
34161
34162         * time/mktime.c: Update copyright years.
34163
34164 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34165
34166         mktime: merge comment-quoting-style change from gnulib
34167         * time/mktime.c: Quote 'like this' in comments.
34168         The GNU coding standards suggest that we no longer quote `like this',
34169         as "`" and "'" are typically rendered asymmetrically nowadays.
34170         The typical gnulib style is to quote 'like this' when quoting
34171         code, and "like this" when quoting English.
34172
34173         * time/mktime.c (compile-command): Add "-I.".
34174
34175         mktime: merge mktime-internal.h change from gnulib
34176         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34177
34178         mktime: merge time_r change from gnulib
34179         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34180
34181         mktime: merge DEBUG change from gnulib
34182         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34183         case system <time.h> has a #define.
34184
34185         mktime: merge <sys/types.h> change from gnulib
34186         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34187         since <time.t> is now guaranteed to define time_t.
34188
34189         mktime: merge HAVE_CONFIG_H change from gnulib
34190         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34191
34192 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34193
34194         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34195         Use "neg %eax".
34196
34197         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34198         __rlim_t cast.
34199         (struct rusage): Use anonymous union to pad each field to
34200         __syscall_slong_t.
34201
34202 2012-05-21  David S. Miller  <davem@davemloft.net>
34203
34204         * Makefules (o-iterator): Remove .s cases.
34205         (compile-command.s): Delete.
34206         (COMPILE.s): Delete.
34207         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34208
34209 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34210
34211         * configure.in (libc_cv_predef_stack_protector): Only consider
34212         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34213         * configure: Regenerated.
34214
34215 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34216
34217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34218         New macro.  Use R*LP on int and pointer.
34219         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34220         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34221         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34222         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34223
34224         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34225         [__WORDSIZE_TIME64_COMPAT32] instead of
34226         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34227         (struct utmp): Likewise.
34228         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34229         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34230         Renamed to ...
34231         (__WORDSIZE_TIME64_COMPAT32): This.
34232         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34233         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34234         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34235         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34236         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34237         (__WORDSIZE_TIME64_COMPAT32): New macro.
34238
34239 2012-05-21  Andreas Jaeger  <aj@suse.de>
34240
34241         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34242         only if [SHARED]. Add prototype for __wcschr_ia32.
34243
34244 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34245
34246         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34247         of %rbp unmolested in the jmp_buf while mangling the low bits.
34248         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34249         unmolested high bits of %rbp while demangling the low bits.
34250         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34251
34252 2012-05-21  Andreas Jaeger  <aj@suse.de>
34253
34254         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34255         * sunrpc/svc_simple.c: Use it for registerrpc.
34256         * sunrpc/xcrypt.c: Use it for passwd2des.
34257
34258         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34259
34260 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34261
34262         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34263         Don't define if [__SYSCALL_WORDSIZE != 32].
34264         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34265         New macro.
34266
34267 2012-05-21  Bruno Haible  <bruno@clisp.org>
34268             Andreas Jaeger  <aj@suse.de>
34269
34270         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34271         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34272         inptr and inend for must_buffer_ch.
34273         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34274         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34275         * stdio-common/Makefile (tests): Remove bug15.
34276         (bug15-ENV): Remove macro.
34277         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34278         anymore.
34279
34280 2012-05-19  Andreas Jaeger  <aj@suse.de>
34281             Roland McGrath  <roland@hack.frob.com>
34282
34283         * manual/contrib.texi: Completely rewritten. It contains now an
34284         alphabetical list of contributors and their contributions.
34285
34286 2012-05-21  Richard Henderson  <rth@twiddle.net>
34287
34288         * misc/getauxval.c (__getauxval): Use unsigned long int.
34289         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34290         (getauxval): Use unsigned long int.
34291
34292 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34293
34294         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34295
34296 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34297
34298         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34299         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34300         __alignof__ (long double).
34301
34302 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34303
34304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34305
34306 2012-05-20  Richard Henderson  <rth@twiddle.net>
34307
34308         * misc/getauxval.c: New file.
34309         * misc/sys/auxv.h: New file.
34310         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34311         (routines): Add getauxval.
34312         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34313         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34314         * elf/dl-sysdep.c (_dl_auxv): Remove.
34315         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34316         * elf/dl-support.c (_dl_auxv): New variable.
34317         (_dl_aux_init): Initialize it.
34318         * manual/startup.texi (Auxiliary Vector): New node.
34319         * sysdeps/generic/bits/hwcap.h: New file.
34320         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34321         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34322         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34323         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34324         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34325         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34327         Update.
34328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34331         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34336
34337 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34338
34339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34340
34341 2012-05-19  David S. Miller  <davem@davemloft.net>
34342
34343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34344
34345 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34346
34347         [BZ #14123]
34348         * math/s_ccosh.c: Include <float.h>
34349         (__ccosh): Avoid internal overflow calculating sinh and cosh
34350         values before multiplying by sin and cos values.
34351         * math/s_ccoshf.c: Likewise.
34352         * math/s_ccoshl.c: Likewise.
34353         * math/s_csin.c: Likewise.
34354         * math/s_csinf.c: Likewise.
34355         * math/s_csinl.c: Likewise.
34356         * math/s_csinh.c: Likewise.
34357         * math/s_csinhf.c: Likewise.
34358         * math/s_csinhl.c: Likewise.
34359         * math/libm-test.inc (ccos_test): Add more tests.
34360         (ccosh_test): Likewise.
34361         (csin_test): Likewise.
34362         (csinh_test): Likewise.
34363         * sysdeps/i386/fpu/libm-test-ulps: Update.
34364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34365
34366 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34367
34368         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34369         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34370
34371         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34372
34373 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34374
34375         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34376         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34377         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34378         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34379         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34380         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34381         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34382         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34383         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34384         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34385         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34386         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34387         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34388         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34389         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34390         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34391         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34392         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34393         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34394         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34395         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34396         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34397         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34398         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34399         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34400         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34401         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34402         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34403         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34404         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34405         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34406
34407 2012-05-18  Andreas Jaeger  <aj@suse.de>
34408
34409         * csu/.gitignore: Delete.
34410
34411 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34412
34413         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34414         (timex): Use __syscall_slong_t.
34415
34416 2012-05-18  Andreas Jaeger  <aj@suse.de>
34417             Carlos O'Donell  <carlos_odonell@mentor.com>
34418
34419         * manual/install.texi (Configuring and compiling): Update
34420         description about files modified in the source directory.
34421         * INSTALL: Regenerated.
34422
34423 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34424
34425         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34426         value.  Use "or" to set return value to -1.
34427         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34428         negate return value.
34429
34430 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34431
34432         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34433         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34434         failure if the compiler has Graphite support disabled.
34435         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34436         Likewise.
34437         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34438         (CFLAGS-memmove.c): Likewise.
34439         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34440         Likewise.
34441
34442 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34443
34444         * sysdeps/x86_64/x32/_itoa.h: New file.
34445
34446         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34447         getdents system call only if kernel and user dirents have the
34448         same d_ino and d_off.
34449
34450         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34451         LLONG_MAX != LONG_MAX.
34452         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34453         (_fitoa_word): Likewise.
34454
34455         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34456         years.
34457         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34458         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34459         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34460
34461         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34462         include <bits/wordsize.h>.  Check __x86_64__ instead of
34463         __WORDSIZE.
34464         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34465         if __x86_64__ is defined.  Use anonymous union on fpstate.
34466
34467         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34468         anonymous union.
34469
34470 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34471
34472         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34473         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34474         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34475         Refer to _rtld_local_ro instead of _rtld_global_ro.
34476         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34477         Likewise.
34478         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34479         Likewise.
34480         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34481         Likewise.
34482         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34483         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34484         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34485
34486         * sysdeps/powerpc/powerpc32/dl-machine.c
34487         (__elf_machine_runtime_setup) [PROF]: Don't reference
34488         _dl_prof_resolve.
34489
34490 2012-05-18  Andreas Jaeger  <aj@suse.de>
34491
34492         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34493         function only available for GCCs before 3.4 since GCC 3.4
34494         introduced a builtin.
34495         (lrint): Likewise.
34496         (llrintf): Likewise.
34497         (llrint): Likewise.
34498         (fmaxf): Likewise.
34499         (fmax): Likewise.
34500         (fminf): Likewise.
34501         (fmin): Likewise.
34502         (rint): Likewise.
34503         (rintf): Likewise.
34504         (nearbyint): Likewise.
34505         (nearbyintf): Likewise.
34506         (ceil): Likewise.
34507         (ceilf): Likewise.
34508         (floor): Likewise.
34509         (floorf): Likewise.
34510
34511 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34512
34513         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34514         on both fields and cast pointer to __syscall_ulong_t.
34515
34516         * bits/types.h (__fsword_t): New type.
34517         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34518         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34519         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34520         (__FSWORD_T_TYPE): Likewise.
34521         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34522         (__FSWORD_T_TYPE): Likewise.
34523         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34524         (__FSWORD_T_TYPE): Likewise.
34525         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34526         (__FSWORD_T_TYPE): Likewise.
34527         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34528         __SWORD_TYPE with __fsword_t.
34529         (statfs64): Likewise.
34530
34531 2012-05-17  David S. Miller  <davem@davemloft.net>
34532
34533         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34534
34535 2012-05-17  Andreas Jaeger  <aj@suse.de>
34536
34537         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34538         warning.
34539
34540 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34541
34542         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34543
34544 2012-05-17  Andreas Jaeger  <aj@suse.de>
34545
34546         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34547         when it is used.
34548
34549 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34550
34551         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34552
34553 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34554
34555         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34556         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34557
34558 2012-05-17  Andreas Jaeger  <aj@suse.de>
34559             Carlos O'Donell  <carlos_odonell@mentor.com>
34560
34561         [BZ #14059]
34562         * sysdeps/x86_64/multiarch/init-arch.h
34563         (bit_YMM_Usable): Rename to...
34564         (bit_AVX_Usable): ... this.
34565         (bit_FMA4_Usable): New macro.
34566         (bit_XMM_state): New macro.
34567         (bit_YMM_state): New macro.
34568         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34569         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34570         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34571         (CPUID_OSXSAVE): New macro.
34572         (CPUID_AVX): New macro.
34573         (CPUID_FMA4): New macro.
34574         (index_YMM_Usable): Rename to...
34575         (index_AVX_Usable): ... this.
34576         (HAS_AVX): Use HAS_ARCH_FEATURE.
34577         (HAS_FMA4): Likewise.
34578         (HAS_YMM_USABLE): Remove.
34579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34580         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34581         are present.
34582         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34583         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34584         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34585         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34586         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34587
34588 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34589
34590         * math/libm-test.c: Support platforms without multiple rounding modes.
34591         * math/bug-nextafter.c: Support platforms without FP exceptions.
34592         * math/bug-nexttoward.c: Likewise.
34593         * math/test-fenv.c: Likewise.
34594         * math/test-misc.c: Likewise.
34595         * stdlib/bug-getcontext.c: Likewise.
34596
34597 2012-05-17  Andreas Jaeger  <aj@suse.de>
34598
34599         * manual/examples/search.c (critter_cmp): Change signature to
34600         avoid warnings.
34601         * manual/string.texi (Collation Functions): Likewise.
34602
34603 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34604
34605         * bits/types.h: Fold copyright years.
34606         * bits/typesizes.h: Likewise.
34607         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34608         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34609         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34610         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34611         * time/time.h: Likewise.
34612
34613 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34614
34615         [BZ #208]
34616         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34617         in instead of returning them.  Return void.
34618         (__libc_mallinfo): Accumulate over all arenas.
34619         (__malloc_stats): Adjust for change in int_mallinfo interface.
34620
34621 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34622
34623         [BZ #10375]
34624         * configure.in (NM): Add AC_CHECK_TOOL for it.
34625         (libc_extra_cflags): New substituted variable.
34626         Check for -fstack-protector being used implicitly.
34627         * configure: Regenerated.
34628         * config.make.in (config-extra-cflags): New variable,
34629         gets @libc_extra_cflags@.
34630         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34631
34632         [BZ #10375]
34633         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34634         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34635         * configure: Regenerated.
34636         * config.make.in (CPPUNDEFS): New substituted variable.
34637         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34638         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34639         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34640
34641 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34642
34643         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34644         (mq_attr): Use __syscall_slong_t.
34645
34646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34647
34648         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34649         Check __x86_64__ instead of __WORDSIZE.
34650         (_STAT_VER_LINUX): Likewise.
34651         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34652         __syscall_ulong_t and __syscall_slong_t.
34653         (stat64): Likewise.
34654
34655 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34656
34657         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34658
34659 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34660
34661         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34662
34663 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34664
34665         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34666         __syscall_ulong_t.
34667
34668         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34669         include <bits/wordsize.h>.  Check __x86_64__ instead of
34670         __WORDSIZE.
34671         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34672         defined.
34673         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34674
34675         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34676         include <bits/wordsize.h>.  Check __x86_64__ instead of
34677         __WORDSIZE.
34678         (user_regs_struct): Use "__extension__ unsigned long long"
34679         instead of "unsigned long" if __x86_64__ is defined.
34680         (user): Likewise.  Pad after pointer field if __ILP32__ is
34681         defined.
34682
34683 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34684
34685         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34686         versions 5 to 9.
34687         * configure: Regenerated.
34688         * manual/install.texi (texinfo): Increase version requirement to
34689         4.5 or later.
34690         * INSTALL: Regenerated.
34691
34692         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34693
34694 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34695
34696         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34697
34698         * sysdeps/x86_64/x32/ffs.c: New file.
34699
34700         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34701         __syscall_ulong_t.
34702         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34703         defined.  Use __syscall_ulong_t.
34704         (shminfo): Use __syscall_ulong_t.
34705         (shm_info): Likewise.
34706
34707         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34708         __syscall_ulong_t.
34709
34710         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34711         <bits/wordsize.h>.
34712         (msgqnum_t): Use __syscall_ulong_t.
34713         (msglen_t): Likewise.
34714         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34715         __syscall_ulong_t.
34716
34717         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34718         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34719
34720         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34721
34722         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34723         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34724
34725         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34726         __syscall_slong_t.
34727
34728         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34729         include <bits/wordsize.h>.  Check __x86_64__ instead of
34730         __WORDSIZE.
34731
34732         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34733         "unsigned long long int" if __x86_64__ is defined.
34734         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34735
34736         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34737         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34738         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34739
34740         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34741         <stdint.h>.
34742         (GET_PC): Cast to uintptr_t first.
34743         (GET_FRAME): Likewise.
34744         (GET_STACK): Likewise.
34745
34746         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34747         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34748         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34749         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34750         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34751         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34752         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34753         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34754         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34755         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34756         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34757         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34758         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34759         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34760         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34761         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34762         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34763         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34764         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34765         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34766         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34767         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34768         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34769         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34770         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34771         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34772         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34773         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34774         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34775
34776 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34777
34778         * Makerules (+depfiles): Also collect depfiles from .oS in
34779         $(extra-objs).
34780         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34781         .oS, $(libnldbl-routines)).
34782
34783         * Makerules (native-compile-mkdep-flags): Define.
34784         * sunrpc/Makefile (extra-objs): Add $(addprefix
34785         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34786         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34787         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34788         calling $(make-target-directory).
34789
34790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34791
34792         * bits/types.h (__snseconds_t): Removed.
34793         * time/time.h (struct timespec): Replace __snseconds_t with
34794         __syscall_slong_t.
34795         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34796         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34797         Likewise.
34798         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34799         (__SNSECONDS_T_TYPE): Likewise.
34800         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34801         (__SNSECONDS_T_TYPE): Likewise.
34802         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34803         (__SNSECONDS_T_TYPE): Likewise.
34804
34805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34806
34807         * sysdeps/mach/hurd/bits/typesizes.h
34808         (__SYSCALL_SLONG_TYPE): New macro.
34809         (__SYSCALL_ULONG_TYPE): Likewise.
34810
34811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34812
34813         * bits/types.h (__syscall_slong_t): New type.
34814         (__syscall_ulong_t): Likewise.
34815
34816         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34817         (__SYSCALL_ULONG_TYPE): Likewise.
34818         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34819         (__SYSCALL_SLONG_TYPE): Likewise.
34820         (__SYSCALL_ULONG_TYPE): Likewise.
34821         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34822         (__SYSCALL_SLONG_TYPE): Likewise.
34823         (__SYSCALL_ULONG_TYPE): Likewise.
34824         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34825         (__SYSCALL_SLONG_TYPE): Likewise.
34826         (__SYSCALL_ULONG_TYPE): Likewise.
34827
34828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34829
34830         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34831         Add sigaltstack-offsets.sym.
34832         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34833         <sigaltstack-offsets.h>.
34834         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34835         longjmp_msg pointer.
34836         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34837         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34838         signal stack.
34839         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34840
34841 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34842
34843         * elf/stackguard-macros.h: Remove file.
34844         * sysdeps/generic/stackguard-macros.h: New file.
34845         * sysdeps/i386/stackguard-macros.h: Likewise.
34846         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34847         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34848         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34849         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34850         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34851         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34852         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34853         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34854         <elf/stackguard-macros.h>.
34855
34856         [BZ #14109]
34857         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34858         __aligned__ in attribute.
34859         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34860         (gregset_t): Likewise.
34861
34862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34863
34864         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34865         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34866         * sysdeps/x86_64/x32/Implies-after: New file.
34867
34868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34869
34870         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34871         and access return value for _dl_profile_fixup.  Use R10_LP to
34872         load frame size.
34873
34874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34875
34876         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34877
34878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34879
34880         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34881         * sysdeps/x86_64/x32/sysdep.h: New file.
34882
34883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34884
34885         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34886         * sysdeps/x86_64/setjmp.S: Likewise.
34887
34888 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34889
34890         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34891         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34892         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34893         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34894         remove unused global constant.
34895
34896 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34897
34898         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34899         include of <not-cancel.h>.
34900
34901 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34902
34903         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34904
34905 2012-05-15  Jeff Law  <law@redhat.com>
34906             Andreas Jaeger  <aj@suse.de>
34907
34908         [BZ #13594]
34909         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34910         out from...
34911         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34912         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34913         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34914         code changing __hst_map_handle.map.
34915
34916 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34917
34918         * configure.in (sysnames): Look for Implies-before and Implies-after
34919         files.
34920         * configure: Regenerated.
34921
34922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34923
34924         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34925         8-byte data alignment with LP_SIZE alignment.
34926
34927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34928
34929         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34930         into R10_LP.
34931
34932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34933
34934         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34935
34936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34937
34938         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34939         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34940         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34941         Likewise.
34942         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34943
34944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34945
34946         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34947         (stackinfo_sub_sp): Likewise.
34948
34949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34950
34951         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34952         RAX_LP.
34953
34954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34955
34956         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34957         into R*_LP.
34958
34959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34960
34961         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34962         sizes into R*_LP.
34963
34964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34965
34966         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34967
34968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34969
34970         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34971         into R11_LP and load __x86_64_shared_cache_size_half into
34972         R8_LP.
34973
34974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34975
34976         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34977         R8_LP.
34978
34979 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34980
34981         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34982         logb for POWER7.
34983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34984         logbf for POWER7.
34985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34986         logbl for POWER7.
34987         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34988         powerpc32/power7/fpu/s_logb.c via #include.
34989         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34990         powerpc32/power7/fpu/s_logbf.c via #include.
34991         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34992         powerpc32/power7/fpu/s_logbl.c via #include.
34993
34994 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34995
34996         * README.libm: Remove file.
34997
34998 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34999
35000         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35001         count for x32.  Use R*_LP and omit operand-size suffix.
35002
35003 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35004
35005         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35006         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35007         * sysdeps/x86_64/x32/shlib-versions: New file.
35008
35009 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35010
35011         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35012         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35013         Use _dl_fatal_printf instead.
35014
35015 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35016
35017         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35018         set if not set by the user.  Do not allow for being unset.
35019         * sysdeps/unix/sysv/linux/configure: Regenerated.
35020
35021 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35022
35023         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35024         the `q' suffix from lea and replace .quad with ASM_ADDR.
35025
35026 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35027
35028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35029         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35030         instead of $17.
35031         (PTR_DEMANGLE): Likewise.
35032
35033 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35034
35035         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35036         (LP_OP): Likewise.
35037         (ASM_ADDR): Likewise.
35038         (RAX_LP): Likewise.
35039         (RBP_LP): Likewise.
35040         (RBX_LP): Likewise.
35041         (RCX_LP): Likewise.
35042         (RDI_LP): Likewise.
35043         (RSI_LP): Likewise.
35044         (RSP_LP): Likewise.
35045         (R8_LP): Likewise.
35046         (R9_LP): Likewise.
35047         (R10_LP): Likewise.
35048         (R10_LP): Likewise.
35049         (R11_LP): Likewise.
35050         (R12_LP): Likewise.
35051         (R13_LP): Likewise.
35052         (R14_LP): Likewise.
35053         (R15_LP): Likewise.
35054
35055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35056
35057         * sysdeps/x86_64/x32/dl-machine.h: New file.
35058
35059 2012-05-14  Andreas Jaeger  <aj@suse.de>
35060
35061         * manual/Makefile (subdir): Remove export of subdir.
35062         (all): Remove target.
35063         (.PHONY): Remove all from list.
35064         (mkinstalldirs): Remove.
35065         (.PHONY): Remove installdirs from list.
35066         ($(inst_infodir)/libc.info): Use make-target-directory.
35067         (installdirs): Remove.
35068         (subdir_%): Remove.
35069         (glibc-targets): Remove.
35070         (lib): Remove.
35071         (stubs): Remove.
35072         ($(objpfx)stubs ../po/manual.pot): Remove.
35073         ($(objpfx)stamp%): Remove.
35074         (make-target-directory): Remove.
35075         (subdir_install): Remove.
35076         (routines): Remove.
35077         (aux): Remove.
35078         (sources): Remove.
35079         (objects): Remove.
35080         (headers): Remove.
35081
35082         [BZ #13750]
35083         * manual/.gitignore: Remove, it's not needed anymore.
35084         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35085         all files in it.
35086         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35087         directory.
35088         (texis): Renamed to $(objpfx)texis.
35089         (texis-path): New, contains path to generated files.
35090         (chapters.%): Use texis-path for complete path, add extra argument
35091         libc-texinfo.sh.
35092         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35093         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35094         (summary,texi, stamp-summary): Use complete path of
35095         files. Generate files in build dir.
35096         (dir-add.texi): Build in build dir.
35097         (libm-err.texi,stamp-libm-err): Likewise.
35098         (version.texi, stamp-version): Likewise.
35099         (.%c.texi): Likewise.
35100         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35101         (mostlyclean): Remove target.
35102         (realclean): Remove target.
35103         (generated): Add new variable with contents from mostlyclean and
35104         realclean, remove entries duplicated in common-mostlyclean, add
35105         stamp-libm-err and stamp-version.
35106         (generated-dirs): Add libc directory.
35107         ($(inst_infodir)/libc.info): Install files from build dir.
35108
35109         * manual/install.texi (Configuring and compiling): Adjust since
35110         the info files are not part of the tar ball anymore.
35111
35112 2012-05-14  Andreas Jaeger  <aj@suse.de>
35113
35114         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35115         variable.
35116
35117 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35118
35119         [BZ #13717]
35120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35121         to 2.2.0 where earlier.
35122         * sysdeps/unix/sysv/linux/configure: Regenerated.
35123         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35124         Remove conditional code.
35125         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35126         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35127         Remove conditional code.
35128         [!__NR_lchown]: Likewise.
35129         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35130         [__NR_lchown]: Likewise.
35131         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35132         comment referencing __ASSUME_LCHOWN_SYSCALL.
35133         * sysdeps/unix/sysv/linux/i386/sigaction.c
35134         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35135         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35136         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35137         Remove conditional code.
35138         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35139         (__protocol_available): Remove #if 0 code.
35140         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35141         conditional code.
35142         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35143         * sysdeps/unix/sysv/linux/kernel-features.h
35144         (__ASSUME_GETCWD_SYSCALL): Don't define.
35145         (__ASSUME_REALTIME_SIGNALS): Likewise.
35146         (__ASSUME_PREAD_SYSCALL): Likewise.
35147         (__ASSUME_PWRITE_SYSCALL): Likewise.
35148         (__ASSUME_POLL_SYSCALL): Likewise.
35149         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35150         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35151         non-SPARC.
35152         (__ASSUME_SIOCGIFNAME): Don't define.
35153         (__ASSUME_MSG_NOSIGNAL): Likewise.
35154         (__ASSUME_SENDFILE): Define unconditionally.
35155         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35156         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35157         conditional code.
35158         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35159         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35160         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35161         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35162         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35163         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35164         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35166         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35167         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35169         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35170         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35172         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35173         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35175         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35176         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35178         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35179         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35181         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35182         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35184         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35185         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35187         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35188         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35189         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35190         Remove conditional code.
35191         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35192         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35193         Remove conditional code.
35194         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35195         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35196         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35197         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35198         Remove conditional code.
35199         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35200         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35201         Remove conditional code.
35202         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35203         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35204         Remove conditional code.
35205         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35206         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35207         Remove conditional code.
35208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35209         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35210         Remove conditional code.
35211         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35212         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35213         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35215         * sysdeps/unix/sysv/linux/sigaction.c
35216         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35217         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35218         * sysdeps/unix/sysv/linux/sigpending.c
35219         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35220         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35221         * sysdeps/unix/sysv/linux/sigprocmask.c
35222         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35223         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35224         * sysdeps/unix/sysv/linux/sigsuspend.c
35225         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35226         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35227         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35228         (__libc_missing_rt_sigs): Remove.
35229         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35230         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35231         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35232         Remove conditional code.
35233         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35234         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35235         return 1.
35236         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35237         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35238         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35239         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35240
35241 2012-05-14  Andreas Jaeger  <aj@suse.de>
35242
35243         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35244         it's not used in glibc.
35245         (__coshm1): Likewise.
35246         (__acosh1p): Likewise.
35247         (__sgn): Likewise.
35248
35249         * manual/string.texi (Copying and Concatenation): Add missing
35250         variable in concat example.
35251         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35252
35253 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35254
35255         [BZ #14103]
35256         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35257         __builtin_clzl with __builtin_clzll.
35258
35259 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35260
35261         [BZ #14104]
35262         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35263         libc_freeres_ptr.
35264
35265 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35266
35267         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35268         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35269         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35270         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35271
35272 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35273
35274         * NEWS: Update ia64 info.
35275
35276 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35277
35278         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35279         used as bcopy.
35280
35281 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35282
35283         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35284         * sysdeps/unix/syscalls.list (dup3): Likewise.
35285         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35286         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35287
35288 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35289
35290         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35291         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35292
35293 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35294
35295         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35296         thread pointer.
35297         (TLS_IE): Use mov/add instead of movq/addq to load thread
35298         pointer.
35299         (TLS_GD_PREFIX): New.
35300         (TLS_GD): Use it.
35301
35302 2012-05-11  David S. Miller  <davem@davemloft.net>
35303
35304         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35305         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35306         (_FPU_SETCW): Likewise.
35307
35308 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35309
35310         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35311         is 32-byte aligned.
35312
35313 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35314
35315         [BZ #11837]
35316         * iconvdata/gb18030.c: Update tables.
35317         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35318         characters specially.
35319         (BODY for TO_LOOP): Add encoding of missing ranges.
35320
35321 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35322
35323         [BZ #13673]
35324         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35325         * sysdeps/mach/hurd/dup3.c: Likewise.
35326         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35327         * sysdeps/powerpc/memmove.c:: Likewise.
35328
35329 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35330
35331         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35332         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35333
35334 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35335
35336         * elf/elf.h (R_X86_64_RELATIVE64): New.
35337         (R_X86_64_NUM): Updated.
35338         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35339         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35340         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35341         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35342         tst-quad1pie tst-quad2pie
35343         (modules-names): Add tst-quadmod1 tst-quadmod2.
35344         ($(objpfx)tst-quad1): New dependency.
35345         ($(objpfx)tst-quad2): Likewise.
35346         ($(objpfx)tst-quad1pie): Likewise.
35347         ($(objpfx)tst-quad2pie): Likewise.
35348         * sysdeps/x86_64/tst-quad1.c: New file.
35349         * sysdeps/x86_64/tst-quad1pie.c: New file.
35350         * sysdeps/x86_64/tst-quad2.c: Likewise.
35351         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35352         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35353         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35354         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35355         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35356
35357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35358
35359         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35360         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35361         * streams/stropts.h (t_scalar_t): Define type.
35362
35363         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35364         (_PATH_PRESERVE): Set to "/var/lib".
35365         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35366
35367         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35368         instead of int.
35369
35370         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35371         if __dir_mkfile succeeded.
35372
35373         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35374         checking for _hurd_dtablesize.  Unlock it right after having
35375         finished _hurd_dtable allocation.
35376
35377 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35378
35379         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35380         * sysdeps/mach/hurd/configure: Regenerated.
35381         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35382         special-casing to...
35383         * sysdeps/gnu/configure.in: ... this new file.
35384         * sysdeps/unix/sysv/linux/configure: Regenerated.
35385         * sysdeps/gnu/configure: New generated file.
35386
35387         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35388         for Linux: use nsec instead of usec, as well as:
35389         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35390         members of type struct timespec.
35391         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35392         New macros.
35393         (struct stat64): Likewise.
35394         (_STATBUF_ST_NSEC): New macro.
35395         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35396
35397         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35398         __strtoul_internal rather than strtoul.
35399
35400 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35401
35402         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35403         and reject them.
35404
35405 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35406
35407         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35408         which preserves existing values.
35409         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35410
35411 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35412
35413         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35414         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35415         greater than FD_SETSIZE.
35416
35417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35418
35419         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35420         allocated, call __vm_protect to finish enabling the existing space, and
35421         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35422         allocate the remainder.
35423
35424 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35425
35426         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35427         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35428
35429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35430
35431         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35432         sysdeps/mach/hurd/readlink.c.
35433
35434         * posix/tst-sysconf.c (posix_options): Only use
35435         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35436         _POSIX_SYNCHRONIZED_IO when they are defined
35437         * sysdeps/mach/hurd/bits/posix_opt.h:
35438         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35439         (_XOPEN_REALTIME): Undefine macro.
35440         (_XOPEN_REALTIME_THREADS): Undefine macro.
35441         (_XOPEN_SHM): Undefine macro.
35442         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35443         macro to -1.
35444         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35445         macro to -1.
35446         (_POSIX_ASYNC_IO): Undefine macro.
35447         (_POSIX_PRIORITIZED_IO): Undefine macro.
35448         (_POSIX_SPIN_LOCKS): Define macro to -1.
35449
35450         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35451         SA_NODEFER, SA_RESETHAND.
35452         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35453         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35454         F_DUPFD_CLOEXEC.
35455
35456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35457
35458         * elf/Makefile (pldd-modules): Define unconditionally.
35459
35460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35461
35462         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35463
35464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35465
35466         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35467         Return ENOENT when name is empty.
35468         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35469
35470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35471
35472         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35473
35474         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35475
35476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35477
35478         Fix mlock in all cases except non-readable pages.
35479         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35480         instead of VM_PROT_ALL as parameter to __vm_wire function.
35481
35482         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35483         (__mkdir): When path is `/', just fail with EEXIST.
35484         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35485
35486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35487
35488         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35489         <sys/uio.h> (for writev).
35490         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35491         and <sys/param.h> (for MIN).
35492
35493 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35494
35495         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35496         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35497         if interrupted.
35498
35499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35500
35501         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35502         Depend on against $(link-rpcuserlibs).
35503
35504 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35505
35506         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35507         (__libc_stack_end): Do not use attribute_relro.
35508         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35509         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35510         to libthread-provided value.
35511         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35512         attribute_relro.
35513
35514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35515
35516         [BZ #3748]
35517         * bits/libc-lock.h (__libc_once_get): New macro.
35518         * sysdeps/mach/bits/libc-lock.h: Likewise.
35519         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35520         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35521         instead of using implementation details.
35522
35523         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35524         * libio/freopen.c: Likewise.
35525         * libio/freopen64.c: Likewise.
35526         * misc/syslog.c: Likewise.
35527         * nscd/connections.c: Likewise.
35528         * nscd/netgroupcache.c: Likewise.
35529         * sysdeps/posix/getcwd.c: Likewise.
35530
35531 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35532
35533         * math/w_ilogbf.c: Add #include <limits.h>.
35534
35535 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35536
35537         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35538         path instead of returning without unlocking.
35539
35540         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35541         immediate-write ioctls.
35542         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35543
35544 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35545
35546         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35547         __builtin_frame_address instead of making assumptions about the
35548         location of the return address relative to DATA.  Force early load of
35549         the return address.
35550         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35551         __builtin_frame_address.
35552
35553         dup3 for GNU Hurd.
35554         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35555         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35556         implement dup3 and do some further code clean-ups.
35557         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35558         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35559
35560 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35561
35562         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35563
35564         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35565         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35566         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35567         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35568         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35569         d->port.lock.
35570
35571         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35572         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35573         when handler == SIG_ERR, not when handler != SIG_ERR.
35574
35575 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35576
35577         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35578         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35579         definitions.
35580
35581         accept4 for GNU Hurd.
35582         * include/sys/socket.h (__libc_accept4): New prototype.
35583         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35584         to implement __libc_accept4.
35585         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35586         __libc_accept4.
35587         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35588
35589         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35590         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35591         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35592         signal-defines.sym.
35593
35594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35595
35596         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35597
35598 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35599
35600         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35601         assertion on O_CLOEXEC flag.
35602         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35603         * hurd/intern-fd.c: Likewise.
35604         * hurd/port2fd.c: Likewise.
35605
35606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35607
35608         [BZ #3906]
35609         * bits/in.h (IPV6_PKTINFO): Define new macro.
35610         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35611
35612 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35613
35614         [BZ #13954]
35615         [BZ #13955]
35616         [BZ #13956]
35617         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35618         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35619         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35620         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35621         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35622         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35623         * math/libm-test.inc (logb_test) : Additional logb tests.
35624
35625 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35626             Andreas Jaeger  <aj@suse.de>
35627
35628         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35629         * configure: Regenerated.
35630         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35631         * config.make.in (link-obsolete-rpc): New substituted variable.
35632         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35633         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35634         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35635         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35636         so that libc.a contains the symbols.
35637         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35638         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35639         * sunrpc/auth_none.c: Likewise.
35640         * sunrpc/auth_unix.c: Likewise.
35641         * sunrpc/authdes_prot.c: Likewise.
35642         * sunrpc/authuxprot.c: Likewise.
35643         * sunrpc/clnt_gen.c: Likewise.
35644         * sunrpc/clnt_perr.c: Likewise.
35645         * sunrpc/clnt_raw.c: Likewise.
35646         * sunrpc/clnt_simp.c: Likewise.
35647         * sunrpc/clnt_tcp.c: Likewise.
35648         * sunrpc/clnt_udp.c: Likewise.
35649         * sunrpc/clnt_unix.c: Likewise.
35650         * sunrpc/des_crypt.c: Likewise.
35651         * sunrpc/des_soft.c: Likewise.
35652         * sunrpc/get_myaddr.c: Likewise.
35653         * sunrpc/key_call.c: Likewise.
35654         * sunrpc/key_prot.c: Likewise.
35655         * sunrpc/netname.c: Likewise.
35656         * sunrpc/pm_getmaps.c: Likewise.
35657         * sunrpc/pm_getport.c: Likewise.
35658         * sunrpc/pmap_clnt.c: Likewise.
35659         * sunrpc/pmap_prot.c: Likewise.
35660         * sunrpc/pmap_prot2.c: Likewise.
35661         * sunrpc/pmap_rmt.c: Likewise.
35662         * sunrpc/publickey.c: Likewise.
35663         * sunrpc/rpc_cmsg.c: Likewise.
35664         * sunrpc/rpc_common.c: Likewise.
35665         * sunrpc/rpc_dtable.c: Likewise.
35666         * sunrpc/rpc_prot.c: Likewise.
35667         * sunrpc/rpc_thread.c: Likewise.
35668         * sunrpc/rtime.c: Likewise.
35669         * sunrpc/svc.c: Likewise.
35670         * sunrpc/svc_auth.c: Likewise.
35671         * sunrpc/svc_raw.c: Likewise.
35672         * sunrpc/svc_run.c: Likewise.
35673         * sunrpc/svc_tcp.c: Likewise.
35674         * sunrpc/svc_udp.c: Likewise.
35675         * sunrpc/svc_unix.c: Likewise.
35676         * sunrpc/svcauth_des.c: Likewise.
35677         * sunrpc/xcrypt.c: Likewise.
35678         * sunrpc/xdr.c: Likewise.
35679         * sunrpc/xdr_array.c: Likewise.
35680         * sunrpc/xdr_float.c: Likewise.
35681         * sunrpc/xdr_intXX_t.c: Likewise.
35682         * sunrpc/xdr_mem.c: Likewise.
35683         * sunrpc/xdr_rec.c: Likewise.
35684         * sunrpc/xdr_ref.c: Likewise.
35685         * sunrpc/xdr_sizeof.c: Likewise.
35686         * sunrpc/xdr_stdio.c: Likewise.
35687
35688 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35689
35690         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35691         change.  Update copyright years.
35692
35693 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35694
35695         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35696
35697 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35698             Joseph Myers  <joseph@codesourcery.com>
35699             Paul Pluzhnikov  <ppluzhnikov@google.com>
35700
35701         [BZ #14012]
35702         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35703         requiring rpcgen.
35704         [cross-compiling] (extra-libs): Likewise.
35705         [cross-compiling] (extra-libs-others): Likewise.
35706         [cross-compiling] (librpcsvc-routines): Likewise.
35707         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35708         [cross-compiling] (omit-deps): Likewise.
35709         (sunrpc-CPPFLAGS): New variable.
35710         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35711         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35712         (cross-rpcgen-objs): New variable.
35713         (extra-objs): Append $(cross-rpcgen-objs).
35714         ($(cross-rpcgen-objs)): New rule.
35715         ($(objpfx)cross-rpcgen): Likewise.
35716         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35717         comment.
35718         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35719         ($(objpfx)x%.stmp): Likewise.
35720         * sunrpc/proto.h [IS_IN_build] (_): Define.
35721         [IS_IN_build] (_libc_intl_domainname): Likewise.
35722
35723 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35724
35725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35726         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35727         and R_X86_64_TPOFF64.
35728
35729 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35730
35731         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35732         sysdeps/unix/sysv/syscalls.list.
35733         (stime): Likewise.
35734         (utime): Likewise.
35735         * sysdeps/unix/sysv/syscalls.list: Remove file.
35736
35737 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35738
35739         [BZ #3440]
35740         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35741         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35742         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35743         (__LC_IDENTIFICATION): Make these macros useful in #if
35744         expressions, as required by C99.
35745
35746 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35747
35748         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35749         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35750         after this.
35751
35752 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35753
35754         * stdlib/longlong.h: Updated from GCC.
35755
35756 2012-05-09  Andreas Jaeger  <aj@suse.de>
35757
35758         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35759         default is first entry.
35760         (run_mode): Set type.
35761         (main): Remove informal message about syslog.
35762         (options): Fix typo.
35763
35764         [BZ #14053]
35765         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35766         to asm.
35767         (lrint): Likewise.
35768         (llrintf): Likewise.
35769         (llrint): Likewise.
35770         (rint): Likewise.
35771         (rintf): Likewise.
35772         (nearbyint): Likewise.
35773         (nearbyintf): Likewise.
35774
35775 2012-05-09  Andreas Jaeger  <aj@suse.de>
35776             Pedro Alves  <palves@redhat.com>
35777
35778         * nscd/nscd.c (run_mode): Use enum.
35779         (main): Cleanup coding style issue.
35780
35781 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35782             Andreas Jaeger  <aj@suse.de>
35783
35784         * nscd/nscd.c (go_background): Replaced with...
35785         (run_mode): ... this.
35786         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35787         (options): Add -F --foreground.
35788         (main): Implement it.
35789         (parse_opt): Parse it.
35790
35791 2012-05-09  Andreas Jaeger  <aj@suse.de>
35792
35793         [BZ #14083]
35794         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35795         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35796         -Wconversion warning.
35797         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35798         Likewise.
35799
35800 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35801
35802         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35803         == 0.
35804         (LC_ALL): Use macro-int-constant.
35805         (LC_COLLATE): Likewise.
35806         (LC_CTYPE): Likewise.
35807         (LC_MESSAGES): Likewise.
35808         (LC_MONETARY): Likewise.
35809         (LC_NUMERIC): Likewise.
35810         (LC_TIME): Likewise.
35811         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35812         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35813         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35814         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35815         Specify type.
35816         [C99-based standards] (float_t): Expect type.
35817         [C99-based standards] (double_t): Expect type.
35818         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35819         type.
35820         [C99-based standards] (HUGE_VALL): Likewise.
35821         [C99-based standards] (INFINITY): Likewise.
35822         [C99-based standards] (NAN): Likewise.
35823         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35824         [C99-based standards] (FP_NAN): Likewise.
35825         [C99-based standards] (FP_NORMAL): Likewise.
35826         [C99-based standards] (FP_SUBNORMAL): Likewise.
35827         [C99-based standards] (FP_ZERO): Likewise.
35828         [C99-based standards] (FP_FAST_FMA): Use
35829         optional-macro-int-constant.  Specify type.  Require == 1.
35830         [C99-based standards] (FP_FAST_FMAF): Likewise.
35831         [C99-based standards] (FP_FAST_FMAL): Likewise.
35832         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35833         [C99-based standards] (FP_ILOGBNAN): Likewise.
35834         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35835         Specify type.
35836         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35837         [C99-based standards] (math_errhandling): Specify type.
35838         [ISO99 || ISO11] (signgam): Do not allow.
35839         [non-C99-based standards] (copysignf): Do not allow.
35840         [non-C99-based standards] (exp2f): Likewise.
35841         [non-C99-based standards] (log2f): Likewise.
35842         [non-C99-based standards] (modff): Allow.
35843         [non-C99-based standards] (erff): Do not allow.
35844         [non-C99-based standards] (erfcf): Likewise.
35845         [non-C99-based standards] (gammaf): Likewise.
35846         [non-C99-based standards] (hypotf): Likewise.
35847         [non-C99-based standards] (j0f): Likewise.
35848         [non-C99-based standards] (j1f): Likewise.
35849         [non-C99-based standards] (jnf): Likewise.
35850         [non-C99-based standards] (lgammaf): Likewise.
35851         [non-C99-based standards] (tgammaf): Likewise.
35852         [non-C99-based standards] (y0f): Likewise.
35853         [non-C99-based standards] (y1f): Likewise.
35854         [non-C99-based standards] (ynf): Likewise.
35855         [non-C99-based standards] (isnanf): Likewise.
35856         [non-C99-based standards] (acoshf): Likewise.
35857         [non-C99-based standards] (asinhf): Likewise.
35858         [non-C99-based standards] (atanhf): Likewise.
35859         [non-C99-based standards] (cbrtf): Likewise.
35860         [non-C99-based standards] (expm1f): Likewise.
35861         [non-C99-based standards] (ilogbf): Likewise.
35862         [non-C99-based standards] (log1pf): Likewise.
35863         [non-C99-based standards] (logbf): Likewise.
35864         [non-C99-based standards] (nextafterf): Likewise.
35865         [non-C99-based standards] (remainderf): Likewise.
35866         [non-C99-based standards] (rintf): Likewise.
35867         [non-C99-based standards] (scalbf): Likewise.
35868         [non-C99-based standards] (copysignl): Likewise.
35869         [non-C99-based standards] (exp2l): Likewise.
35870         [non-C99-based standards] (log2l): Likewise.
35871         [non-C99-based standards] (modfl): Allow.
35872         [non-C99-based standards] (erfl): Do not allow.
35873         [non-C99-based standards] (erfcl): Likewise.
35874         [non-C99-based standards] (gammal): Likewise.
35875         [non-C99-based standards] (hypotl): Likewise.
35876         [non-C99-based standards] (j0l): Likewise.
35877         [non-C99-based standards] (j1l): Likewise.
35878         [non-C99-based standards] (jnl): Likewise.
35879         [non-C99-based standards] (lgammal): Likewise.
35880         [non-C99-based standards] (tgammal): Likewise.
35881         [non-C99-based standards] (y0l): Likewise.
35882         [non-C99-based standards] (y1l): Likewise.
35883         [non-C99-based standards] (ynl): Likewise.
35884         [non-C99-based standards] (isnanl): Likewise.
35885         [non-C99-based standards] (acoshl): Likewise.
35886         [non-C99-based standards] (asinhl): Likewise.
35887         [non-C99-based standards] (atanhl): Likewise.
35888         [non-C99-based standards] (cbrtl): Likewise.
35889         [non-C99-based standards] (expm1l): Likewise.
35890         [non-C99-based standards] (ilogbl): Likewise.
35891         [non-C99-based standards] (log1pl): Likewise.
35892         [non-C99-based standards] (logbl): Likewise.
35893         [non-C99-based standards] (nextafterl): Likewise.
35894         [non-C99-based standards] (remainderl): Likewise.
35895         [non-C99-based standards] (rintl): Likewise.
35896         [non-C99-based standards] (scalbl): Likewise.
35897         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35898         [non-C99-based standards] (FP_*): Do not allow.
35899         [C99-based standards] (FP_*): Change to
35900         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35901         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35902         allow.
35903         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35904         (SIG_ERR): Likewise.
35905         [X/Open-based standards] (SIG_HOLD): Likewise.
35906         (SIG_IGN): Likewise.
35907         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35908         positive value.
35909         (SIGFPE): Likewise.
35910         (SIGILL): Likewise.
35911         (SIGINT): Likewise.
35912         (SIGSEGV): Likewise.
35913         (SIGTER): Likewise.
35914         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35915         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35916         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35917         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35918         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35919         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35920         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35921         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35922         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35923         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35924         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35925         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35926         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35927         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35928         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35929         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35930         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35931         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35932         [X/Open-based standards] (SIGTRAP): Likewise.
35933         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35934         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35935         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35936         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35937         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35938         allow.
35939
35940 2012-05-08  Ian Wienand  <ianw@vmware.com>
35941
35942         [BZ #14080]
35943         * time/tzset.c (__tzset_parse_tz): Update default rules for
35944         daylight time changes in the Energy Policy Act of 2005.
35945
35946 2012-05-09  Andreas Jaeger  <aj@suse.de>
35947
35948         [BZ #13983]
35949         * elf/ldconfig.c (parse_conf): Change string to make clear that
35950         ldconfig only issued a warning if ld.so.conf does not exist.
35951
35952 2012-05-08  David S. Miller  <davem@davemloft.net>
35953
35954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35955         movxtod instead of popping the value on the stack.
35956
35957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35958
35959 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35960
35961         * config.h.in: Add HAVE_ARM_PCS_VFP.
35962
35963 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35964
35965         [BZ #13979]
35966         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35967         checking but the checks are disabled for any reason.
35968
35969 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35970
35971         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35972         and ELF64_R_TYPE with ELFW(R_TYPE).
35973
35974 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35975
35976         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35977         (ulimit): Likewise.
35978
35979         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35980         (settimeofday): Likewise.
35981
35982 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35983
35984         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35985         a struct th_u2 inside the union, and move tu_block/tu_code into
35986         a new th_u3 union of tu_block/tu_code inside of that.  Move
35987         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35988         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35989         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35990         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35991         (th_stuff): Change to th_u1.tu_stuff.
35992         (th_data): Define.
35993         (th_msg): Change to th_u1.th_u2.tu_data.
35994
35995 2012-05-07  David S. Miller  <davem@davemloft.net>
35996
35997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35998
35999         [BZ #14074]
36000         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36001         (SETUP_PIC_REG): Use it.
36002         (SETUP_PIC_REG_LEAF): Use it.
36003
36004 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36005
36006         [BZ #13885]
36007         [BZ #13923]
36008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36009         USE_AS_EXPM1L.
36010         (EXPL_FINITE): Likewise.
36011         (FLDLOG): Likewise.
36012         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36013         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36014         e_expl.S.
36015         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36016         USE_AS_EXPM1L.
36017         (EXPL_FINITE): Likewise.
36018         (FLDLOG): Likewise.
36019         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36020         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36021         e_expl.S.
36022         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36023         test of -max_value argument for long double.
36024         * sysdeps/i386/fpu/libm-test-ulps: Update.
36025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36026
36027 2012-05-06  David S. Miller  <davem@davemloft.net>
36028
36029         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36030         quad soft-float symbols whose references which are compiler
36031         generated.
36032         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36033
36034 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36035
36036         [BZ #13884]
36037         [BZ #13914]
36038         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36039         USE_AS_EXP10L.
36040         (EXPL_FINITE): Likewise.
36041         (FLDLOG): Likewise.
36042         (c0): Likewise.
36043         (c1): Likewise.
36044         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36045         Adjust comments for base varying.
36046         (__expl_finite): Change alias to EXPL_FINITE.
36047         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36048         e_expl.S.
36049         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36050         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36051         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36052         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36053         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36054         USE_AS_EXP10L.
36055         (EXPL_FINITE): Likewise.
36056         (FLDLOG): Likewise.
36057         (c0): Likewise.
36058         (c1): Likewise.
36059         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36060         Adjust comments for base varying.
36061         (__expl_finite): Change alias to EXPL_FINITE.
36062         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36063         tests for bugs.
36064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36065
36066         [BZ #14064]
36067         * math/libm-test.inc (check_float_internal): Correct ulp
36068         calculation for subnormal expected results.
36069
36070 2012-05-06  Andreas Jaeger  <aj@suse.de>
36071
36072         * Makeconfig (+math-flags): New, set to -frounding-math.
36073         (+cflags): Add +math-flags so that all of glibc gets compiled with
36074         it.
36075
36076         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36077
36078 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36079
36080         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36081         Disable one test.
36082
36083         [BZ #13787]
36084         [BZ #13922]
36085         [BZ #14036]
36086         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36087         (__ieee754_expl): Allow for and saturate large arguments.
36088         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36089         (u_threshold): Likewise.
36090         (__exp): Call __ieee754_exp before checking for overflow and
36091         underflow.
36092         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36093         (u_threshold): Likewise.
36094         (__expf): Call __ieee754_expf before checking for overflow and
36095         underflow.
36096         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36097         (u_threshold): Likewise.
36098         (__expl): Call __ieee754_expl before checking for overflow and
36099         underflow.
36100         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36101         (__ieee754_expl): Allow for and saturate large arguments.
36102         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36103         missing overflow exception on overflow.
36104         (expm1_test): Do not allow missing overflow exception on overflow.
36105
36106         * sysdeps/i386/fpu/e_expl.c: Move to ...
36107         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36108         rather than using inline asm.
36109         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36110         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36111         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36112
36113         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36114         (nice): Likewise.
36115         (poll): Likewise.
36116         (signal): Likewise.
36117         (time): Likewise.
36118         (times): Likewise.
36119
36120 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36121
36122         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36123         sysdeps/unix/common/syscalls.list.
36124         (fchmod): Likewise.
36125         (fchown): Likewise.
36126         (ftruncate): Likewise.
36127         (getrusage): Likewise.
36128         (gettimeofday): Likewise.
36129         (setpgid): Likewise.
36130         (setregid): Likewise.
36131         (setreuid): Likewise.
36132         (sigaction): Likewise.
36133         (truncate): Likewise.
36134         (vhangup): Likewise.
36135         * sysdeps/unix/common/syscalls.list: Remove file.
36136         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36137         * sysdeps/unix/sysv/linux/Implies: Likewise.
36138
36139 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36140
36141         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36143         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36144         Moved to ...
36145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36146         Here.
36147         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36148         to ...
36149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36150         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36151         to ...
36152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36153         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36154         to ...
36155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36156         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36157         to ...
36158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36159         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36160         to ...
36161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36162         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36163         to ...
36164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36165         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36166         to ...
36167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36168         Here.
36169         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36170         to ...
36171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36172         Here.
36173         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36174         to ...
36175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36176         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36177         Moved to ...
36178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36179         Here.
36180         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36181         to ...
36182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36183
36184 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36185
36186         * sysdeps/unix/common/bits/dirent.h: Remove file.
36187         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36188
36189         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36190         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36191         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36192         * sysdeps/unix/bsd/isatty.c: Likewise.
36193         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36194         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36195         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36196
36197 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36198
36199         [BZ #13563]
36200         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36201         long double comparison inaccuracies.
36202         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36204
36205 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36206
36207         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36208         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36209
36210 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36211
36212         [BZ #14049]
36213         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36214         nonzero digits before rounding a hex value.
36215         * stdlib/tst-strtod.c (tests): Add another test.
36216
36217 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36218
36219         * sysdeps/s390/fpu/libm-test-ulps: Update.
36220
36221 2012-05-03  Andreas Jaeger  <aj@suse.de>
36222
36223         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36224         does not get optimized out.
36225         (malloc_opt_barrier): New.
36226
36227 2012-05-03  Andreas Jaeger  <aj@suse.de>
36228             Roland McGrath  <roland@hack.frob.com>
36229
36230         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36231         intermediate file deletion.
36232         (generated): Add .symlist files.
36233
36234 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36235
36236         [BZ #13775]
36237         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36238         Redirect under this condition.
36239         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36240         [__USE_GNU] (__dprintf_chk): Not under this condition.
36241         [__USE_GNU] (__vdprintf_chk): Likewise.
36242         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36243         under this condition.
36244         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36245         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36246         [__USE_XOPEN2K8] (vdprintf): Likewise.
36247         [__USE_GNU] (__dprintf_chk): Not under this condition.
36248         [__USE_GNU] (__vdprintf_chk): Likewise.
36249         [__USE_GNU] (dprintf): Likewise.
36250         [__USE_GNU] (vdprintf): Likewise.
36251
36252 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36253
36254         * elf/Makefile (common-generated): Set this instead of generated for
36255         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36256         $(all-built-dso)-derived lists.
36257
36258 2012-05-03  Andreas Jaeger  <aj@suse.de>
36259
36260         * sysdeps/i386/fpu/libm-test-ulps: Update.
36261
36262         * FAQ: Removed.
36263         * FAQ.in: Likewise.
36264         * scripts/gen-FAQ.pl: Likewise.
36265         * manual/install.texi (Installation): Point to online location of
36266         FAQ.
36267         * Makefile (files-for-dist): Remove FAQ.
36268         (FAQ): Remove.
36269
36270 2012-05-02  Allan McRae  <allan@archlinux.org>
36271
36272         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36273         (LDFLAGS-reldepmod5.so): Likewise.
36274         (LDFLAGS-reldep6mod1.so): Likewise.
36275         (LDFLAGS-reldep6mod4.so): Likewise.
36276         (LDFLAGS-reldep8mod3.so): Likewise.
36277         (LDFLAGS-unload4mod1.so): Likewise.
36278         (LDFLAGS-unload4mod2.so): Likewise.
36279         (LDFLAGS-tst-initorder): Likewise.
36280         (LDFLAGS-tst-initordera2.so): Likewise.
36281         (LDFLAGS-tst-initordera3.so): Likewise.
36282         (LDFLAGS-tst-initordera4.so): Likewise.
36283         (LDFLAGS-tst-initorderb2.so): Likewise.
36284         (LDFLAGS-noload): Likewise.
36285         (LDFLAGS-next): Likewise.
36286         (LDFLAGS-order2mod1.so): Likewise.
36287         (LDFLAGS-order2mod2.so): Likewise.
36288         (LDFLAGS-tst-initorder2): Likewise.
36289         (LDFLAGS-tst-initorder2a.so): Likewise.
36290         (LDFLAGS-tst-initorder2b.so): Likewise.
36291         (LDFLAGS-tst-initorder2c.so): Likewise.
36292         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36293
36294 2012-05-02  David S. Miller  <davem@davemloft.net>
36295
36296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36297
36298 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36299
36300         [BZ #14055]
36301         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36302
36303 2012-05-02  Andreas Jaeger  <aj@suse.de>
36304
36305         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36306         since we manipulate rounding mode.
36307         (CPPFLAGS-test-idouble.c): Likewise.
36308         (CPPFLAGS-test-ifloat.c): Likewise.
36309         (CFLAGS-test-ldouble.c): Likewise.
36310         (CFLAGS-test-double.c): Likewise.
36311         (CFLAGS-test-float.c): Likewise.
36312         (CFLAGS-test-misc.c): Likewise.
36313         (CFLAGS-test-test-fenv.c): Likewise.
36314
36315 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36316
36317         [BZ #2550]
36318         [BZ #2570]
36319         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36320         comparisons to determine direction to adjust input.
36321
36322 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36323
36324         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36325         output to the target.
36326
36327         * scripts/localplt.awk: New file.
36328         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36329         (check-localplt-CFLAGS): Variable removed.
36330         ($(all-built-dso:=.jmprel)): New static pattern rule.
36331         (generated): Add those targets.
36332         (localplt-built-dso): New variable.
36333         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36334
36335         * elf/check-localplt.c: File removed.
36336
36337         * scripts/check-execstack.awk: New file.
36338         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36339         (check-execstack-CFLAGS): Variable removed.
36340         ($(objpfx)check-execstack.h): Target removed.
36341         ($(objpfx)execstack-default): New target.
36342         (generated): Add that instead of check-execstack.h.
36343         ($(all-built-dso:=.phdr)): New static pattern rule.
36344         (generated): Add those targets.
36345         * elf/check-execstack.c: File removed.
36346
36347         * scripts/check-textrel.awk: New file.
36348         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36349         (check-textrel-CFLAGS): Variable removed.
36350         (all-built-dso): Use := to define.o
36351         ($(all-built-dso:=.dyn)): New static pattern rule.
36352         (generated): Add those targets.
36353         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36354         * config.make.in (READELF): New substituted variable.
36355         * elf/check-textrel.c: File removed.
36356
36357 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36358
36359         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36360         allow.
36361         * conform/data/ctype.h-data [C99-based standards] (isblank):
36362         Expect function.
36363         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36364         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36365         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36366         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36367         Specify type.  Require positive value.
36368         (EILSEQ): Likewise.
36369         (ERANGE): Likewise.
36370         [ISO || POSIX] (EILSEQ): Do not expect.
36371         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36372         Specify type.  Require positive value.
36373         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36374         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36375         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36376         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36377         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36378         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36379         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36380         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36381         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36382         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36383         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36384         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36385         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36386         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36387         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36388         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36389         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36390         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36391         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36392         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36393         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36394         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36395         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36396         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36397         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36398         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36399         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36400         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36401         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36402         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36403         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36404         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36405         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36406         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36407         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36408         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36409         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36410         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36411         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36412         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36413         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36414         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36415         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36416         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36417         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36418         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36419         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36420         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36421         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36422         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36423         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36424         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36425         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36426         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36427         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36428         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36429         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36430         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36431         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36432         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36433         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36434         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36435         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36436         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36437         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36438         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36439         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36440         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36441         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36442         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36443         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36444         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36445         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36446         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36447         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36448         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36449         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36450         Require >= 2.
36451         (FLT_ROUNDS): Expect as macro, not constant.
36452         (FLT_MANT_DIG): Use macro-int-constant.
36453         (DBL_MANT_DIG): Likewise.
36454         (LDBL_MANT_DIG): Likewise.
36455         (FLT_DIG): Likewise.
36456         (DBL_DIG): Likewise.
36457         (LDBL_DIG): Likewise.
36458         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36459         (DBL_MIN_EXP): Likewise.
36460         (LDBL_MIN_EXP): Likewise.
36461         (FLT_MAX_EXP): Use macro-int-constant.
36462         (DBL_MAX_EXP): Likewise.
36463         (LDBL_MAX_EXP): Likewise.
36464         (FLT_MAX_10_EXP): Likewise.
36465         (DBL_MAX_10_EXP): Likewise.
36466         (LDBL_MAX_10_EXP): Likewise.
36467         (FLT_MAX): Use macro-constant.
36468         (DBL_MAX): Likewise.
36469         (LDBL_MAX): Likewise.
36470         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36471         (DBL_EPSILON): Likewise.
36472         (LDBL_EPSILON): Likewise.
36473         (FLT_MIN): Likewise.
36474         (DBL_MIN): Likewise.
36475         (LDBL_MIN): Likewise.
36476         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36477         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36478         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36479         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36480         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36481         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36482         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36483         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36484         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36485         [ISO11] (FLT_TRUE_MIN): Likewise.
36486         [ISO11] (LDBL_TRUE_MIN): Likewise.
36487         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36488         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36489         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36490         (SCHAR_MAX): Likewise.
36491         (UCHAR_MAX): Likewise.
36492         (CHAR_MIN): Likewise.
36493         (CHAR_MAX): Likewise.
36494         (MB_LEN_MAX): Use macro-int-constant.
36495         (SHRT_MIN): Use macro-int-constant.  Specify type.
36496         (SHRT_MAX): Likewise.
36497         (USHRT_MAX): Likewise.
36498         (INT_MAX): Likewise.
36499         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36500         bound negative.
36501         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36502         bound with "U".
36503         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36504         bound with "L".
36505         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36506         bound negative.  Suffix upper bound with "L".
36507         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36508         bound with "UL".
36509         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36510         Specify type.
36511         [C99-based standards] (LLONG_MAX): Likewise.
36512         [C99-based standards] (ULLONG_MAX): Likewise.
36513         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36514         == 0.
36515         [ISO11] (max_align_t): Require type.
36516         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36517
36518         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36519         from $CFLAGS, without defining away __attribute__ calls.
36520         (checknamespace): Use $CFLAGS_namespace.
36521
36522         * conform/conformtest.pl (@keywords): Only include C99 keywords
36523         for standards based on C99 or C11.
36524
36525         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36526         Disable tests.
36527         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36528         UNIX98]: Likewise.
36529
36530         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36531         usability of symbols in #if.
36532
36533         * conform/conformtest.pl: If macro or constant types start
36534         "promoted:", expect the symbol to be of the following type
36535         promoted by the integer promotions.
36536
36537         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36538         in one place.  Also handle "macro-constant".
36539
36540         * conform/conformtest.pl: Only accept expected macro values with
36541         "==".  Parse all "macro" lines in one place.
36542         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36543
36544         * conform/conformtest.pl: Handle braced types on "constant" lines
36545         instead of handling "typed-constant".
36546         * conform/data/signal.h-data: Use "constant" instead of
36547         "typed-constant".
36548
36549         * conform/conformtest.pl: Handle "optional-" at start of lines in
36550         one place rather than duplicating several cases.  Handle each
36551         format of "macro" line with initial "optional-".
36552
36553         * conform/conformtest.pl: Only accept expected constant or
36554         optional-constant values with "==".  Parse all "constant" lines in
36555         one place.  Parse all "optional-constant" lines in one place.
36556         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36557         * conform/data/fmtmsg.h-data: Likewise.
36558         * conform/data/netinet/in.h-data: Likewise.
36559         * conform/data/tar.h-data: Likewise.
36560         * conform/data/limits.h-data: Use "==" form on "constant" and
36561         "optional-constant" lines.
36562
36563         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36564         Use -std=c99 for XOPEN2K.
36565         (@knownproblems): Remove.
36566         (newtoken): Don't check %isknown.
36567
36568         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36569         Do not expect macro.
36570         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36571         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36572         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36573         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36574         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36575         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36576         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36577         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36578         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36579         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36580         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36581         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36582         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36583         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36584         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36585         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36586         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36587         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36588         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36589         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36590         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36591         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36592         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36593         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36594         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36595         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36596         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36597         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36598         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36599         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36600         [XPG3] (acosh): Likewise.
36601         [XPG3] (asinh): Likewise.
36602         [XPG3] (atanh): Likewise.
36603         [XPG3] (cbrt): Likewise.
36604         [XPG3] (expm1): Likewise.
36605         [XPG3] (ilogb): Likewise.
36606         [XPG3] (log1p): Likewise.
36607         [XPG3] (logb): Likewise.
36608         [XPG3] (nextafter): Likewise.
36609         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36610         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36611         [XPG3] (remainder): Likewise.
36612         [XPG3] (rint): Likewise.
36613         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36614         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36615         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36616         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36617         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36618         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36619         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36620         [UNIX98 || XOPEN2K] (scalb): Expect.
36621         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36622         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36623         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36624         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36625         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36626         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36627         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36628         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36629         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36630         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36631         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36632         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36633         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36634         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36635         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36636         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36637         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36638         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36639         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36640         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36641         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36642         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36643         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36644         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36645         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36646         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36647         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36648         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36649         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36650         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36651         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36652         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36653         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36654         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36655         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36656         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36657         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36658         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36659         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36660         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36661         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36662         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36663         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36664         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36665         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36666         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36667         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36668         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36669         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36670         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36671         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36672         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36673         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36674         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36675         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36676         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36677         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36678         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36679         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36680         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36681         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36682         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36683         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36684         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36685         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36686         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36687         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36688         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36689         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36690         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36691         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36692         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36693         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36694         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36695         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36696         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36697         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36698         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36699         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36700         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36701         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36702         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36703         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36704         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36705         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36706         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36707         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36708         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36709         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36710         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36711         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36712         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36713         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36714         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36715         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36716         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36717         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36718         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36719         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36720         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36721         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36722         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36723         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36724         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36725         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36726         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36727         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36728         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36729         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36730         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36731         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36732         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36733         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36734         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36735         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36736         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36737         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36738         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36739         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36740         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36741         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36742         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36743         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36744         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36745         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36746         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36747         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36748         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36749         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36750         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36751         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36752         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36753         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36754         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36755         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36756         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36757         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36758
36759         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36760         _XOPEN_SOURCE_EXTENDED for XPG4.
36761
36762         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36763
36764         * Makeconfig (localtime): Remove variable.
36765         (inst_localtime-file): Likewise.
36766
36767 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36768
36769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36770         Update.
36771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36772         Update.
36773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36774         Update.
36775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36776         Update.
36777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36778         Update.
36779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36780         Update.
36781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36782         Update.
36783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36784         Update.
36785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36786         Update.
36787
36788 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36789
36790         [BZ #2550]
36791         [BZ #2570]
36792         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36793         comparisons to determine direction to adjust input.
36794         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36795         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36796         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36797         Likewise.
36798         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36799         Likewise.
36800         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36801         Likewise.
36802         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36803         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36804         Likewise.
36805         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36806         Likewise.
36807         * math/libm-test.inc (nexttoward_test): Add more tests.
36808
36809 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36810
36811         [BZ #14040]
36812         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36813         in version GLIBC_2.1, not GLIBC_2.0.
36814         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36815         Likewise.
36816
36817 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36818
36819         [BZ #13942]
36820         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36821         (1 - x) * (1 + x).
36822         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36823         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36824         * math/libm-test.inc (acos_test): Add more tests.
36825         (asin_test): Likewise.
36826         * sysdeps/i386/fpu/libm-test-ulps: Update.
36827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36828
36829         [BZ #14034]
36830         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36831         of square root.
36832         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36833         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36834         * math/libm-test.inc (acos_test_tonearest): New function.
36835         (acos_test_towardzero): Likewise.
36836         (acos_test_downward): Likewise.
36837         (acos_test_upward): Likewise.
36838         (asin_test_tonearest): Likewise.
36839         (asin_test_towardzero): Likewise.
36840         (asin_test_downward): Likewise.
36841         (asin_test_upward): Likewise.
36842         (main): Call the new functions.
36843         * sysdeps/i386/fpu/libm-test-ulps: Update.
36844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36845
36846         [BZ #13884]
36847         [BZ #13924]
36848         * math/e_exp10.c: Include <float.h>.
36849         (__ieee754_exp10): Handle underflow here rather than multiplying
36850         large negative argument by M_LN10.
36851         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36852         of __ieee754_expf.
36853         * math/e_exp10l.c: Include <float.h>.
36854         (__ieee754_exp10l): Handle underflow here rather than multiplying
36855         large negative argument by M_LN10l.
36856         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36857         spurious overflow exception on underflow.
36858
36859 2012-04-29  Marek Polacek  <polacek@redhat.com>
36860
36861         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36862         (__fortify_function): New macro.
36863         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36864         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36865         __extern_always_inline.
36866         * libio/bits/stdio2.h: Likewise.
36867         * libio/bits/stdio.h: Likewise.
36868         * string/string.h: Likewise.
36869         * string/bits/string3.h: Likewise.
36870         * include/stdio.h: Likewise.
36871         * stdlib/bits/stdlib.h: Likewise.
36872         * stdlib/stdlib.h: Likewise.
36873         * rt/bits/mqueue2.h: Likewise.
36874         * rt/mqueue.h: Likewise.
36875         * posix/bits/unistd.h: Likewise.
36876         * posix/unistd.h: Likewise.
36877         * io/bits/poll2.h: Likewise.
36878         * io/bits/fcntl2.h: Likewise.
36879         * io/fcntl.h: Likewise.
36880         * io/sys/poll.h: Likewise.
36881         * misc/bits/syslog.h: Likewise.
36882         * misc/bits/syslog-ldbl.h: Likewise.
36883         * misc/sys/syslog.h: Likewise.
36884         * socket/bits/socket2.h: Likewise.
36885         * socket/sys/socket.h: Likewise.
36886         * debug/tst-chk1.c: Likewise.
36887         * wcsmbs/bits/wchar2.h: Likewise.
36888         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36889         * wcsmbs/wchar.h: Likewise.
36890
36891 2012-04-29  Andreas Jaeger  <aj@suse.de>
36892
36893         * Makerules (tests): Remove enable-check-abi protection.
36894         (check-abi-warn): Remove.
36895         (check-abi-%): Remove check-abi-warn usage.
36896
36897         * configure.in: Remove check-abi configure option.
36898         * configure: Regenerated.
36899         * config.make.in (enable-check-abi): Remove.
36900
36901 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36902
36903         [BZ #14033]
36904         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36905         double functions to double *_finite functions.
36906
36907         [BZ #13941]
36908         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36909         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36910         LDBL_MIN_EXP.
36911         * stdio-common/Makefile (tests): Add tst-sprintf3.
36912         * stdio-common/tst-sprintf3.c: New file.
36913
36914         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36915         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36916
36917 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36918
36919         * conform/conformtest.pl: Remove duplicate typed-constant
36920         handling.
36921
36922 2012-04-28  David S. Miller  <davem@davemloft.net>
36923
36924         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36925         (check-abi-%): Remove AWK script prerequisite and explicit
36926         abilist directory.
36927         (check-abi): Rewrite to just diff the symlist with the abilist.
36928         (config-tls, config-abi-config): Delete, no longer used.
36929         (update-abi-%): Remove AWK script and explicit abilist directory.
36930         (update-abi): Rewrite to simply compare and conditionally copy the
36931         symlist and the sysdep abilist file.  Remove update-abi-config
36932         checks.
36933         * abilist/ld.abilist: Remove.
36934         * abilist/libBrokenLocale.abilist: Remove.
36935         * abilist/libanl.abilist: Remove.
36936         * abilist/libcrypt.abilist: Remove.
36937         * abilist/libdl.abilist: Remove.
36938         * abilist/librt.abilist: Remove.
36939         * abilist/libthread_db.abilist: Remove.
36940         * abilist/libutil.abilist: Remove.
36941         * scripts/extract-abilist.awk: Remove.
36942         * scripts/merge-abilist.awk: Remove.
36943         * sysdeps/generic/libcidn.abilist: New file.
36944         * sysdeps/generic/libnss_compat.abilist: New file.
36945         * sysdeps/generic/libnss_db.abilist: New file.
36946         * sysdeps/generic/libnss_dns.abilist: New file.
36947         * sysdeps/generic/libnss_files.abilist: New file.
36948         * sysdeps/generic/libnss_hesiod.abilist: New file.
36949         * sysdeps/generic/libnss_nis.abilist: New file.
36950         * sysdeps/generic/libnss_nisplus.abilist: New file.
36951         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36952         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36953         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36954         file.
36955         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36956         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36957         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36958         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36959         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36960         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36961         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36962         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36963         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36964         file.
36965         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36966         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36967         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36968         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36969         file.
36970         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36971         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36972         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36973         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36974         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36975         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36976         file.
36977         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36978         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36979         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36980         file.
36981         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36982         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36983         New file.
36984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36985         New file.
36986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36987         New file.
36988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36989         New file.
36990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36991         New file.
36992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36993         New file.
36994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36995         New file.
36996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36997         New file.
36998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36999         New file.
37000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37001         New file.
37002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37003         New file.
37004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37005         New file.
37006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37007         New file.
37008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37009         file.
37010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37011         New file.
37012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37013         New file.
37014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37015         file.
37016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37017         New file.
37018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37019         New file.
37020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37021         file.
37022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37023         New file.
37024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37025         New file.
37026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37027         New file.
37028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37029         New file.
37030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37031         New file.
37032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37033         New file.
37034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37036         file.
37037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37038         New file.
37039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37040         file.
37041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37042         file.
37043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37044         file.
37045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37046         file.
37047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37048         file.
37049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37050         New file.
37051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37052         file.
37053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37054         file.
37055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37056         New file.
37057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37058         file.
37059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37061         file.
37062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37063         New file.
37064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37065         file.
37066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37067         file.
37068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37069         file.
37070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37071         file.
37072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37073         file.
37074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37075         New file.
37076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37077         file.
37078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37079         file.
37080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37081         New file.
37082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37083         file.
37084         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37085         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37086         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37087         file.
37088         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37089         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37090         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37091         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37092         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37093         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37094         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37095         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37096         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37097         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37100         file.
37101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37102         New file.
37103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37104         file.
37105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37106         file.
37107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37108         file.
37109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37110         file.
37111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37112         file.
37113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37114         New file.
37115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37116         New file.
37117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37118         file.
37119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37120         New file.
37121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37122         file.
37123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37125         file.
37126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37127         New file.
37128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37129         file.
37130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37131         file.
37132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37133         file.
37134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37135         file.
37136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37137         file.
37138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37139         New file.
37140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37141         New file.
37142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37143         file.
37144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37145         New file.
37146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37147         file.
37148
37149 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37150
37151         * conform/conformtest.pl: Fix typo in handling typed-constant from
37152         allow-header.
37153
37154 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37155
37156         * README: Cut down references to pre-2.6 Linux kernels and
37157         Linuxthreads.  Update lists of configurations in libc and ports
37158         and sort alphabetically.  Say "or newer" with Linux kernel version
37159         requirements.
37160
37161         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37162
37163 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37164
37165         [BZ #887]
37166         * math/libm-test.inc (logb_test_downward): New test to expose
37167         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37168         rounding mode.
37169
37170 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37171
37172         [BZ #14027]
37173         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37174         to be done.
37175         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37176         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37177
37178 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37179
37180         * sysdeps/unix/i386/brk.S: Remove file.
37181         * sysdeps/unix/i386/dl-brk.S: Likewise.
37182         * sysdeps/unix/i386/pipe.S: Likewise.
37183         * sysdeps/unix/i386/sigreturn.S: Likewise.
37184         * sysdeps/unix/i386/syscall.S: Likewise.
37185         * sysdeps/unix/i386/vfork.S: Likewise.
37186         * sysdeps/unix/i386/wait.S: Likewise.
37187
37188         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37189         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37190
37191         * configure.in (arm*-none*): Do not allow without
37192         --enable-hacker-mode.
37193         (netbsd*): Remove case setting base_os.
37194         (386bsd*): Likewise.
37195         (freebsd*): Likewise.
37196         (bsdi*): Likewise.
37197         (osf*): Likewise.
37198         (sunos*): Likewise.
37199         (ultrix*): Likewise.
37200         (newsos*): Likewise.
37201         (dynix*): Likewise.
37202         (*bsd*): Likewise.
37203         (sysv*): Likewise.
37204         (isc*): Likewise.
37205         (esix*): Likewise.
37206         (sco*): Likewise.
37207         (minix*): Likewise.
37208         (irix4*): Likewise.
37209         (irix6*): Likewise.
37210         (solaris[2-9]*): Likewise.
37211         (none): Likewise.
37212         * configure: Regenerated.
37213
37214 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37215
37216         [BZ #11521]
37217         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37218         overflow or cancellation in calculating denominator.
37219         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37220         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37221         down expression to avoid unexpected rounding in newer GCCs.
37222         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37223
37224 2012-04-26  David S. Miller  <davem@davemloft.net>
37225
37226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37227         long-double compat symbols.
37228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37241
37242 2012-04-25  David S. Miller  <davem@davemloft.net>
37243
37244         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37245         HWCAP_* values only after the memory barriers have been defined.
37246         (atomic_full_barrier): Define.
37247         (atomic_read_barrier): Define.
37248         (atomic_write_barrier): Define.
37249
37250 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37251
37252         * shlib-versions: Add libgcc_s version information.
37253         * sysdeps/generic/libgcc_s.h: Remove.
37254         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37255         libgcc_s.h.
37256         * sysdeps/gnu/unwind-resume.c: Likewise.
37257         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37258
37259 2012-04-25  David S. Miller  <davem@davemloft.net>
37260
37261         * sysdeps/unix/sparc/brk.S: Delete.
37262         * sysdeps/unix/sparc/dl-brk.S: Delete.
37263         * sysdeps/unix/sparc/pipe.S: Delete.
37264         * sysdeps/unix/sparc/sysdep.S: Delete.
37265         * sysdeps/unix/sparc/sysdep.h: Delete.
37266         * sysdeps/unix/sparc/vfork.S: Delete.
37267         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37268         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37269         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37270         (ret_ERRVAL, r0, r1, MOVE): Define.
37271         (JUMPTARGET): Remove.
37272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37273         sysdeps/unix/sparc/sysdep.h
37274         (ENTRY, END): Remove.
37275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37276
37277 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37278
37279         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37280         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37281         -DIS_IN_build.
37282
37283         * timezone/README: Update upstream location and email address for
37284         tzcode and tzdata.
37285         * timezone/zdump.c: Update from tzcode 2012b.
37286         * timezone/zic.c: Likewise.
37287
37288         * configure.in (libc_cv_as_needed): Remove test.
37289         * configure: Regenerated.
37290         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37291         conditional definition.
37292         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37293         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37294         * config.make.in (have-as-needed): Remove variable.
37295
37296 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37297             Paul Pluzhnikov  <ppluzhnikov@google.com>
37298
37299         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37300         strings correctly.
37301
37302 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37303
37304         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37305         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37306         * sysdeps/sh/strlen.S: Likewise.
37307
37308 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37309
37310         * sysdeps/unix/fork.S: Remove file.
37311         * sysdeps/unix/i386/fork.S: Likewise.
37312         * sysdeps/unix/sparc/fork.S: Likewise.
37313
37314         * sysdeps/unix/system.c: Remove file.
37315         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37316
37317         * sysdeps/unix/getegid.S: Remove file.
37318         * sysdeps/unix/geteuid.S: Likewise.
37319
37320 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37321
37322         * scripts/check-localplt.awk: New file.
37323         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37324         of diff.
37325         * scripts/data/localplt-generic.data: Add a comment.
37326
37327         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37328         NODE when __dir_mkfile failed.
37329         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37330         Reported by Ludovic Courtès <ludo@gnu.org>.
37331
37332 2012-04-24  Andreas Jaeger  <aj@suse.de>
37333
37334         * Makerules (common-clean): Also remove gen-as-const-headers
37335         files.
37336
37337 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37338
37339         * Makerules (native-compile): Do not change working directory for
37340         build.  Use $(OUTPUT_OPTION) in command.
37341         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37342
37343 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37344
37345         [BZ #13886]
37346         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37347         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37348         * math/libm-test.inc (floor_test): Add more tests.
37349         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37350
37351 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37352
37353         * sysdeps/unix/getdents.c: Remove file.
37354         * sysdeps/unix/sysv/getdents.c: Likewise.
37355         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37356
37357         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37358         sysdeps/unix/mman/syscalls.list.
37359         (mmap): Likewise.
37360         (mprotect): Likewise.
37361         (msync): Likewise.
37362         (munmap): Likewise.
37363         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37364         * sysdeps/unix/mman/syscalls.list: Remove.
37365         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37366
37367         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37368         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37369         * configure: Regenerated.
37370         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37371         $(libgcc_s_suffix).
37372         * config.make.in (libgcc_s_suffix): Remove variable.
37373
37374 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37375
37376         * sysdeps/unix/sysv/gethostname.c: Move to ...
37377         * sysdeps/posix/gethostname.c: ... here.
37378
37379         * sysdeps/unix/execve.S: Remove file.
37380
37381         * sysdeps/unix/_exit.S: Remove file.
37382
37383 2012-04-23  Andreas Jaeger  <aj@suse.de>
37384
37385         [BZ #13739]
37386         * manual/Makefile: Remove make dist support, there's no
37387         need for a stand-alone documentation tar ball.
37388         (TEXI2DVI): Define always, it's not in Makeconfig.
37389         (dist): Removed.
37390         (tar-it): Removed.
37391         (edition): Removed.
37392         (glibc-doc-$(edition).tar): Removed
37393         (%.Z): Removed.
37394         (%.gz): Removed.
37395         (%.uu): Removed.
37396         (ETAGS): Remove, it's in Makeconfig.
37397         (move-if-change): Remove, it's in Makeconfig.
37398
37399 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37400
37401         [BZ #13970]
37402         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37403         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37404         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37405         (strtod_l, strtof_l, strtold_l): Remove __wur.
37406         It is not necessarily an error to ignore strtol's return value.
37407         One can reliably look at the stored endptr to decide whether
37408         the number had valid syntax.
37409
37410 2012-04-21  Andreas Jaeger  <aj@suse.de>
37411
37412         [BZ #13739]
37413         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37414
37415 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37416
37417         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37418         * sysdeps/unix/sysv/Versions: Remove file.
37419
37420 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37421
37422         [BZ #13927]
37423         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37424
37425 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37426
37427         [BZ #7064]
37428         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37429         version from __vm86.
37430
37431 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37432
37433         * sysdeps/unix/common/lxstat.c: Remove file.
37434         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37435
37436         * sysdeps/unix/sysv/Makefile: Remove file.
37437
37438         * sysdeps/unix/sysv/direct.h: Remove file.
37439
37440         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37441         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37442         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37443         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37444         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37445         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37446         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37447
37448         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37449
37450         * sysdeps/unix/xmknod.c: Remove file.
37451         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37452
37453         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37454
37455         * sysdeps/unix/sysv/i386/time.S: Remove file.
37456
37457         * sysdeps/unix/fxstat.c: Remove file.
37458         * sysdeps/unix/xstat.c: Likewise.
37459         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37460
37461         * sysdeps/unix/sysv/sigaction.c: Remove file.
37462
37463         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37464         (sysdep_headers): Remove variable.
37465         [termio.h not in sysdep_headers] (generated): Likewise.
37466         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37467         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37468         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37469         * sysdeps/unix/sysv/tcflow.c: Likewise.
37470         * sysdeps/unix/sysv/tcflush.c: Likewise.
37471         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37472         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37473         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37474         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37475         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37476
37477         * sysdeps/unix/siglist.c: Remove file.
37478
37479         * sysdeps/unix/getppid.S: Remove file.
37480
37481         * sysdeps/unix/mkdir.c: Remove file.
37482         * sysdeps/unix/rmdir.c: Likewise.
37483
37484 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37485
37486         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37487         ERR_MAX value.
37488         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37489         errlist-compat value.
37490
37491 2012-04-18  David S. Miller  <davem@davemloft.net>
37492
37493         * sysdeps/generic/memcopy.h (reg_char): Delete.
37494         * debug/strcat_chk.c: Use char, not reg_char.
37495         * debug/strcpy_chk.c: Likewise.
37496         * debug/strncat_chk.c: Likewise.
37497         * debug/strncpy_chk.c: Likewise.
37498         * string/memchr.c: Likewise.
37499         * string/memrchr.c: Likewise.
37500         * string/rawmemchr.c: Likewise.
37501         * string/strcat.c: Likewise.
37502         * string/strchr.c: Likewise.
37503         * string/strchrnul.c: Likewise.
37504         * string/strcmp.c: Likewise.
37505         * string/strcpy.c: Likewise.
37506         * string/strncat.c: Likewise.
37507         * string/strncmp.c: Likewise.
37508         * string/strncpy.c: Likewise.
37509
37510 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37511
37512         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37513         __builtin_memcopy is called when src and dest ranges are known to not
37514         overlap.
37515
37516 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37517
37518         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37519         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37520         fwd_align_merge macro call.
37521         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37522         bwd_align_merge macro call.
37523         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37524
37525 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37526
37527         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37528         bwd_align_merge macros.
37529         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37530         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37531         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37532
37533 2012-04-18  David S. Miller  <davem@davemloft.net>
37534
37535         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37536
37537 2012-04-18  Andreas Jaeger  <aj@suse.de>
37538
37539         [BZ# 6794]
37540         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37541         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37542         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37543
37544         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37545         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37546         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37547
37548         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37549         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37550         Adjust for changed ldbl-128 files.
37551
37552         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37553         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37554         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37555
37556 2012-04-17  David S. Miller  <davem@davemloft.net>
37557
37558         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37559
37560 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37561
37562         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37563         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37564         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37565         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37566         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37567         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37568
37569 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37570
37571         [BZ #6794]
37572         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37573         * math/libm-test.inc: Add ilogb errno and exception tests.
37574         * math/w_ilogb.c: New file: ilogb wrapper.
37575         * math/w_ilogbf.c: New file: ilogbf wrapper.
37576         * math/w_ilogbl.c: New file: ilogbl wrapper.
37577         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37578         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37579         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37580         exception being thrown with 0.0 as argument.
37581         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37582         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37583         exception being thrown with 0.0 as argument.
37584         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37585         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37586         exception being thrown with 0.0 as argument.
37587         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37588         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37589         exception being thrown with 0.0 as argument.
37590         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37591         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37592         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37593         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37594         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37595         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37596         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37597         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37598         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37599
37600 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37601
37602         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37603         with altivec.
37604
37605 2012-04-16  Marek Polacek  <polacek@redhat.com>
37606
37607         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37608
37609 2012-04-16  Marek Polacek  <polacek@redhat.com>
37610
37611         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37612         operands of fdivp instruction.
37613
37614 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37615
37616         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37617         * elf/tst-auditmod3b.c: Likewise.
37618         * elf/tst-auditmod4b.c: Likewise.
37619         * elf/tst-auditmod5b.c: Likewise.
37620         * elf/tst-auditmod6b.c: Likewise.
37621         * elf/tst-auditmod6c.c: Likewise.
37622         * elf/tst-auditmod7b.c: Likewise.
37623         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37624         * sysdeps/x86_64/preconfigure.in: Likewise.
37625         * sysdeps/x86_64/preconfigure: Regenerated.
37626
37627 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37628
37629         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37630         __ILP32__.
37631
37632 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37633
37634         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37635         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37636
37637 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37638
37639         [BZ #13973]
37640         * locale/iso-639.def: Fix gl language name. Spotted by
37641         Yaron Shahrabani.
37642
37643 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37644
37645         [BZ #2074]
37646         * libio/libio.h (__io_write_fn): Update comment.
37647
37648 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37649
37650         [BZ #2074]
37651         * stdio.texi (Hook Functions): The user provided writer function
37652         is not allowed to return -1.
37653
37654 2012-04-11  David S. Miller  <davem@davemloft.net>
37655
37656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37657
37658 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37659
37660         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37661         Add a leading slash to rtkaio.
37662
37663 2012-04-11  Jim Meyering  <meyering@redhat.com>
37664
37665         [BZ #11959]
37666         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37667         It is not necessarily an error to ignore fwrite's return
37668         value.  One can reliably use ferror to test for errors after
37669         the fact.
37670
37671 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37672
37673         * bits/types.h (__snseconds_t): New type.
37674         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37675
37676         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37677         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37678         (__SNSECONDS_T_TYPE): Likewise.
37679         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37680         (__SNSECONDS_T_TYPE): Likewise.
37681         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37682         (__SNSECONDS_T_TYPE): Likewise.
37683
37684 2012-04-10  Andreas Jaeger  <aj@suse.de>
37685
37686         [BZ #2636]
37687         * manual/time.texi (Processor Time): Return type of times is
37688         elapsed real time since an arbitrary point in the past.
37689         (CPU Time): Move CLK_TCK from here...
37690         (Processor Time): ...to here.  Correct description.
37691         * manual/conf.texi (Constants for Sysconf): Correct description of
37692         _SC_CLK_TCK.
37693
37694 2012-04-10  David S. Miller  <davem@davemloft.net>
37695
37696         [BZ #13967]
37697         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37698         where the is a gap between DT_REL(A) and DT_JMPREL.
37699
37700 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37701
37702         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37703         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37704         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37705
37706 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37707
37708         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37709         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37710         (dl_main): Handle --inhibit-cache.
37711         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37712         _dl_inhibit_cache.
37713         * elf/dl-load.c (_dl_map_object): Use it.
37714         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37715
37716 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37717
37718         [BZ #13872]
37719         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37720         (__ieee754_powl): Saturate large exponents rather than testing for
37721         overflow of y*log2(x).
37722         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37723         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37724         exceptions.
37725
37726         [BZ #11521]
37727         * math/s_ctan.c: Include <float.h>.
37728         (__ctan): Avoid internal overflow or cancellation in calculating
37729         denominator.
37730         * math/s_ctanf.c: Likewise.
37731         * math/s_ctanl.c: Likewise.
37732         * math/s_ctanh.c: Likewise.
37733         * math/s_ctanhf.c: Likewise.
37734         * math/s_ctanhl.c: Likewise.
37735         * math/libm-test.inc (ctan_test): Add more tests.
37736         (ctanh_test): Likewise.
37737         * sysdeps/i386/fpu/libm-test-ulps: Update.
37738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37739
37740 2012-04-09  Andreas Jaeger  <aj@suse.de>
37741
37742         [BZ #6894]
37743         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37744         is an optional BSD extension.
37745
37746         [BZ #10254]
37747         * manual/stdio.texi (Opening Streams): Document additional fopen
37748         parameters.
37749
37750 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37751
37752         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37753         %eax without telling the compiler.
37754
37755 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37756
37757         [BZ # 13963]
37758         * manual/install.texi: Use sourceware.org.
37759
37760 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37761
37762         [BZ #13873]
37763         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37764         (__ieee754_pow): Generate overflow and underflow using huge*huge
37765         and tiny*tiny rather than just returning constant infinity or zero
37766         for large exponents.
37767         * math/libm-test.inc (pow_test): Require overflow exceptions for
37768         applicable cases of large exponents.
37769
37770         [BZ #706]
37771         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37772         (__ieee754_pow): Use iterative multiplication algorithm only for
37773         integer exponents with absolute value below 1024.  Check for odd
37774         integer exponents when using algorithm for real exponents.
37775         * math/libm-test.inc (pow_test): Add more tests.
37776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37777
37778 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37779
37780         [BZ #13705]
37781         * math/libm-test.inc (exp_test): Do not allow overflow exception
37782         on underflow test.
37783
37784 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37785
37786         [BZ #13705]
37787         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37788         instead of __kernel_standard_f.
37789
37790 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37791
37792         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37793         * sysdeps/x86_64/memset_chk.S: Likewise.
37794
37795 2012-04-08  Andreas Jaeger  <aj@suse.de>
37796
37797         [BZ #10153]
37798         * manual/startup.texi (Environment Access): Describe return value
37799         for putenv and setenv.
37800
37801         [BZ #6895]
37802         * manual/filesys.texi (Directory Entries): Add description for
37803         DT_LNK.
37804
37805         [BZ #6890]
37806         * manual/filesys.texi (Directory Entries): Clarify that it's file
37807         system not operating system in the description of DT_UNKNOWN.
37808
37809         [BZ #6578]
37810         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37811
37812 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37813
37814         [BZ #6649]
37815         * manual/llio.texi (Opening and Closing Files): Add cross
37816         reference to explain mode argument.
37817
37818 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37819
37820         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37821         * sysdeps/x86_64/memset_chk.S: Likewise.
37822
37823 2012-04-07  David S. Miller  <davem@davemloft.net>
37824
37825         * elf/elf.h (R_SPARC_WDISP10): Define.
37826         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37827         R_SPARC_SIZE32.
37828         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37829         R_SPARC_SIZE64 and R_SPARC_H34.
37830
37831 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37832
37833         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37834         conditions and remove no longer applicable assertion.
37835
37836 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37837
37838         * bits/byteswap.h: Include <features.h>.
37839         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37840         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37841
37842 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37843
37844         * bits/byteswap.h (__bswap_16): Removed.
37845         Include <bits/byteswap-16.h> to get __bswap_16.
37846         * sysdeps/i386/bits/byteswap.h: Likewise.
37847         * sysdeps/s390/bits/byteswap.h: Likewise.
37848         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37849         * bits/byteswap-16.h: New file.
37850         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37851         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37852         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37853         * string/Makefile (headers): Add bits/byteswap-16.h.
37854
37855 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37856
37857         [BZ #13895]
37858         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37859         extra indirection.
37860         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37861         * nss/tst-nss-static.c: New.
37862
37863 2012-04-06  Robert Millan  <rmh@gnu.org>
37864
37865         [BZ #6486]
37866         * manual/llio.texi (File Position Primitive): lseek
37867         refers to WHENCE when it really means OFFSET.
37868
37869 2012-04-06  Andreas Jaeger  <aj@suse.de>
37870
37871         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37872         strncmp declarations.
37873
37874         * abilist/libc.abilist: Add __poll and __ppoll.
37875
37876 2012-04-05  David S. Miller  <davem@davemloft.net>
37877
37878         * scripts/check-local-headers.sh: Accept a host triplet in the
37879         path matched by the exclude regexp.
37880
37881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37882         definition.
37883         * sysdeps/powerpc/powerpc32/dl-machine.h
37884         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37885         * sysdeps/s390/s390-32/dl-machine.h
37886         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37887         * sysdeps/sparc/sparc32/dl-machine.h
37888         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37889         * sysdeps/sparc/sparc64/dl-machine.h
37890         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37891
37892         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37893         lazy binding.
37894         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37895         undefined symbol errors.
37896
37897         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37898         DT_NEEDED entries.
37899
37900 2012-04-05  Michael Matz  <matz@suse.de>
37901
37902         [BZ #13592]
37903         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37904
37905 2012-04-05  Andreas Jaeger  <aj@suse.de>
37906
37907         [BZ #13908]
37908         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37909         comment.
37910
37911 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37912
37913         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37914         which ROUND is no valid rounding mode.
37915
37916 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37917
37918         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37919         read again.
37920         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37921
37922 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37923
37924         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37925         an exception using FPU order intentionally.
37926
37927 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37928
37929         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37930         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37931         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37932         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37933
37934 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37935
37936         [BZ #12340]
37937         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37938         EINVAL when BUFLEN is too smal.
37939
37940 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37941
37942         [BZ #13553]
37943         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37944         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37945
37946 2012-04-03  Andreas Jaeger  <aj@suse.de>
37947
37948         [BZ #13938]
37949         * manual/setjmp.texi (System V contexts): Fix sentence.
37950
37951         [BZ #13926]
37952         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37953         New macro for this case.
37954         [!__GNUC__] (__bswap_64): New inline function for this case.
37955         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37956         * bits/byteswap.h: Likewise.
37957         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37958         ull, guard with __GLIBC_HAVE_LONG_LONG.
37959
37960         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37961         __GLIBC_HAVE_LONG_LONG.
37962
37963         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37964         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37965
37966 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37967
37968         [BZ #13691]
37969         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37970         inptr and inend, rather than using last_ch.
37971
37972 2012-04-02  David S. Miller  <davem@davemloft.net>
37973
37974         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37975         * stdio-common/printf-parse.h (read_int): Change return type to
37976         'int', return -1 on INT_MAX overflow.
37977         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37978         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37979         overflows INT_MAX.  Check for overflow of in-format-string precision
37980         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37981         SIZE_MAX not INT_MAX for integer overflow test.
37982         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37983         skip the construct in the format string but do not record anything.
37984         * stdio-common/bug22.c: Adjust to test both width/prevision
37985         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37986         explicitly for proper errno values.
37987
37988 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37989
37990         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37991         CHAR_MAX.
37992         * string/test-strcmp.c [! WIDE]: Likewise.
37993         * time/tst-mktime2.c: Likewise for INT_MAX.
37994         * string/test-string.h: #include <sys/param.h> for MIN.
37995
37996         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37997         * sysdeps/i386/init-first.c (init): Likewise.
37998         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37999         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38000         * sysdeps/sh/init-first.c (init): Likewise.
38001
38002 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38003
38004         * po/ru.po: Update from translation team.
38005         * po/vi.po: Likewise.
38006
38007 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38008
38009         * resolv/nss_dns/dns-host.c: Merge copyright years.
38010
38011 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38012
38013         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38014         Optimize memcpy with prefetch if
38015         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38016         src, dst pointers have unequal 16 byte alignments.
38017
38018 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38019
38020         [BZ #13928]
38021         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38022         from a CNAME entry and return the minimum ttl for the query.
38023         (gaih_getanswer_slice): Likewise.
38024
38025 2012-03-30  Jeff Law  <law@redhat.com>
38026
38027         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38028         due to long keys.
38029         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38030         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38031
38032         * resolv/nss_dns/dns-host.c: Update copyright year.
38033
38034 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38035
38036         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38037         requests to save a system call.  Fix check that all bytes are sent.
38038
38039         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38040         comments for sendmmsg.
38041
38042 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38043
38044         [BZ #13691]
38045         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38046         with only 1 character between 0x0041 and 0x01b0.
38047         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38048         * wcsmbs/tst-mbsnrtowcs.c: New file.
38049
38050 2012-03-29  David S. Miller  <davem@davemloft.net>
38051
38052         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38053         small copies by hand.
38054
38055 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38056
38057         [BZ #13761]
38058         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38059         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38060         group memberships.
38061
38062 2012-03-28  David S. Miller  <davem@davemloft.net>
38063
38064         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38065         that branches into memcpy.
38066         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38067         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38068         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38069         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38070         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38071         bits.
38072         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38073         implementation too.
38074         * sysdeps/sparc/mempcpy.S: New file.
38075
38076         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38077         the IFUNC routine in the libc case.
38078         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38079
38080         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38081         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38082         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38083         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38084         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38085         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38086         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38087         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38088
38089         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38090         loop to 256 bytes instead of 64 bytes and fix test signedness.
38091
38092         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38093         * sysdeps/sparc/sparc32/Makefile: rather than here...
38094         * sysdeps/sparc/sparc64/Makefile: and here.
38095
38096 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38097
38098         * malloc/mallocbug.c: Avoid warnings about unused variables.
38099
38100 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38101
38102         [BZ #13760]
38103         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38104         in the right place. Discard and retry query if response is
38105         larger than input buffer size.
38106
38107 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38108
38109         [BZ #369]
38110         [BZ #2678]
38111         [BZ #3866]
38112         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38113         x for large integer exponent.
38114         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38115         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38116         sign of result as needed afterwards.
38117         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38118         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38119         result for underflowing pow the same as for overflow.
38120         (__kernel_standard_l): Handle powl overflow and underflow here
38121         rather than calling __kernel_standard.
38122         * math/libm-test.inc (pow_test): Add more tests.
38123
38124         [BZ #3868]
38125         [BZ #13879]
38126         [BZ #13910]
38127         [BZ #13911]
38128         [BZ #13912]
38129         [BZ #13913]
38130         [BZ #13915]
38131         [BZ #13916]
38132         [BZ #13917]
38133         [BZ #13918]
38134         [BZ #13919]
38135         [BZ #13920]
38136         [BZ #13921]
38137         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38138         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38139         (__kernel_standard_l): New function.
38140         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38141         __kernel_standard.
38142         * math/w_acosl.c (__acosl): Likewise.
38143         * math/w_asinl.c (__asinl): Likewise.
38144         * math/w_atan2l.c (__atan2l): Likewise.
38145         * math/w_atanhl.c (__atanhl): Likewise.
38146         * math/w_coshl.c (__coshl): Likewise.
38147         * math/w_exp10l.c (__exp10l): Likewise.
38148         * math/w_exp2l.c (__exp2l): Likewise.
38149         * math/w_fmodl.c (__fmodl): Likewise.
38150         * math/w_hypotl.c (__hypotl): Likewise.
38151         * math/w_j0l.c (__j0l, __y0l): Likewise.
38152         * math/w_j1l.c (__j1l, __y1l): Likewise.
38153         * math/w_jnl.c (__jnl, __ynl): Likewise.
38154         * math/w_lgammal.c (__lgammal): Likewise.
38155         * math/w_log10l.c (__log10l): Likewise.
38156         * math/w_log2l.c (__log2l): Likewise.
38157         * math/w_logl.c (__logl): Likewise.
38158         * math/w_powl.c (__powl): Likewise.
38159         * math/w_remainderl.c (__remainderl): Likewise.
38160         * math/w_scalbl.c (sysv_scalbl): Likewise.
38161         * math/w_sinhl.c (__sinhl): Likewise.
38162         * math/w_sqrtl.c (__sqrtl): Likewise.
38163         * math/w_tgammal.c (__tgammal): Likewise.
38164         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38165         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38166         * math/libm-test.inc (acos_test): Add more tests.
38167         (acosh_test): Likewise.
38168         (asin_test): Likewise.
38169         (atanh_test): Likewise.
38170         (exp_test): Likewise.
38171         (exp10_test): Likewise.
38172         (exp2_test): Likewise.
38173         (expm1_test): Likewise.
38174         (lgamma_test): Likewise.
38175         (log_test): Likewise.
38176         (log10_test): Likewise.
38177         (log1p_test): Likewise.
38178         (log2_test): Likewise.
38179         (pow_test): Do not allow some spurious overflow exceptions.
38180         (sqrt_test): Add more tests.
38181         (tgamma_test): Likewise.
38182         (y0_test): Likewise.
38183         (y1_test): Likewise.
38184         (yn_test): Likewise.
38185
38186 2012-03-27  Anton Blanchard  <anton@samba.org>
38187
38188         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38189         MAP_HUGETLB.
38190         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38191         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38192         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38193
38194 2012-03-27  David S. Miller  <davem@davemloft.net>
38195
38196         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38197
38198         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38199         have-as-vis3 check.
38200
38201 2012-03-27  Andreas Jaeger  <aj@suse.de>
38202
38203         * sysdeps/x86_64/elf/configure.in: Moved to ...
38204         * sysdeps/x86_64/configure.in: ... here.
38205         * sysdeps/x86_64/elf/start.S: Moved to ...
38206         * sysdeps/x86_64/start.S: ... here.
38207         * sysdeps/x86_64/elf/configure: Delete.
38208
38209         * sysdeps/x86_64/configure.in: Merge contents from
38210         sysdeps/i386/configure.in (without i686 check).
38211
38212         * sysdeps/i386/elf/Versions: Merge into ...
38213         * sysdeps/i386/Versions: ... this.
38214         * sysdeps/i386/elf/Versions: Delete file.
38215         * sysdeps/i386/elf/start.S: Moved to ...
38216         * sysdeps/i386/start.S: ...here.
38217         * sysdeps/i386/elf/configure.in: Merge into...
38218         * sysdeps/i386/configure.in: ...here.
38219         * sysdeps/i386/elf/configure.in: Delete file.
38220         * sysdeps/i386/elf/configure: Delete file.
38221
38222         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38223         * debug/backtracesyms.c: ... here.
38224         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38225         * debug/backtracesymsfd.c: ... here.
38226         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38227         * sysdeps/generic/ifunc-sel.h: ... here.
38228
38229         * sysdeps/unix/i386/start.c: Delete file.
38230         * sysdeps/unix/sparc/start.c: Delete file.
38231         * sysdeps/unix/start.c: Delete file.
38232
38233         * sysdeps/sh/elf/configure.in: Moved to ...
38234         * sysdeps/sh/configure.in: ... here.
38235         * sysdeps/sh/elf/start.S: Moved to ...
38236         * sysdeps/sh/start.S: ... here.
38237         * sysdeps/sh/elf/configure: Delete file.
38238
38239         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38240         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38241         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38242         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38243         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38244         * sysdeps/powerpc/powerpc64/start.S: here.
38245         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38246         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38247         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38248         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38249         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38250
38251         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38252         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38253         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38254         * sysdeps/powerpc/powerpc32/start.S: ... here.
38255         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38256         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38257         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38258
38259         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38260         * sysdeps/powerpc/ifunc-sel.h: ... here.
38261         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38262         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38263
38264         * sysdeps/sparc/elf/configure.in: Moved to ...
38265         * sysdeps/sparc/configure.in: ... here.
38266         * sysdeps/sparc/elf/configure: Delete file.
38267         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38268         * sysdeps/sparc/sparc32/start.S: ... here.
38269         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38270         * sysdeps/sparc/sparc64/start.S: ... here.
38271         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38272         * sysdeps/sparc/sparc32/Makefile: ... this.
38273         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38274         * sysdeps/sparc/sparc64/Makefile: ... this.
38275
38276         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38277         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38278         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38279         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38280         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38281         * sysdeps/s390/s390-32/setjmp.S: ... here.
38282         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38283         * sysdeps/s390/s390-32/configure.in: ... here.
38284         * sysdeps/s390/s390-32/elf/configure: Delete file.
38285         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38286         * sysdeps/s390/s390-32/start.S: ... here.
38287
38288         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38289         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38290         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38291         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38292         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38293         * sysdeps/s390/s390-64/setjmp.S: ... here.
38294         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38295         * sysdeps/s390/s390-64/configure.in: ... here
38296         * sysdeps/s390/s390-64/elf/configure: Delete file.
38297         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38298         * sysdeps/s390/s390-64/start.S: ... here.
38299         * sysdeps/s390/s390-64/elf/configure: Delete.
38300
38301         * configure.in: Remove support for elf directories in sysdeps.
38302
38303         * configure: Regenerated.
38304         * sysdeps/i386/configure: Regenerated.
38305         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38306         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38307         * sysdeps/s390/s390-32/configure: Regenerated.
38308         * sysdeps/s390/s390-64/configure: Regenerated.
38309         * sysdeps/sh/configure: Regenerated.
38310         * sysdeps/sparc/configure: Regenerated.
38311         * sysdeps/x86_64/configure: Regenerated.
38312
38313 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38314
38315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38316
38317         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38318         denormal result into account.
38319
38320 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38321
38322         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38323         Reported by Allan McRae <allan@archlinux.org>.
38324
38325 2012-03-23  Jeff Law  <law@redhat.com>
38326
38327         * nss/getnssent.c (__nss_getent): Fix typo.
38328
38329 2012-03-23  David S. Miller  <davem@davemloft.net>
38330
38331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38332
38333 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38334
38335         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38336         to pad to uint64_t for each field.
38337         (dl_tls_index): Replace unsigned long with uint64_t.
38338
38339 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38340         Paul Pluzhnikov  <ppluzhnikov@google.com>
38341
38342         [BZ #6528]
38343         * grp/Makefile (otherlibs): Don't set it.
38344         * inet/Makefile (otherlibs): Likewise.
38345         * login/Makefile (otherlibs): Likewise.
38346         * nscd/Makefile (otherlibs): Likewise.
38347         * posix/Makefile (otherlibs): Likewise.
38348         * pwd/Makefile (otherlibs): Likewise.
38349         * rt/Makefile (otherlibs): Likewise.
38350         * sunrpc/Makefile (otherlibs): Likewise.
38351         * nss/Makefile (otherlibs): Likewise.
38352         Add libnss_files to routines and static-only-routines.
38353         ($(objpfx)getent): Remove rule.
38354         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38355         static-only-routines.
38356
38357 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38358
38359         [BZ #13892]
38360         * math/s_cexp.c: Include <float.h>.
38361         (__cexp): Handle exp result overflowing not necessarily
38362         overflowing both real and imaginary parts of result.
38363         * math/s_cexpf.c: Likewise.
38364         * math/s_cexpl.c: Likewise.
38365         * math/libm-test.inc (cexp_test): Add more tests.
38366         * sysdeps/i386/fpu/libm-test-ulps: Update.
38367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38368
38369 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38370
38371         * include/link.h (ELFW): New macro.
38372         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38373         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38374
38375 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38376
38377         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38378         with uint64_t.
38379
38380 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38381
38382         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38383         declaration.
38384         (struct La_x32_retval): Likewise.
38385
38386 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38387
38388         * sysdeps/x86_64/preconfigure.in: New file.
38389         * sysdeps/x86_64/preconfigure: New generated file.
38390
38391 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38392
38393         [BZ #13824]
38394         * math/e_exp2l.c: Include <float.h>.
38395         (__ieee754_exp2l): Handle overflow and underflow cases
38396         separately.  Only pass fractional part of argument to
38397         __ieee754_expl.
38398         * math/libm-test.inc (exp2_test): Add more tests.
38399
38400         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38401         negating x to take absolute value.
38402         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38403         Likewise.
38404         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38405         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38406         Likewise.
38407         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38408         computing low part if x was negated.
38409         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38410
38411 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38412
38413         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38414         la_x32_gnu_pltexit.
38415         (pltexit): Cast int_retval to ptrdiff_t.
38416         * elf/tst-auditmod3b.c: Likewise.
38417         * elf/tst-auditmod4b.c: Likewise.
38418         * elf/tst-auditmod5b.c: Likewise.
38419         * elf/tst-auditmod6b.c: Likewise.
38420         * elf/tst-auditmod6c.c: Likewise.
38421         * elf/tst-auditmod7b.c: Likewise.
38422
38423         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38424         and x32_gnu_pltexit.
38425
38426         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38427         __ELF_NATIVE_CLASS.
38428         (La_x32_regs): New macro.
38429         (La_x32_retval): Likewise.
38430         (la_x32_gnu_pltenter): New function prototype.
38431         (la_x32_gnu_pltexit): Likewise.
38432
38433 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38434
38435         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38436         exponent.
38437
38438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38439
38440         * configure.in (libc_cv_cc_nofma): Check for option to disable
38441         generation of FMA instructions.
38442         * configure: Regenerate.
38443         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38444         * sysdeps/ieee754/dbl-64/Makefile: New file.
38445         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38446         Remove brandred-fma4.
38447         (CFLAGS-brandred-fma4.c): Remove.
38448         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38449         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38450         define.
38451         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38452         define.
38453
38454 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38455
38456         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38457         LLONG_MAX != LONG_MAX.
38458         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38459         (_fitoa_word): Likewise.
38460         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38461         LLONG_MAX != LONG_MAX.
38462         * stdio-common/_itowa.h: Include <_itoa.h>.
38463         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38464         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38465         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38466         only if not defined.
38467         (_ITOA_WORD_TYPE): Likewise.
38468         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38469         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38470
38471 2012-03-21  David S. Miller  <davem@davemloft.net>
38472
38473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38474
38475 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38476
38477         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38478         of x86_64 when setting libc_cv_slibdir, libdir and
38479         libc_cv_localedir.
38480         * sysdeps/unix/sysv/linux/configure: Regenerated.
38481
38482 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38483
38484         * manual/lang.texi (Old Varargs): Remove section.
38485         (How Variadic): Update menu.
38486         (va_start): Do not mention varargs.h.
38487
38488 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38489             Joseph Myers  <joseph@codesourcery.com>
38490
38491         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38492         link test.
38493         * configure: Regenerated.
38494
38495 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38496
38497         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38498         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38499         conformtest.pl
38500
38501 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38502
38503         * NOTES: Remove.
38504         * Makefile (files-for-dist): Remove NOTES.
38505         (NOTES): Remove rule.
38506         * README: Don't refer to NOTES.
38507         * manual/creature.texi: Don't include macros.texi.
38508         * manual/intro.texi (creature.texi): Remove comment referring to
38509         NOTES.
38510
38511         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38512         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38513         * configure: Regenerated.
38514         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38515         LIBC_TRY_CC_OPTION.
38516         (libc_cv_as_i686): Likewise.
38517         (libc_cv_cc_avx): Likewise.
38518         (libc_cv_cc_sse2avx): Likewise.
38519         (libc_cv_cc_fma4): Likewise.
38520         (libc_cv_cc_novzeroupper): Likewise.
38521         * sysdeps/i386/configure: Regenerated.
38522
38523         [BZ #13883]
38524         * sysdeps/i386/fpu/s_cexp.S: Remove.
38525         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38526         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38527         * math/libm-test.inc (cexp_test): Add more tests.
38528         * sysdeps/i386/fpu/libm-test-ulps: Update.
38529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38530
38531 2012-03-21  Allan McRae  <allan@archlinux.org>
38532
38533         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38534
38535 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38536
38537         [BZ #13871]
38538         * math/w_exp2.c: Do not include <float.h>.
38539         (o_threshold, u_threshold): Remove.
38540         (__exp2): Calculate result before checking finiteness and calling
38541         __kernel_standard.
38542         * math/w_exp2f.c: Likewise.
38543         * math/w_exp2l.c: Likewise.
38544         * math/libm-test.inc (exp2_test): Require overflow exception for
38545         1e6 input.
38546
38547         [BZ #3866]
38548         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38549         range of signed 64-bit integers before using fistpll.  Remove
38550         checks for whether integers fit in mantissa bits.
38551         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38552         the range of signed 32-bit integers before using fistpl.  Remove
38553         checks for whether integers fit in mantissa bits.
38554         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38555         (__ieee754_powl): Test for y outside the range of signed 64-bit
38556         integers before using fistpll.  Reduce 64-bit values to 63-bit
38557         ones as needed.
38558         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38559         divide-by-zero is raised for zero to large negative powers.
38560         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38561         (__ieee754_powl): Test for y outside the range of signed 64-bit
38562         integers before using fistpll.  Reduce 64-bit values to 63-bit
38563         ones as needed.
38564         * math/libm-test.inc (pow_test): Add more tests.
38565
38566 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38567
38568         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38569         <stdio-common/_itoa.h>.
38570         * debug/segfault.c: Likewise.
38571         * elf/dl-cache.c: Likewise.
38572         * elf/dl-minimal.c: Likewise.
38573         * elf/dl-misc.c: Likewise.
38574         * elf/dl-sysdep.c: Likewise.
38575         * elf/dl-version.c: Likewise.
38576         * elf/rtld.c: Likewise.
38577         * hurd/hurdsock.c: Likewise.
38578         * hurd/lookup-retry.c: Likewise.
38579         * malloc/malloc.c: Likewise.
38580         * malloc/mtrace.c: Likewise.
38581         * nscd/nscd_getgr_r.c: Likewise.
38582         * nscd/nscd_getpw_r.c: Likewise.
38583         * nscd/nscd_getserv_r.c: Likewise.
38584         * posix/getopt_init.c: Likewise.
38585         * posix/wordexp.c: Likewise.
38586         * stdio-common/_itoa.c: Likewise.
38587         * stdio-common/printf_fphex.c: Likewise.
38588         * stdio-common/vfprintf.c: Likewise.
38589         * string/_strerror.c: Likewise.
38590         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38591         * sysdeps/i386/i686/hp-timing.h: Likewise.
38592         * sysdeps/mach/_strerror.c: Likewise.
38593         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38594         * sysdeps/mach/hurd/sethostid.c: Likewise.
38595         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38596         * sysdeps/mach/xpg-strerror.c: Likewise.
38597         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38598         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38599         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38600         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38601         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38602         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38603         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38604         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38605         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38606         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38607         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38608         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38609         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38610         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38611         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38612         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38613         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38614         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38615         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38616         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38617         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38618
38619         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38620
38621         * stdio-common/_itoa.h: Moved to ...
38622         * sysdeps/generic/_itoa.h: Here.
38623
38624         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38625
38626         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38627         instead of "_itoa.h" and "_itowa.h".
38628         * stdio-common/vfprintf.: Likewise.
38629
38630 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38631
38632         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38633         <bits/wordsize.h>.
38634         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38635         (__signbit): Likwise.
38636         (llrintf): Likwise.
38637         (llrint): Likwise.
38638
38639 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38640
38641         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38642         __WORDSIZE != 64.
38643
38644 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38645
38646         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38647         OVERFLOW_EXCEPTION_OK.
38648         * math/libm-test.inc ("Philosophy"): Update comment about
38649         exception testing.
38650         (OVERFLOW_EXCEPTION): Define.
38651         (OVERFLOW_EXCEPTION_OK): Likewise.
38652         (INVALID_EXCEPTION_OK): Renumber.
38653         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38654         (IGNORE_ZERO_INF_SIGN): Likewise.
38655         (test_exceptions): Handle FE_OVERFLOW.
38656         (exp10_test): Expect overflow exceptions.
38657         (exp2_test): Likewise.
38658         (expm1_test): Likewise.
38659         (nextafter_test): Likewise.
38660         (pow_test): Likewise.
38661         (scalbn_test): Likewise.
38662         (scalbln_test): Likewise.
38663
38664 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38665
38666         * sysdeps/x86_64/bits/atomic.h
38667         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38668         64bit integer.
38669         (atomic_exchange_acq): Likewise.
38670         (__arch_exchange_and_add_body): Likewise.
38671         (__arch_add_body): Likewise.
38672         (atomic_add_negative): Likewise.
38673         (atomic_add_zero): Likewise.
38674
38675 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38676
38677         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38678         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38679
38680 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38681
38682         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38683         Check __x86_64__ instead of __WORDSIZE.
38684
38685 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38686
38687         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38688
38689 2012-03-19  David S. Miller  <davem@davemloft.net>
38690
38691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38692
38693         * sysdeps/sparc/fpu/fenv_private.h: New file.
38694         * sysdeps/sparc/fpu/math_private.h: Use it.
38695         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38696         Remove.
38697         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38698         (libc_feholdexcept_setroundl): Remove.
38699         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38700         Remove.
38701         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38702         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38703
38704 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38705
38706         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38707         int64_t instead of long int.
38708         (INSERT_WORDS64): Likwise.
38709
38710 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38711
38712         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38713         _Unwind_GetCFA return to _Unwind_Ptr first.
38714
38715 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38716
38717         [BZ #13629]
38718         * math/s_clog.c: Include <float.h>.
38719         (__clog): Scale large or subnormal inputs.
38720         * math/s_clogf.c: Likewise.
38721         * math/s_clogl.c: Likewise.
38722         * math/s_clog10.c: Include <float.h>.
38723         (M_LOG10_2): Define.
38724         (__clog10): Scale large or subnormal inputs.
38725         * math/s_clog10f.c: Likewise.
38726         * math/s_clog10l.c: Likewise.
38727         * math/libm-test.inc (clog_test): Add more tests.
38728         (clog10_test): Likewise.
38729         * sysdeps/i386/fpu/libm-test-ulps: Update.
38730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38731
38732         [BZ #11451]
38733         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38734         x and y.
38735         * math/libm-test.inc (atan2_test): Add another test.
38736
38737         * Makerules (common-objdir-compile): Remove.
38738         * sysdeps/unix/Makefile (config-generated): Do not add
38739         $(unix-generated) to variable.
38740         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38741         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38742         Remove rule.
38743         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38744         Likewise.
38745         [generic bits/local_lim.h] (before-compile): Do not append to
38746         variable.
38747         [generic bits/local_lim.h] (common-generated): Likewise.
38748         [generic sys/param.h] (before-compile): Do not append to variable.
38749         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38750         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38751         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38752         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38753         include.
38754         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38755         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38756         [generic sys/param.h] ($(addprefix
38757         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38758         [generic sys/param.h] (common-generated): Do not append to
38759         variable.
38760         [generic sys/param.h] (sysdep_headers): Likewise.
38761         [generic bits/errno.h] (before-compile): Do not append to
38762         variable.
38763         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38764         rule.
38765         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38766         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38767         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38768         [generic bits/errno.h] (common-generated): Do not append to
38769         variable.
38770         [generic bits/ioctls.h] (before-compile): Do not append to
38771         variable.
38772         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38773         rule.
38774         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38775         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38776         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38777         rule.
38778         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38779         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38780         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38781         [generic bits/ioctls.h] (common-generated): Do not append to
38782         variable.
38783         [generic sys/syscall.h] (syscall.h): Remove variable.
38784         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38785         rule.
38786         [generic sys/syscall.h] (before-compile): Do not append to
38787         variable.
38788         [generic sys/syscall.h] (common-generated): Likewise.
38789         * sysdeps/unix/errnos-tmpl.c: Remove file.
38790         * sysdeps/unix/errnos.awk: Likewise.
38791         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38792         * sysdeps/unix/ioctls.awk: Likewise.
38793         * sysdeps/unix/mk-local_lim.c: Likewise.
38794         * sysdeps/unix/snarf-ioctls: Likewise.
38795
38796 2012-03-19  Richard Henderson  <rth@twiddle.net>
38797
38798         * sysdeps/i386/fpu/fenv_private.h: New file.
38799         * sysdeps/i386/fpu/math_private.h: Use it.
38800         (math_opt_barrier, math_force_eval): Remove.
38801         (libc_feholdexcept_setround_53bit): Remove.
38802         (libc_feupdateenv_53bit): Remove.
38803         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38804         (math_opt_barrier, math_force_eval): Remove.
38805         (libc_feholdexcept): Remove.
38806         (libc_feholdexcept_setround): Remove.
38807         (libc_fetestexcept, libc_fesetenv): Remove.
38808         (libc_feupdateenv_test): Remove.
38809         (libc_feupdateenv, libc_feholdsetround): Remove.
38810         (libc_feresetround): Remove.
38811
38812         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38813         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38814
38815         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38816         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38817         (libc_feupdateenv_testl): New.
38818         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38819         (libc_feupdateenv_testf): New.
38820         (libc_feupdateenv): Use libc_feupdateenv_test.
38821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38822         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38823
38824         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38825         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38826         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38827         (libc_feresetround_noex): New.
38828         (libc_feresetround_noexf): New.
38829         (libc_feresetround_noexl): New.
38830         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38831         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38832         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38833         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38834         SET_RESTORE_ROUND.
38835         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38836         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38837         (__cos): Likewise.
38838         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38839         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38840         SET_RESTORE_ROUND_NOEX.
38841         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38842         SET_RESTORE_ROUND_NOEXF.
38843         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38844         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38845         (libc_feholdsetroundf): New.
38846         (libc_feresetround, libc_feresetroundf): New.
38847
38848         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38849         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38850         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38851
38852         * sysdeps/generic/math_private.h: Include <fenv.h>.
38853         (default_libc_feholdexcept): New.
38854         (default_libc_feholdexcept_setround): New.
38855         (default_libc_fesetenv, default_libc_feupdateenv): New.
38856         (libc_feholdexcept): Only define if undefined.
38857         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38858         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38859         (libc_feholdexcept_setroundl): Likewise.
38860         (libc_feholdexcept_setround_53bit): Likewise.
38861         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38862         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38863         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38864         (libc_feupdateenv_53bit): Likewise.
38865         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38866         (libc_feholdexcept): Convert from macro to inline function.
38867         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38868         (libc_fesetenv, libc_feupdateenv): Likewise.
38869
38870         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38871         not previously defined.
38872         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38873         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38874         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38875         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38876         * sysdeps/ieee754/flt-32/math_private.h: New file.
38877         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38878         math_private.h below SET_FLOAT_WORD.
38879         (__isnan, __isinf_ns, __finite): Remove.
38880         (__isnanf, __isinf_nsf, __finitef): Remove.
38881
38882 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38883
38884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38885
38886 2012-03-17  David S. Miller  <davem@davemloft.net>
38887
38888         [BZ #6471]
38889         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38890         for 2.16.
38891
38892 2012-03-16  David S. Miller  <davem@davemloft.net>
38893
38894         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38895         warnings.
38896
38897         [BZ #6471]
38898         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38899         properly.
38900         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38901         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38902         sysdep_routines when subdir is sysvipc.
38903         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38904         __getshmlba helper.
38905
38906         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38907
38908 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38909
38910         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38911         [__LP64__].
38912
38913 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38914
38915         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38916         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38917         (__lround): Renamed to ...
38918         (__llround): This.  Replace long int with long long int.
38919         Define lround functions as aliases of llround functions.
38920         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38921
38922 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38923
38924         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38925         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38926         adresses to uintptr_t.  Replace "long int" and "unsigned long
38927         int" with "greg_t" on va_arg.
38928
38929 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38930
38931         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38932         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38933
38934         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38935         Move e_machine check before EI_CLASS check.  Handle x32
38936         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38937         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38938         SKIP_EM_IA_64 and include
38939         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38940
38941         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38942         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38943         (add_system_dir): New macro.
38944
38945         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38946         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38947
38948 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38949
38950         [BZ #2551]
38951         [BZ #2552]
38952         [BZ #2553]
38953         [BZ #2554]
38954         [BZ #2562]
38955         [BZ #2563]
38956         [BZ #2565]
38957         [BZ #2566]
38958         [BZ #2576]
38959         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38960         (y0): Likewise.
38961         * math/w_j0f.c (j0f): Likewise.
38962         (y0f): Likewise.
38963         * math/w_j0l.c (__j0l): Likewise.
38964         (__y0l): Likewise.
38965         * math/w_j1.c (j1): Likewise.
38966         (y1): Likewise.
38967         * math/w_j1f.c (j1f): Likewise.
38968         (y1f): Likewise.
38969         * math/w_j1l.c (__j1l): Likewise.
38970         (__y1l): Likewise.
38971         * math/w_jn.c (jn): Likewise.
38972         (yn): Likewise.
38973         * math/w_jnf.c (jnf): Likewise.
38974         (ynf): Likewise.
38975         * math/w_jnl.c (__jnl): Likewise.
38976         (__ynl): Likewise.
38977         * math/libm-test.inc (j0_test): Add more tests.
38978         (j1_test): Likewise.
38979         (jn_test): Likewise.  Add trailing semicolon to existing test.
38980         (y0_test): Likewise.
38981         (y1_test): Likewise.
38982         * sysdeps/i386/fpu/libm-test-ulps: Update.
38983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38984
38985         [BZ #13851]
38986         [BZ #13854]
38987         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38988         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38989         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38990         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38991         (__tanl): Set errno for infinite argument.
38992         * sysdeps/i386/fpu/mptan.c: Remove.
38993         * sysdeps/i386/fpu/s_tan.S: Likewise.
38994         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38995         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38996         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38997         * math/libm-test.inc (tan_test): Add more tests and enable more
38998         tests for double and long double.
38999         * sysdeps/i386/fpu/libm-test-ulps: Update.
39000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39001
39002 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39003
39004         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39005         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39006
39007 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39008
39009         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39010         * configure.in: Use it for both main tree and add-ons.
39011         * configure: Regenerated.
39012
39013 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39014
39015         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39016
39017 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39018
39019         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39020         in comment.
39021
39022         [BZ #13851]
39023         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39024         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39028         infinite argument.
39029         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39030         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39031         != 0 for prec == 2.
39032         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39033         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39034         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39035         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39036         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39037         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39038         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39039         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39040         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39041         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39042         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39043         * math/libm-test.inc (cos_test): Add more tests and enable more
39044         tests for long double.
39045         (sin_test): Likewise.
39046         (sincos_test): Likewise.
39047         * sysdeps/i386/fpu/libm-test-ulps: Update.
39048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39049
39050 2012-03-16  David S. Miller  <davem@davemloft.net>
39051
39052         * sysdeps/sparc/fpu/math_private.h: New file.
39053
39054 2012-03-15  David S. Miller  <davem@davemloft.net>
39055
39056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39057         file.
39058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39060         file.
39061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39066         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39067         sysdep routines.
39068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39069
39070         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39071         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39072
39073         * sysdeps/sparc/sparc-ifunc.h: New file.
39074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39075         sparc-ifunc.h
39076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39078         Likewise.
39079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39080         Likewise.
39081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39085         Likewise.
39086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39091         Likewise.
39092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39093         Likewise.
39094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39100         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39101         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39108         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39112         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39113         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39114         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39115         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39116         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39117         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39118
39119 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39120
39121         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39122         scaling.
39123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39124
39125 2012-03-15  Andreas Jaeger  <aj@suse.de>
39126
39127         [BZ #13852]
39128         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39129         ieee754/flt-32 implementation for sin, cos and sincos.
39130         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39131         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39132         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39133         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39134         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39135         ieee754/flt-32 implementation for tan.
39136
39137         * math/libm-test.inc (cos_test): Enable some large input tests for
39138         float as well
39139         (sin_test): Likewise.
39140         (sincos_test): Likewise.
39141         (tan_test): Add tests for large input.
39142
39143         * sysdeps/i386/fpu/libm-test-ulps: Update.
39144
39145 2012-03-15  Andreas Jaeger  <aj@suse.de>
39146
39147         [BZ #13658]
39148         * math/libm-test.inc (cos_test): Add more test cases.
39149         (sin_test): Likewise.
39150         (sincos_test): Likewise.
39151
39152 2012-03-15  Andreas Jaeger  <aj@suse.de>
39153
39154         [BZ #13837]
39155         * math/libm-test.inc (cos_test): Add a test case for large input
39156         value.
39157         (sin_test): Likewise.
39158         (sincos_test): Likewise.
39159
39160 2012-03-15  Andreas Jaeger  <aj@suse.de>
39161             Joseph Myers  <joseph@codesourcery.com>
39162
39163         [BZ #13658]
39164         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39165         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39166         * sysdeps/i386/fpu/branred.c: Likewise.
39167         * sysdeps/i386/fpu/dosincos.c: Likewise.
39168         * sysdeps/i386/fpu/mpa.c: Likewise.
39169         * sysdeps/i386/fpu/s_cos.S: Likewise.
39170         * sysdeps/i386/fpu/s_sin.S: Likewise.
39171         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39172         * sysdeps/i386/fpu/sincos32.c: Likewise.
39173
39174         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39175         Define.
39176         (libc_feupdateenv_53bit): Define.
39177         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39178         Define.
39179         (libc_feupdateenv_53bit): Define.
39180
39181         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39182         53 bit (without extend i386 double precision).
39183
39184         * math/libm-test.inc (sincos_test): Add tests for large input.
39185         (sin): Likewise.
39186         (cos): Likewise.
39187
39188         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39189
39190 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39191
39192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39193
39194 2012-03-15  David S. Miller  <davem@davemloft.net>
39195
39196         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39197         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39198         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39199         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39212         file.
39213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39215         file.
39216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39218         file.
39219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39221         file.
39222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39223         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39224         fmin/fmax sysdep routines.
39225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39226
39227 2012-03-14  David S. Miller  <davem@davemloft.net>
39228
39229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39233         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39234         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39235         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39236         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39242         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39249         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39250         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39251         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39253         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39254         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39255         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39256         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39257         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39258         routines.
39259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39260         file.
39261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39263         file.
39264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39266         file.
39267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39269         file.
39270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39272         file.
39273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39275         file.
39276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39277         file.
39278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39279         file.
39280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39281         file.
39282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39283         New file.
39284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39285         file.
39286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39287         file.
39288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39290         file.
39291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39293         file.
39294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39296         file.
39297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39299         VIS3 routines.
39300
39301         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39302         New file.
39303
39304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39305
39306         * sysdeps/sparc/configure.in: New file.
39307         * sysdeps/sparc/configure: Generate.
39308         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39309         * configure: Regenerate.
39310         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39311         * config.make.in (have-as-vis3): New.
39312         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39313         available use -Av9d instead of -Av9a.
39314         * sysdeps/sparc/sparc64/Makefile: Likewise.
39315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39317         New file.
39318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39319         file.
39320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39321         New file.
39322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39323         file.
39324         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39325         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39326         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39329
39330         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39331         fzeros/fnegs to load 0x80000000 into a float register instead of
39332         using the stack.
39333         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39334
39335 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39336
39337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39338         bits/syscall.h.
39339         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39340         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39341         ($(inst_includedir)/bits/syscall.h): Remove rule.
39342         ($(objpfx)bits/syscall.d): Include instead of
39343         $(objpfx)syscall-list.d.
39344         (generated): Change syscall-list.h and syscall-list.d to
39345         bits/syscall.h and bits/syscall.d.
39346
39347 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39348
39349         [BZ #13846]
39350         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39351
39352 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39353
39354         [BZ #13841]
39355         * math/s_csqrt.c: Include <float.h>.
39356         (__csqrt): Scale large or subnormal inputs.
39357         * math/s_csqrtf.c: Likewise.
39358         * math/s_csqrtl.c: Likewise.
39359         * math/libm-test.inc (csqrt_test): Add more tests.
39360         * sysdeps/i386/fpu/libm-test-ulps: Update.
39361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39362
39363         [BZ #13840]
39364         * math/libm-test.inc (hypot_test): Add more tests.
39365
39366 2012-03-13  David S. Miller  <davem@davemloft.net>
39367
39368         [BZ #13840]
39369         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39370         double-precision for the calculation instead of scaling.
39371
39372 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39373
39374         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39375         manipulate bits before adding and subtracting TWO52[sx].
39376         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39378         Likewise.
39379         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39380
39381 2012-03-13  David S. Miller  <davem@davemloft.net>
39382
39383         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39384         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39386         rtld-global-offsets.h
39387         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39388
39389         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39390         large parameters.
39391
39392         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39393
39394         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39395         'err' in the ifdef scope in which it is actually used.
39396
39397         * nss/nss_db/db-init.c: Include string.h
39398
39399 2012-03-12  David S. Miller  <davem@davemloft.net>
39400
39401         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39402         masking out of the most significant byte of random value used.
39403         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39404         Fix coding style in previous change.
39405
39406         * sysdeps/unix/sysv/linux/kernel-features.h
39407         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39408         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39409         expression.
39410         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39411         later.
39412
39413 2012-03-11  David S. Miller  <davem@davemloft.net>
39414
39415         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39416         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39417         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39418         for 'resultvar' otherwise things get truncated on 64-bit.
39419
39420         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39421         Fix masking out of the most significant byte of random value used.
39422
39423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39424
39425 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39426
39427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39428
39429 2012-03-09  David S. Miller  <davem@davemloft.net>
39430
39431         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39432         variables with appropriate CPP guards.
39433         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39434         from the frame pointer, not the stack pointer.  Correct layout
39435         comments.  Fix test on resulting framesize and the management of
39436         the outregs buffer for pltexit.  Preserve floating point return
39437         values across _dl_call_pltexit call.
39438         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39439         framesize and the management of the outregs buffer for pltexit.
39440         Preserve floating point return values across _dl_call_pltexit
39441         call.
39442         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39443         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39444         (la_sparc64_gnu_pltexit): New functions.
39445         (print_exit): Fix format string for return register value.
39446
39447 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39448
39449         * sunrpc/Makefile (others): Add rpcgen.
39450         ($(objpfx)rpcgen): Remove special build rule and dependency on
39451         libc.
39452         * sunrpc/rpcgen.c: New file.
39453
39454 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39455
39456         [BZ #13673]
39457         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39458         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39459         * sysdeps/i386/crti.S: Likewise.
39460         * sysdeps/i386/crtn.S: Likewise.
39461         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39462         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39463         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39464         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39465         * sysdeps/sh/crti.S: Likewise.
39466         * sysdeps/sh/crtn.S: Likewise.
39467         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39468
39469         [BZ #13673]
39470         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39471         with URL.
39472         * locale/programs/locfile-kw.gperf: Likewise.
39473         * locale/programs/charmap-kw.h: Regenerated.
39474         * locale/programs/locfile-kw.h: Likewise.
39475
39476         [BZ #13673]
39477         * intl/plural.y: Replace FSF snail mail address with URL.
39478         * intl/plural.c: Regenerated.
39479
39480 2012-03-09  Richard Henderson  <rth@twiddle.net>
39481
39482         * include/math_private.h: Remove file.
39483         * math/math_private.h: Move file ...
39484         * sysdeps/generic/math_private.h: ... here.
39485
39486         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39487         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39488         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39489
39490         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39491         and <math_private.h>.
39492         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39493         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39494         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39495         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39496         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39497         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39498         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39500         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39501         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39502         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39503         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39504         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39505         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39506         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39507         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39508         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39509         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39510         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39511         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39512         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39513         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39514         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39515         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39516         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39517         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39518         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39519         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39520         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39521         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39522         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39523         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39524         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39525         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39526         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39527         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39528         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39529         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39530         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39531         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39532         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39533         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39534         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39535         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39536         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39537         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39538         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39539         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39540         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39541         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39542         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39543         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39544         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39545         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39546         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39547         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39548         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39549         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39550         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39551         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39552         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39553         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39554         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39555         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39556         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39557         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39558         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39559         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39560         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39561         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39562         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39563         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39564         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39565         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39566         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39567         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39569         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39571         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39572         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39573         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39574         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39575         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39576         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39577         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39578         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39579         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39580         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39581         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39582         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39583         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39584         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39585         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39586         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39587         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39588         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39589         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39590         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39591         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39592         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39593         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39594         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39595         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39596         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39597         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39598         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39599         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39600         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39601         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39602         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39603         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39604         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39605         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39606         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39607         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39608         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39609         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39610         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39611         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39612         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39613         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39614         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39615         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39616         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39617         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39618         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39619         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39620         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39621         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39622         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39623         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39624         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39625         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39626         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39627         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39628         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39629         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39630         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39631         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39632         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39633         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39634         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39635         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39636         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39637         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39638         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39639         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39640         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39641         * sysdeps/ieee754/k_standard.c: Likewise.
39642         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39643         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39644         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39645         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39646         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39647         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39648         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39649         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39650         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39651         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39652         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39653         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39654         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39655         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39656         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39657         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39658         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39659         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39660         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39661         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39662         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39663         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39664         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39665         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39666         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39667         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39668         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39669         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39670         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39671         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39672         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39673         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39674         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39675         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39676         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39677         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39678         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39679         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39680         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39681         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39682         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39683         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39684         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39685         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39686         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39687         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39689         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39690         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39691         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39692         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39693         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39694         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39695         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39696         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39697         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39698         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39699         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39700         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39701         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39702         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39703         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39704         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39706         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39707         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39708         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39709         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39710         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39711         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39712         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39714         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39715         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39718         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39719         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39720         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39721         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39722         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39723         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39724         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39725         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39726         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39727         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39728         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39729         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39730         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39731         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39732         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39733         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39734         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39735         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39736         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39737         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39738         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39739         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39740         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39741         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39742         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39743         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39744         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39745         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39746         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39747         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39748         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39749         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39750         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39751         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39752         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39753         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39754         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39755         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39756         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39757         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39758         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39759         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39760         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39761         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39762         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39763         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39764         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39765         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39766         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39767         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39768         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39769         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39770         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39771         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39772         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39773         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39774         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39775         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39776         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39777         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39778         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39779         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39780         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39781         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39782         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39783         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39784         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39785         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39786         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39787         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39788         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39789         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39790         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39791         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39792         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39793         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39794         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39795         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39796         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39797         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39798         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39799         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39800         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39801         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39802         * sysdeps/ieee754/s_lib_version.c: Likewise.
39803         * sysdeps/ieee754/s_matherr.c: Likewise.
39804         * sysdeps/ieee754/s_signgam.c: Likewise.
39805         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39806         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39807         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39808         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39809         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39810         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39811         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39812         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39813         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39814         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39815         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39816         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39817         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39818         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39819         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39820         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39821         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39822         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39823         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39825         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39826
39827 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39828
39829         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39830         * sunrpc/rpc_main.c: Likewise.
39831         * sunrpc/rpc_svcout.c: Likewise.
39832
39833 2012-03-09  David S. Miller  <davem@davemloft.net>
39834
39835         * include/math_private.h: New file.
39836
39837 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39838
39839         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39840         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39841         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39842         from <bits/socket_type.h>.
39843         (enum __socket_type): Don't define here.
39844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39846         bits/socket_type.h.
39847
39848         [BZ #13566]
39849         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39850         checking __USE_GNU.
39851
39852         * Makerules ($(inst_includedir)/%.h): New rule.
39853         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39854         (install-others): Remove variable setting.
39855         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39856
39857 2012-03-08  Richard Henderson  <rth@twiddle.net>
39858
39859         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39860         from macro to inline function; merge with the
39861         !__LIBC_INTERNAL_MATH_INLINES version.
39862         (__ieee754_sqrtf): Likewise.
39863
39864         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39865         to inline function.
39866         (__rintf, __floor, __floorf): Likewise.
39867
39868         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39869         macro to inline function.
39870         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39871
39872         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39873         not <math/math_private.h>.
39874
39875 2012-03-08  David S. Miller  <davem@davemloft.net>
39876
39877         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39878         copyright year.
39879         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39880
39881 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39882
39883         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39884         normalization.
39885         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39886         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39887
39888 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39889
39890         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39891         be defined individually, they must be defined as a block.  Define
39892         S for printing a string instead of hidint the different by using a
39893         macro for adding the 'l'.
39894         * stdio-common/tst-fphex-wide.c: Adjust.
39895
39896 2012-03-07  Marek Polacek  <polacek@redhat.com>
39897
39898         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39899
39900 2012-03-08  Marek Polacek  <polacek@redhat.com>
39901
39902         [BZ #13806]
39903         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39904         * stdio-common/tst-fphex.c: Define a few macros to make the
39905         test reusable.  Use them.
39906         * stdio-common/tst-fphex-wide.c: New file.
39907
39908 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39909
39910         [BZ #6911]
39911         * manual/macros.texi (gnusystems): New macro.
39912         (nongnusystems): Likewise.
39913         (gnulinuxhurdsystems): Likewise.
39914         (gnuhurdsystems): Likewise..
39915         (gnulinuxsystems): Likewise.
39916         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39917         variants of the GNU system, not "GNU system".
39918         * manual/conf.texi: Likewise.
39919         * manual/errno.texi: Likewise.  Update example of errno macro
39920         expansion.
39921         * manual/filesys.texi: Likewise.
39922         (getumask): Document as specific to GNU/Hurd.
39923         * manual/install.texi: Likewise.  Reword some references to
39924         GNU/Linux.
39925         * manual/intro.texi: Likewise.
39926         * manual/io.texi: Likewise.
39927         (File Name Portability): Detail which constraints are inapplicable
39928         to all GNU systems and which are only inapplicable to GNU/Hurd.
39929         * manual/job.texi: Likewise.
39930         * manual/llio.texi: Likewise.
39931         (O_NOCTTY): Document as present on GNU/Linux.
39932         * manual/maint.texi: Likewise.
39933         * manual/memory.texi: Likewise.
39934         * manual/pattern.texi: Likewise.
39935         * manual/pipe.texi: Likewise.
39936         * manual/process.texi: Likewise.
39937         * manual/resource.texi: Likewise.
39938         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39939         child on GNU/Hurd.
39940         * manual/setjmp.texi: Likewise.
39941         * manual/signal.texi: Likewise.
39942         * manual/startup.texi: Likewise.
39943         * manual/stdio.texi: Likewise.
39944         * manual/terminal.texi: Likewise.
39945         (ONLCR): Document as POSIX.
39946         (OXTABS): Document availability on GNU/Linux as XTABS.
39947         (ONOEOT): Document availability separately from other bits.
39948         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39949         * manual/time.texi: Likewise.
39950         * manual/users.texi: Likewise.
39951         * INSTALL: Regenerated.
39952         * sysdeps/gnu/errlist.c: Regenerated.
39953
39954         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39955         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39956         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39957         puts.
39958         * configure: Regenerated.
39959
39960 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39961
39962         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39963         default includes instead of AC_HEADER_CHECK.
39964         * sysdeps/i386/configure: Regenerated.
39965
39966         [BZ #10716]
39967         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39968         * math/s_cacoshf.c (__cacoshf): Likewise.
39969         * math/s_cacoshl.c (__cacoshl): Likewise.
39970         * math/s_casinh.c (__casinh): Set signs of result from argument.
39971         * math/s_casinhf.c (__casinhf): Likewise.
39972         * math/s_casinhl.c (__casinhl): Likewise.
39973         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39974         (casinh_test): Add more tests.
39975         * sysdeps/i386/fpu/libm-test-ulps: Update.
39976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39977
39978 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39979
39980         * po/zh_TW.po: Update from translation team.
39981
39982         * login/Makefile (distribute): Remove variable.
39983         * catgets/Makefile: Likewise.
39984         * mach/Makefile: Likewise.
39985         * malloc/Makefile: Likewise.
39986         * misc/Makefile: Likewise.
39987         * iconv/Makefile: Likewise.
39988         * nscd/Makefile: Likewise.
39989         * hurd/Makefile: Likewise.
39990         * manual/Makefile: Likewise.
39991         * locale/Makefile: Likewise.
39992         * intl/Makefile: Likewise.
39993         * conform/Makefile: Likewise.
39994         * nss/Makefile: Likewise.
39995         * time/Makefile: Likewise.
39996         * soft-fp/Makefile: Likewise.
39997         * dirent/Makefile: Likewise.
39998         * gmon/Makefile: Likewise.
39999         * po/Makefile: Likewise.
40000         * rt/Makefile: Likewise.
40001         * socket/Makefile: Likewise.
40002         * math/Makefile: Likewise.
40003         * signal/Makefile: Likewise.
40004         * debug/Makefile: Likewise.
40005         * elf/Makefile: Likewise.
40006         * timezone/Makefile: Likewise.
40007         * stdlib/Makefile: Likewise.
40008         * iconvdata/Makefile: Likewise.
40009         * sunrpc/Makefile: Likewise.
40010         * io/Makefile: Likewise.
40011         * argp/Makefile: Likewise.
40012         * inet/Makefile: Likewise.
40013         * hesiod/Makefile: Likewise.
40014         * grp/Makefile: Likewise.
40015         * csu/Makefile: Likewise.
40016         * wctype/Makefile: Likewise.
40017         * crypt/Makefile: Likewise.
40018         * libio/Makefile: Likewise.
40019         * string/Makefile: Likewise.
40020         * nis/Makefile: Likewise.
40021         * resolv/Makefile: Likewise.
40022         * stdio-common/Makefile: Likewise.
40023         * wcsmbs/Makefile: Likewise.
40024         * dlfcn/Makefile: Likewise.
40025         * posix/Makefile: Likewise.
40026
40027         [BZ #6959]
40028         * timezone/Makefile: Don't install timezone files, just the programs
40029         and scripts.
40030
40031 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40032
40033         * nss/databases.def: Add missing gshadow entry.
40034
40035         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40036
40037 2012-03-06  Marek Polacek  <polacek@redhat.com>
40038
40039         [BZ #13726]
40040         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40041         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40042         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40043         * stdio-common/tst-long-dbl-fphex.c: New file.
40044
40045 2012-03-06  David S. Miller  <davem@davemloft.net>
40046
40047         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40048         (set_obp_int): New function.
40049         (get_obp_int): New function.
40050         (__get_clockfreq_via_dev_openprom): Likewise.
40051         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40052         Avoid unused variable warnings on 'val' and use builtin_expect.
40053         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40054         __builtin_expect.
40055         (INLINE_CLONE_SYSCALL): Likewise.
40056
40057 2012-03-05  David S. Miller  <davem@davemloft.net>
40058
40059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40060
40061 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40062
40063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40064
40065         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40066         only for |x| >= 40.
40067         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40068
40069 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40070
40071         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40072         Replace gettimeofday with __vdso_gettimeofday.
40073
40074         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40075         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40076         __vdso_clock_gettime and __vdso_getcpu.
40077
40078         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40079         time with __vdso_time.
40080
40081 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40082
40083         * manual/lang.texi (size_t): Note types to which size_t may be
40084         equivalent with the GNU C Library, but do not describe when
40085         differences between them are significant.
40086
40087 2012-03-05  Andreas Jaeger  <aj@suse.de>
40088
40089         * sysdeps/i386/fpu/libm-test-ulps: Update.
40090
40091 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40092
40093         [BZ #3976]
40094         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40095         (__ieee754_pow): Save and restore rounding mode and use
40096         round-to-nearest for main computations.
40097         * math/libm-test.inc (pow_test_tonearest): New function.
40098         (pow_test_towardzero): Likewise.
40099         (pow_test_downward): Likewise.
40100         (pow_test_upward): Likewise.
40101         (main): Call the new functions.
40102         * sysdeps/i386/fpu/libm-test-ulps: Update.
40103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40104
40105         [BZ #3976]
40106         * math/libm-test.inc (cosh_test_tonearest): New function.
40107         (cosh_test_towardzero): Likewise.
40108         (cosh_test_downward): Likewise.
40109         (cosh_test_upward): Likewise.
40110         (sinh_test_tonearest): Likewise.
40111         (sinh_test_towardzero): Likewise.
40112         (sinh_test_downward): Likewise.
40113         (sinh_test_upward): Likewise.
40114         (main): Call the new functions.
40115         * sysdeps/i386/fpu/libm-test-ulps: Update.
40116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40117
40118 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40119
40120         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40121         default stack guard is set in last bytes.
40122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40123
40124 2012-03-05  Kees Cook  <keescook@chromium.org>
40125
40126         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40127
40128         [BZ #13656]
40129         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40130         possibly allocate from heap instead of stack.
40131         * stdio-common/bug-vfprintf-nargs.c: New file.
40132         * stdio-common/Makefile (tests): Add nargs overflow test.
40133
40134 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40135
40136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40137
40138 2012-03-03  Marek Polacek  <polacek@redhat.com>
40139
40140         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40141         * math/math_private.h: Likewise.
40142         * stdlib/tst-strtod.c: Likewise.
40143         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40144         * sysdeps/x86_64/bits/atomic.h: Likewise.
40145
40146 2012-03-02  David S. Miller  <davem@davemloft.net>
40147
40148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40152         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40153         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40154         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40155         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40156
40157 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40158
40159         [BZ #13792]
40160         * manual/examples/README: New file, says the example source files
40161         can be used under GPL>=2.
40162         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40163         line containing just "*/".
40164         * manual/examples/add.c: Add copyright header (GPL>=2).
40165         * manual/examples/argp-ex1.c: Likewise.
40166         * manual/examples/argp-ex2.c: Likewise.
40167         * manual/examples/argp-ex3.c: Likewise.
40168         * manual/examples/argp-ex4.c: Likewise.
40169         * manual/examples/atexit.c: Likewise.
40170         * manual/examples/db.c: Likewise.
40171         * manual/examples/dir.c: Likewise.
40172         * manual/examples/dir2.c: Likewise.
40173         * manual/examples/execinfo.c: Likewise.
40174         * manual/examples/filecli.c: Likewise.
40175         * manual/examples/filesrv.c: Likewise.
40176         * manual/examples/fmtmsgexpl.c: Likewise.
40177         * manual/examples/genpass.c: Likewise.
40178         * manual/examples/inetcli.c: Likewise.
40179         * manual/examples/inetsrv.c: Likewise.
40180         * manual/examples/isockad.c: Likewise.
40181         * manual/examples/longopt.c: Likewise.
40182         * manual/examples/memopen.c: Likewise.
40183         * manual/examples/memstrm.c: Likewise.
40184         * manual/examples/mkfsock.c: Likewise.
40185         * manual/examples/mkisock.c: Likewise.
40186         * manual/examples/mygetpass.c: Likewise.
40187         * manual/examples/pipe.c: Likewise.
40188         * manual/examples/popen.c: Likewise.
40189         * manual/examples/rprintf.c: Likewise.
40190         * manual/examples/search.c: Likewise.
40191         * manual/examples/select.c: Likewise.
40192         * manual/examples/setjmp.c: Likewise.
40193         * manual/examples/sigh1.c: Likewise.
40194         * manual/examples/sigusr.c: Likewise.
40195         * manual/examples/stpcpy.c: Likewise.
40196         * manual/examples/strdupa.c: Likewise.
40197         * manual/examples/strftim.c: Likewise.
40198         * manual/examples/strncat.c: Likewise.
40199         * manual/examples/subopt.c: Likewise.
40200         * manual/examples/swapcontext.c: Likewise.
40201         * manual/examples/termios.c: Likewise.
40202         * manual/examples/testopt.c: Likewise.
40203         * manual/examples/testpass.c: Likewise.
40204         * manual/examples/timeval_subtract.c: Likewise.
40205
40206         [BZ #13792]
40207         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40208         function to ...
40209         * manual/timeval_subtract.c.texi: ... here, new file.
40210
40211 2012-03-02  David S. Miller  <davem@davemloft.net>
40212
40213         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40214
40215 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40216
40217         [BZ #3976]
40218         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40219         (__sin): Save and restore rounding mode and use round-to-nearest
40220         for all computations.
40221         (__cos): Save and restore rounding mode and use round-to-nearest
40222         for all computations.
40223         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40224         <fenv.h>.
40225         (tan): Save and restore rounding mode and use round-to-nearest for
40226         all computations.
40227         * math/libm-test.inc (cos_test_tonearest): New function.
40228         (cos_test_towardzero): Likewise.
40229         (cos_test_downward): Likewise.
40230         (cos_test_upward): Likewise.
40231         (sin_test_tonearest): Likewise.
40232         (sin_test_towardzero): Likewise.
40233         (sin_test_downward): Likewise.
40234         (sin_test_upward): Likewise.
40235         (tan_test_tonearest): Likewise.
40236         (tan_test_towardzero): Likewise.
40237         (tan_test_downward): Likewise.
40238         (tan_test_upward): Likewise.
40239         (main): Call the new functions.
40240         * sysdeps/i386/fpu/libm-test-ulps: Update.
40241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40242
40243         [BZ #10135]
40244         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40245         small n, then large n, before computing and testing k+n.
40246         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40247         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40248         Likewise.
40249         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40250         Likewise.
40251         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40252         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40255         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40257         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40258         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40259         * math/libm-test.inc (scalbn_test): Add more tests.
40260         (scalbln_test): Likewise.
40261
40262         * manual/filesys.texi (mode_t): Describe constraints on size and
40263         signedness, not exact equivalence to a particular type.
40264         (ino_t): Likewise.
40265         (ino64_t): Likewise.
40266         (dev_t): Likewise.
40267         (nlink_t): Likewise.
40268         (blkcnt_t): Likewise.
40269         (blkcnt64_t): Likewise.
40270         * manual/llio.texi (off_t): Likewise.
40271
40272         [BZ #3976]
40273         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40274         (__ieee754_exp): Save and restore rounding mode and use
40275         round-to-nearest for all computations.
40276         * math/libm-test.inc (exp_test_tonearest): New function.
40277         (exp_test_towardzero): Likewise.
40278         (exp_test_downward): Likewise.
40279         (exp_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-01  Chris Demetriou  <cgd@google.com>
40285
40286         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40287         have predictable order.
40288
40289 2012-03-01  David S. Miller  <davem@davemloft.net>
40290
40291         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40292
40293         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40294         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40295         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40296         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40297
40298         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40299         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40300         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40302         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40303         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40304         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40305         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40306         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40307
40308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40309
40310         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40311         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40312         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40313
40314         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40315         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40316         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40317         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40318         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40319         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40320         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40321         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40322         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40323         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40324         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40325         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40326         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40327         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40328         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40330         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40331         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40332         * sysdeps/sparc/elf/configure: Regenerated.
40333
40334 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40335
40336         * configure.in (AS, LD): Require binutils 2.20 or later.
40337         * configure: Regenerated.
40338         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40339         as required minimum version.
40340         * INSTALL: Regenerated.
40341
40342         [BZ #2541]
40343         [BZ #4108]
40344         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40345         before squaring exponent.
40346         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40347         bottom long double and 27 bits of top long double before squaring
40348         exponent.
40349         * math/libm-test.inc (erfc_test): Add more tests.
40350         * sysdeps/i386/fpu/libm-test-ulps: Update.
40351         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40353
40354 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40355
40356         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40357         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40358         containing bit-fields.
40359         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40360         * soft-fp/single.h (_FP_UNION_S): Likewise.
40361         * soft-fp/double.h (_FP_UNION_D): Likewise.
40362
40363 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40364
40365         [BZ #13786]
40366         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40367         not include ../strcmp.S.
40368         [USE_AS_STRNCASECMP_L]: Likewise.
40369         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40370         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40371         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40372         (__strncasecmp_l_ia32): Define as alias to
40373         __strncasecmp_l_nonascii.
40374
40375         [BZ #5794]
40376         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40377         * sysdeps/i386/fpu/libm-test-ulps: Update.
40378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40379
40380         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40382
40383 2012-02-29  Jeff Law  <law@redhat.com>
40384
40385         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40386         out of bounds read.
40387
40388 2012-02-29  Marek Polacek  <polacek@redhat.com>
40389
40390         [BZ #13706]
40391         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40392         * elf/Makefile: Add rules to run tst-unused-dep.out.
40393
40394 2012-02-28  David S. Miller  <davem@davemloft.net>
40395
40396         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40397         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40398         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40399         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40400         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40401         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40402
40403 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40404
40405         * math/libm-test.inc (llround_test): Move one test from
40406         lround_test.  Use TEST_f_L in moved test.
40407         (lround_test): Move misplaced test to llround_test.  Add testcase
40408         from bug 2561.
40409
40410 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40411
40412         * sysdeps/x86_64/fpu/e_expf.S: New file.
40413         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40414
40415 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40416
40417         [BZ #13637]
40418         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40419         of remain_len that may cause incomplete multi-byte character and
40420         false match.
40421         * posix/bug-regex33.c: New file.
40422         * posix/Makefile (tests): Add bug-regex33.
40423
40424 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40425
40426         * manual/macros.texi: New file.
40427         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40428         * manual/libc.texinfo: Include macros.texi.
40429         * manual/creatute.texi: Likewise.
40430         * manual/install.texi: Likewise.
40431         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40432         @glibcadj{} in references to the GNU C Library.
40433         * manual/charset.texi: Likewise.
40434         * manual/conf.texi: Likewise.
40435         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40436         when not using those macros.
40437         * manual/creature.texi: Likewise.
40438         * manual/crypt.texi: Likewise.
40439         * manual/errno.texi: Likewise.
40440         * manual/filesys.texi: Likewise.
40441         * manual/header.texi: Likewise.
40442         * manual/install.texi: Likewise.
40443         * manual/intro.texi: Likewise.
40444         * manual/io.texi: Likewise.
40445         * manual/job.texi: Likewise.
40446         * manual/lang.texi: Likewise.
40447         * manual/libc.texiinfo: Likewise.
40448         * manual/llio.texi: Likewise.
40449         * manual/locale.texi: Likewise.
40450         * manual/maint.texi: Likewise.
40451         * manual/math.texi: Likewise.
40452         * manual/memory.texi: Likewise.
40453         * manual/message.texi: Likewise.
40454         * manual/nss.texi: Likewise.
40455         * manual/pattern.texi: Likewise.
40456         * manual/process.texi: Likewise.
40457         * manual/resource.texi: Likewise.
40458         * manual/search.texi: Likewise.
40459         * manual/setjmp.texi: Likewise.
40460         * manual/signal.texi: Likewise.
40461         * manual/socket.texi: Likewise.
40462         * manual/startup.texi: Likewise.
40463         * manual/stdio.texi: Likewise.
40464         * manual/string.texi: Likewise.
40465         * manual/sysinfo.texi: Likewise.
40466         * manual/syslog.texi: Likewise.
40467         * manual/terminal.texi: Likewise.
40468         * manual/time.texi: Likewise.
40469         * manual/users.texi: Likewise.
40470         * INSTALL: Regenerated.
40471         * NOTES: Regenerated.
40472         * sysdeps/gnu/errlist.c: Regenerated.
40473
40474 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40475
40476         * include/dirent.h: Include <dirstream.h> before
40477         <dirent/dirent.h>.
40478
40479 2012-02-28  David S. Miller  <davem@davemloft.net>
40480
40481         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40482         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40483         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40484         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40485
40486 2012-02-27  David S. Miller  <davem@davemloft.net>
40487
40488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40490         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40491         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40492
40493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40494         frame pointer instead of stack pointer relative arg slot.
40495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40496         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40497         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40498
40499 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40500
40501         [BZ #3992]
40502         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40503
40504 2012-02-27  David S. Miller  <davem@davemloft.net>
40505
40506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40510         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40511         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40512         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40513         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40514
40515 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40516
40517         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40518         later.  Allow versions 5-9.
40519         * configure: Regenerated.
40520         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40521         required minimum version and 4.6 as recommended version.  Do not
40522         mention bugs in GCC 2.7 and 2.8.
40523         * INSTALL: Regenerated.
40524
40525 2012-02-27  David S. Miller  <davem@davemloft.net>
40526
40527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40531         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40532         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40533         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40534         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40535
40536         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40537         manipulate bits before adding and subtracting TWO112[sx].
40538         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40539
40540 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40541
40542         [BZ #13775]
40543         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40544         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40545         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40546         being in POSIX, because they are in 1003.1-2008.
40547
40548         * rt/tst-aio.c: Include <fcntl.h>.
40549         * rt/tst-aio7.c: Likewise.
40550         * rt/tst-aio64.c: Likewise.
40551
40552         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40553
40554 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40555
40556         * manual/install.texi (--with-headers): Describe headers as
40557         interface headers, not private headers.
40558         (Specific advice for GNU/Linux systems): Describe use of headers
40559         from "make headers_install", not private headers from older
40560         kernels.
40561         * INSTALL: Regenerated.
40562         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40563         Change to 2.6.19.
40564         * sysdeps/unix/sysv/linux/configure: Regenerated.
40565
40566         * manual/llio.texi (fclean): Remove documentation.
40567
40568         * manual/Makefile (libc-texi-generated): New variable.  Include
40569         version.texi.
40570         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40571         $(libc-texi-generated), not duplicated list of files.
40572         (version.texi, stamp-version): New rules.
40573         (realclean): Remove $(libc-texi-generated), not individual files
40574         from that list.  Do not remove dir-add.texinfo.
40575         * manual/libc.texinfo: Comment out uses of edition numbers and
40576         references to printed manual.  Remove last-updated dates.
40577         (EDITION): Comment out.
40578         (ISBN): Likewise.
40579         (VERSION, UPDATED): Remove.
40580         (version.texi): Include.
40581
40582 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40583
40584         * sysdeps/posix/spawni.c: Include <signal.h>.
40585         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40586         * sysdeps/pthread/aio_fsync.c: Likewise.
40587
40588 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40589
40590         * conform/Makefile (tests): Run only when not cross-compiling and
40591         when fast-check is not defined.
40592
40593         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40594         * conform/data/limits.h-data: Fixes for POSIX2008.
40595         * conform/run-conformtest.sh: Run all tests.
40596         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40597         headers.
40598         * include/bits/dlfcn.h: Likewise.
40599         * include/langinfo.h: Likewise.
40600         * include/monetary.h: Likewise.
40601         * include/sys/poll.h: Likewise.
40602
40603         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40604         for __USE_GNU.
40605         * posix/spawn.h: Define __need_sigset_t.
40606         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40607         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40608         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40609         to get sigevent_t only.
40610         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40611         only for __USE_GNU.
40612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40613         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40614         process_vm_writev only for __USE_GNU.
40615         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40616
40617         * conform/Makefile: For now ignore errors from run-conformtest.
40618         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40619         POSIX to avoid namespace pollution.  Don't prepend headers.
40620         * conform/data/aio.h-data: Fixes for POSIX testing.
40621         * conform/data/fcntl.h-data: Likewise.
40622         * conform/data/glob.h-data: Likewise.
40623         * conform/data/grp.h-data: Likewise.
40624         * conform/data/pthread.h-data: Likewise.
40625         * conform/data/pwd.h-data: Likewise.
40626         * conform/data/signal.h-data: Likewise.
40627         * conform/data/spawn.h-data: Likewise.
40628         * conform/data/stdio.h-data: Likewise.
40629         * conform/data/stdlib.h-data: Likewise.
40630         * conform/data/stropts.h-data: Likewise.
40631         * conform/data/sys/mman.h-data: Likewise.
40632         * conform/data/sys/stat.h-data: Likewise.
40633         * conform/data/sys/types.h-data: Likewise.
40634         * conform/data/sys/wait.h-data: Likewise.
40635         * conform/data/time.h-data: Likewise.
40636         * conform/data/unistd.h-data: Likewise.
40637         * conform/data/utime.h-data: Likewise.
40638
40639         * io/sys/stat.h: fchmod was always in POSIX.
40640         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40641         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40642         * rt/aio.h: Define __need_timespec before including <time.h>.
40643         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40644         struct.  Add forward declaration of pthread_attr_t and use it in
40645         sigevent.
40646         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40647         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40648         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40649         always remove CLK_TCK definition.
40650
40651 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40652
40653         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40654
40655 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40656
40657         * conform/run-conformtest.sh: New file.
40658         * conform/Makefile: Run run-conformtest for tests.
40659         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40660         support.
40661
40662         * conform/data/uchar.h-data: New file.
40663         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40664         * conform/data/arpa/inet.h-data: Likewise.
40665         * conform/data/assert.h-data: Likewise.
40666         * conform/data/complex.h-data: Likewise.
40667         * conform/data/cpio.h-data: Likewise.
40668         * conform/data/ctype.h-data: Likewise.
40669         * conform/data/dirent.h-data: Likewise.
40670         * conform/data/dlfcn.h-data: Likewise.
40671         * conform/data/errno.h-data: Likewise.
40672         * conform/data/fcntl.h-data: Likewise.
40673         * conform/data/float.h-data: Likewise.
40674         * conform/data/fmtmsg.h-data: Likewise.
40675         * conform/data/fnmatch.h-data: Likewise.
40676         * conform/data/ftw.h-data: Likewise.
40677         * conform/data/glob.h-data: Likewise.
40678         * conform/data/grp.h-data: Likewise.
40679         * conform/data/iconv.h-data: Likewise.
40680         * conform/data/inttypes.h-data: Likewise.
40681         * conform/data/langinfo.h-data: Likewise.
40682         * conform/data/libgen.h-data: Likewise.
40683         * conform/data/limits.h-data: Likewise.
40684         * conform/data/locale.h-data: Likewise.
40685         * conform/data/math.h-data: Likewise.
40686         * conform/data/monetary.h-data: Likewise.
40687         * conform/data/mqueue.h-data: Likewise.
40688         * conform/data/ndbm.h-data: Likewise.
40689         * conform/data/net/if.h-data: Likewise.
40690         * conform/data/netdb.h-data: Likewise.
40691         * conform/data/netinet/in.h-data: Likewise.
40692         * conform/data/nl_types.h-data: Likewise.
40693         * conform/data/poll.h-data: Likewise.
40694         * conform/data/pthread.h-data: Likewise.
40695         * conform/data/pwd.h-data: Likewise.
40696         * conform/data/regex.h-data: Likewise.
40697         * conform/data/sched.h-data: Likewise.
40698         * conform/data/search.h-data: Likewise.
40699         * conform/data/semaphore.h-data: Likewise.
40700         * conform/data/setjmp.h-data: Likewise.
40701         * conform/data/signal.h-data: Likewise.
40702         * conform/data/spawn.h-data: Likewise.
40703         * conform/data/stdarg.h-data: Likewise.
40704         * conform/data/stdio.h-data: Likewise.
40705         * conform/data/stdlib.h-data: Likewise.
40706         * conform/data/string.h-data: Likewise.
40707         * conform/data/strings.h-data: Likewise.
40708         * conform/data/stropts.h-data: Likewise.
40709         * conform/data/sys/ipc.h-data: Likewise.
40710         * conform/data/sys/mman.h-data: Likewise.
40711         * conform/data/sys/msg.h-data: Likewise.
40712         * conform/data/sys/resource.h-data: Likewise.
40713         * conform/data/sys/select.h-data: Likewise.
40714         * conform/data/sys/sem.h-data: Likewise.
40715         * conform/data/sys/shm.h-data: Likewise.
40716         * conform/data/sys/socket.h-data: Likewise.
40717         * conform/data/sys/stat.h-data: Likewise.
40718         * conform/data/sys/statvfs.h-data: Likewise.
40719         * conform/data/sys/time.h-data: Likewise.
40720         * conform/data/sys/timeb.h-data: Likewise.
40721         * conform/data/sys/times.h-data: Likewise.
40722         * conform/data/sys/types.h-data: Likewise.
40723         * conform/data/sys/uio.h-data: Likewise.
40724         * conform/data/sys/un.h-data: Likewise.
40725         * conform/data/sys/utsname.h-data: Likewise.
40726         * conform/data/sys/wait.h-data: Likewise.
40727         * conform/data/syslog.h-data: Likewise.
40728         * conform/data/tar.h-data: Likewise.
40729         * conform/data/termios.h-data: Likewise.
40730         * conform/data/utime.h-data: Likewise.
40731         * conform/data/utmpx.h-data: Likewise.
40732         * conform/data/varargs.h-data: Likewise.
40733         * conform/data/wchar.h-data: Likewise.
40734         * conform/data/wctype.h-data: Likewise.
40735         * conform/data/wordexp.h-data: Likewise.
40736
40737         * include/stropts.h: New file.
40738         * include/uchar.h: New file.
40739         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40740         * include/assert.h: Likewise.
40741         * include/ctype.h: Likewise.
40742         * include/dirent.h: Likewise.
40743         * include/dlfcn.h: Likewise.
40744         * include/fcntl.h: Likewise.
40745         * include/fnmatch.h: Likewise.
40746         * include/glob.h: Likewise.
40747         * include/grp.h: Likewise.
40748         * include/libio.h: Likewise.
40749         * include/locale.h: Likewise.
40750         * include/math.h: Likewise.
40751         * include/net/if.h: Likewise.
40752         * include/netdb.h: Likewise.
40753         * include/netinet/in.h: Likewise.
40754         * include/pthread.h: Likewise.
40755         * include/pwd.h: Likewise.
40756         * include/regex.h: Likewise.
40757         * include/sched.h: Likewise.
40758         * include/search.h: Likewise.
40759         * include/setjmp.h: Likewise.
40760         * include/signal.h: Likewise.
40761         * include/stdio.h: Likewise.
40762         * include/stdlib.h: Likewise.
40763         * include/string.h: Likewise.
40764         * include/sys/cdefs.h: Likewise.
40765         * include/sys/mman.h: Likewise.
40766         * include/sys/msg.h: Likewise.
40767         * include/sys/resource.h: Likewise.
40768         * include/sys/select.h: Likewise.
40769         * include/sys/socket.h: Likewise.
40770         * include/sys/stat.h: Likewise.
40771         * include/sys/statvfs.h: Likewise.
40772         * include/sys/time.h: Likewise.
40773         * include/sys/times.h: Likewise.
40774         * include/sys/uio.h: Likewise.
40775         * include/sys/utsname.h: Likewise.
40776         * include/sys/wait.h: Likewise.
40777         * include/termios.h: Likewise.
40778         * include/time.h: Likewise.
40779         * include/ulimit.h: Likewise.
40780         * include/unistd.h: Likewise.
40781         * include/utime.h: Likewise.
40782         * include/wchar.h: Likewise.
40783         * include/wctype.h: Likewise.
40784         * include/wordexp.h: Likewise.
40785
40786         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40787
40788         * time/time.h: TIME_UTC must be a macro.
40789         Make timespec_get available for ISO C11 only as well.
40790
40791 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40792
40793         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40794         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40795
40796 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40797
40798         * configure.in: Use -o not -a in test for unsupported multi-arch.
40799
40800 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40801
40802         * manual/texinfo.tex: Update to version 2012-01-19.16.
40803
40804 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40805
40806         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40807
40808 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40809
40810         [BZ #13738]
40811         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40812         * manual/fdl-1.3.texi: New file.
40813         * manual/fdl-1.1.texi: File removed.
40814
40815         [BZ #13738]
40816         * manual/libc.texinfo (FDL_VERSION): New @set.
40817         Use it for mention of FDL in cover text.
40818         (Documentation License): Use it in @include file name.
40819
40820 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40821             Roland McGrath  <roland@hack.frob.com>
40822
40823         [BZ #5461]
40824         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40825         (not LONG_LONG_MAX and LONG_LONG_MIN.
40826         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40827         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40828         name.
40829         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40830
40831 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40832
40833         [BZ #2547]
40834         [BZ #11365]
40835         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40836         manipulate bits before adding and subtracting TWO23[sx].
40837         * math/libm-test.inc (nearbyint_test): Add more tests.
40838
40839 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40840
40841         [BZ #2548]
40842         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40843         bits before adding and subtracting TWO23[sx].
40844         * math/libm-test.inc (rint_test): Add more tests.
40845         (rint_test_tonearest): Likewise.
40846         (rint_test_towardzero): Likewise.
40847         (rint_test_downward): Likewise.
40848         (rint_test_upward: Likewise.
40849
40850 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40851
40852         [BZ #10110]
40853         * include/stdc-predef.h: New file.  Extracted from features.h.
40854         * include/features.h: Include stdc-predef.h.
40855         * Makefile (headers): Add stdc-predef.h.
40856         * CONFORMANCE (Compiler limitations): Update.
40857
40858 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40859
40860         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40861
40862 2012-02-21  David S. Miller  <davem@davemloft.net>
40863
40864         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40865         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40866
40867 2012-02-20  David S. Miller  <davem@davemloft.net>
40868
40869         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40870         using a normal save/restore sequence, rather than allocating a
40871         dummy stack frame just to store a frame pointer and restore.
40872         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40873
40874 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40875
40876         * manual/install.texi: Fix stray word in line-wrapped comment.
40877
40878 2012-02-20  David S. Miller  <davem@davemloft.net>
40879
40880         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40881         both binutils and gcc support GOTDATA.
40882
40883         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40884         "rd %pc" in the PIC register setup sequences.
40885
40886         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40887         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40888         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40889         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40890         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40891         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40892         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40893         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40894         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40895         (SYSCALL_ERROR_HANDLER): Likewise.
40896         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40897         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40898         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40899         (SYSCALL_ERROR_HANDLER): Likewise.
40900
40901         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40902         (HAVE_GCC_GOTDATA): New.
40903         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40904         relocation support in both binutils and gcc.
40905         * sysdeps/sparc/elf/configure: Regenerate.
40906
40907         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40908         * sysdeps/sparc/sparc32/elf/configure: Delete.
40909         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40910         * sysdeps/sparc/sparc64/elf/configure: Delete.
40911         * sysdeps/sparc/elf/configure.in: New file.
40912         * sysdeps/sparc/elf/configure: Generate.
40913
40914         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40915         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40916         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40917         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40918         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40919
40920 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40921
40922         * manual/install.texi: Do not mention specific glibc version
40923         numbers.
40924         * manual/libc.texinfo (VERSION, UPDATED): Update.
40925         (@copying): Use @copyright{} and range of years.
40926
40927 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40928
40929         [BZ #13695]
40930         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40931         [crti.S not in sysdirs] (generated): Do not append.
40932         [crti.S not in sysdirs] (omit-deps): Likewise.
40933         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40934         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40935         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40936         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40937         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40938         Likewise.
40939         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40940         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40941         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40942         * csu/defs.awk: Remove file.
40943         * sysdeps/generic/initfini.c: Likewise.
40944         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40945         variable.
40946         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40947         Likewise.
40948
40949 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40950
40951         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40952         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40953         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40954         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40955         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40956         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40957         <bits/epoll.h>.
40958         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40959         (__EPOLL_PACKED): Define to empty if not defined by
40960         <bits/epoll.h>.
40961         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40962         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40963         bits/epoll.h.
40964
40965 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40966
40967         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40968         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40969         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40970         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40971         <bits/timerfd.h>.
40972         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40974         bits/timerfd.h.
40975
40976 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40977
40978         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40979         in C locale.
40980         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40981         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40982         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40984
40985 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40986
40987         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40988         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40989
40990 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40991
40992         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40993         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40994         defined.
40995         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40996         Likewise.
40997         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40998         entry for 2.16.
40999
41000 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41001
41002         * math/w_acos.c: Use non-signaling floating-point comparisons.
41003         * math/w_acosf.c: Likewise.
41004         * math/w_acosh.c: Likewise.
41005         * math/w_acoshf.c: Likewise.
41006         * math/w_acoshl.c: Likewise.
41007         * math/w_acosl.c: Likewise.
41008         * math/w_asin.c: Likewise.
41009         * math/w_asinf.c: Likewise.
41010         * math/w_asinl.c: Likewise.
41011         * math/w_atanh.c: Likewise.
41012         * math/w_atanhf.c: Likewise.
41013         * math/w_atanhl.c: Likewise.
41014         * math/w_exp2.c: Likewise.
41015         * math/w_exp2f.c: Likewise.
41016         * math/w_exp2l.c: Likewise.
41017         * math/w_j0.c: Likewise.
41018         * math/w_j0f.c: Likewise.
41019         * math/w_j0l.c: Likewise.
41020         * math/w_j1.c: Likewise.
41021         * math/w_j1f.c: Likewise.
41022         * math/w_j1l.c: Likewise.
41023         * math/w_jn.c: Likewise.
41024         * math/w_jnf.c: Likewise.
41025         * math/w_log.c: Likewise.
41026         * math/w_log10.c: Likewise.
41027         * math/w_log10f.c: Likewise.
41028         * math/w_log10l.c: Likewise.
41029         * math/w_log2.c: Likewise.
41030         * math/w_log2f.c: Likewise.
41031         * math/w_log2l.c: Likewise.
41032         * math/w_logf.c: Likewise.
41033         * math/w_logl.c: Likewise.
41034         * math/w_sqrt.c: Likewise.
41035         * math/w_sqrtf.c: Likewise.
41036         * math/w_sqrtl.c: Likewise.
41037         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41039         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41040         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41041         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41042
41043 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41044
41045         [BZ #9739]
41046         * manual/string.texi (strnlen): Use correct parameter name in
41047         equivalent expression.
41048
41049 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41050
41051         [BZ #11174]
41052         * manual/users.texi (seteuid): Consistently use neweuid for
41053         argument name.
41054
41055 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41056
41057         [BZ #13704]
41058         * manual/nss.texi (Services in the NSS configuration): Correct
41059         list of services in example configuration file.
41060
41061 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41062
41063         [BZ #11322]
41064         * manual/arith.texi: Remove statements about negative zero
41065         behaving identically to zero.
41066
41067 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41068
41069         [BZ #5993]
41070         * manual/install.texi: Do not document upgrading from libc5.
41071
41072 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41073
41074         [BZ #4596]
41075         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41076
41077 2012-02-18  David S. Miller  <davem@davemloft.net>
41078
41079         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41080         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41081         %o7 across the call.
41082         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41083         instead.
41084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41085         SETUP_PIC_REG_LEAF.
41086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41087         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41088         * sysdeps/sparc/crtn.S: Likewise.
41089
41090 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41091
41092         * aout/Makefile: Remove.
41093
41094 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41095
41096         [BZ #13058]
41097         * manual/examples/argp-ex1.c (main): Format definition in GNU
41098         style.
41099         * manual/examples/argp-ex2.c (main): Likewise.
41100         * manual/examples/argp-ex3.c (main): Likewise.
41101         * manual/examples/argp-ex4.c (main): Likewise.
41102         * manual/examples/longopt.c (main): Use new-style prototype
41103         definition.
41104         * manual/examples/strncat.c (main): Specify return type and use
41105         (void) for arguments.
41106         * manual/examples/subopt.c (main): Use char **argv argument.
41107
41108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41109
41110         [BZ #5077]
41111         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41112         rounding modes.
41113
41114 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41115
41116         [BZ #6907]
41117         * manual/string.texi (strchr): Change when strchrnul is
41118         recommended.
41119
41120 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41121
41122         [BZ #174]
41123         * manual/locale.texi (setlocale): Document LOCPATH.
41124
41125 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41126
41127         [BZ #10210]
41128         * manual/process.texi (execle): Move @dots{} before last argument.
41129
41130 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41131
41132         [BZ #12047]
41133         * manual/charset.texi (Generic Charset Conversion): Fix typo
41134         (LC_TYPE -> LC_CTYPE).
41135
41136 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41137
41138         [BZ #5805]
41139         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41140         (scalbnf): Likewise.
41141         (scalbnl): Likewise.
41142         (scalbln): Likewise.
41143         (scalblnf): Likewise.
41144         (scalblnl): Likewise.
41145         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41146         (vwarnx): Likewise.
41147         (verr): Likewise.
41148         (verrx): Likewise.
41149         * manual/filesys.texi (telldir): Use braces around return type.
41150         * manual/llio.texi (mmap): Add space after comma.
41151         (mmap64): Likewise.
41152         * manual/math.texi (jn): Use @var{} on parameter names.
41153         (jnf): Likewise.
41154         (jnl): Likewise.
41155         (yn): Likewise.
41156         (ynf): Likewise.
41157         (ynl): Likewise.
41158         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41159         line.
41160         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41161         "...".
41162         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41163         (sched_get_priority_max): Likewise.
41164         * manual/signal.texi (sigvec): Add space after comma.
41165         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41166         names.
41167         (if_indextoname): Likewise.
41168         (if_freenameindex): Likewise.
41169         (sendto): Use ',' instead of '.' in prototype.
41170         * manual/startup.texi (syscall): Use @dots{} instead of literal
41171         "...".
41172         * manual/stdio.texi (__fpending): Separate initial words of
41173         paragraph from @deftypefun line.
41174         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41175         "...".
41176         (vsyslog): Use @var{} on parameter names.
41177         * manual/terminal.texi (stty): Use @var{} on parameter names.
41178         * manual/users.texi (getutmp): Use @var{} on parameter names.
41179         (getutmpx): Likewise.
41180
41181 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41182
41183         [BZ #6884]
41184         * manual/stdio.texi (fopen): Fix typos in description of
41185         ",ccs=STRING".
41186
41187 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41188
41189         [BZ #4026]
41190         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41191         get clock_id definition.
41192
41193 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41194
41195         [BZ #4822]
41196         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41197         (madvise): Cast every argument to void on its own.
41198
41199 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41200
41201         [BZ #9902]
41202         * manual/startup.texi (Exit Status): Fix typo.
41203
41204 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41205
41206         [BZ #10140]
41207         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41208         * manual/examples/argp-ex2.c: Likewise.
41209         * manual/examples/argp-ex3.c: Likewise.
41210
41211 2012-02-16  Richard Henderson  <rth@redhat.com>
41212
41213         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41214         * sysdeps/s390/s390-32/initfini.c: Remove.
41215         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41216         * sysdeps/s390/s390-64/initfini.c: Remove.
41217
41218 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41219
41220         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41221         compiler output for sysdeps/generic/initfini.c.
41222         * sysdeps/sh/elf/initfini.c: Remove file.
41223
41224 2012-02-16  David S. Miller  <davem@davemloft.net>
41225
41226         [BZ #11494]
41227         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41228
41229         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41230         * sysdeps/sparc/crti.S: New file.
41231         * sysdeps/sparc/crtn.S: New file.
41232         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41233         * sysdeps/sparc/sparc64/Makefile: Likewise.
41234
41235 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41236
41237         [BZ #3335]
41238         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41239
41240 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41241
41242         [BZ #4822]
41243         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41244
41245         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41246         (write, read, close): Likewise.
41247         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41248
41249 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41250
41251         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41252         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41253         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41254         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41255         <bits/signalfd.h>.
41256         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41257         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41258         bits/signalfd.h.
41259
41260 2012-02-14  Marek Polacek  <polacek@redhat.com>
41261
41262         * sysdeps/x86_64/crti.S: New file.
41263         * sysdeps/x86_64/crtn.S: New file.
41264         * sysdeps/x86_64/elf/initfini.c: Remove file.
41265
41266 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41267
41268         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41269         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41270         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41271         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41272         <bits/inotify.h>.
41273         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41275         bits/inotify.h.
41276
41277 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41278
41279         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41280         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41281         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41282         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41283         <bits/eventfd.h>.
41284         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41286         bits/eventfd.h.
41287
41288 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41289
41290         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41291         __feraiseexcept instead of feraiseexcept.
41292
41293         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41294         nanosleep invocations.
41295         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41296         strings, and add error checking for a nanosleep invocations.
41297
41298 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41299
41300         Replace FSF snail mail address with URLs, as per GNU coding standards.
41301         Most of the snail mail addresses were wrong anyway, and omitting
41302         them makes the source code easier to maintain.  Almost all of the
41303         changes are to license notices and to locale LC_IDENTIFICATION
41304         addresses, except for this one:
41305         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41306         not its snail mail address.
41307
41308 2012-02-09  Richard Henderson  <rth@twiddle.net>
41309
41310         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41311         of kernel-features.h.
41312
41313         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41314
41315 2012-02-08  Marek Polacek  <polacek@redhat.com>
41316
41317         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41318         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41319         * sysdeps/gnu/_G_config.h: Likewise.
41320         * sysdeps/generic/_G_config.h: Likewise.
41321
41322 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41323
41324         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41325         tests.
41326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41327
41328         * sysdeps/powerpc/powerpc32/crti.S: New file.
41329         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41330         * sysdeps/powerpc/powerpc64/crti.S: New file.
41331         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41332
41333         * Makeconfig (have-initfini): Don't set.
41334         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41335         * configure.in (nopic_initfini): Don't substitute.
41336         * config.h.in (HAVE_INITFINI): Don't #undef.
41337         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41338         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41339
41340 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41341
41342         Support crti.S and crtn.S provided directly by architectures.
41343         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41344         [crti.S in sysdirs] (omit-deps): Likewise.
41345         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41346         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41347         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41348         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41349         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41350         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41351         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41352         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41353         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41354         compiler output for sysdeps/generic/initfini.c.
41355         * sysdeps/i386/elf/Makefile: Remove file.
41356         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41357
41358 2012-02-07  Marek Polacek  <polacek@redhat.com>
41359
41360         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41361         * sysdeps/gnu/_G_config.h: Likewise.
41362         * sysdeps/mach/hurd/_G_config.h: Likewise.
41363
41364 2012-02-07  Marek Polacek  <polacek@redhat.com>
41365
41366         * math/Makefile (tests): Add tst-CMPLX2.
41367         * math/tst-CMPLX2.c: New file.
41368
41369 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41370
41371         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41372
41373         * math/libm-test.inc (jn_test): Add missing L suffix.
41374
41375 2012-02-06  Marek Polacek  <polacek@redhat.com>
41376
41377         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41378         * sysdeps/i386/fpu/e_powf.S: Likewise.
41379         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41380         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41381         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41382         * sysdeps/i386/fpu/e_pow.S: Likewise.
41383         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41384         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41385         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41386         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41387         * sysdeps/i386/fpu/e_log2.S: Likewise.
41388         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41389         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41390         * sysdeps/i386/fpu/e_powl.S: Likewise.
41391         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41392         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41393         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41394         * sysdeps/i386/fpu/e_logl.S: Likewise.
41395         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41396         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41397         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41398         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41399         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41400         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41401         * sysdeps/i386/fpu/e_log.S: Likewise.
41402         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41403         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41404         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41405         * sysdeps/i386/fpu/e_logf.S: Likewise.
41406         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41407         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41408         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41409         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41410         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41411         * sysdeps/i386/fpu/e_log10.S: Likewise.
41412         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41413         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41414         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41415         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41416         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41417         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41418         * sysdeps/i386/asm-syntax.h: Likewise.
41419         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41420         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41421         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41422         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41423         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41424         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41425         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41426         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41427         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41428         * sysdeps/powerpc/sysdep.h: Likewise.
41429         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41430         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41431
41432 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41433
41434         [BZ #411]
41435         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41436
41437 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41438
41439         * sysdeps/i386/sysdep.h: Include <features.h>.
41440         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41441         version.
41442
41443 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41444
41445         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41446         Define.
41447         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41448         LOAD_PIC_REG_STR.
41449
41450 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41451
41452         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41453         (SETUP_PIC_REG): Use GET_PC_THUNK.
41454         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41455         macro.
41456
41457 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41458
41459         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41460         for non-PIC compilation.
41461         (SETUP_PIC_REG): Add .p2align directive.
41462         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41463         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41464         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41465         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41466         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41467         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41468         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41476         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41477         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41478         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41479         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41480         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41481         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41482         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41483         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41484         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41485         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41486         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41487         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41488         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41489         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41490         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41491         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41492         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41493         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41494         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41495         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41496         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41497         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41498         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41499         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41500         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41501         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41502         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41503
41504 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41505
41506         * math/tst-CMPLX.c: Include <stdio.h>.
41507
41508 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41509
41510         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41511         float.
41512         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41513         * sysdeps/sparc/bits/mathdef.h: Likewise.
41514
41515 2012-01-31  Marek Polacek  <polacek@redhat.com>
41516
41517         * libio/libio.h: Don't define _PARAMS.
41518         * locale/programs/config.h: Don't define PARAMS.
41519         * stdlib/strtol_l.c: Likewise.
41520         (__strtol_l): Remove PARAMS from the prototype.
41521
41522 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41523
41524         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41525         names.  Just use the correct names.  Remove unnecessary wrapper
41526         functions.
41527         * malloc/arena.c: Likewise.
41528         * malloc/hooks.c: Likewise.
41529
41530         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41531         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41532         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41533
41534 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41535
41536         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41537         into tail calls.
41538         (update_get_addr): New function.
41539         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41540         GET_ADDR_MODULE parameter.
41541
41542 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41543
41544         * crypt/cert.c: Remove __STDC__ conditionals.
41545         * crypt/crypt-entry.c: Likewise.
41546         * crypt/crypt_util.c: Likewise.
41547         * libio/filedoalloc.c: Likewise.
41548         * libio/fileops.c: Likewise.
41549         * libio/genops.c: Likewise.
41550         * libio/iofclose.c: Likewise.
41551         * libio/iofdopen.c: Likewise.
41552         * libio/iofopen.c: Likewise.
41553         * libio/iofopen64.c: Likewise.
41554         * libio/iogetdelim.c: Likewise.
41555         * libio/iopopen.c: Likewise.
41556         * libio/obprintf.c: Likewise.
41557         * libio/oldfileops.c: Likewise.
41558         * libio/oldiofclose.c: Likewise.
41559         * libio/oldiofdopen.c: Likewise.
41560         * libio/oldiofopen.c: Likewise.
41561         * libio/oldiopopen.c: Likewise.
41562         * libio/wfiledoalloc.c: Likewise.
41563         * libio/wgenops.c: Likewise.
41564         * locale/programs/xmalloc.c: Likewise.
41565         * misc/syslog.c: Likewise.
41566         * stdio-common/xbug.c: Likewise.
41567         * string/memchr.c: Likewise.
41568         * string/memcmp.c: Likewise.
41569         * string/memrchr.c: Likewise.
41570         * string/rawmemchr.c: Likewise.
41571         * sysdeps/posix/getcwd.c: Likewise.
41572         * time/strftime_l.c: Likewise.
41573
41574 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41575
41576         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41577         * config.make.in (config-cflags-sse2avx): Define.
41578         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41579         Fix typo.
41580
41581 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41582
41583         * scripts/config.guess: Update from upstream config git repository.
41584         * scripts/config.sub: Likewise.
41585
41586 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41587
41588         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41589         (EM_NUM): Update.
41590         (R_TILEPRO_*, R_TILEGX_*): New macros.
41591
41592         * scripts/firstversions.awk: Fix bug in version range handling.
41593
41594         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41595
41596         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41597
41598         * include/sys/epoll.h: New file.
41599         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41600         libc_hidden_def.
41601
41602 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41603
41604         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41605         Avoid unnecessary __WORDSIZE == 64 test.
41606         (fmaxf): Use VEX format if possible.
41607         (fmax): Likewise.
41608         (fminf): Likewise.
41609         (fmin): Likewise.
41610
41611         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41612         * math/math_private.h: Remove libc_fegetround* and
41613         libc_fesetround*.
41614         * sysdeps/i386/configure.in: Check for -msse2avx.
41615         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41616         also if SSE2AVX is defined.
41617         Remove libc_fegetround* and libc_fesetround*.
41618         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41619         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41620         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41621         of HAS_YMM_USABLE.
41622         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41623         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41624         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41625         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41626         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41627
41628         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41629
41630 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41631
41632         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41633         size is not set.
41634         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41635
41636 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41637
41638         [BZ #13618]
41639         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41640         relocation.
41641         * Makeconfig (libm): Define.
41642         * elf/Makefile: Add rules to build and run tst-relsort1.
41643         * elf/tst-relsort1.c: New file.
41644         * elf/tst-relsort1mod1.c: New file.
41645         * elf/tst-relsort1mod2.c: New file.
41646
41647 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41648
41649         * math/s_ldexp.c: Remove __STDC__ conditionals.
41650         * math/s_ldexpf.c: Likewise.
41651         * math/s_ldexpl.c: Likewise.
41652         * math/s_nextafter.c: Likewise.
41653         * math/s_nexttowardf.c: Likewise.
41654         * math/s_significand.c: Likewise.
41655         * math/s_significandf.c: Likewise.
41656         * math/s_significandl.c: Likewise.
41657         * math/w_jnl.c: Likewise.
41658         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41659         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41660         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41661         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41662         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41663         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41664         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41665         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41666         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41667         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41668         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41669         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41670         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41671         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41672         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41673         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41674         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41675         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41677         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41678         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41679         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41680         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41681         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41682         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41683         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41684         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41685         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41686         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41687         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41688         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41689         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41690         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41691         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41692         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41693         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41694         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41695         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41696         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41697         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41698         * sysdeps/ieee754/k_standard.c: Likewise.
41699         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41700         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41701         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41702         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41703         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41704         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41705         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41706         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41707         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41708         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41709         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41710         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41711         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41712         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41713         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41714         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41715         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41716         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41717         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41718         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41719         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41720         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41721         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41722         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41723         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41724         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41725         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41726         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41727         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41728         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41729         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41730         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41731         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41732         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41734         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41735         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41736         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41737         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41738         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41739         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41740         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41741         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41742         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41743         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41744         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41745         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41746         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41747         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41748         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41749         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41750         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41752         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41753         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41754         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41755         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41756         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41757         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41758         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41759         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41760         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41761         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41762         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41763         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41764         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41765         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41766         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41767         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41768         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41769         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41770         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41771         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41772         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41773         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41774         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41775         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41776         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41777         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41778         * sysdeps/ieee754/s_matherr.c: Likewise.
41779         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41780         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41781         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41782         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41783
41784 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41785
41786         * crypt/md5.h: Remove __STDC__ conditionals.
41787         * libio/libioP.h: Likewise.
41788         * locale/programs/config.h: Likewise.
41789         * sysdeps/generic/sysdep.h: Likewise.
41790         * sysdeps/i386/asm-syntax.h: Likewise.
41791         * sysdeps/s390/asm-syntax.h: Likewise.
41792         * sysdeps/unix/sysdep.h: Likewise.
41793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41795
41796 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41797
41798         * libio/libio.h: Remove __STDC__ conditionals.
41799         * malloc/obstack.h: Likewise.
41800         * math/complex.h: Likewise.
41801         * math/math.h: Likewise.
41802         * sysdeps/generic/_G_config.h: Likewise.
41803         * sysdeps/gnu/_G_config.h: Likewise.
41804         * sysdeps/mach/hurd/_G_config.h: Likewise.
41805         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41806         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41807         * sysdeps/sparc/bits/mathdef.h: Likewise.
41808
41809 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41810
41811         [BZ #13583]
41812         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41813         Clean up HAS_* macros.
41814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41815         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41816         possible.
41817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41818         HAS_AVX.
41819         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41820         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41822         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41823         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41824
41825 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41826
41827         * elf/tst-unique3.cc (gets): Remove declaration.
41828         * elf/tst-unique3lib.cc (gets): Likewise.
41829         * elf/tst-unique3lib2.cc (gets): Likewise.
41830         * elf/tst-unique4.cc (gets): Likewise.
41831
41832 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41833
41834         * include/stdio.h: Add C++ protection.  Add gets declarations and
41835         definitions.
41836         * debug/tst-chk1.c: Don't declare gets here.
41837         * stdio-common/tst-gets.c: Likewise.
41838
41839 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41840
41841         * posix/glob: Remove directory.
41842
41843 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41844
41845         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41846
41847 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41848
41849         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41850         of the non-standard EPFNOSUPPORT.
41851
41852 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41853
41854         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41855         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41856         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41857
41858 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41859
41860         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41861
41862 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41863
41864         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41865         transient errors.
41866         * nscd/grpcache.c (cache_addgr): Likewise.
41867         * nscd/hstcache.c (cache_addhst): Likewise.
41868         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41869         * nscd/pwdcache.c (cache_addpw): Likewise.
41870         * nscd/servicescache.c (cache_addserv): Likewise.
41871
41872 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41873
41874         * malloc/malloc.c: Various cleanups.
41875         * malloc/hooks.c: Likewise.
41876
41877         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41878         * stdlib/bug-fmtmsg1.c: New file.
41879
41880         * stdlib/fmtmsg.c (init): Add missing unlock.
41881         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41882
41883 2012-01-12  Marek Polacek  <polacek@redhat.com>
41884
41885         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41886         and _GNU_SOURCE.
41887
41888 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41889
41890         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41891         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41892         macro to ensure uniqueness of label name.
41893         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41894         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41895
41896 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41897
41898         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41899
41900         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41901         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41902         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41903         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41904
41905 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41906
41907         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41908
41909         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41910         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41911         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41912
41913         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41914
41915         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41916         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41917         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41918         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41919
41920         * math/bits/math-finite.h: Add ldexp support.
41921
41922 2012-01-10  Marek Polacek  <polacek@redhat.com>
41923
41924         * locale/programs/localedef.h (show_archive_content): Add noreturn
41925         attribute.
41926
41927 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41928
41929         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41930
41931 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41932
41933         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41934
41935         * io/Makefile (headers): Add bits/poll2.h.
41936
41937 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41938
41939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41940         typo #include statement.
41941
41942 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41943
41944         * include/sys/cdefs.h: Define __attribute_alloc_size.
41945         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41946         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41947         * elf/pldd.c: Likewise.
41948         * iconv/iconv_charmap.c: Likewise.
41949         * iconv/iconvconfig.c: Likewise.
41950         * iconv/strtab.c: Likewise.
41951         * locale/programs/locale.c: Likewise.
41952         * locale/programs/localedef.h: Likewise.
41953         * locale/programs/simple-hash.c: Likewise.
41954         * nscd/nscd.h: Likewise.
41955         * nss/makedb.c: Likewise.
41956         * sysdeps/generic/ldconfig.h: Likewise.
41957         * locale/programs/localedef.c: Remove xmalloc prototype.
41958         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41959
41960 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41961
41962         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41963         appropriate.
41964
41965 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41966
41967         * math/Makefile (tests): Add tst-CMPLX.
41968         * math/tst-CMPLX.c: New file.
41969
41970         * math/complex.h (CMPLXL): Fix typo.
41971
41972         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41973         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41974         GLIBC_2.16.
41975         * debug/tst-chk1.c: Add poll and ppoll tests.
41976         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41977         * include/sys/poll.h: Add hidden proto for ppoll.
41978         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41979         * sysdeps/mach/hurd/ppoll.c: Likewise.
41980         * io/ppoll.c: Likewise.
41981         * debug/poll_chk.c: New file.
41982         * debug/ppoll_chk.c: New file.
41983         * include/bits/poll2.h: New file.
41984         * io/bits/poll2.h: New file.
41985
41986         [BZ #1350]
41987         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41988
41989         * configure.in: static is always set to yes.  Remove.
41990         * config.make.in: Don't set build-static.
41991         * Makeconfig: Remove use of build-static.
41992         * dlfcn/Makefile: Likewise.
41993         * elf/Makefile: Likewise.
41994         * math/Makefile: Likewise.
41995         * misc/Makefile: Likewise.
41996         * nptl/Makefile: Likewise.
41997         * sysdeps/mach/hurd/Makefile: Likewise.
41998
41999         * configure.in: PWD_P is not used anymore.
42000         * config.make.in: Remove PWD_P entry.
42001
42002         * configure.in: Remove last remnants of RANLIB.
42003         No need to check for signed size_t anymore.
42004         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42005         and IA-64.
42006         Remove __builtin_expect test because we require at least gcc 3.4.
42007         * aclocal.m4: Likewise.
42008
42009         * wcsmbs/mbrtoc16.c: Implement using towc function.
42010         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42011         * wcsmbs/wcsmbsload.c: Likewise.
42012         * iconv/gconv_simple.c: Likewise.
42013         * iconv/gconv_int.h: Likewise.
42014         * iconv/gconv_builtin.h: Likewise.
42015         * iconv/iconv_prog.c: Remove CHAR16 handling.
42016
42017         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42018
42019         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42020
42021         * configure.in: Remove --with-elf and --enable-bounded options.
42022         Dont set base_machine for ia64.  More non-ELF conditions removed.
42023         Remove testing and setting of leading underscore information.
42024         * config.make.in (build-bounded): Set to no.
42025         * config.h.in: Remove NO_UNDERSCORES entry.
42026         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42027         them.
42028         * csu/start.c: Remove !NO_UNDERSCORE code.
42029         * locale/localeinfo.h: Likewise.
42030         * sysdeps/generic/machine-gmon.h: Likewise.
42031         * sysdeps/generic/sysdep.h: Likewise.
42032         * sysdeps/i386/sysdep.h: Likewise.
42033         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42034         * sysdeps/mach/sysdep.h: Likewise.
42035         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42036         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42037         * sysdeps/sh/sysdep.h: Likewise.
42038         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42039         * sysdeps/unix/i386/sysdep.S: Likewise.
42040         * sysdeps/unix/sparc/start.c: Likewise.
42041         * sysdeps/unix/sparc/sysdep.S: Likewise.
42042         * sysdeps/unix/sparc/sysdep.h: Likewise.
42043         * sysdeps/unix/start.c: Likewise.
42044         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42045         * sysdeps/x86_64/sysdep.h: Likewise.
42046
42047 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42048
42049         [BZ #13553]
42050         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42051         for non-gcc.
42052         * argp/argp-fmtstream.h: Use const instead __const.
42053         * argp/argp.h: Likewise.
42054         * assert/assert.h: Likewise.
42055         * bits/fenv.h: Likewise.
42056         * bits/sched.h: Likewise.
42057         * bits/sigset.h: Likewise.
42058         * bits/sigthread.h: Likewise.
42059         * catgets/nl_types.h: Likewise.
42060         * conform/data/pthread.h-data: Likewise.
42061         * crypt/crypt-private.h: Likewise.
42062         * crypt/crypt.h: Likewise.
42063         * crypt/crypt_util.c: Likewise.
42064         * ctype/ctype.h: Likewise.
42065         * debug/execinfo.h: Likewise.
42066         * debug/mbsnrtowcs_chk.c: Likewise.
42067         * debug/mbsrtowcs_chk.c: Likewise.
42068         * debug/wcsnrtombs_chk.c: Likewise.
42069         * debug/wcsrtombs_chk.c: Likewise.
42070         * debug/wcstombs_chk.c: Likewise.
42071         * dirent/dirent.h: Likewise.
42072         * dlfcn/dlfcn.h: Likewise.
42073         * elf/neededtest4.c: Likewise.
42074         * grp/grp.h: Likewise.
42075         * gshadow/gshadow.h: Likewise.
42076         * iconv/gconv.h: Likewise.
42077         * iconv/gconv_int.h: Likewise.
42078         * iconv/gconv_simple.c: Likewise.
42079         * iconv/iconv.h: Likewise.
42080         * iconv/loop.c: Likewise.
42081         * iconv/skeleton.c: Likewise.
42082         * include/aio.h: Likewise.
42083         * include/aliases.h: Likewise.
42084         * include/argz.h: Likewise.
42085         * include/arpa/inet.h: Likewise.
42086         * include/assert.h: Likewise.
42087         * include/dirent.h: Likewise.
42088         * include/dlfcn.h: Likewise.
42089         * include/execinfo.h: Likewise.
42090         * include/fcntl.h: Likewise.
42091         * include/fenv.h: Likewise.
42092         * include/glob.h: Likewise.
42093         * include/grp.h: Likewise.
42094         * include/libintl.h: Likewise.
42095         * include/mntent.h: Likewise.
42096         * include/netdb.h: Likewise.
42097         * include/pwd.h: Likewise.
42098         * include/rpc/netdb.h: Likewise.
42099         * include/sched.h: Likewise.
42100         * include/search.h: Likewise.
42101         * include/shadow.h: Likewise.
42102         * include/signal.h: Likewise.
42103         * include/stdio.h: Likewise.
42104         * include/stdlib.h: Likewise.
42105         * include/string.h: Likewise.
42106         * include/sys/socket.h: Likewise.
42107         * include/sys/stat.h: Likewise.
42108         * include/sys/statfs.h: Likewise.
42109         * include/sys/statvfs.h: Likewise.
42110         * include/sys/syslog.h: Likewise.
42111         * include/sys/time.h: Likewise.
42112         * include/sys/uio.h: Likewise.
42113         * include/time.h: Likewise.
42114         * include/unistd.h: Likewise.
42115         * include/utmp.h: Likewise.
42116         * include/wchar.h: Likewise.
42117         * include/wctype.h: Likewise.
42118         * inet/aliases.h: Likewise.
42119         * inet/arpa/inet.h: Likewise.
42120         * inet/netinet/ether.h: Likewise.
42121         * inet/netinet/in.h: Likewise.
42122         * intl/libintl.h: Likewise.
42123         * io/bits/fcntl2.h: Likewise.
42124         * io/fcntl.h: Likewise.
42125         * io/ftw.h: Likewise.
42126         * io/sys/poll.h: Likewise.
42127         * io/sys/stat.h: Likewise.
42128         * io/sys/statfs.h: Likewise.
42129         * io/sys/statvfs.h: Likewise.
42130         * io/utime.h: Likewise.
42131         * libio/bits/stdio.h: Likewise.
42132         * libio/bits/stdio2.h: Likewise.
42133         * libio/libio.h: Likewise.
42134         * libio/libioP.h: Likewise.
42135         * libio/stdio.h: Likewise.
42136         * locale/lc-ctype.c: Likewise.
42137         * locale/locale.h: Likewise.
42138         * login/utmp.h: Likewise.
42139         * malloc/arena.c: Likewise.
42140         * malloc/malloc.c: Likewise.
42141         * malloc/malloc.h: Likewise.
42142         * malloc/mcheck.c: Likewise.
42143         * malloc/mtrace.c: Likewise.
42144         * math/bits/mathcalls.h: Likewise.
42145         * math/fenv.h: Likewise.
42146         * math/math_private.h: Likewise.
42147         * misc/bits/error.h: Likewise.
42148         * misc/bits/syslog.h: Likewise.
42149         * misc/err.h: Likewise.
42150         * misc/error.h: Likewise.
42151         * misc/fstab.h: Likewise.
42152         * misc/mntent.h: Likewise.
42153         * misc/regexp.h: Likewise.
42154         * misc/search.h: Likewise.
42155         * misc/sgtty.h: Likewise.
42156         * misc/sys/mman.h: Likewise.
42157         * misc/sys/syslog.h: Likewise.
42158         * misc/sys/uio.h: Likewise.
42159         * misc/sys/xattr.h: Likewise.
42160         * misc/ttyent.h: Likewise.
42161         * nis/rpcsvc/ypclnt.h: Likewise.
42162         * nss/nss.h: Likewise.
42163         * posix/bits/unistd.h: Likewise.
42164         * posix/fnmatch.h: Likewise.
42165         * posix/glob.h: Likewise.
42166         * posix/sched.h: Likewise.
42167         * posix/spawn.h: Likewise.
42168         * posix/sys/wait.h: Likewise.
42169         * posix/unistd.h: Likewise.
42170         * posix/wordexp.h: Likewise.
42171         * pwd/pwd.h: Likewise.
42172         * resolv/netdb.h: Likewise.
42173         * resource/sys/resource.h: Likewise.
42174         * rt/aio.h: Likewise.
42175         * rt/bits/mqueue2.h: Likewise.
42176         * rt/mqueue.h: Likewise.
42177         * shadow/shadow.h: Likewise.
42178         * signal/signal.h: Likewise.
42179         * socket/send.c: Likewise.
42180         * socket/sendto.c: Likewise.
42181         * socket/sys/socket.h: Likewise.
42182         * stdio-common/printf.h: Likewise.
42183         * stdlib/bits/stdlib.h: Likewise.
42184         * stdlib/fmtmsg.h: Likewise.
42185         * stdlib/monetary.h: Likewise.
42186         * stdlib/stdlib.h: Likewise.
42187         * stdlib/ucontext.h: Likewise.
42188         * streams/stropts.h: Likewise.
42189         * string/argz.h: Likewise.
42190         * string/bits/string2.h: Likewise.
42191         * string/string.h: Likewise.
42192         * string/strings.h: Likewise.
42193         * sunrpc/rpc/auth.h: Likewise.
42194         * sunrpc/rpc/auth_des.h: Likewise.
42195         * sunrpc/rpc/clnt.h: Likewise.
42196         * sunrpc/rpc/netdb.h: Likewise.
42197         * sunrpc/rpc/pmap_clnt.h: Likewise.
42198         * sunrpc/rpc/xdr.h: Likewise.
42199         * sysdeps/generic/inttypes.h: Likewise.
42200         * sysdeps/generic/net/if.h: Likewise.
42201         * sysdeps/generic/sys/swap.h: Likewise.
42202         * sysdeps/gnu/net/if.h: Likewise.
42203         * sysdeps/gnu/utmpx.h: Likewise.
42204         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42205         * sysdeps/i386/i486/bits/string.h: Likewise.
42206         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42207         * sysdeps/s390/bits/string.h: Likewise.
42208         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42209         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42210         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42211         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42212         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42213         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42214         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42215         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42216         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42217         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42218         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42219         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42220         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42221         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42222         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42223         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42224         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42225         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42226         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42228         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42229         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42230         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42231         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42232         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42233         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42234         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42235         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42236         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42237         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42238         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42239         * sysvipc/sys/ipc.h: Likewise.
42240         * sysvipc/sys/msg.h: Likewise.
42241         * sysvipc/sys/sem.h: Likewise.
42242         * sysvipc/sys/shm.h: Likewise.
42243         * termios/termios.h: Likewise.
42244         * time/sys/time.h: Likewise.
42245         * time/time.h: Likewise.
42246         * wcsmbs/bits/wchar2.h: Likewise.
42247         * wcsmbs/uchar.h: Likewise.
42248         * wcsmbs/wchar.h: Likewise.
42249         * wctype/wctype.h: Likewise.
42250
42251         [BZ #13551]
42252         * Makeconfig: Remove all but ELF support including AIX support.
42253         * Makerules: Likewise.
42254         * config.h.in: Likewise.
42255         * config.make.in: Likewise.
42256         * configure: Likewise.
42257         * configure.in: Likewise.
42258         * csu/Makefile: Likewise.
42259         * csu/version.c: Likewise.
42260         * debug/Makefile: Likewise.
42261         * dlfcn/Makefile: Likewise.
42262         * elf/Makefile: Likewise.
42263         * extra-lib.mk: Likewise.
42264         * iconv/Makefile: Likewise.
42265         * include/libc-symbols.h: Likewise.
42266         * include/shlib-compat.h: Likewise.
42267         * resolv/Makefile: Likewise.
42268         * resolv/res_libc.c: Likewise.
42269         * rt/Makefile: Likewise.
42270         * sysdeps/i386/asm-syntax.h: Likewise.
42271         * sysdeps/i386/sysdep.h: Likewise.
42272         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42273         * sysdeps/mach/sysdep.h: Likewise.
42274         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42275         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42276         * sysdeps/s390/asm-syntax.h: Likewise.
42277         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42278         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42279         * sysdeps/sh/sysdep.h: Likewise.
42280         * sysdeps/unix/sparc/sysdep.h: Likewise.
42281         * sysdeps/wordsize-32/divdi3.c: Likewise.
42282         * sysdeps/x86_64/sysdep.h: Likewise.
42283
42284         * argp/Versions: Remove _argp_unlock_xxx.
42285
42286         [BZ #13559]
42287         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42288         * abilist/libBrokenLocale.abilist: Likewise.
42289         * abilist/libanl.abilist: Likewise.
42290         * abilist/libc.abilist: Likewise.
42291         * abilist/libcrypt.abilist: Likewise.
42292         * abilist/libdl.abilist: Likewise.
42293         * abilist/libm.abilist: Likewise.
42294         * abilist/libnsl.abilist: Likewise.
42295         * abilist/libpthread.abilist: Likewise.
42296         * abilist/libresolv.abilist: Likewise.
42297         * abilist/librt.abilist: Likewise.
42298         * abilist/libthread_db.abilist: Likewise.
42299         * abilist/libutil.abilist: Likewise.
42300         * abilist/libnss_db.abilist: New file.
42301
42302         * scripts/abilist.awk: Add support for indirect functions.
42303
42304         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42305
42306         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42307
42308         * shlib-versions: Remove entries for ports architectures.
42309
42310         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42311         files in ports.
42312         * elf/stackguard-macros.h: Remove support for IA-64.
42313         * elf/tst-auditmod1.c: Likewise.
42314         * sysdeps/generic/ldsodefs.h: Likewise.
42315
42316         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42317         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42318         configure files.
42319
42320         [BZ #13552]
42321         * configure.in: Remove --enable-omitfp support.
42322         * FAQ.in: Adjust.
42323         * config.make.in: Likewise.
42324         * Makeconfig: Likewise.
42325         * manual/install.texi: Likewise.
42326
42327         In case anyone cares, the IA-64 architecture could move to ports.
42328         * sysdeps/ia64/*: Removed.
42329         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42330         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42331
42332         [BZ #13555]
42333         * configure.in: Remove entries for unsupported architectures.
42334
42335         [BZ #13533]
42336         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42337         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42338         routines.
42339         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42340         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42341         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42342         fall back to using wcrtomb.
42343         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42344         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42345         renaming.
42346         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42347         * wcsmbs/tst-c16c32-1.c: New file.
42348
42349         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42350         local variable.
42351
42352         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42353
42354         * elf/tst-unique3.cc: Add explicit declaration of gets.
42355         * elf/tst-unique3lib.cc: Likewise.
42356         * elf/tst-unique3lib2.cc: Likewise.
42357         * elf/tst-unique4.cc: Likewise.
42358
42359         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42360
42361 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42362
42363         [BZ #13566]
42364         * assert/assert.h (static_assert): Don't define for C++.
42365         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42366         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42367
42368 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42369
42370         * iconv/loop.c (single loop): Fix assertion in storing of
42371         remaining bytes.
42372
42373         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42374
42375 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42376
42377         * posix/getconf.c: Update copyright year.
42378         * nss/getent.c: Likewise.
42379         * nss/makedb.c: Likewise.
42380         * iconv/iconvconfig.c: Likewise.
42381         * iconv/iconv_prog.c: Likewise.
42382         * elf/ldconfig.c: Likewise.
42383         * elf/pldd.c: Likewise.
42384         * elf/sotruss.ksh: Likewise.
42385         * catgets/gencat.c: Likewise.
42386         * csu/version.c: Likewise.
42387         * elf/ldd.bash.in: Likewise.
42388         * elf/sprof.c (print_version): Likewise.
42389         * locale/programs/locale.c: Likewise.
42390         * locale/programs/localedef.c: Likewise.
42391         * login/programs/pt_chown.c: Likewise.
42392         * nscd/nscd.c (print_version): Likewise.
42393         * debug/xtrace.sh: Likewise.
42394         * malloc/memusage.sh: Likewise.
42395         * malloc/mtrace.pl: Likewise.
42396         * debug/catchsegv.sh: Likewise.
42397
42398 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42399
42400         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42401         pure attribute.
42402
42403 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42404
42405         [BZ #13533]
42406         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42407         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42408         transformations.
42409         * iconv/gconv_int.h: Likewise.
42410         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42411         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42412         from libc for GLIBC_2.16.
42413         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42414         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42415         * wcsmbs/uchar.h: Really define mbstate_t.
42416         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42417         * wcsmbs/c16rtomb.c: New file.
42418         * wcsmbs/mbrtoc16.c: New file.
42419         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42420         for C/POSIX locale.
42421         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42422         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42423
42424         * wcsmbs/wchar.h: Add missing __restrict.
42425
42426 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42427
42428         [BZ #13532]
42429         * time/Makefile (routines): Add timespec_get.
42430         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42431         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42432         timespec for ISO C11.
42433         * time/timespec_get.c: New file.
42434         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42435         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42436
42437         [BZ #13531]
42438         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42439         * stdlib/stdlib.h: Declare aligned_alloc.
42440         * Versions.def: Add GLIBC_2.16 for libc.
42441         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42442
42443         [BZ 13527]
42444         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42445         ISO C11.
42446
42447         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42448         code.
42449
42450         [BZ #13528]
42451         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42452
42453         [BZ #13529]
42454         * assert/assert.h (static_assert): Define.
42455
42456         * version.h: Update for 2.16 development version.
42457
42458         [BZ #13526]
42459         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42460         _ISOC11_SOURCE.
42461
42462         * version.h (RELEASE): Bump for 2.15 release.
42463         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42464
42465         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42466         Patch by Marek Polacek <mpolacek@redhat.com>.
42467
42468         * bits/byteswap.h: Protect long long constants with __extension__.
42469         * sysdeps/i386/bits/byteswap.h: Likewise.
42470         * sysdeps/ia64/bits/byteswap.h: Likewise.
42471         * sysdeps/s390/bits/byteswap.h: Likewise.
42472         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42473
42474 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42475
42476         [BZ #13540]
42477         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42478         destination buffer.
42479         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42480
42481 2011-12-23  Marek Polacek  <polacek@redhat.com>
42482
42483         * elf/dl-addr.c (determine_info): Add inline keyword.
42484         * elf/tst-auditmod4b.c (check_avx): Likewise.
42485         * elf/tst-auditmod6b.c (check_avx): Likewise.
42486         * elf/tst-auditmod6c.c (check_avx): Likewise.
42487         * elf/tst-auditmod7b.c (check_avx): Likewise.
42488
42489 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42490
42491         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42492         !__SSE_MATH__.
42493
42494 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42495
42496         [BZ #13540]
42497         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42498         processing for last bytes.
42499
42500 2011-08-06  Bruno Haible  <bruno@clisp.org>
42501
42502         [BZ #13061]
42503         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42504         U+0385, not to U+1FEE.
42505
42506         [BZ #13062]
42507         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42508         entry for U+00A5 U+0301.
42509
42510 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42511
42512         [BZ #13166]
42513         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42514         buffer for the output is too small.
42515
42516         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42517         optimization.
42518
42519         [BZ #13185]
42520         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42521         SSE flags if possible.
42522
42523 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42524
42525         [BZ #13540]
42526         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42527         processing for last bytes.
42528
42529 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42530
42531         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42532         (syscall-list-default-options, syscall-list-default-condition)
42533         (syscall-list-includes): Define.
42534         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42535         list of ABIs and options and #if conditions for each ABI.  Do not
42536         handle common syscalls between ABIs specially.
42537         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42538         Remove.
42539         (syscall-list-variants, syscall-list-32bit-options)
42540         (syscall-list-32bit-condition, syscall-list-64bit-options)
42541         (syscall-list-64bit-condition): Define.
42542         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42543         (syscall-list-variants, syscall-list-32bit-options)
42544         (syscall-list-32bit-condition, syscall-list-64bit-options)
42545         (syscall-list-64bit-condition): Define.
42546         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42547         Remove.
42548         (syscall-list-variants, syscall-list-32bit-options)
42549         (syscall-list-32bit-condition, syscall-list-64bit-options)
42550         (syscall-list-64bit-condition): Define.
42551         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42552         Remove.
42553         (syscall-list-variants, syscall-list-32bit-options)
42554         (syscall-list-32bit-condition, syscall-list-64bit-options)
42555         (syscall-list-64bit-condition): Define.
42556
42557 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42558
42559         * locale/iso-639.def: Add brx entry.
42560
42561         [BZ #13328]
42562         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42563         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42564
42565         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42566         __feraiseexcept_renamed.
42567
42568 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42569
42570         [BZ #13538]
42571         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42572         EPOLLET with unsigned values.
42573         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42574         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42575
42576         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42577         to large cancellation.
42578         * math/s_cacoshf.c: Likewise.
42579         * math/s_cacoshl.c: Likewise.
42580
42581 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42582
42583         [BZ #13305]
42584         [BZ #12786]
42585         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42586         * math/s_cacoshf.c: Likewise.
42587         * math/s_cacoshl.c: Likewise.
42588
42589 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42590
42591         [BZ #13439]
42592         * iconv/gconv.h: Define __GCONV_SWAP.
42593         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42594         * iconvdata/utf-16.c: Likewise.
42595         * iconvdata/utf-32.c: Likewise.
42596
42597 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42598
42599         [BZ #13524]
42600         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42601         numerator after shifting it by one limb.
42602
42603 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42604
42605         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42606         under [__USE_EXTERN_INLINES].
42607
42608 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42609
42610         [BZ #13446]
42611         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42612
42613 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42614
42615         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42616         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42617         optimized code.
42618         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42619         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42620         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42621         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42622         for strncasecmp/strncasecmp_l compilation.
42623         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42624         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42625
42626 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42627
42628         [BZ #13484]
42629         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42630         of __asm__.
42631
42632 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42633
42634         [BZ #13506]
42635         * time/tzfile.c (__tzfile_read): Check values from file header.
42636
42637 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42638
42639         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42640         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42641         * powerpc/powerpc32/dl-start.S: Likewise.
42642         * powerpc/powerpc32/elf/start.S: Likewise.
42643         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42644         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42645         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42646         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42647         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42648         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42649         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42650         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42651         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42652         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42653         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42654         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42655         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42656         * powerpc/powerpc32/memset.S: Likewise.
42657         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42658         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42659         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42660         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42661         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42662         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42663         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42664         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42665         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42666         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42667         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42668         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42669         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42670
42671 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42672
42673         * math/libm-test.inc: Added more nearbyint tests.
42674         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42675         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42676         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42677         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42678
42679 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42680
42681         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42682         FD_CLOEXEC.
42683
42684 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42685
42686         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42687         Add wcscpy-ssse3 wcscpy-c.
42688         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42689         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42690         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42691         * sysdeps/x86_64/wcschr.S: New file.
42692         * sysdeps/x86_64/wcsrchr.S: New file.
42693         * string/test-strcmp.c: Remove checking of wcscmp function for
42694         wrong alignments.
42695         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42696         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42697         wcsrchr-sse2 wcsrchr-c.
42698         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42699         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42700         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42701         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42702         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42703         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42704         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42705         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42706         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42707         * wcsmbc/wcschr.c (WCSCHR): New macro.
42708
42709 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42710
42711         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42712         * wcsmbs/test-wcsrchr.c: New file.
42713         * string/test-strrchr.c: Add wcsrchr support.
42714         (WIDE): New macro.
42715         * wcsmbs/test-wcscpy.c: New file.
42716         * string/test-strcpy.c: Add wcscpy support.
42717         (WIDE): New macro.
42718
42719 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42720
42721         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42722         the inner loop.
42723
42724 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42725
42726         [BZ #13472]
42727         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42728
42729 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42730
42731         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42732         Minor optimizations.
42733
42734         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42735         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42736         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42737
42738 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42739
42740         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42741         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42742         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42743         for gcc to avoid warnings.
42744         * inet/Makefile (tests): Add tst-checks.
42745         * inet/tst-checks.c: New file.
42746
42747         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42748         warning.
42749
42750         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42751         __wmemcmp_sse2.
42752
42753         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42754         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42755
42756         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42757
42758 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42759
42760         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42761         problem.
42762
42763         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42764
42765 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42766
42767         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42768         conditional on GCC version.
42769         (__arch_compare_and_exchange_val_8_acq)
42770         (__arch_compare_and_exchange_val_16_acq)
42771         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42772         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42773         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42774
42775 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42776
42777         * sysdeps/sh/backtrace.c: New file.
42778
42779 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42780
42781         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42782         parenthesis.
42783
42784 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42785
42786         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42787         falling back to utime.
42788
42789 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42790
42791         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42792         expectations for float.
42793
42794 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42795
42796         * locale/weight.h (findidx): Add parameter len.
42797         * locale/weightwc.h (findidx): Likewise.
42798         * posix/fnmatch_loop.c (FCT): Adjust caller.
42799         * posix/regcomp.c (build_equiv_class): Likewise.
42800         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42801         * posix/regexec.c (check_node_accept_bytes): Likewise.
42802         * string/strcoll_l.c (STRCOLL): Likewise.
42803         * string/strxfrm_l.c (STRXFRM): Likewise.
42804
42805 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42806
42807         * Makefile.in: Remove CVSOPT handling.
42808         * configure.in: Remove use of AC_REVISION.
42809         * iconvdata/Makefile (distribute): No need to filter out CVS.
42810         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42811         handling.
42812
42813 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42814
42815         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42816         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42817         [USE_AS_STRNCASECMP_L]: Likewise.
42818         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42819         NO_TLS_DIRECT_SEG_REFS.
42820         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42821         Fix argument offsets for non-PIC.
42822         [USE_AS_STRNCASECMP_L]: Likewise.
42823         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42824         NO_TLS_DIRECT_SEG_REFS.
42825
42826 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42827
42828         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42829         O_CLOEXEC.
42830         * locale/loadlocale.c (_nl_load_locale): Likewise.
42831
42832 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42833
42834         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42835         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42836         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42837         (SYSCALL_GETTIME): Set errno on error.
42838
42839         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42840         count references to noai6ai_cached.
42841
42842 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42843
42844         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42845
42846         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42847         FD_CLOEXEC for /proc/self/maps.
42848
42849         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42850         FD_CLOEXEC for /proc/meminfo.
42851
42852         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42853         gai.conf.
42854
42855         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42856         FD_CLOEXEC for given file.
42857
42858         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42859
42860         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42861         FD_CLOEXEC for /etc/hosts.
42862         (_gethtent): Likewise.
42863
42864         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42865
42866         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42867         cancellation and set FD_CLOEXEC for /etc/netgroup.
42868
42869         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42870         reading /etc/publickey.
42871
42872         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42873         allow cancellation when reading /etc/group.
42874
42875         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42876         cancellation.
42877         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42878
42879         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42880         when using data file.
42881
42882         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42883
42884         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42885         (write_nis_obj): Use "c" and "e" in fopen.
42886
42887         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42888
42889         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42890
42891         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42892
42893         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42894
42895         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42896         locale.alias.
42897
42898         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42899
42900         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42901
42902         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42903
42904         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42905         file parsing and set FD_CLOEXEC.
42906
42907 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42908
42909         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42910
42911 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42912
42913         * malloc/arena.c (arena_get2): Don't call reused_arena when
42914         _int_new_arena failed.
42915
42916 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42917
42918         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42919         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42920         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42921         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42922         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42923         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42924         to compile strcasecmp and strncasecmp.
42925         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42926         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42927
42928         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42929
42930 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42931
42932         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42933         locale-defines.sym to gen-as-const-headers.
42934         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42935         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42936         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42937         to compile strcasecmp and strncasecmp.
42938         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42939         strcasecmp_l and strncasecmp_l.
42940         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42941         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42942         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42943         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42944         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42945         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42946         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42947         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42948         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42949         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42950         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42951
42952 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42953
42954         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42955         result of SYSDEP_GETTIME_CPU to retval.
42956         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42957         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42958
42959         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42960         variable.
42961
42962         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42963         mantissa words.
42964         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42965
42966         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42967         from unused variable.
42968
42969         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42970         DWARF definitions.
42971         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42972         for assembling.
42973
42974         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42975         over namespaces.
42976
42977         * sunrpc/rpc_prot.c (rejected): Fix case value.
42978
42979         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42980         unsigned long long int to avoid warnings in shift.
42981
42982         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42983         of use of trans.
42984         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42985         variable tmp.
42986
42987         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42988         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42989         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42990
42991         * nis/nis_table.c (nis_list): Use variable of correct type for
42992         result of __follow_path call.
42993
42994 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42995
42996         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42997         of math functions ceil, trunc, floor, round, and sqrt, when
42998         avaliable on the platform.
42999         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43000         name clash.
43001         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43002         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43003         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43004
43005 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43006
43007         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43008         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43009
43010 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43011
43012         * include/unistd.h: Fix __readlink return type.
43013         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43014
43015 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43016
43017         * stdlib/ucontext.h: Undo last change for makecontext.
43018
43019 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43020
43021         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43022
43023         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43024         * setjmp/setjmp.h: Mark functions as non-leaf.
43025         * setjmp/bits/setjmp2.h: Likewise.
43026         * stdlib/ucontext.h: Likewise.
43027
43028 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43029
43030         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43031         (reused_arena): Don't check arena limit.
43032         (arena_get2): Atomically check arena limit.
43033
43034 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43035
43036         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43037         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43038
43039         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43040         instructions.
43041
43042 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43043
43044         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43045         handler when locking.
43046
43047         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43048         Fix size of allocated buffer.
43049
43050 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43051
43052         [BZ #10103]
43053         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43054         declarations for long double functions.
43055         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43056
43057         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43058
43059 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43060
43061         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43062         installed.
43063
43064         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43065         is disabled.
43066
43067 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43068
43069         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43070
43071 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43072
43073         * include/alloca.h (stackinfo_alloca_round): Define.
43074         (extend_alloca): Use it.
43075         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43076         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43077         here.
43078
43079         * scripts/check-local-headers.sh: Ignore libaudit.h.
43080
43081         * nscd/Makefile (extra-objs): Make recursively expanded.
43082
43083 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43084
43085         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43086         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43087
43088         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43089         * posix/tst-rfc3484-2.c: Likewise.
43090         * posix/tst-rfc3484-3.c: Likewise.
43091
43092         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43093         process_vm_writev.
43094         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43095         process_vm_writev.
43096         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43097         process_vm_writev from libc using GLIBC_2.15 version.
43098
43099         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43100
43101 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43102
43103         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43104         stack usage.
43105
43106 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43107
43108         [BZ #13367]
43109         * nss/getent.c (initgroups_keys): Show error message in case no group
43110         names are given.
43111
43112         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43113         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43114         __bump_nl_timestamp.
43115         * nscd/connections (nscd_init): When host database is served open
43116         netlink socket and request notification about configuration changes.
43117         (main_loop_poll): Track netlink file descriptor and bump timestamp
43118         in case data becomes available.
43119         (main_loop_epoll): Likewise.
43120         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43121         (database_pers_head): Add extra_data fileds.
43122         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43123         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43124         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43125         Adjust caller.
43126         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43127         in6ai data, call __free_in6ai.
43128         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43129         Add -DHAVE_NETLINK.
43130         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43131         interface information.  Reuse previous data if netlink timestamp
43132         is not changed.
43133         (__bump_nl_timestamp): New function.
43134         (__free_in6ai): New function.
43135
43136 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43137
43138         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43139         close_not_cancel_no_status here.
43140         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43141
43142 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43143
43144         [BZ #13276]
43145         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43146         return value.
43147
43148         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43149         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43150         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43151
43152 2011-07-03  Andreas Jaeger  <aj@suse.de>
43153
43154         [BZ #10709]
43155         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43156         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43157         * math/libm-test.inc (sin_test): Add test case.
43158
43159 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43160
43161         [BZ #13337]
43162         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43163         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43164
43165         * elf/chroot_canon.c (chroot_canon): Cleanups.
43166
43167         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43168
43169         [BZ #13335]
43170         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43171         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43172
43173         * string/test-strchr.c: Make usable for strchrnul testing.
43174         * string/test-strchrnul.c: New file.
43175         * string/Makefile (strop-tests): Add strchrnul.
43176
43177         * po/it.po: Update from translation team.
43178         * po/es.po: Likewise.
43179
43180 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43181
43182         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43183         the three constants needed as parameters.  Drop the others.
43184         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43185         __m128i_strloadu_tolower.
43186         Create and initialize variable zero and use it in all the places
43187         where _mm_setzero_si128 was used.
43188
43189         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43190         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43191         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43192         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43193         anymore.
43194         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43195         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43196         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43197         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43198         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43199         __mpranred, __mptan.
43200         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43201         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43202         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43203         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43204         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43205         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43206         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43207         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43208         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43209
43210 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43211
43212         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43213         redefine if SHARED.
43214         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43215
43216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43217         wide char related routines to wcsmbs subdir.
43218
43219 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43220
43221         [BZ #13344]
43222         * misc/sys/cdefs.h (__THROWNL): Define.
43223         * posix/unistd.h: Use __THREADNL instead of __THREAD
43224         for memory synchronization functions.
43225
43226 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43227
43228         [BZ #13349]
43229         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43230         doesn't exist.
43231         * manual/stdio.texi (Obstack Streams): Node removed.
43232
43233 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43234
43235         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43236         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43237         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43238
43239         * math/math_private.h (math_force_eval): Allow non-addressable
43240         arguments.
43241         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43242
43243 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43244
43245         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43246         file is not needed.
43247
43248         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43249         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43250         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43251         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43252         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43253         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43254         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43255         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43256         Add AVX variants.
43257         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43258         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43259         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43260         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43261         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43262         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43263         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43264         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43265         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43266         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43267         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43268         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43269         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43270         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43271         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43272         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43273         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43274         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43275         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43276
43277         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43278         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43279
43280         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43281         place.  Use VEX encoding when compiling for AVX.
43282
43283 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43284
43285         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43286         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43287
43288         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43289
43290 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43291
43292         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43293         useless if() expression.
43294         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43295         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43296         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43297         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43298         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43299         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43300         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43301         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43302         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43303         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43304         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43305         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43306         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43307         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43308         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43309         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43310         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43311         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43312         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43313
43314         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43315
43316 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43317
43318         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43319         condition.
43320         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43321
43322 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43323
43324         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43325         .text section.  Avoid duplicate constants.
43326         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43328         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43329         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43330         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43333         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43334         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43335         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43336         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43337         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43338         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43339         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43340         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43341         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43342         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43343         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43344         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43345         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43346         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43347         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43348         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43349         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43350         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43351         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43352         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43353         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43354         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43355         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43356         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43357         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43358         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43359         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43360         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43361         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43362         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43363         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43364         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43365         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43366         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43367         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43368         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43369         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43370         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43371
43372 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43373
43374         * sysdeps/x86_64/dla.h: Move to ...
43375         * sysdeps/x86_64/fpu/dla.h: ...here.
43376         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43377         situations.  Use __builtin_fma only for gcc 4.6 and up.
43378
43379         * config.make.in: Add have-mfma4 entry.
43380         * configure.in: Substitute libc_cv_cc_fma4.
43381         * math/Makefile (dbl-only-routines): Add sincostab.
43382         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43383         Use __sincostab not sincos.
43384         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43385         name is a macro.
43386         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43387         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43388         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43389         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43390         using __copysign.
43391         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43392         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43393         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43394         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43395         and __inv.
43396         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43397         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43398         __copysign.
43399         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43400         define aliases when function name is a macro.
43401         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43402         sysdeps/ieee754/dbl-64/sincos.tbl.
43403         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43404         fma4-enabled routines.
43405         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43406         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43407         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43408         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43409         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43410         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43411         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43412         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43413         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43414         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43415         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43416         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43417         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43418         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43419         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43420         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43421         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43422         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43423         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43424         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43425         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43426         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43427         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43428         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43429         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43430         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43431         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43432         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43433         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43434         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43435
43436         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43437         rename.
43438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43439         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43440         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43441         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43442         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43443         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43445         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43446
43447 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43448
43449         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43450
43451 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43452
43453         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43454
43455         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43456         prediction.
43457         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43458
43459         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43460         Remove unused variable magic_bits.
43461         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43462
43463         * string/strnlen.c: Define and use STRNLEN macro.
43464         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43465         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43466         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43467         * wcsmbs/wcslen.c: Define and use WCSLEN.
43468         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43469         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43470         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43471         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43472         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43473         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43474         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43475
43476 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43477
43478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43479         strnlen-sse2-no-bsf.
43480         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43481         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43482         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43483         Add strnlen support.
43484         (USE_AS_STRNLEN): New macro.
43485         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43486         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43487         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43488         * sysdeps/x86_64/wcslen.S: New file.
43489
43490 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43491
43492         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43493         XMM-moves are used for copying on small sizes.
43494
43495 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43496
43497         * wcsmbs/Makefile (strop-tests): Add wcschr.
43498         * wcsmbs/test-wcschr.c: New file.
43499         * string/test-strchr.c: Update.
43500         Add wcschr support.
43501         (WIDE): New macro.
43502
43503 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43504
43505         * wcsmbs/Makefile (strop-tests): Add wcslen.
43506         * wcsmbs/test-wcslen.c: New file.
43507         * string/test-strlen.c: Update.
43508         Add wcslen support.
43509         (WIDE): New macro.
43510
43511 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43512
43513         * po/it.po: Update from translation team.
43514
43515 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43516
43517         * sysdeps/x86_64/wcscmp.S: Update.
43518         Fix wrong comparison semantics.
43519         wcscmp shall use signed comparison not unsigned.
43520         Don't use substraction to avoid overflow bug.
43521         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43522         * wcsmbc/wcscmp.c: Likewise.
43523         * string/test-strcmp.c: Likewise.
43524         Add new tests to check cases with negative values.
43525
43526 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43527
43528         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43529         * sysdeps/x86_64/dla.h: ...here.  New file.
43530         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43531         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43532         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43533         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43534         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43535         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43536         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43538         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43539
43540 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43541
43542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43543         __ynl_finite aliases.
43544
43545 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43546
43547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43548
43549         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43550         define DLA_FMA.
43551         [DLA_FMA] (EMULV): Use DLA_FMA.
43552         [DLA_FMA] (MUL12): Use EMULV.
43553         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43554         that are not needed.
43555         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43556         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43560         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43561         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43562
43563 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43564
43565         * math/s_nan.c: Undef __nan.
43566         * math/s_nanf.c: Undef __nanf.
43567         * math/s_nanl.c: Undef __nanl.
43568         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43569         "math_private.h".
43570
43571 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43572
43573         * math/s_catan.c: Add branch predictions.
43574         * math/s_catanf.c: Likewise.
43575         * math/s_catanh.c: Likewise.
43576         * math/s_catanhf.c: Likewise.
43577         * math/s_catanhl.c: Likewise.
43578         * math/s_catanl.c: Likewise.
43579         * math/s_cexp.c: Likewise.
43580         * math/s_cexpf.c: Likewise.
43581         * math/s_cexpl.c: Likewise.
43582         * math/s_clog.c: Likewise.
43583         * math/s_clog10.c: Likewise.
43584         * math/s_clog10f.c: Likewise.
43585         * math/s_clog10l.c: Likewise.
43586         * math/s_clogf.c: Likewise.
43587         * math/s_clogl.c: Likewise.
43588         * math/s_csqrt.c: Likewise.
43589         * math/s_csqrtf.c: Likewise.
43590         * math/s_csqrtl.c: Likewise.
43591         * math/s_ctanf.c: Likewise.
43592         * math/s_ctanh.c: Likewise.
43593         * math/s_ctanhf.c: Likewise.
43594         * math/s_ctanhl.c: Likewise.
43595         * math/s_ctanl.c: Likewise.
43596
43597         * math/math_private.h: Define __nan, __nanf, __nanl.
43598         * math/s_cacosh.c: Include <math_private.h>.
43599         * math/s_cacoshl.c: Likewise.
43600         * math/s_casinh.c: Likewise.
43601         * math/s_casinhf.c: Likewise.
43602         * math/s_casinhl.c: Likewise.
43603         * math/s_ccos.c: Rely entire on ccosh.
43604         * math/s_ccosf.c: Rely entire on ccoshf.
43605         * math/s_ccosl.c: Rely entirely on ccoshl.
43606         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43607         Remove tests for FE_INVALID.
43608         * math/s_ccoshf.c: Likewise.
43609         * math/s_ccoshl.c: Likewise.
43610         * math/s_csin.c: Likewise.
43611         * math/s_csinf.c: Likewise.
43612         * math/s_csinh.c Likewise.
43613         * math/s_csinhf.c: Likewise.
43614         * math/s_csinhl.c: Likewise.
43615         * math/s_csinl.c: Likewise.
43616         * math/s_ctan.c: Likewise.
43617         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43618         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43619         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43620
43621 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43622
43623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43624         compilation problems.
43625
43626         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43627         __builtin_expect.
43628
43629 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43630
43631         * sysdeps/i386/configure.in: Test for -mfma4 option.
43632         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43633         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43634         COMMON_CPUID_INDEX_80000001.
43635         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43636         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43637         use it if FMA3 is not supported.
43638         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43639
43640         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43641         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43642
43643 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43644
43645         [BZ #12892]
43646         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43647         it would create a cycle with a link time dependency.
43648
43649 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43650
43651         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43652         instruction.
43653         * string/Makefile (strop-tests): Add rawmemchr.
43654         * string/test-rawmemchr.c: New file.
43655
43656         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43657         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43658         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43659         when compiling str{,n}casecmp and when AVX is available.  Hook up
43660         new optimized code in initializers.
43661
43662 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43663
43664         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43665         __feraiseexcept instead of feraiseexcept.
43666
43667 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43668
43669         * math/math_private.h: Define defaults for libc_fetestexcept and
43670         libc_feupdateenv.
43671         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43672         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43673         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43674         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43675         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43676         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43677         libc_fetestexcept and libc_feupdateenv.
43678
43679         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43680         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43681         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43682         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43683         libc_feholdexcept_setround.
43684
43685         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43686         Add s_nearbyint-c and s_nearbyintf-c.
43687         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43688         nearbyintf inlines.
43689         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43690         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43691         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43692         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43693
43694         * math/math_private.h: Define defaults for libc_fegetround,
43695         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43696         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43697         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43698         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43699         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43700         standard functions.
43701         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43702         Remove comments and hacks for old compiler versions.
43703         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43704         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43705         libc_feholdexceptl.
43706
43707 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43708
43709         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43710         (__feraiseexcept_renamed): Add __NTH.
43711         (feraiseexcept): Add __NTH.  Rename local variables to fix
43712         namespace violations.
43713
43714 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43715
43716         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43717
43718         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43719
43720         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43721         recently added interfaces.
43722         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43723
43724         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43725         about macro parameter expansion.
43726
43727         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43728         __NO_MATH_INLINES is defined.  Cleanups.
43729
43730         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43731         and __floorf is target has SSE4.1.
43732         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43733         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43734         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43735         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43736
43737         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43738         name.
43739         (floorf): Likewise.
43740
43741         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43742
43743 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43744
43745         * misc/sys/cdefs.h: Fix last change.
43746
43747         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43748         database lookup.
43749
43750 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43751
43752         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43753
43754         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43755         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43756         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43757         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43759         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43760         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43761         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43762         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43763         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43764         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43765         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43766         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43767         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43768         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43769         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43770         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43771         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43772         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43773         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43774         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43775         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43776
43777         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43778         ceil, ceilf, floor, floorf.
43779
43780         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43781         Perform IRELATIVE relocations last.
43782
43783         * elf/do-rel.h: Add another parameter nrelative, replacing the
43784         local variable with the same name.  Change name of the function
43785         to end in Rel or Rela (uppercase).
43786         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43787         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43788         elf_dynamic_do_##reloc function.
43789
43790 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43791
43792         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43793         is sufficient, at least on modern CPUs.
43794
43795         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43796
43797         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43798         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43799
43800         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43801         __expl_finite.
43802         * math/bits/math-finite.h: Add entries for exp.
43803         * math/e_expl.c: Add __*_finite alias.
43804         * sysdeps/i386/fpu/e_exp.S: Likewise.
43805         * sysdeps/i386/fpu/e_expf.S: Likewise.
43806         * sysdeps/i386/fpu/e_expl.c: Likewise.
43807         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43808         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43809         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43810         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43811         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43812         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43813         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43814
43815         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43816         is sufficient, at least on modern CPUs.
43817
43818         * ctype/ctype-info.c (__ctype_init): Define.
43819         * include/ctype.h (__ctype_init): Declare.
43820         (__ctype_b_loc): The variable is always initialized.
43821         (__ctype_toupper_loc): Likewise.
43822         (__ctype_tolower_loc): Likewise.
43823         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43824         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43825
43826 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43827
43828         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43829
43830         * configure.in: Also look in $cxxmachine/include for C++ system
43831         headers.
43832
43833 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43834
43835         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43836         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43837         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43838         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43839         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43840         (USE_AS_WMEMCMP): New macro.
43841         Fixing indents.
43842         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43843         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43844         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43845         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43846         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43847         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43848         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43849         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43850         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43851         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43852         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43853         (USE_AS_WMEMCMP): New macro.
43854         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43855         * sysdeps/string/test-memcmp.c: Update.
43856         Fix simple_wmemcmp.
43857         Add new tests.
43858         * wcsmbs/wmemcmp.c: Update.
43859         (WMEMCMP): New macro.
43860         Fix overflow bug.
43861
43862 2011-10-12  Andreas Jaeger  <aj@suse.de>
43863
43864         [BZ #13268]
43865         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43866
43867 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43868
43869         * libio/iofwide.c (do_length): Avoid warning.
43870
43871         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43872
43873 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43874
43875         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43876
43877         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43878         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43879         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43880         * sysdeps/i386/i686/fpu/e_log.S: New file.
43881         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43882         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43883
43884         * ctype/ctype.h: Add support for inlined isXXX functions when
43885         compiling C++ code.
43886
43887 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43888
43889         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43890
43891         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43892
43893 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43894
43895         [BZ #13291]
43896         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43897
43898 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43899
43900         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43901         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43902         feraiseexcept.
43903
43904         * sysdeps/x86_64/memrchr.S: Check for zero size.
43905
43906         * string/stratcliff.c: Add memrchr tests.
43907
43908 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43909
43910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43911         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43912         rawmemchr-sse2 rawmemchr-sse2-bsf.
43913         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43914         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43915         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43916         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43917         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43918         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43919         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43920         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43921         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43922         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43923         * string/memrchr.c (MEMRCHR): New macro.
43924
43925 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43926
43927         Add integration with gcc's -ffinite-math-only and optimize wrapper
43928         functions in libm.
43929         * Versions.def: Define GLIBC_2.15 version for libm.
43930         * math/Makefile (headers): Add bits/math-finite.h.
43931         * math/bits/math-finite.h: New file.
43932         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43933         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43934         * math/e_acoshl.c: Add __*_finite alias.
43935         * math/e_acosl.c: Likewise.
43936         * math/e_asinl.c: Likewise.
43937         * math/e_atan2l.c: Likewise.
43938         * math/e_atanhl.c: Likewise.
43939         * math/e_coshl.c: Likewise.
43940         * math/e_exp10.c: Likewise.
43941         * math/e_exp10f.c: Likewise.
43942         * math/e_exp10l.c: Likewise.
43943         * math/e_exp2l.c: Likewise.
43944         * math/e_fmodl.c: Likewise.
43945         * math/e_gammal_r.c: Likewise.
43946         * math/e_hypotl.c: Likewise.
43947         * math/e_j0l.c: Likewise.
43948         * math/e_j1l.c: Likewise.
43949         * math/e_jnl.c: Likewise.
43950         * math/e_lgammal_r.c: Likewise.
43951         * math/e_log10l.c: Likewise.
43952         * math/e_log2l.c: Likewise.
43953         * math/e_logl.c: Likewise.
43954         * math/e_powl.c: Likewise.
43955         * math/e_sinhl.c: Likewise.
43956         * math/e_sqrtl.c: Likewise.
43957         * math/e_scalb.c: Completely rewritten and optimized.
43958         * math/e_scalbf.c: Likewise.
43959         * math/e_scalbl.c: Likewise.
43960         * math/w_acos.c: Likewise.
43961         * math/w_acosf.c: Likewise.
43962         * math/w_acosl.c: Likewise.
43963         * math/w_acosh.c: Likewise.
43964         * math/w_acoshf.c: Likewise.
43965         * math/w_acoshl.c: Likewise.
43966         * math/w_asin.c: Likewise.
43967         * math/w_asinf.c: Likewise.
43968         * math/w_asinl.c: Likewise.
43969         * math/w_atan2.c: Likewise.
43970         * math/w_atan2f.c: Likewise.
43971         * math/w_atan2l.c: Likewise.
43972         * math/w_atanh.c: Likewise.
43973         * math/w_atanhf.c: Likewise.
43974         * math/w_atanhl.c: Likewise.
43975         * math/w_exp10.c: Likewise.
43976         * math/w_exp10f.c: Likewise.
43977         * math/w_exp10l.c: Likewise.
43978         * math/w_fmod.c: Likewise.
43979         * math/w_fmodf.c: Likewise.
43980         * math/w_fmodl.c: Likewise.
43981         * math/w_j0.c: Likewise.
43982         * math/w_j0f.c: Likewise.
43983         * math/w_j0l.c: Likewise.
43984         * math/w_j1.c: Likewise.
43985         * math/w_j1f.c: Likewise.
43986         * math/w_j1l.c: Likewise.
43987         * math/w_jn.c: Likewise.
43988         * math/w_jnf.c: Likewise.
43989         * math/w_log.c: Likewise.
43990         * math/w_logf.c: Likewise.
43991         * math/w_logl.c: Likewise.
43992         * math/w_log10.c: Likewise.
43993         * math/w_log10f.c: Likewise.
43994         * math/w_log10l.c: Likewise.
43995         * math/w_log2.c: Likewise.
43996         * math/w_log2f.c: Likewise.
43997         * math/w_log2l.c: Likewise.
43998         * math/w_pow.c: Likewise.
43999         * math/w_powf.c: Likewise.
44000         * math/w_powl.c: Likewise.
44001         * math/w_remainder.c: Likewise.
44002         * math/w_remainderf.c: Likewise.
44003         * math/w_remainderl.c: Likewise.
44004         * math/w_scalb.c: Likewise.
44005         * math/w_scalbf.c: Likewise.
44006         * math/w_scalbl.c: Likewise.
44007         * math/w_sqrt.c: Likewise.
44008         * math/w_sqrtf.c: Likewise.
44009         * math/w_sqrtl.c: Likewise.
44010         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44011         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44012         used.
44013         * math/math_private.h: Declare __kernel_standard_f.
44014         * math/w_cosh.c: Remove cruft and optimize a bit.
44015         * math/w_coshf.c: Likewise.
44016         * math/w_coshl.c: Likewise.
44017         * math/w_exp2.c: Likewise.
44018         * math/w_exp2f.c: Likewise.
44019         * math/w_exp2l.c: Likewise.
44020         * math/w_hypot.c: Likewise.
44021         * math/w_hypotf.c: Likewise.
44022         * math/w_hypotl.c: Likewise.
44023         * math/w_lgamma.c: Likewise.
44024         * math/w_lgamma_r.c: Likewise.
44025         * math/w_lgammaf.c: Likewise.
44026         * math/w_lgammaf_r.c: Likewise.
44027         * math/w_lgammal.c: Likewise.
44028         * math/w_lgammal_r.c: Likewise.
44029         * math/w_sinh.c: Likewise.
44030         * math/w_sinhf.c: Likewise.
44031         * math/w_sinhl.c: Likewise.
44032         * math/w_tgamma.c: Likewise.
44033         * math/w_tgammaf.c: Likewise.
44034         * math/w_tgammal.c: Likewise.
44035         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44036         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44037         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44038         Minor optimizations.  Pretty printing.  Remove cruft.
44039         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44040         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44041         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44042         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44043         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44044         * sysdeps/i386/fpu/e_asin.S: Likewise.
44045         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44046         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44047         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44048         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44049         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44050         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44051         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44052         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44053         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44054         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44055         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44056         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44057         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44058         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44059         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44060         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44061         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44062         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44063         * sysdeps/i386/fpu/e_log.S: Likewise.
44064         * sysdeps/i386/fpu/e_log10.S: Likewise.
44065         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44066         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44067         * sysdeps/i386/fpu/e_log2.S: Likewise.
44068         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44069         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44070         * sysdeps/i386/fpu/e_logf.S: Likewise.
44071         * sysdeps/i386/fpu/e_logl.S: Likewise.
44072         * sysdeps/i386/fpu/e_pow.S: Likewise.
44073         * sysdeps/i386/fpu/e_powf.S: Likewise.
44074         * sysdeps/i386/fpu/e_powl.S: Likewise.
44075         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44076         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44077         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44078         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44079         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44080         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44081         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44082         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44083         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44084         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44085         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44086         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44087         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44088         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44089         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44090         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44091         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44092         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44093         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44094         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44095         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44097         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44098         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44100         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44101         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44102         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44103         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44104         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44105         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44106         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44107         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44108         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44109         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44110         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44111         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44112         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44113         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44114         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44115         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44116         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44117         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44118         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44119         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44120         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44121         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44122         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44123         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44124         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44125         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44126         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44127         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44128         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44129         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44130         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44131         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44132         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44133         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44134         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44135         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44136         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44137         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44138         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44139         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44140         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44141         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44142         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44143         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44144         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44145         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44146         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44147         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44148         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44149         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44150         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44152         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44153         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44154         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44155         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44156         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44157         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44158         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44159         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44160         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44161         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44162         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44163         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44164         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44165         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44166         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44167         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44168         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44169         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44170         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44171         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44172         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44173         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44174         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44175         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44176         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44177         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44178         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44179         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44180         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44181         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44182         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44183         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44184         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44185         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44186         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44187         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44188         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44189         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44190         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44191         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44192         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44193         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44194         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44195         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44196         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44197         (__isnanf): Likewise.
44198         (__isinf_ns): Likewise.
44199         (__isinf_nsf): Likewise.
44200         (__finite): Likewise.
44201         (__finitef): Likewise.
44202         (__ieee754_sqrt): Define as macro.
44203         (__ieee754_sqrtf): Define as macro.
44204         (__ieee754_sqrtl): Define as macro.
44205         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44206         inlined copy.
44207         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44208         __FINITE_MATH_ONLY__ consistent.
44209         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44210
44211 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44212
44213         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44214         of rawmemchr.
44215
44216         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44217
44218 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44219
44220         * po/ja.po: Update from translation team.
44221
44222 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44223
44224         * locale/programs/locarchive.c (prepare_address_space): New function.
44225         (create_archive, enlarge_archive, open_archive): Use it.
44226
44227         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44228         inside [SHARED], where it is used.
44229
44230         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44231
44232         * nss/getent.c (netgroup_keys): Remove unused variable.
44233         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44234
44235 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44236
44237         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44238         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44239         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44240         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44241         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44242         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44243         * math/Makefile (libm-calls): Add s_isinf_ns.
44244         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44245         * math/multc3.c: Likewise.
44246         * math/s_casin.c: Likewise.
44247         * math/s_casinf.c: Likewise.
44248         * math/s_casinl.c: Likewise.
44249         * math/s_ccos.c: Likewise.
44250         * math/s_ccosf.c: Likewise.
44251         * math/s_ccosl.c: Likewise.
44252         * math/s_ctan.c: Likewise.
44253         * math/s_ctanf.c: Likewise.
44254         * math/s_ctanh.c: Likewise.
44255         * math/s_ctanhf.c: Likewise.
44256         * math/s_ctanhl.c: Likewise.
44257         * math/s_ctanl.c: Likewise.
44258         * math/w_fmod.c: Likewise.
44259         * math/w_fmodf.c: Likewise.
44260         * math/w_fmodl.c: Likewise.
44261         * math/w_remainder.c: Likewise.
44262         * math/w_remainderf.c: Likewise.
44263         * math/w_remainderl.c: Likewise.
44264         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44265         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44266         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44267         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44268         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44269         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44270         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44271         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44272
44273         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44274         of the number.
44275         * stdio-common/printf_fphex.c: Likewise.
44276         * stdio-common/printf_size.c: Likewise.
44277
44278         * math/e_exp10.c: Include math_private.h using <...> not "...".
44279         * math/e_exp10f.c: Likewise.
44280         * math/e_exp10l.c: Likewise.
44281         * math/e_exp2l.c: Likewise.
44282         * math/e_j0l.c: Likewise.
44283         * math/e_j1l.c: Likewise.
44284         * math/e_jnl.c: Likewise.
44285         * math/e_lgammal_r.c: Likewise.
44286         * math/e_rem_pio2l.c: Likewise.
44287         * math/e_scalb.c: Likewise.
44288         * math/e_scalbf.c: Likewise.
44289         * math/e_scalbl.c: Likewise.
44290         * math/k_cosl.c: Likewise.
44291         * math/k_sinl.c: Likewise.
44292         * math/k_tanl.c: Likewise.
44293         * math/s_cacoshf.c: Likewise.
44294         * math/s_catan.c: Likewise.
44295         * math/s_catanf.c: Likewise.
44296         * math/s_catanh.c: Likewise.
44297         * math/s_catanhf.c: Likewise.
44298         * math/s_catanhl.c: Likewise.
44299         * math/s_catanl.c: Likewise.
44300         * math/s_ccosh.c: Likewise.
44301         * math/s_ccoshf.c: Likewise.
44302         * math/s_ccoshl.c: Likewise.
44303         * math/s_cexp.c: Likewise.
44304         * math/s_cexpf.c: Likewise.
44305         * math/s_cexpl.c: Likewise.
44306         * math/s_clog.c: Likewise.
44307         * math/s_clog10.c: Likewise.
44308         * math/s_clog10f.c: Likewise.
44309         * math/s_clog10l.c: Likewise.
44310         * math/s_clogf.c: Likewise.
44311         * math/s_clogl.c: Likewise.
44312         * math/s_csin.c: Likewise.
44313         * math/s_csinf.c: Likewise.
44314         * math/s_csinh.c: Likewise.
44315         * math/s_csinhf.c: Likewise.
44316         * math/s_csinhl.c: Likewise.
44317         * math/s_csinl.c: Likewise.
44318         * math/s_csqrt.c: Likewise.
44319         * math/s_csqrtf.c: Likewise.
44320         * math/s_csqrtl.c: Likewise.
44321         * math/s_ctan.c: Likewise.
44322         * math/s_ctanf.c: Likewise.
44323         * math/s_ctanh.c: Likewise.
44324         * math/s_ctanhf.c: Likewise.
44325         * math/s_ctanhl.c: Likewise.
44326         * math/s_ctanl.c: Likewise.
44327         * math/s_ldexp.c: Likewise.
44328         * math/s_ldexpf.c: Likewise.
44329         * math/s_ldexpl.c: Likewise.
44330         * math/s_significand.c: Likewise.
44331         * math/s_significandf.c: Likewise.
44332         * math/s_significandl.c: Likewise.
44333         * math/w_acos.c: Likewise.
44334         * math/w_acosf.c: Likewise.
44335         * math/w_acosh.c: Likewise.
44336         * math/w_acoshf.c: Likewise.
44337         * math/w_acoshl.c: Likewise.
44338         * math/w_acosl.c: Likewise.
44339         * math/w_asin.c: Likewise.
44340         * math/w_asinf.c: Likewise.
44341         * math/w_asinl.c: Likewise.
44342         * math/w_atan2.c: Likewise.
44343         * math/w_atan2f.c: Likewise.
44344         * math/w_atan2l.c: Likewise.
44345         * math/w_atanh.c: Likewise.
44346         * math/w_atanhf.c: Likewise.
44347         * math/w_atanhl.c: Likewise.
44348         * math/w_cosh.c: Likewise.
44349         * math/w_coshf.c: Likewise.
44350         * math/w_coshl.c: Likewise.
44351         * math/w_dremf.c: Likewise.
44352         * math/w_exp10.c: Likewise.
44353         * math/w_exp10f.c: Likewise.
44354         * math/w_exp10l.c: Likewise.
44355         * math/w_exp2.c: Likewise.
44356         * math/w_exp2f.c: Likewise.
44357         * math/w_fmod.c: Likewise.
44358         * math/w_fmodf.c: Likewise.
44359         * math/w_fmodl.c: Likewise.
44360         * math/w_hypot.c: Likewise.
44361         * math/w_hypotf.c: Likewise.
44362         * math/w_hypotl.c: Likewise.
44363         * math/w_j0.c: Likewise.
44364         * math/w_j0f.c: Likewise.
44365         * math/w_j0l.c: Likewise.
44366         * math/w_j1.c: Likewise.
44367         * math/w_j1f.c: Likewise.
44368         * math/w_j1l.c: Likewise.
44369         * math/w_jn.c: Likewise.
44370         * math/w_jnf.c: Likewise.
44371         * math/w_jnl.c: Likewise.
44372         * math/w_lgamma.c: Likewise.
44373         * math/w_lgamma_r.c: Likewise.
44374         * math/w_lgammaf.c: Likewise.
44375         * math/w_lgammaf_r.c: Likewise.
44376         * math/w_lgammal.c: Likewise.
44377         * math/w_lgammal_r.c: Likewise.
44378         * math/w_log.c: Likewise.
44379         * math/w_log10.c: Likewise.
44380         * math/w_log10f.c: Likewise.
44381         * math/w_log10l.c: Likewise.
44382         * math/w_log2.c: Likewise.
44383         * math/w_log2f.c: Likewise.
44384         * math/w_log2l.c: Likewise.
44385         * math/w_logf.c: Likewise.
44386         * math/w_logl.c: Likewise.
44387         * math/w_pow.c: Likewise.
44388         * math/w_powf.c: Likewise.
44389         * math/w_powl.c: Likewise.
44390         * math/w_remainder.c: Likewise.
44391         * math/w_remainderf.c: Likewise.
44392         * math/w_remainderl.c: Likewise.
44393         * math/w_scalb.c: Likewise.
44394         * math/w_scalbf.c: Likewise.
44395         * math/w_scalbl.c: Likewise.
44396         * math/w_sinh.c: Likewise.
44397         * math/w_sinhf.c: Likewise.
44398         * math/w_sinhl.c: Likewise.
44399         * math/w_sqrt.c: Likewise.
44400         * math/w_sqrtf.c: Likewise.
44401         * math/w_sqrtl.c: Likewise.
44402         * math/w_tgamma.c: Likewise.
44403         * math/w_tgammaf.c: Likewise.
44404         * math/w_tgammal.c: Likewise.
44405
44406         * po/ja.po: Update from translation team.
44407
44408 2011-09-29  Andreas Jaeger  <aj@suse.de>
44409
44410         [BZ #13179]
44411         * sunrpc/netname.c (netname2host): Fix logic.
44412
44413         [BZ #6779]
44414         [BZ #6783]
44415         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44416         correctly.
44417         * math/w_remainder.c (__remainder): Likewise.
44418         * math/w_remainderf.c (__remainderf): Likewise.
44419         * math/libm-test.inc (remainder_test): Add test cases.
44420
44421 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44422
44423         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44424         sdiv_qrnnd.
44425
44426 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44427
44428         * string/test-memcmp.c: Avoid unncessary #defines.
44429         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44430
44431 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44432
44433         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44434         Use new sse2 version for core i3 - i7 as it's faster
44435         than sse42 version.
44436         (bit_Prefer_PMINUB_for_stringop): New.
44437         * sysdeps/x86_64/rawmemchr.S: Update.
44438         Replace with faster SSE2 version.
44439         * sysdeps/x86_64/memrchr.S: New file.
44440         * sysdeps/x86_64/memchr.S: Update.
44441         Replace with faster SSE2 version.
44442
44443 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44444
44445         * elf/dl-load.c (lose): Add cast to avoid warning.
44446
44447 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44448
44449         * po/ca.po: Update from translation team.
44450
44451         * inet/getnetgrent_r.c: Hook up nscd.
44452         * nscd/Makefile (routines): Add nscd_netgroup.
44453         (nscd-modules): Add netgroupcache.
44454         (CFLAGS-netgroupcache.c): Define.
44455         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44456         (cache_search): Add const to second parameter.
44457         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44458         INNETGR.
44459         (dbs): Add netgrdb entry.
44460         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44461         (verify_persistent_db): Handle netgrdb.
44462         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44463         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44464         GETFDNETGR.
44465         (netgroup_response_header): Define.
44466         (innetgroup_response_header): Define.
44467         (datahead): Add netgroup_response_header and innetgroup_response_header
44468         elements.
44469         * nscd/nscd.conf: Add entries for netgroup cache.
44470         * nscd/nscd.h (dbtype): Add netgrdb.
44471         (_PATH_NSCD_NETGROUP_DB): Define.
44472         (netgroup_iov_disabled): Declare.
44473         (xmalloc, xcalloc, xrealloc): Move declarations here.
44474         (cache_search): Adjust prototype.
44475         Add netgroup-related prototypes.
44476         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44477         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44478         (__nscd_innetgr): Declare.
44479         * nscd/selinux.c (perms): Use access_vector_t as element type and
44480         add netgroup-related initializers.
44481         * nscd/netgroupcache.c: New file.
44482         * nscd/nscd_netgroup.c: New file.
44483         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44484         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44485         For four parameters use innetgr.
44486         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44487         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44488         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44489         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44490
44491         * nscd/connections.c (register_traced_file): Don't register file
44492         for disabled databases.
44493
44494 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44495
44496         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44497
44498         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44499         from tree and freeing node.
44500
44501 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44502
44503         * nss/nsswitch.c (__nss_database_lookup): Handle
44504         nss_parse_service_list out of memory case.
44505
44506 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44507
44508         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44509         out of memory case.
44510
44511 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44512
44513         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44514         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44515         pass it down.
44516         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44517         elf_machine_rela, elf_machine_lazy_rel.
44518         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44519         (ELF_DYNAMIC_DO_REL): Likewise.
44520         (ELF_DYNAMIC_DO_RELA): Likewise.
44521         (ELF_DYNAMIC_RELOCATE): Likewise.
44522         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44523         to ELF_DYNAMIC_DO_REL.
44524         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44525         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44526         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44527         elf_machine_rela.
44528         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44529         skip_ifunc, don't call ifunc function if non-zero.
44530         (elf_machine_rela): Likewise.
44531         (elf_machine_lazy_rel): Likewise.
44532         (elf_machine_lazy_rela): Likewise.
44533         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44534         (elf_machine_lazy_rel): Likewise.
44535         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44536         Likewise.
44537         (elf_machine_lazy_rel): Likewise.
44538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44539         Likewise.
44540         (elf_machine_lazy_rel): Likewise.
44541         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44542         (elf_machine_lazy_rel): Likewise.
44543         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44544         (elf_machine_lazy_rel): Likewise.
44545         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44546         (elf_machine_lazy_rel): Likewise.
44547         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44548         (elf_machine_lazy_rel): Likewise.
44549         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44550         (elf_machine_lazy_rel): Likewise.
44551         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44552         (elf_machine_lazy_rel): Likewise.
44553
44554 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44555
44556         * nss/nss_files/files-init.c (_nss_files_init): Use static
44557         initialization for all the *_traced_file variables.
44558
44559 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44560
44561         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44562
44563 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44564
44565         [BZ #13226]
44566         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44567
44568 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44569
44570         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44571         Reread the line before reparsing it.
44572
44573 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44574
44575         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44576
44577 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44578             Maxim Kuvyrkov  <maxim@codesourcery.com>
44579             Joseph Myers  <joseph@codesourcery.com>
44580
44581         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44582         if needed for __stack_chk_guard.
44583
44584 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44585
44586         * sysdeps/posix/spawni.c (script_execute): Always define it.
44587         It will be optimized away if unused.
44588         (maybe_script_execute): New function.
44589         (__spawni): Call it.
44590
44591         * Makerules: Don't include tls.make.
44592         (config-tls): Always set to thread.
44593         * tls.make.c: File removed.
44594
44595 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44596
44597         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44598         * config.make.in (CPPFLAGS-config): New substituted variable.
44599
44600 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44601
44602         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44603
44604         [BZ #13192]
44605         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44606         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44607
44608 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44609
44610         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44611         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44612         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44613         (CALL_FAIL): Likewise.
44614         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44615         (CALL_FAIL): Macro removed.
44616         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44617
44618 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44619
44620         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44621         for __FINITE_MATH_ONLY__ == 1.
44622
44623 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44624
44625         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44626         __ieee754_sqrt instead of sqrt.
44627         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44628         __ieee754_sqrtf instead of sqrtf.
44629         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44630         __floorf instead of floorf.
44631         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44632         __floorf, __truncf instead of floorf, truncf.
44633
44634 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44635
44636         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44637
44638         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44639         __extern_always_inline.
44640         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44641         32-bit.
44642
44643 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44644
44645         * elf/rtld.c (dl_main): Also relocate in dependency order when
44646         doing symbol dependency testing.
44647
44648 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44649
44650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44651         Always define `refsym'.
44652
44653 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44654
44655         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44656         (__FD_ELT): Renamed from __FDELT.
44657         * misc/bits/select2.h (__FD_ELT): Likewise.
44658         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44659         __FD_MASK instead of __FDELT, __FDMASK.
44660         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44661         Likewise.
44662         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44663         Likewise.
44664
44665         * elf/Makefile (gen-ldd): Fix pattern.
44666
44667         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44668         (init_tls): Likewise.
44669
44670 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44671
44672         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44673
44674 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44675
44676         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44677         `struct cmsghdr *' instead of `void *'.
44678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44679         Likewise.
44680
44681 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44682
44683         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44684         if non-absolute.
44685         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44686         ldd_rewrite_script.
44687
44688 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44689
44690         * configure.in: Remove --with-tls option.
44691         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44692         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44693         out in case it is missing.
44694         * sysdeps/ia64/elf/configure.in: Likewise.
44695         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44696         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44697         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44698         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44699         * sysdeps/sh/elf/configure.in: Likewise.
44700         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44701         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44702         * sysdeps/x86_64/elf/configure.in: Likewise.
44703         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44704         * sysdeps/mach/hurd/tls.h: Likewise.
44705
44706         [BZ #13067]
44707         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44708
44709         [BZ #13090]
44710         * configure.in: Fix use of AC_INIT.
44711
44712         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44713
44714 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44715
44716         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44717         __set_errno.
44718         * malloc/hooks.c: Likewise.
44719
44720         [BZ #11929]
44721         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44722         variables statically.
44723         (narenas): Initialize.
44724         (list_lock): Initialize.
44725         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44726         initializtion of main_arena and list_lock.  Small cleanups.
44727         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44728         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44729         Add initializers to main_arena and mp_.
44730         (malloc_state): Remove pagesize member.  Change all users to use
44731         GLRO(dl_pagesize).
44732
44733         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44734         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44735         is always initialized.
44736
44737         * malloc/malloc.c: Removed unused configurations and dead code.
44738         * malloc/arena.c: Likewise.
44739         * malloc/hooks.c: Likewise.
44740         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44741
44742         * include/tls.h: Removed.  USE___THREAD must always be defined.
44743         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44744         * elf/dl-libc.c: Likewise.
44745         * elf/dl-tsd.c: Likewise.
44746         * include/errno.h: Likewise.
44747         * include/netdb.h: Likewise.
44748         * include/resolv.h: Likewise.
44749         * inet/herrno-loc.c: Likewise.
44750         * inet/herrno.c: Likewise.
44751         * malloc/arena.c: Likewise.
44752         * malloc/hooks.c: Likewise.
44753         * malloc/malloc.c: Likewise.
44754         * resolv/res-state.c: Likewise.
44755         * resolv/res_libc.c: Likewise.
44756         * sysdeps/i386/dl-machine.h: Likewise.
44757         * sysdeps/ia64/dl-machine.h: Likewise.
44758         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44759         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44760         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44761         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44762         * sysdeps/sh/dl-machine.h: Likewise.
44763         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44764         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44765         * sysdeps/unix/i386/sysdep.S: Likewise.
44766         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44767         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44768         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44771         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44772         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44773         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44774         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44776         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44777         * sysdeps/x86_64/dl-machine.h: Likewise.
44778         * tls.make.c: Likewise.
44779
44780         * configure.in: Remove --with-__thread option.  Make tests for
44781         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44782         tls_model attribute fail if no support is available.  Remove
44783         USE_IN_LIBIO.
44784         * Makeconfig: Adjust for dropped configure option.  All features are
44785         now mandatory.
44786         * Makerules: Likewise.
44787         * Versions.def: Likewise.
44788         * argp/argp-fmtstream.c: Likewise.
44789         * argp/argp-fmtstream.h: Likewise.
44790         * argp/argp-help.c: Likewise.
44791         * assert/assert.c: Likewise.
44792         * config.h.in: Likewise.
44793         * config.make.in: Likewise.
44794         * configure: Likewise.
44795         * configure.in: Likewise.
44796         * csu/Versions: Likewise.
44797         * csu/init.c: Likewise.
44798         * elf/tst-audit2.c: Likewise.
44799         * elf/tst-tls10.c: Likewise.
44800         * elf/tst-tls10.h: Likewise.
44801         * elf/tst-tls11.c: Likewise.
44802         * elf/tst-tls12.c: Likewise.
44803         * elf/tst-tls14.c: Likewise.
44804         * elf/tst-tlsmod11.c: Likewise.
44805         * elf/tst-tlsmod12.c: Likewise.
44806         * elf/tst-tlsmod13.c: Likewise.
44807         * elf/tst-tlsmod13a.c: Likewise.
44808         * elf/tst-tlsmod14a.c: Likewise.
44809         * elf/tst-tlsmod15b.c: Likewise.
44810         * elf/tst-tlsmod16a.c: Likewise.
44811         * elf/tst-tlsmod16b.c: Likewise.
44812         * elf/tst-tlsmod7.c: Likewise.
44813         * elf/tst-tlsmod8.c: Likewise.
44814         * elf/tst-tlsmod9.c: Likewise.
44815         * gmon/gmon.c: Likewise.
44816         * grp/fgetgrent_r.c: Likewise.
44817         * grp/putgrent.c: Likewise.
44818         * hurd/fopenport.c: Likewise.
44819         * include/libc-symbols.h: Likewise.
44820         * include/tls.h: Likewise.
44821         * intl/gettextP.h: Likewise.
44822         * intl/loadinfo.h: Likewise.
44823         * locale/global-locale.c: Likewise.
44824         * locale/localeinfo.h: Likewise.
44825         * mach/devstream.c: Likewise.
44826         * malloc/arena.c: Likewise.
44827         * malloc/set-freeres.c: Likewise.
44828         * misc/err.c: Likewise.
44829         * misc/getttyent.c: Likewise.
44830         * misc/mntent_r.c: Likewise.
44831         * posix/getopt.c: Likewise.
44832         * posix/wordexp.c: Likewise.
44833         * pwd/fgetpwent_r.c: Likewise.
44834         * resolv/Versions: Likewise.
44835         * resolv/res_hconf.c: Likewise.
44836         * shadow/fgetspent_r.c: Likewise.
44837         * shadow/putspent.c: Likewise.
44838         * stdio-common/printf_fphex.c: Likewise.
44839         * stdio-common/tmpfile.c: Likewise.
44840         * stdlib/abort.c: Likewise.
44841         * stdlib/fmtmsg.c: Likewise.
44842         * sunrpc/auth_unix.c: Likewise.
44843         * sunrpc/clnt_perr.c: Likewise.
44844         * sunrpc/clnt_tcp.c: Likewise.
44845         * sunrpc/clnt_udp.c: Likewise.
44846         * sunrpc/clnt_unix.c: Likewise.
44847         * sunrpc/openchild.c: Likewise.
44848         * sunrpc/svc_simple.c: Likewise.
44849         * sunrpc/svc_tcp.c: Likewise.
44850         * sunrpc/svc_udp.c: Likewise.
44851         * sunrpc/svc_unix.c: Likewise.
44852         * sunrpc/xdr.c: Likewise.
44853         * sunrpc/xdr_array.c: Likewise.
44854         * sunrpc/xdr_rec.c: Likewise.
44855         * sunrpc/xdr_ref.c: Likewise.
44856         * sunrpc/xdr_stdio.c: Likewise.
44857
44858 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44859
44860         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44861
44862 2011-07-03  Andreas Jaeger  <aj@suse.de>
44863
44864         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44865         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44866         regenerate with gen-libm-tests.pl.
44867
44868 2010-05-12  Petr Baudis  <pasky@suse.cz>
44869
44870         [BZ #11589]
44871         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44872         around j0() zero points by switching to j1().
44873         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44874         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44876         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44877
44878 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44879
44880         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44881         instead of 0.
44882         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44883         instead of 0.
44884         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44885         Patch in part by Pavel Roskin <proski@gnu.org>.
44886
44887         [BZ #13138]
44888         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44889         realloc.
44890         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44891         Free memory block if necessary.
44892
44893         [BZ #12847]
44894         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44895         be NULL.  Don't lock in this case.
44896
44897 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44898
44899         * elf/elf.h (ELFOSABI_GNU): New macro.
44900         (ELFOSABI_LINUX): Define to that.
44901
44902 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44903
44904         * string/strncat.c (strncat): Undef the symbol in case it has been
44905         defined in bits/string.h.
44906
44907 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44908
44909         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44910
44911         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44912         link map.
44913
44914 2011-08-17  Andreas Jaeger  <aj@suse.de>
44915
44916         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44917
44918 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44919             Ian Lance Taylor  <iant@google.com>
44920
44921         * math/libm-test.inc (lround_test): New testcase.
44922         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44923
44924 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44925
44926         * Makefile: Remove support for automatic cvs check-ins.
44927         * Makerules: Likewise.
44928         * config.make.in: Likewise.
44929         * configure.in: Likewise.
44930         * intl/Makefile: Likewise.
44931         * locale/Makefile: Likewise.
44932         * po/Makefile: Likewise.
44933         * posix/Makefile: Likewise.
44934         * sysdeps/gnu/Makefile: Likewise.
44935         * sysdeps/mach/hurd/Makefile: Likewise.
44936         * sysdeps/sparc/sparc32/Makefile: Likewise.
44937
44938         [BZ #13118]
44939         * posix/Makefile (bug-regex32-ENV): Define.
44940         Patch by John Stanley <jpsinthemix@verizon.net>.
44941
44942         * misc/Makefile (headers): Add bits/select2.h.
44943         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44944         * misc/bits/select2.h: New file.
44945         * include/bits/select2.h: New file.
44946         * debug/Makefile (routines): Add fdelt_chk.
44947         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44948         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44949         FD_ISSET.
44950         * debug/fdelt_chk.c: New file.
44951
44952         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44953         * wcsmbs/test-wmemcmp.c: Likewise.
44954         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44955         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44956
44957 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44958
44959         * string/Makefile (strop-tests): Add memcmp.
44960         * string/test-wmemcmp.c: New file.
44961         * string/test-memcmp.c: Add wmemcmp support.
44962
44963 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44964
44965         [BZ #13153]
44966         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44967         2011-07-19 change.
44968
44969         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44970         garbage value in a __mach_port_mod_refs call in the cases of the
44971         task-self and thread-self ports.
44972
44973 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44974
44975         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44976
44977 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44978
44979         * elf/dl-load.c (lose): Check for non-null L.
44980
44981 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44982
44983         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44984
44985         * elf/dl-libc.c (dlerror_run): Pass back error code from
44986         dl_catch_error.
44987
44988         [BZ #13123]
44989         * elf/dl-load.c (lose): Free l_origin if it is valid.
44990
44991         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44992         names.
44993         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44994         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44995         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44996         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44997         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44998         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44999
45000 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45001
45002         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45003         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45004         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45005         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45006         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45007         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45008         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45009         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45010         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45011         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45012
45013 2011-08-15  Alan Modra  <amodra@gmail.com>
45014
45015         [BZ #13092]
45016         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45017         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45018         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45019         ppc_mcount to static-only-routines.
45020         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45021         __mcount_internal.
45022         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45023         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45024
45025 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45026
45027         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45028         for finite and infinity parameters.
45029
45030 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45031
45032         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45033         and add nop instructions for throughput optimization.
45034         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45035
45036 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45037
45038         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45039         aligned copy for power7 with vector-scalar instructions.
45040         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45041
45042 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45043
45044         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45045         AVX check.
45046
45047 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45048
45049         [BZ #13144]
45050         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45051         last change.
45052
45053 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45054
45055         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45056         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45057         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45058         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45059         clock_gettime.
45060
45061 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45062
45063         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45064         Forgot to demangle the pointer.
45065
45066         * sysdeps/i386/sysdep.h: Define atom_text_section.
45067         * sysdeps/x86_64/sysdep.h: Likewise.
45068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45069         section with atom_text_section.
45070         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45071         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45072         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45073         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45074         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45075
45076         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45077         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45078         already be defined.  Change to take two parameters and don't assign
45079         result to variable.  Adjust all users.
45080         Define INTERNAL_GETTIME if not already defined.
45081         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45082         call.
45083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45084         HAVE_CLOCK_GETTIME_VSYSCALL.
45085         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45086
45087         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45088         gettimeofday vsyscall, just use time.
45089
45090 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45091
45092         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45093         <errno.h>.
45094
45095 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45096
45097         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45098         syscall on x86-64.
45099         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45100         syscall.
45101         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45102         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45103         syscall if possible.
45104
45105 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45106
45107         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45108         e_ident.  Don't pass to find_mapsXX.
45109         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45110
45111 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45112
45113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45114         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45115         * sysdeps/x86_64/multiarch/strchr.S: Update.
45116         Check bit_slow_BSF bit.
45117         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45118         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45119         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45120
45121 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45122
45123         [BZ #13134]
45124         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45125         before glibc 2.15.
45126         (tryshell): Define.
45127         (__spawni): Change last parameter to be flag.  Test
45128         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45129         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45130         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45131         * posix/spawni.c: Likewise.
45132         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45133         * posix/spawnp.c: Likewise.  Change normal version to use
45134         SPAWN_XFLAGS_USE_PATH.
45135         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45136         SPAWN_XFLAGS_TRY_SHELL.
45137
45138         [BZ #13150]
45139         * posix/glob.h: Remove gcc 1.x support.
45140
45141         [BZ #13068]
45142         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45143
45144 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45145
45146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45147         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45148         strrchr-sse2-bsf
45149         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45150         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45151         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45152         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45153         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45154         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45155
45156 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45157
45158         * sysdeps/x86_64/wcscmp.S: New file.
45159
45160         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45161         wcscmp-c wcscmp-sse2
45162         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45163         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45164         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45165         * wcsmbs/wcscmp.c: Allow renaming.
45166
45167 2011-09-05  David S. Miller  <davem@davemloft.net>
45168
45169         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45170         stack slot, rather than the struct return pointer slot.
45171         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45172         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45174         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45175
45176 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45177
45178         * po/ja.po: Update from translation team.
45179
45180         [BZ #13144]
45181         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45182         kernel in 64-bit binaries.
45183
45184 2011-09-01  David S. Miller  <davem@davemloft.net>
45185
45186         * elf/elf.h (HWCAP_SPARC_*): Move to..
45187         * sysdeps/sparc/sysdep.h: this new file and add new values.
45188         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45189         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45190         _DL_HWCAP_COUNT to 24.
45191         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45192         entries.
45193         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45194         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45195         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45196         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45197         instead of magic constants.
45198         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45199
45200 2011-08-31  David S. Miller  <davem@davemloft.net>
45201
45202         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45203         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45204         Reimplement to do errno handling inline.
45205         (SYSCALL_ERROR_HANDLER): New macro.
45206         (__SYSCALL_STRING): Do not do errno handling in asm.
45207         (__CLONE_SYSCALL_STRING): Delete.
45208         (__INTERNAL_SYSCALL_STRING): Delete.
45209         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45210         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45211         (PSEUDO): Reimplement to do errno handling inline.
45212         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45213         (SYSCALL_ERROR_HANDLER): New macro.
45214         (__SYSCALL_STRING): Do not do errno handling in asm.
45215         (__CLONE_SYSCALL_STRING): Delete.
45216         (__INTERNAL_SYSCALL_STRING): Delete.
45217         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45218         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45219         i386.
45220         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45221         (inline_syscall*): Add 'err' argument.
45222         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45223         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45224         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45225         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45226
45227         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45228         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45229
45230 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45231
45232         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45233
45234 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45235
45236         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45237         directive.
45238
45239 2011-08-24  David S. Miller  <davem@davemloft.net>
45240
45241         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45242
45243 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45244
45245         * elf/Makefile: Add rules to build and run unload8 test.
45246         * elf/unload8.c: New file.
45247         * elf/unload8mod1.c: New file.
45248         * elf/unload8mod1x.c: New file.
45249         * elf/unload8mod2.c: New file.
45250         * elf/unload8mod3.c: New file.
45251
45252         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45253         it wasn't used.
45254
45255 2011-08-23  David S. Miller  <davem@davemloft.net>
45256
45257         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45258         subtract stack bias.
45259         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45260         %sp not %fp in calculations.
45261         (_JMPBUF_UNWINDS_ADJ): Likewise.
45262
45263         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45264         (aio_suspend): Call it to force an exception region around the
45265         AIO_MISC_WAIT() invocation.
45266
45267 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45268
45269         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45270         backslash.
45271
45272 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45273
45274         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45275         protection macro.
45276         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45277         and <dl-machine.h>.
45278         (Elf64_FuncDesc): Remove.
45279
45280 2011-08-22  David S. Miller  <davem@davemloft.net>
45281
45282         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45283         sigaltstack check, add missing cfi directives.
45284         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45285         missing cfi directives, and sigaltstack handling.
45286
45287 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45288
45289         [BZ #11724]
45290         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45291         object is seen twice.
45292         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45293
45294         * elf/Makefile (distribute): Add tst-initorder2.c.
45295         (tests): Add tst-initorder2.
45296         (modules-names): Add tst-initorder2a tst-initorder2b
45297         tst-initorder2c tst-initorder2d.  Add rules to build them.
45298         ($(objpfx)tst-initorder2.out): New rule.
45299         * elf/tst-initorder2.c: New file.
45300         * elf/tst-initorder2.exp: New file.
45301
45302 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45303
45304         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45305
45306         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45307         dependencies back to end of function.
45308
45309         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45310         $(elfobjdir)/ld.so.
45311
45312 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45313
45314         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45315         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45316         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45317         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45318         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45319         of __vdso_gettimeofday.
45320         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45321         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45322         attribute_hidden.
45323         (_libc_vdso_platform_setup): Remove initialization of
45324         __vdso_gettimeofday and __vdso_time.
45325
45326 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45327
45328         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45329         and fgetc_unlocked.
45330         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45331         getc_unlocked.
45332
45333         * elf/dl-open.c (add_to_global): Report additions to the global scope
45334         for LD_DEBUG=scopes.
45335         (dl_open_worker): Also print scope of newly loaded dependencies.
45336         (_dl_show_scope): Indicate if there is no scope.
45337
45338         [BZ #13114]
45339         * stdio-common/Makefile (tests): Add bug24.
45340         * stdio-common/bug24.c: New file.
45341
45342 2011-08-19  Andreas Jaeger  <aj@suse.de>
45343
45344         [BZ #13114]
45345         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45346         non-existant file when using close-on-exec mode.
45347
45348 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45349
45350         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45351         the very first instruction.
45352
45353         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45354         the CFI state in the end.
45355         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45356         inclusion of dl-trampoline.h.
45357         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45358
45359 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45360
45361         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45362         expectations for long double.
45363
45364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45365         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45366
45367 2011-08-14  David S. Miller  <davem@davemloft.net>
45368
45369         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45370         artificual limit depends upon the system page size.
45371
45372 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45373
45374         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45375         * resolv/Makefile: Define CFLAGS-libresolv.
45376
45377 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45378
45379         * nss/makedb.c (compute_tables): Make variables used in nested
45380         function static.
45381
45382 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45383
45384         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45385         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45386         if buffer was too small.
45387
45388         * elf/pldd.c (main): Attach to all threads in the process.
45389         Rewrite /proc handling to use *at functions.
45390
45391 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45392
45393         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45394         specifies first scope to show.
45395         (dl_open_worker): Update callers.  Move printing scope of new
45396         object to before the relocation.
45397         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45398         * sysdeps/generic/ldsodefs.h: Update declaration.
45399
45400         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45401         string for the scope number.
45402
45403 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45404
45405         * nscd/servicescache.c (cache_addserv): Make sure written is always
45406         initialized.
45407
45408 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45409
45410         * sysdeps/i386/i486/bits/atomic.h
45411         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45412         statement expression, so as to suppress "set but not used" warning.
45413         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45414
45415         * string/strncat.c (STRNCAT): Use prototype definition.
45416
45417         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45418         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45419         -Iprograms here.
45420         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45421         (localedef-modules): Add localedef.
45422         (locale-modules): Add locale.
45423
45424         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45425         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45426         to avoid a warning.
45427
45428 2011-08-14  David S. Miller  <davem@davemloft.net>
45429
45430         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45431         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45432
45433 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45434
45435         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45436         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45437         * elf/rtld.c (dl_main): Set l_name of vDSO.
45438         Call _dl_show_scope when DL_DEBUG_SCOPES.
45439         (process_dl_debug): Recognize scopes flag and also set it for all.
45440         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45441         Declare _dl_show_scope.
45442
45443         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45444         (do_dlopen): Pass caller_dlopen to dl_open.
45445         (__libc_dlopen_mode): Initialize caller_dlopen.
45446
45447         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45448         of libc.  Make tolower call locale-independent.  Optimize a bit by
45449         using isdigit instead of isalnum.
45450         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45451
45452 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45453
45454         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45455         was a dependency or dynamically loaded.
45456
45457 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45458
45459         * intl/l10nflist.c: Allow architecture-specific pop function.
45460         * sysdeps/x86_64/l10nflist.c: New file.
45461
45462         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45463         classification.
45464
45465 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45466
45467         * include/dirent.h: Add libc_hidden_proto for scandirat and
45468         scandirat64.  Don't declare __scandirat64.
45469         * dirent/scandirat.c: Add libc_hidden_def.
45470         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45471         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45472
45473 2011-08-10  David S. Miller  <davem@davemloft.net>
45474
45475         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45476         enum.
45477         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45478         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45479         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45480
45481 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45482
45483         * Versions.def [libc]: Add GLIBC_2.15.
45484         * dirent/Makefile (routines): Add scandirat and scandirat64.
45485         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45486         GLIBC_2.15.
45487         * dirent/dirent.h: Declare scandirat and scandirat64.
45488         * dirent/scandirat.c: New file.
45489         * dirent/scandirat64.c: New file.
45490         * sysdeps/wordsize-64/scandirat.c: New file.
45491         * sysdeps/wordsize-64/scandirat64.c: New file.
45492         * dirent/opendir.c: Define opendirat.
45493         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45494         using scandirat.
45495         * dirent/scandir64.c: Adjust for scandir.c change.
45496         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45497         __scandirat64, and __scandir_cancel_handler.
45498         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45499         additional parameter and use openat instead of open (outside of ld.so).
45500         Add new __opendir as wrapper around __opendirat.
45501         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45502         here without requiring old scandirat implementation.
45503
45504 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45505
45506         * dirent/scandir.c (cancel_handler): Renamed to
45507         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45508         defined.  Adjust users.
45509         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45510         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45511
45512 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45513
45514         * string/test-string.h (IMPL): Use __STRING to expand name and then
45515         stringify it.
45516
45517         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45518         of cleanups.
45519
45520 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45521
45522         * string/Makefile: Update.
45523         (strop-tests): Append strncat.
45524         * string/test-wcscmp.c: New file.
45525         New comprehensive test for wcscmp.
45526         * string/test-strcmp.c: Update.
45527         (WIDE): New define.
45528
45529 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45530
45531         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45532         line.
45533
45534 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45535
45536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45537         encoding to ACE if AI_IDN.
45538
45539 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45540
45541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45542         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45543
45544 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45545
45546         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45547         Fix overflow bug in strncat.
45548         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45549
45550         * string/test-strncat.c: Update.
45551         Add new tests for checking overflow bugs.
45552
45553 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45554
45555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45556         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45557         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45558         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45559         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45560         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45561         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45562         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45563         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45564
45565         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45566         (USE_AS_STRCAT): Define.
45567         Add strcat and strncat support.
45568         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45569
45570 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45571
45572         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45573         __n bigger than INT_MAX+1.
45574         (__strncmp_g): Likewise.
45575
45576 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45577
45578         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45579         * libio/stido.h: Likewise.
45580
45581         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45582         (AF_NFC): Define.
45583         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45584         (AF_NFC): Define.
45585
45586         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45587         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45588         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45589         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45590         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45591
45592         [BZ #13021]
45593         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45594         installed.
45595
45596         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45597         typo.
45598         (_dl_x86_64_save_sse): Likewise.
45599
45600 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45601
45602         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45603         OSXSAVE.
45604         (_dl_x86_64_save_sse): Likewise.
45605
45606         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45607
45608         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45609
45610 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45611
45612         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45613         change.
45614         (_dl_x86_64_save_sse): Use correct AVX check.
45615
45616 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45617
45618         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45619         bug in strncpy/strncat.
45620         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45621
45622 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45623
45624         * string/tester.c (test_strcat): Add tests for different alignments
45625         of source and destination.
45626         (test_strncat): Likewise.
45627
45628 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45629
45630         [BZ #12852]
45631         * posix/glob.c (glob): Check passed in values before using them in
45632         expressions to avoid some overflows.
45633         (glob_in_dir): Likewise.
45634
45635         [BZ #13007]
45636         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45637         check for AVX enablement so that we don't crash with old kernels and
45638         new hardware.
45639         * elf/tst-audit4.c: Add same checks here.
45640         * elf/tst-audit6.c: Likewise.
45641
45642         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45643
45644 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45645
45646         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45647
45648 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45649
45650         * po/cs.po: Update from translation team.
45651         * po/bg.po: Likewise.
45652
45653 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45654
45655         * misc/sys/cdefs.h: Add support for const attribute.
45656         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45657         to gnu_dev_{major,minor,makedev} functions.
45658
45659 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45660
45661         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45662
45663 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45664
45665         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45666         strlen results.
45667
45668 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45669
45670         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45671         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45672         register in order to avoid conflicts with the soft frame pointer
45673         being held in r11 when necessary.
45674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45675         (INTERNAL_VSYSCALL_NCS): Likewise.
45676
45677 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45678
45679         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45680         * elf/dl-fini.c (_dl_fini): Adjust caller.
45681         * elf/dl-close.c (_dl_close_worker): Likewise.
45682         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45683
45684 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45685
45686         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45687         "aux_cache->nlibs < 0".
45688
45689         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45690         in the reload-count case.
45691
45692 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45693
45694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45695         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45696         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45697         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45698         * sysdeps/x86_64/multiarch/strcat.S: New file.
45699         * sysdeps/x86_64/multiarch/strncat.S: New file.
45700         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45701         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45702         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45703         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45704         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45705         (USE_AS_STRCAT): Define.
45706         Add strcat and strncat support.
45707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45708         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45709         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45710         * string/strncat.c: Update.
45711         (USE_AS_STRNCAT): Define.
45712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45713         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45714         and i7.
45715         * sysdeps/x86_64/multiarch/init-arch.h
45716         (bit_Prefer_PMINUB_for_stringop): New.
45717         (index_Prefer_PMINUB_for_stringop): Likewise.
45718         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45719         bit_Prefer_PMINUB_for_stringop.
45720
45721 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45722
45723         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45724         buffer64.
45725         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45726         of casting of buffer.
45727         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45728         buffer32 and buffer64.
45729         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45730         writes instead of casting of buffer.
45731         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45732         buffer32.
45733         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45734         casting of buffer.
45735
45736 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45737
45738         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45739
45740 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45741
45742         * nscd/nscd.c (termination_handler): Don't do anything for a database
45743         if it has not yet been initialized.
45744
45745 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45746
45747         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45748
45749 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45750
45751         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45752
45753 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45754
45755         * po/nl.po: Update from translation team.
45756         * po/sv.po: Likewise.
45757
45758 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45759
45760         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45761         now disallowed by GCC.
45762
45763         * configure.in (use-default-link): Default to yes if a test -shared
45764         link meets our qualifications.
45765         * configure: Regenerated.
45766
45767         * config.make.in (output-format): New variable.
45768         * configure.in: Check for ld --print-output-format support.
45769         * configure: Regenerated.
45770         * Makerules ($(common-objpfx)format.lds)
45771         [$(output-format) != unknown]: Just use $(output-format),
45772         instead of the linker-script munging.
45773
45774 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45775
45776         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45777         of $(common-objpfx)shlib.lds.
45778         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45779
45780         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45781         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45782
45783         * configure.in (-z relro check): Adjust test code to add a large
45784         writable data section after it.
45785         * configure: Regenerated.
45786
45787 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45788
45789         * configure.in (-z relro check): Fix test code to make the variable
45790         truly const.
45791         * configure: Regenerated.
45792
45793 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45794
45795         * nscd/nscd.h (struct traced_file): Define.
45796         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45797         elements.  Add traced_files.
45798         (inotify_fd): Declare.
45799         (register_traced_file): Declare.
45800         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45801         (inotify_fd): Export.
45802         (resolv_conf_descr): Remove.
45803         (nscd_init): Move inotify descriptor creation to main.
45804         Don't register files for notification here.
45805         (register_traced_file): New function.
45806         (invalidate_cache): Don't use reset_res to determine whether to call
45807         res_init, go through the list of registered files.
45808         (main_loop_poll): The inotify descriptors are now stored in the
45809         structures for the traced files.
45810         (main_loop_epoll): Likewise
45811         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45812         to __nss_disable_nscd.
45813         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45814         for a database anymore.  Check the records for all the registered
45815         files instead.
45816         * nss/Makefile (libnss_files-routines): Add files-init.
45817         (libnss_db-routines): Add db-init.
45818         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45819         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45820         * nss/nss_db/db-init.c: New file.
45821         * nss/nss_files/files-init.c: New file.
45822         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45823         __nss_lookup_function.
45824         (__nss_lookup_function): Call nss_load_library.
45825         (nss_load_all_libraries): New function.
45826         (__nss_disable_nscd): Take parameter with callback function for files
45827         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45828         used for the cached services.
45829         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45830         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45831         options for features to all the files in nscd.
45832
45833         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45834
45835 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45836
45837         * csu/elf-init.c (__libc_csu_init): Comment typo.
45838
45839 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45840
45841         * po/pl.po: Update from translation team.
45842         * po/ja.po: Likewise.
45843         * po/ru.po: Likewise.
45844         * po/ko.po: Likewise.
45845         * po/fr.po: Likewise.
45846
45847 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45848
45849         * configure.in (.ctors/.dtors header and trailer check):
45850         Use an empirical test on a built program.
45851         * configure: Regenerated.
45852
45853         * configure.in (-z relro check): Use an empirical test on a built DSO.
45854         Detect, but do not require, on ia64.
45855         * configure: Regenerated.
45856
45857         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45858         Update tests that use readelf to use $READELF instead.
45859         * configure: Regenerated.
45860
45861 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45862
45863         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45864         if the result is not used.
45865
45866 2011-07-05  Andreas Jaeger  <aj@suse.de>
45867
45868         [BZ#9696]
45869         * stdlib/tst-strtod.c: Add testcase.
45870
45871 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45872
45873         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45874         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45875         The latter has a higher limit.  Take additional parameter to pass to
45876         the new function.
45877         (__pathconf): Pass file to __statfs_link_max.
45878         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45879         __statfs_link_max.
45880         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45881         __statfs_link_max.
45882
45883         [BZ #12868]
45884         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45885         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45886         Handle Lustre.
45887         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45888         (__statfs_filesize_max): Likewise.
45889         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45890
45891 2011-07-05  Andreas Jaeger  <aj@suse.de>
45892
45893         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45894
45895 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45896
45897         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45898         `status' variable.
45899         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45900         Likewise.
45901
45902 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45903
45904         * Makefile (strop-tests): Add strncat.
45905         * string/test-strncat.c: New file.
45906
45907 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45908
45909         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45910
45911 2011-06-21  Andreas Jaeger  <aj@suse.de>
45912
45913         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45914         Copy rule from iconvdata/Makefile.
45915
45916 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45917
45918         [BZ #12922]
45919         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45920         but no long options are defined, just return 'W'.
45921
45922 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45923
45924         [BZ #9696]
45925         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45926
45927 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45928
45929         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45930         netgroups to read.
45931         (innetgr): Likewise.
45932
45933 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45934
45935         * config.make.in (install_root): Default to $(DESTDIR).
45936
45937 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45938
45939         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45940
45941 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45942
45943         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45944
45945         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45946         containing directory rather than embedding absolute directory names.
45947
45948         * scripts/check-local-headers.sh: Rewritten using awk.
45949         Match by word, not by line.  Print error messages for matches.
45950         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45951
45952         * Makerules [shlib-lds-flags empty]:
45953         ($(common-objpfx)libc_pic.opts): New target.
45954         ($(common-objpfx)libc_pic.os.clean): New target.
45955         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45956
45957         * config.make.in (OBJCOPY): New variable.
45958         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45959         * configure: Regenerated.
45960
45961         * config.make.in (use-default-link): New variable.
45962         * configure.in (use_default_link): Grok --with-default-link to set it.
45963         * configure: Regenerated.
45964         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45965         (shlib-lds, shlib-lds-flags): Define to empty.
45966
45967         * Makerules (shlib-lds): New variable.
45968         (shlib-lds-flags): New variable.
45969         (build-shlib, build-moduile, build-module-asneeded): Use it.
45970         ($(common-objpfx)libc.so): Use $(shlib-lds).
45971         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45972         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45973
45974         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45975         DT_FLAGS/DT_FLAGS_1 with zero flags.
45976
45977         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45978         linker script munging.
45979
45980 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45981
45982         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45983         as 128-bit value.
45984         * crypt/sha512.c (sha512_process_block): Perform total addition using
45985         128-bit if possible.
45986         (__sha512_finish_ctx): Likewise.
45987         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45988         as 64-bit value.
45989         * crypt/sha256.c (SWAP64): Define.
45990         (sha256_process_block): Perform total addition using 64-bit if
45991         possible.
45992         (__sha256_finish_ctx): Likewise.
45993
45994 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45995
45996         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45997         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45998         * nscd/hstcache.c (cache_addhst): Likewise.
45999         * nscd/grpcache.c (cache_addgr): Likewise.
46000         * nscd/aicache.c (addhstaiX): Likewise
46001         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46002
46003 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46004
46005         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46006         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46007         * nscd/hstcache.c (cache_addhst): Likewise.
46008         * nscd/grpcache.c (cache_addgr): Likewise.
46009         * nscd/aicache.c (addhstaiX): Likewise
46010
46011 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46012
46013         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46014         domain only when needed.
46015
46016 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46017
46018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46019         is always restored.
46020
46021 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46022
46023         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46024         are re-adding the entry.
46025         * nscd/servicescache.c (cache_addserv): Likewise.
46026
46027 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46028
46029         * sysdeps/generic/dl-irel.h: fix protection against multiple
46030         inclusions.
46031         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46032
46033 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46034
46035         [BZ #12935]
46036         * malloc/memusage.sh: Fix quoting in message.
46037         * debug/xtrace.sh: Likewise.
46038
46039         * configure.in: Remove support for --experimental-malloc option, make
46040         it the default.
46041         * config.make.in: Likewise.
46042         * malloc/Makefile: Likewise.
46043
46044 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46045
46046         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46047         two-byte characters.
46048
46049 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46050
46051         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46052         AC_CACHE_CHECK invocation.
46053         * configure: Regenerated.
46054
46055         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46056
46057 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46058
46059         [BZ #12350]
46060         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46061         bit from old_res_options.
46062
46063         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46064
46065         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46066         value type for setfct.
46067
46068 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46069
46070         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46071         __gettimeofday instead of gettimeofday.
46072
46073 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46074
46075         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46076
46077 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46078
46079         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46080
46081         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46082         info.
46083
46084 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46085
46086         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46087         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46088         strcpy-sse2-unaligned strncpy-sse2-unaligned
46089         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46090         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46091         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46092         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46093         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46094         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46095         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46096         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46097         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46098         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46099         (STRCPY): Support SSE2 and SSSE3 versions.
46100
46101 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46102
46103         [BZ #12874]
46104         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46105         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46106         kernels which artificially limit size of requests.
46107
46108 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46109
46110         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46111         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46112         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46113         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46114         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46115         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46116         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46117         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46118         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46119         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46120         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46121         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46122         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46123         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46124         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46126         Enable unaligned load optimization for Intel Core i3, i5 and i7
46127         processors.
46128         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46129         Define.
46130         (index_Fast_Unaligned_Load): Define.
46131         (HAS_FAST_UNALIGNED_LOAD): Define.
46132
46133 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46134
46135         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46136
46137 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46138
46139         [BZ #12907]
46140         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46141         until it is clear that the information is realy needed.
46142         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46143
46144 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46145
46146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46147
46148 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46149
46150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46151         /sys/devices/system/cpu/online if it is usable.
46152
46153         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46154         reading the information from the /proc filesystem to once a second.
46155
46156 2011-06-21  Andreas Jaeger  <aj@suse.de>
46157
46158         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46159         NULL after inclusion of kernel headers.
46160
46161 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46162
46163         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46164         calls to internal_setent.
46165
46166         [BZ #12885]
46167         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46168         addresses using gethostbyname4_r ignore IPv4 addresses.
46169
46170         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46171         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46172
46173         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46174
46175 2011-06-20  David S. Miller  <davem@davemloft.net>
46176
46177         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46178         inclusions.
46179         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46180
46181         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46182         (elf_irel): Use it.
46183         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46184         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46185         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46186         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46187         * sysdeps/x86_64/dl-irel.h: Likewise.
46188
46189         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46190         * elf/dl-sym.c: Likewise.
46191
46192 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46193
46194         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46195         need to dereference resplen2.
46196
46197 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46198
46199         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46200
46201 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46202
46203         * Makeconfig: Define vardbdir and inst_vardbdir.
46204         * nss/Makefile: Add rules to install db-Makefile.
46205
46206         * nss/nss_db/db-XXX.c: Cleanup.
46207
46208         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46209         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46210         GLIBC_PRIVATE.
46211         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46212         * nss/makedb.c: Implement -g option to specify that value strings
46213         are generated and should not be added to table iterated over for
46214         get*ent calls.
46215         * nss/nss_db/db-initgroups.c: New file.
46216
46217         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46218         interface.
46219
46220         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46221         (internal_getgrouplist): Adjust to name change.
46222         Update use_initgroups_entry if this is not the first call.
46223         * nss/databases.def: Add initgroups entry.
46224
46225         * nss/makedb.c (compute_tables): Check result of multiple hash table
46226         sizes to minimize maximum chain length.
46227
46228 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46229
46230         * Versions.def: Add entry for libnss_db.
46231         * shlib-versions: Likewise.
46232         * nss/Makefile: Add rules to build libnss_db.
46233         * nss/Versions: Add libnss_db information.  Organize libnss_files
46234         entries better.
46235         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46236         makedb progra.  Some minor improvements to generate smaller files.
46237         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46238         here from...
46239         * nss/makedb.c: ...here.
46240         Improve database format to be smaller and require less memory at
46241         runtime.
46242         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46243         db anymore.
46244         * nss/nss_db/db-netgrp.c: Likewise.
46245         * nss/nss_db/db-open.c: Likewise.
46246         * nss/nss_files/flies-XXX.x: Adjust comments.
46247         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46248         * nss/nss_files/files-grp.c: Likewise.
46249         * nss/nss_files/files-hosts.c: Likewise.
46250         * nss/nss_files/files-network.c: Likewise.
46251         * nss/nss_files/files-proto.c: Likewise.
46252         * nss/nss_files/files-pwd.c: Likewise.
46253         * nss/nss_files/files-rpc.c: Likewise.
46254         * nss/nss_files/files-service.c: Likewise.
46255         * nss/nss_files/files-sgrp.c: Likewise.
46256         * nss/nss_files/files-spwd.c: Likewise.
46257         * nss/nss_db/db-alias.c: Removed.
46258         * nss/nss_db/dummy-db.h: Removed.
46259
46260 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46261
46262         * nss/makedb.c: Rewritten to not use database library.
46263         * nss/Makefile: Update to build new makedb program.
46264
46265 2011-06-14  Andreas Jaeger  <aj@suse.de>
46266
46267         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46268         memset declaration.
46269
46270 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46271
46272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46273         tmpbuf.
46274
46275 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46276
46277         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46278         * elf/Makefile ($(objpfx)ld.so): Likewise.
46279
46280         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46281         Don't list ld.so twice in dependencies.
46282
46283         * posix/bug-regex31.c: Include <stdlib.h>.
46284
46285         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46286
46287         * nis/nss_compat/compat-spwd.c
46288         (getspent_next_nss_netgr): Remove unused variable.
46289         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46290
46291         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46292         nonmembers" output to use the right array.
46293
46294         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46295
46296         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46297
46298         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46299         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46300         * catgets/gencat.c (read_input_file): Likewise.
46301         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46302
46303         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46304         variable definition inside #if's controlling its use.
46305
46306         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46307
46308         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46309
46310         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46311
46312         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46313         unreachable code.
46314
46315         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46316
46317         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46318         * configure: Regenerated.
46319
46320         * Makerules: Revert last change.
46321         * elf/Makefile: Likewise.
46322
46323 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46324
46325         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46326         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46327         (reloc-link): Likewise.
46328
46329 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46330
46331         * elf/Makefile: Add rules to build pldd.
46332         * elf/pldd.c: New file.
46333         * elf/pldd-xx.c: New file.
46334
46335 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46336
46337         * version.h: Update for 2.15 development version.
46338
46339 2011-06-07  David S. Miller  <davem@davemloft.net>
46340
46341         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46342         ifuncs.
46343         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46344         elf_machine_lazy_rel): Likewise.
46345         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46346         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46347         elf_machine_lazy_rel): Likewise.
46348         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46349         dl_hwcap via passed in argument.
46350         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46351         Likewise.
46352
46353 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46354
46355         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46356
46357 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46358
46359         [BZ #12849]
46360         * manual/fdl-1.1.texi: New file, verbatim from:
46361         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46362         * manual/lgpl-2.1.texi: New file, verbatim from:
46363         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46364         * manual/Makefile (licenses): New variable, list those new file names.
46365         (texis): Use it.
46366         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46367
46368         * manual/fdl.texi: File removed.
46369         * manual/lesser.texi: File removed.
46370         * manual/libc.texinfo (Copying, Documentation License):
46371         Use new @include file names, put @appendix directive before @include.
46372
46373 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46374
46375         [BZ #12841]
46376         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46377         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46378         (mq_open): Add __NTH.
46379
46380 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46381
46382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46383         Assume Intel Core i3/i5/i7 processor if AVX is available.
46384
46385 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46386
46387         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46388         typo.
46389
46390 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46391
46392         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46393         memory.  Use alloca_account.  Fix memory leak when retrying.
46394
46395 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46396
46397         * version.h (RELEASE): Bump for 2.14 release.
46398         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46399
46400         * config.make.in (RANLIB): Remove entry.
46401
46402 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46403
46404         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46405         (libc.pot): Work around missing support for .ksh extension in xgettext.
46406
46407         [BZ #12684]
46408         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46409         if both request failed.
46410         (send_dg): In case of server errors clear resplen or *resplen2.
46411
46412         [BZ #12454]
46413         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46414         when there are multiple maps.
46415         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46416         (_dl_fini): Remove test here.
46417
46418         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46419
46420 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46421
46422         [BZ #12350]
46423         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46424         bit from old_res_options.
46425         (gaih_inet): Likewise.
46426
46427         [BZ #11099]
46428         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46429         as signed.
46430
46431         * resolv/res_init.c (res_setoptions): Make the code more compact.
46432
46433         [BZ #11558]
46434         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46435         set RES_USEVC.
46436
46437         [BZ #11634]
46438         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46439
46440         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46441
46442         [BZ #11781]
46443         * malloc/malloc.h: Declare malloc hook variables as volatile.
46444
46445         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46446         in last patch.
46447
46448         [BZ #11799]
46449         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46450         raise in the comment.
46451         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46452         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46453         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46454
46455 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46456
46457         [BZ #12811]
46458         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46459         grow the buffers more if it already has to be sufficient.
46460         (build_wcs_upper_buffer): Likewise.
46461         * posix/regexec.c (check_matching): Likewise.
46462         (clean_state_log_if_needed): Likewise.
46463         (extend_buffers): Don't enlarge buffers beyond size of the input
46464         buffer.
46465         Patches mostly by Emil Wojak <emil@wojak.eu>.
46466         * posix/bug-regex32.c: New file.
46467         * posix/Makefile (tests): Add bug-regex32.
46468
46469         * locale/findlocale.c (_nl_find_locale): Return right away if
46470         _nl_explode_name failed.
46471         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46472
46473         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46474
46475         * debug/xtrace.sh: Unify messages.
46476         * malloc/memusage.sh: Likewise.
46477
46478         [BZ #12813]
46479         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46480         time symbol from vDSO.  Substitute with vsyscall if not available.
46481         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46482         __vdso_time.
46483
46484         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46485         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46486         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46487         Add sendmmsg and internal_sendmmsg.
46488         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46489         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46490         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46491
46492         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46493         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46494         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46495
46496 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46497
46498         [BZ #12813]
46499         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46500         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46501         available.
46502         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46503         __vdso_getcpu.
46504
46505         [BZ #12814]
46506         * iconvdata/Makefile (tests): Add bug-iconv9.
46507         * iconvdata/bug-iconv9.c: New file.
46508
46509 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46510
46511         [BZ #12814]
46512         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46513
46514 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46515
46516         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46517         (struct user_regs_struct): Change intcs field back to cs.
46518
46519 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46520
46521         * po/ja.po: Update from translation team.
46522
46523 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46524
46525         [BZ #12795]
46526         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46527         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46528
46529 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46530
46531         * stdlib/longlong.h: Update from GCC.
46532
46533 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46534
46535         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46536         parameter name.
46537         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46538         Add parameter name.
46539         (__sysconf): Pass it down.
46540
46541 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46542
46543         [BZ #12671]
46544         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46545         some situations.
46546         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46547         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46548         add in in __libc_use_alloca calls.  Adjust callers.
46549         (glob): Use malloc in some situations.
46550
46551         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46552         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46553         pltexit.
46554
46555 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46556
46557         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46558         and CLOCK_BOOTTIME_ALARM.
46559
46560         [BZ #12782]
46561         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46562         is returned.
46563
46564         * string/_strerror.c (__strerror_r): Print negative errors as signed
46565         numbers.
46566
46567         [BZ #12777]
46568         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46569         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46570         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46571
46572         * configure.in: Fix typo in redirection and correct removal of test
46573         files in two cases.
46574
46575         [BZ #12788]
46576         * locale/setlocale.c (new_composite_name): Fix test to check for
46577         identical name of all categories.
46578
46579         [BZ #12792]
46580         * libio/filedoalloc.c (local_isatty): New function.
46581         (_IO_file_doallocate): Use local_isatty.
46582         * stdio-common/perror.c (perror): In case a new stream is used
46583         forward the stream error.
46584         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46585         error flag.
46586
46587 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46588
46589         [BZ #11869]
46590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46591         alloca.
46592         * include/alloca.h (extend_alloca_account): Define.
46593
46594         [BZ #11857]
46595         * posix/regex.h: Fix comments with documentation of user-accessible
46596         fields after compilation and describe correct free'ing of pattern
46597         after re_compile_pattern.
46598         Patch by Reuben Thomas <rrt@sc3d.org>.
46599
46600 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46601
46602         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46603         and -mno-altivec to prevent the compiler from using Altivec and/or
46604         VSX instructions when the corresponding registers are not available.
46605
46606 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46607
46608         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46609
46610 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46611
46612         * libio/freopen.c (freopen): Use __dup2, not dup2.
46613         * libio/freopen64.c (freopen64): Likewise.
46614
46615 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46616
46617         [BZ #12775]
46618         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46619         * math/Makefile (tests): Add test-powl.
46620         (CFLAGS-test-powl.c): Define.
46621         * math/test-powl.c: New file.
46622
46623 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46624
46625         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46626
46627 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46628
46629         [BZ #11837]
46630         * iconvdata/gb18030.c: Update to GB18020-2005.
46631
46632 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46633
46634         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46635         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46636         Patch by Aharon Robbins <arnold@skeeve.com>.
46637
46638         [BZ #11892]
46639         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46640         on the stack.
46641
46642         [BZ #11895]
46643         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46644         through underflows.
46645
46646         [BZ #12766]
46647         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46648         point to strings before performing equality test for error_one_per_line
46649         mode.
46650
46651         [BZ #11697]
46652         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46653
46654         [BZ #11820]
46655         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46656         (struct user_fpregs_struct): Avoid __uint*_t types.
46657
46658         [BZ #6420]
46659         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46660         symbol info.  Use it instead of calling _dl_addr locally.
46661         (lock_and_info): New function.
46662         (tr_freehook): Call lock_and_info and pass symbol info as additional
46663         parameter to tr_where.
46664         (tr_mallochook): Likewise.
46665         (tr_reallochook): Likewise.
46666         (tr_memalignhook): Likewise.
46667
46668         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46669         used and couldn't be at all thread-safe.
46670
46671 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46672
46673         * libio/freopen.c (freopen): Don't close old file descriptor
46674         before the new one is opened.  Instead dup the new file descriptor
46675         to the old one after the new stream is created.
46676         * libio/freopen64.c (freopen64): Likewise.
46677         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46678         * libio/fileops.c (_IO_new_file_close_it): Handle new
46679         _IO_FLAGS2_NOCLOSE flag.
46680         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46681         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46682         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46683         _IO_FLAGS2_NOCLOSE flag.
46684         * include/unistd.h: Add hidden_proto for dup3.
46685         Define __have_dup3.
46686         * io/dup3.c: Define hidden symbol.
46687         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46688
46689         [BZ #7101]
46690         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46691         when an incomplete long option is used.
46692         * posix/tst-getopt_long1.c: New file.
46693         * posix/Makefile (tests): Add tst-getopt_long1.
46694
46695         [BZ #10138]
46696         * scripts/config.guess: Update from autoconf-2.68.
46697         * scripts/config.sub: Likewise.
46698
46699         [BZ #10157]
46700         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46701         tests into ...
46702         (has_cpuclock): ...this.  New function.
46703         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46704         macro here based on has_cpuclock code.
46705
46706         [BZ #10149]
46707         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46708         First byte (not low byte) is now always NUL.
46709         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46710
46711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46712         Use non-cancelable interfaces.
46713
46714         [BZ #9809]
46715         * locale/iso-639.def: Add entry for Sorani.
46716
46717         [BZ #11901]
46718         * include/stdlib.h: Move include protection to the right place.
46719         Define abort_msg_s.  Declare __abort_msg with it.
46720         * stdlib/abort.c (__abort_msg): Adjust type.
46721         * assert/assert.c (__assert_fail_base): New function.  Majority
46722         of code from __assert_fail.  Allocate memory for __abort_msg with
46723         mmap.
46724         (__assert_fail): Now call __assert_fail_base.
46725         * assert/assert-perr.c: Remove bulk of implementation.  Use
46726         __assert_fail_base.
46727         * include/assert.hL Declare __assert_fail_base.
46728         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46729         mmap.
46730         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46731
46732 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46733
46734         [BZ #11952]
46735         [BZ #12453]
46736         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46737         until all modules are registered in the DTV.
46738         * elf/Makefile: Add rules to build and run tst-tls19.
46739         * elf/tst-tls19.c: New file.
46740         * elf/tst-tls19mod1.c: New file.
46741         * elf/tst-tls19mod2.c: New file.
46742         * elf/tst-tls19mod3.c: New file.
46743         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46744
46745         [BZ #12083]
46746         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46747         correctly.
46748
46749         [BZ #12601]
46750         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46751         two-byte sequence errors.
46752         * iconvdata/Makefile (tests): Add bug-iconv8.
46753         * iconvdata/bug-iconv8.c: New file.
46754
46755         [BZ #12626]
46756         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46757         buf2 definition.
46758
46759         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46760
46761         [BZ #12432]
46762         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46763         (dummy_getcfa): New function.
46764         (init): Get _Unwind_GetCFA address, use dummy if not found.
46765         (backtrace_helper): In recursion check, also check whether CFA changes.
46766         (__backtrace): Completely initialize arg.
46767
46768         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46769         storing incomplete byte sequence in state object.  Avoid testing for
46770         guaranteed too small input if we know there is enough data available.
46771
46772 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46773
46774         * Makeconfig (+link-pie): Indent.
46775         * Rules (binaries-pie): Define if $(have-fpie) and
46776         $(build-shared).
46777         (binaries-shared): Also filter out $(binaries-pie).
46778         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46779         * nscd/Makefile (others-pie): Add nscd.
46780         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46781         ($(objpfx)nscd): Remove command override.
46782         * login/Makefile (others-pie): Add pt_chown.
46783         ($(objpfx)pt_chown): Remove command override.
46784         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46785         remove command overrides.
46786
46787 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46788
46789         * libio/tst_putwc.c: Fix error messages.
46790
46791         [BZ #12724]
46792         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46793         currently writing and seek to current position when not.
46794         * libio/Makefile (tests): Add bug-fclose1.
46795         * libio/bug-fclose1.c: New file.
46796
46797 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46798
46799         [BZ #12511]
46800         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46801         don't set DF_1_NODELETE here.
46802         (do_lookup_x): When entering new entry test for copy relocation
46803         and if necessary set DF_1_NODELETE flag.
46804         * elf/tst-unique4.cc: New file.
46805         * elf/tst-unique4.h: New file.
46806         * elf/tst-unique4lib.cc: New file.
46807         * elf/Makefile: Add rules to build and run tst-unique4.
46808         Patch by Piotr Bury <pbury@goahead.com>.
46809
46810 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46811
46812         [BZ #12052]
46813         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46814
46815         [BZ #12625]
46816         * misc/mntent_r.c (addmntent): Flush the stream after the output
46817
46818         [BZ #12393]
46819         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46820         (is_trusted_path_normalize): Skip initial colon.  Append slash
46821         to empty buffer.  Duplicate is_trusted_path code but allow
46822         constructed patch to be prefix.
46823         (is_dst): Allow $ORIGIN followed by /.
46824         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46825         Correct testing of result of is_trusted_path_normalize
46826         (decompose_rpath): Fix warning.
46827
46828 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46829
46830         [BZ #11257]
46831         * grp/initgroups.c (internal_getgrouplist): When we found the service
46832         list through the initgroups entry in nsswitch.conf do not always
46833         continue on a successful lookup.  Don't always use the
46834         __nss_group_database value if it is set.
46835         * nss/nsswitch.conf (initgroups): Change action for successful db
46836         lookup to continue for compatibility.
46837
46838 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46839
46840         [BZ #11532]
46841         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46842         and CP774 modules.
46843         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46844         and CP774 modules.
46845         * iconvdata/tst-tables.sh: Likewise.
46846         * iconvdata/cp770.c: New file.
46847         * iconvdata/cp771.c: New file.
46848         * iconvdata/cp772.c: New file.
46849         * iconvdata/cp773.c: New file.
46850         * iconvdata/cp774.c: New file.
46851         * iconvdata/testdata/CP770: New file.
46852         * iconvdata/testdata/CP770..UTF8: New file.
46853         * iconvdata/testdata/CP771: New file.
46854         * iconvdata/testdata/CP771..UTF8: New file.
46855         * iconvdata/testdata/CP772: New file.
46856         * iconvdata/testdata/CP772..UTF8: New file.
46857         * iconvdata/testdata/CP773: New file.
46858         * iconvdata/testdata/CP773..UTF8: New file.
46859         * iconvdata/testdata/CP774: New file.
46860         * iconvdata/testdata/CP774..UTF8: New file.
46861
46862         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46863         END CHARMAP line.
46864         * iconvdata/gen-8bit-gap.sh: Likewise.
46865         * iconvdata/gen-8bit.sh: Likewise.
46866
46867         * locale/iso-639.def: Add ary entry.
46868
46869         [BZ #11258]
46870         * locale/C-translit.h.in: Add U20A1 transliteration.
46871
46872         [BZ #12178]
46873         * locale/iso-639.def: Add wae entry.
46874         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46875
46876         [BZ #12545]
46877         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46878         for n.
46879
46880         [BZ #12711]
46881         * locale/C-translit.h.in: Add entry for U20B9.
46882         Patch by pravin.d.s@gmail.com.
46883
46884 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46885
46886         [BZ #12713]
46887         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46888         ENAMETOOLONG use generic getcwd.
46889         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46890         in rtld.  Use *stat64.
46891         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46892         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46893         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46894         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46895         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46896         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46897         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46898         __fstatat64 macros.
46899         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46900         * dirent/rewinddir.c: Add libc_hidden_def.
46901         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46902         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46903
46904         * include/dirent.h (__alloc_dir): Add flags parameter.
46905         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46906         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46907         __alloc_dir.
46908         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46909         from fdopendir if O_CLOEXEC is already set.
46910
46911 2011-03-15  Alan Modra  <amodra@gmail.com>
46912
46913         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46914         l_tls_firstbyte_offset non-zero.  Save padding offset in
46915         l_tls_firstbyte_offset for later use.
46916         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46917         freeing static tls block.
46918
46919 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46920
46921         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46922         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46923         being defined by the kernel headers.
46924
46925 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46926
46927         [BZ #12734]
46928         * resolv/resolv.h: Define RES_NOTLDQUERY.
46929         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46930         no-tld-query and set RES_NOTLDQUERY.
46931         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46932         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46933         modern BIND to search name as TLD unless forbidden.
46934
46935 2011-05-07  Petr Baudis  <pasky@suse.cz>
46936             Ulrich Drepper  <drepper@gmail.com>
46937
46938         [BZ #12393]
46939         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46940         (is_trusted_path): ...to here.
46941         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46942         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46943         using is_trusted_path_normalize() in setuid scripts.
46944
46945 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46946
46947         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46948         __BEGIN/__END_DECLS.
46949
46950 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46951
46952         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46953         NSS_STATUS_NOTFOUND if no record was found.
46954
46955 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46956
46957         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46958         (headers-not-in-tirpc): Remove rpc/netdb.h
46959         * resolv/netdb.h: Revert last change.
46960
46961 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46962
46963         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46964         circular dependency between libgcc.a and libc.a.
46965
46966 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46967
46968         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46969         * nis/Makefile: Don't install rpcsvc/*.
46970         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46971         instead of <rpc/types.h>.
46972         (MAXHOSTNAMELEN): Define.
46973
46974 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46975
46976         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46977
46978 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46979
46980         [BZ #12714]
46981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46982         gethostbyname4_r when IPv6 results are possible.
46983
46984 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46985
46986         [BZ #12723]
46987         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46988         _PC_PIPE_BUF handling.
46989
46990 2011-04-30  Bruno Haible  <bruno@clisp.org>
46991
46992         [BZ #12717]
46993         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46994         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46995         to 'int'.
46996         * inet/getnameinfo.c (getnameinfo): Likewise.
46997
46998 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46999
47000         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47001         to groups setting in database lookup.
47002         * nss/nsswitch.conf: Add initgroups entry.
47003
47004 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47005
47006         [BZ #12685]
47007         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47008         mode string.
47009         Patch by Eric Blake <eblake@redhat.com>.
47010
47011 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47012
47013         * sunrpc/Makefile (need-export-routines): Add svc_run.
47014         (routines): Remove svc_run.
47015         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47016         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47017         * sunrpc/svc_run.c (svc_run): Likewise.
47018         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47019
47020 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47021
47022         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47023         problem in reallocation in last patch.
47024
47025 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47026
47027         * sunrpc/Makefile: Move inclusion of Rules.
47028
47029 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47030
47031         * nss/nss_files/files-initgroups.c: New file.
47032         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47033         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47034         _nss_files_initgroups_dyn.
47035
47036 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47037
47038         * elf/elf.h (R_ARM_IRELATIVE): Define.
47039
47040 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47041
47042         * po/ru.po: Update from translation team.
47043
47044 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47045
47046         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47047         dependencies.
47048
47049 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47050
47051         [BZ #12653]
47052         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47053         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47054         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47055         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47056         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47057
47058 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47059
47060         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47061         differing bytes.
47062         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47063         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47064         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47065
47066 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47067
47068         [BZ #12420]
47069         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47070         storing it.
47071         * stdlib/bug-getcontext.c: New file.
47072         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47073
47074 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47075
47076         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47077         instructions into .machine "z9-109".
47078         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47079         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47080
47081 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47082
47083         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47084         between environment variables and auxiliary vector.
47085
47086 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47087
47088         * Makefile: Add rules to build linkobj/libc.so.
47089         * include/libc-symbols.h: Define libc_hidden_nolink.
47090         * include/rpc/auth.h: Mark functions which are to be hidden.
47091         * include/rpc/auth_des.h: Likewise.
47092         * include/rpc/auth_unix.h: Likewise.
47093         * include/rpc/clnt.h: Likewise.
47094         * include/rpc/des_crypt.h: Likewise.
47095         * include/rpc/key_prot.h: Likewise.
47096         * include/rpc/pmap_clnt.h: Likewise.
47097         * include/rpc/pmap_prot.h: Likewise.
47098         * include/rpc/pmap_rmt.h: Likewise.
47099         * include/rpc/rpc_msg.h: Likewise.
47100         * include/rpc/svc.h: Likewise.
47101         * include/rpc/svc_auth.h: Likewise.
47102         * include/rpc/xdr.h: Likewise.
47103         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47104         * nss/Makefile: Likewise.
47105         * sunrpc/Makefile: Don't install headers.  Build library with normal
47106         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47107         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47108         for the compat linking library.  Remove use of INTDEF/INTUSE.
47109         * sunrpc/auth_none.c: Likewise.
47110         * sunrpc/auth_unix.c: Likewise.
47111         * sunrpc/authdes_prot.c: Likewise.
47112         * sunrpc/authuxprot.c: Likewise.
47113         * sunrpc/clnt_gen.c: Likewise.
47114         * sunrpc/clnt_perr.c: Likewise.
47115         * sunrpc/clnt_raw.c: Likewise.
47116         * sunrpc/clnt_simp.c: Likewise.
47117         * sunrpc/clnt_tcp.c: Likewise.
47118         * sunrpc/clnt_udp.c: Likewise.
47119         * sunrpc/clnt_unix.c: Likewise.
47120         * sunrpc/des_crypt.c: Likewise.
47121         * sunrpc/des_soft.c: Likewise.
47122         * sunrpc/get_myaddr.c: Likewise.
47123         * sunrpc/key_call.c: Likewise.
47124         * sunrpc/key_prot.c: Likewise.
47125         * sunrpc/netname.c: Likewise.
47126         * sunrpc/pm_getmaps.c: Likewise.
47127         * sunrpc/pm_getport.c: Likewise.
47128         * sunrpc/pmap_clnt.c: Likewise.
47129         * sunrpc/pmap_prot.c: Likewise.
47130         * sunrpc/pmap_prot2.c: Likewise.
47131         * sunrpc/pmap_rmt.c: Likewise.
47132         * sunrpc/publickey.c: Likewise.
47133         * sunrpc/rpc_cmsg.c: Likewise.
47134         * sunrpc/rpc_common.c: Likewise.
47135         * sunrpc/rpc_dtable.c: Likewise.
47136         * sunrpc/rpc_prot.c: Likewise.
47137         * sunrpc/rpc_thread.c: Likewise.
47138         * sunrpc/rtime.c: Likewise.
47139         * sunrpc/svc.c: Likewise.
47140         * sunrpc/svc_auth.c: Likewise.
47141         * sunrpc/svc_authux.c: Likewise.
47142         * sunrpc/svc_raw.c: Likewise.
47143         * sunrpc/svc_run.c: Likewise.
47144         * sunrpc/svc_simple.c: Likewise.
47145         * sunrpc/svc_tcp.c: Likewise.
47146         * sunrpc/svc_udp.c: Likewise.
47147         * sunrpc/svc_unix.c: Likewise.
47148         * sunrpc/svcauth_des.c: Likewise.
47149         * sunrpc/xcrypt.c: Likewise.
47150         * sunrpc/xdr.c: Likewise.
47151         * sunrpc/xdr_array.c: Likewise.
47152         * sunrpc/xdr_float.c: Likewise.
47153         * sunrpc/xdr_intXX_t.c: Likewise.
47154         * sunrpc/xdr_mem.c: Likewise.
47155         * sunrpc/xdr_rec.c: Likewise.
47156         * sunrpc/xdr_ref.c: Likewise.
47157         * sunrpc/xdr_sizeof.c: Likewise.
47158         * sunrpc/xdr_stdio.c: Likewise.
47159
47160 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47161
47162         [BZ #12650]
47163         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47164         * sysdeps/ia64/dl-tls.h: Likewise.
47165         * sysdeps/powerpc/dl-tls.h: Likewise.
47166         * sysdeps/s390/dl-tls.h: Likewise.
47167         * sysdeps/sh/dl-tls.h: Likewise.
47168         * sysdeps/sparc/dl-tls.h: Likewise.
47169         * sysdeps/x86_64/dl-tls.h: Likewise.
47170         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47171
47172 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47173
47174         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47175         rpath element also skip the following colon.
47176         (expand_dynamic_string_token): Add is_path parameter and pass
47177         down to DL_DST_REQUIRED and _dl_dst_substitute.
47178         (decompose_rpath): Call expand_dynamic_string_token with
47179         non-zero is_path.  Ignore empty rpaths.
47180         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47181         with zero is_path.
47182
47183 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47184
47185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47186         Make cancelable.
47187
47188 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47189
47190         [BZ #12655]
47191         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47192         Patch by Filipe David Manana <fdmanana@apache.org>.
47193
47194 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47195
47196         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47197         Maintain aligned stack.
47198         (CHECK_RSP): Remove unused macro.
47199
47200 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47201
47202         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47203         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47204
47205 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47206
47207         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47208
47209         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47210
47211 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47212
47213         [BZ #12518]
47214         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47215         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47216         * sysdeps/x86_64/memmove.c: New file.
47217         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47218         (memcpy): Renamed to ...
47219         (__new_memcpy): This.
47220         (memcpy): Provide GLIBC_2_14 memcpy.
47221         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47222         (memcpy): Provide GLIBC_2_2_5 memcpy.
47223
47224 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47225
47226         [BZ #12631]
47227         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47228
47229 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47230
47231         * misc/syncfs.c: New file.
47232         * misc/Makefile (routines): Add syncfs.
47233         * posix/unistd.h: Declare syncfs.
47234         * sysdeps/unix/syscalls.list: Add syncfs.
47235
47236 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47237
47238         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47239         open_by_handle_at.
47240         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47241         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47242         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47243         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47244         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47245         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47246         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47247
47248 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47249
47250         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47251         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47252         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47253         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47254         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47255         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47256         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47257
47258         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47259         sync_file_range.c with -fexceptions.
47260         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47261         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47262         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47263         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47264         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47265         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47266         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47267         sync_file_range as cancellation point
47268         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47269         now a wrapper around __call_sync_file_range with cancellation handling.
47270         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47271         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47272         function name to __call_sync_file_range.
47273         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47274         Add call_sync_file_range.
47275
47276 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47277
47278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47279         bits/timex.h.
47280
47281 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47282
47283         * iconv/iconv.h: Fix typo in comment.
47284         * io/fcntl.h: Likewise.
47285         * libio/stdio.h: Likewise.
47286         * posix/spawn.h: Likewise.
47287         * posix/unistd.h: Likewise.
47288         * stdlib/stdlib.h: Likewise.
47289         * time/time.h: Likewise.
47290         * wcsmbs/wchar.h: Likewise.
47291
47292         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47293         open_by_handle): Add.
47294         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47295         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47296         Augment a few comments.
47297         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47298         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47299         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47301         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47302         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47303         open_by_handle.
47304
47305         * io/fcntl.h (AT_EMPTY_PATH): Define.
47306
47307 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47308
47309         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47310         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47311         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47312         to...
47313         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47314         * Versions.def: Add GLIBC_2.14.
47315         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47316         Export.
47317
47318 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47319
47320         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47321         round counter.
47322         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47323
47324 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47325
47326         [BZ #12597]
47327         * string/test-strncmp.c (do_page_test): New function.
47328         (check2): Likewise.
47329         (test_main): Call check2.
47330         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47331
47332 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47333
47334         [BZ #12587]
47335         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47336         Handle cache information in CPU leaf 4.
47337         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47338
47339 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47340
47341         [BZ #12583]
47342         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47343         character representation.
47344         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47345
47346 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47347
47348         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47349         END(__isnan) to END(__isnanf) to match function entry point/label
47350         EALIGN(__isnanf,...).
47351
47352 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47353
47354         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47355
47356 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47357
47358         [BZ #12510]
47359         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47360         copy from the symbol referenced in the relocation to initialize the
47361         used variable.
47362         Patch by Piotr Bury <pbury@goahead.com>.
47363         * elf/Makefile: Add rules to build and tst-unique3.
47364         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47365         * elf/tst-unique3.cc: New file.
47366         * elf/tst-unique3.h: New file.
47367         * elf/tst-unique3lib.cc: New file.
47368         * elf/tst-unique3lib2.cc: New file.
47369
47370         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47371
47372 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47373
47374         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47375         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47376         to _start.
47377
47378 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47379
47380         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47381         to-be-loaded object along a path to loader is ld.so.
47382
47383 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47384             Ulrich Drepper  <drepper@gmail.com>
47385
47386         * sysdeps/x86_64/memset.S: After aligning destination, code
47387         branches to different locations depending on the value of
47388         misalignment, when multiarch is enabled. Fix this.
47389
47390 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47391
47392         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47393         Set _x86_64_preferred_memory_instruction for AMD processsors.
47394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47395         Set bit_Prefer_SSE_for_memop for AMD processors.
47396
47397 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47398
47399         * libio/fmemopen.c (fmemopen): Optimize a bit.
47400
47401 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47402
47403         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47404
47405 2011-03-03  Roland McGrath  <roland@redhat.com>
47406
47407         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47408
47409 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47410
47411         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47412         __bzero_ultra1 instead of __memset_ultra1.
47413
47414 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47415             Ulrich Drepper  <drepper@gmail.com>
47416
47417         [BZ #12509]
47418         * include/link.h (struct link_map): Add l_orig_initfini.
47419         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47420         returning unsuccessfully.
47421         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47422         close of a file loaded at startup, restore the original l_initfini
47423         list.
47424         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47425         list, store the pointer.
47426         * elf/Makefile ($(objpfx)noload-mem): New rule.
47427         (noload-ENV): Define.
47428         (tests): Add $(objpfx)noload-mem.
47429         * elf/noload.c: Include <memcheck.h>.
47430         (main): Call mtrace.  Close all opened handles.
47431
47432 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47433
47434         [BZ #12454]
47435         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47436         dependencies are missing.
47437
47438 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47439
47440         Fix __if_freereq crash: Unlike the generic version which uses free,
47441         Hurd needs munmap.
47442         * sysdeps/mach/hurd/ifreq.h: New file.
47443
47444 2011-01-27  Petr Baudis  <pasky@suse.cz>
47445             Ulrich Drepper  <drepper@gmail.com>
47446
47447         [BZ 12445]#
47448         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47449         to extend_alloca().
47450         * stdio-common/bug23.c: New file.
47451         * stdio-common/Makefile (tests): Add bug23.
47452
47453 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47454             Ulrich Drepper  <drepper@gmail.com>
47455
47456         [BZ #12489]
47457         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47458         before performing relro protection.  At old place add assertion
47459         to make sure nothing changed.
47460
47461 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47462             Glauber de Oliveira Costa  <glommer@gmail.com>
47463
47464         * elf/elf.h: Add new ARM TLS relocs.
47465
47466 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47467
47468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47469         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47470         cast from r3.
47471         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47472         'tests' variable.
47473         * sysdeps/wordsize-64/tst-writev.c: New file.
47474
47475 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47476
47477         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47478         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47479         insns in _dl_start to prevent a TOC reference before relocs are
47480         resolved.
47481
47482 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47483
47484         [BZ #12469]
47485         * Makeconfig: Remove RANLIB definition.
47486         * Makerules: Don't use RANLIB.
47487         * aclocal.m4: Remove ranlib test.
47488         * configure.in: No need to check for ranlib.
47489         * elf/rtld-Rules: Don't use RANLIB.
47490
47491 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47492
47493         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47494         protection macro.
47495         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47496         inclusion protection macro.
47497
47498         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47499         SIGRTMIN and SIGRTMAX and print information in that case only when
47500         SIGRTMIN is defined.
47501
47502 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47503
47504         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47505         arginfo fn returning -1.
47506
47507         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47508         and thousands string is zero terminated.
47509
47510 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47511
47512         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47513         sysdeps/unix/sysv/linux/bits/socket.h.
47514
47515 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47516
47517         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47518         (__CPU_COUNT): Remove old macros.
47519         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47520         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47521         (__CPU_ALLOC, __CPU_FREE): Add macros.
47522         (__sched_cpualloc, __sched_cpufree): Add declarations.
47523
47524 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47525
47526         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47527         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47528         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47529         (readdhstai): Return value of addhstaiX call.
47530         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47531         (addgrbyX): Return value returned by cache_addgr.
47532         (readdgrbyname): Return value returned by addgrbyX.
47533         (readdgrbygid): Likewise.
47534         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47535         (addpwbyX): Return value returned by cache_addpw.
47536         (readdpwbyname): Return value returned by addhstbyX.
47537         (readdpwbyuid): Likewise.
47538         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47539         (addservbyX): Return value returned by cache_addserv.
47540         (readdservbyname): Return value returned by addservbyX:
47541         (readdservbyport): Likewise.
47542         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47543         (addhstbyX): Return value returned by cache_addhst.
47544         (readdhstbyname): Return value returned by addhstbyX.
47545         (readdhstbyaddr): Likewise.
47546         (readdhstbynamev6): Likewise.
47547         (readdhstbyaddrv6): Likewise.
47548         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47549         (readdinitgroups): Return value returned by addinitgroupsX.
47550         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47551         (prune_cache): Keep track of timeout value of re-added entries.
47552         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47553         * nscd/nscd.h: Adjust prototypes of readd* functions.
47554
47555 2011-02-04  Roland McGrath  <roland@redhat.com>
47556
47557         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47558         (nis_stats): Likewise.
47559         * nis/nis_modify.c (nis_modify): Likewise.
47560         * nis/nis_remove.c (nis_remove): Likewise.
47561         * nis/nis_add.c (nis_add): Likewise.
47562
47563         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47564
47565         * posix/fnmatch_loop.c: Add some consts.
47566
47567         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47568
47569 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47570
47571         [BZ #12460]
47572         * config.make.in (config-cflags-novzeroupper): Define.
47573         * configure.in: Substitute libc_cv_cc_novzeroupper.
47574         * elf/Makefile (AVX-CFLAGS): Define.
47575         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47576         (CFLAGS-tst-auditmod4a.c): Likewise.
47577         (CFLAGS-tst-auditmod4b.c): Likewise.
47578         (CFLAGS-tst-auditmod6b.c): Likewise.
47579         (CFLAGS-tst-auditmod6c.c): Likewise.
47580         (CFLAGS-tst-auditmod7b.c): Likewise.
47581         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47582
47583 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47584
47585         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47586         function to the callback.
47587         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47588
47589 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47590
47591         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47592         of errno.
47593
47594 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47595
47596         [BZ #11724]
47597         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47598         of constructors.
47599         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47600         of destructors.
47601         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47602
47603         [BZ #11724]
47604         * elf/Makefile: Add rules to build and run new test.
47605         * elf/tst-initorder.c: New file.
47606         * elf/tst-initorder.exp: New file.
47607         * elf/tst-initordera1.c: New file.
47608         * elf/tst-initordera2.c: New file.
47609         * elf/tst-initordera3.c: New file.
47610         * elf/tst-initordera4.c: New file.
47611         * elf/tst-initorderb1.c: New file.
47612         * elf/tst-initorderb2.c: New file.
47613         * elf/tst-order-a1.c: New file.
47614         * elf/tst-order-a2.c: New file.
47615         * elf/tst-order-a3.c: New file.
47616         * elf/tst-order-a4.c: New file.
47617         * elf/tst-order-b1.c: New file.
47618         * elf/tst-order-b2.c: New file.
47619         * elf/tst-order-main.c: New file.
47620         New test case by George Gensure <werkt0@gmail.com>.
47621
47622 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47623
47624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47625         decoding ACE if AI_CANONIDN.
47626
47627 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47628
47629         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47630
47631 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47632
47633         * version.h (RELEASE): Bump for 2.13 release.
47634         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47635
47636         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47637
47638         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47639         MADV_NOHUGEPAGE.
47640         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47641         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47642         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47643         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47644         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47645         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47646
47647         * posix/getconf.c: Update copyright year.
47648         * catgets/gencat.c: Likewise.
47649         * csu/version.c: Likewise.
47650         * debug/catchsegv.sh: Likewise.
47651         * debug/xtrace.sh: Likewise.
47652         * elf/ldconfig.c: Likewise.
47653         * elf/ldd.bash.in: Likewise.
47654         * elf/sprof.c (print_version): Likewise.
47655         * iconv/iconv_prog.c: Likewise.
47656         * iconv/iconvconfig.c: Likewise.
47657         * locale/programs/locale.c: Likewise.
47658         * locale/programs/localedef.c: Likewise.
47659         * malloc/memusage.sh: Likewise.
47660         * malloc/mtrace.pl: Likewise.
47661         * nscd/nscd.c (print_version): Likewise.
47662         * nss/getent.c: Likewise.
47663
47664         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47665         PF_CAIF, and PF_ALG.
47666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47667
47668 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47669
47670         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47671         (modules-names): Use them.
47672         (ifunc-test-modules, ifunc-pie-tests): Define.
47673         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47674         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47675         (test-extras): Likewise.
47676         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47677         $(compile-command.c).
47678         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47679         (all-built-dso): Define.
47680         (check-textrel.out, check-execstack.out): Depend on it.
47681
47682         * configure.in: Don't override --enable-multi-arch.
47683
47684 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47685
47686         [BZ #6812]
47687         * nscd/hstcache.c (tryagain): Define.
47688         (cache_addhst): Return tryagain not notfound for temporary errors.
47689         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47690         failed.
47691
47692 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47693
47694         [BZ #10563]
47695         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47696         to make the syscall.
47697         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47698
47699         [BZ #12378]
47700         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47701         and fall back to matching as normal character if the string ends before
47702         the matching ']' is found.  This is what POSIX requires.
47703         * posix/testfnm.c: Adjust test result.
47704         * posix/globtest.sh: Adjust test result.  Add new test.
47705         * posix/tst-fnmatch.input: Likewise.
47706         * posix/tst-fnmatch2.c: Add new test.
47707
47708 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47709
47710         * elf/Makefile (check-execstack): Revert last change.  Depend on
47711         check-execstack.h.
47712         (check-execstack.h): New target.
47713         (generated): Add check-execstack.h.
47714         * elf/check-execstack.c: Include "check-execstack.h".
47715         (main): Revert last change.
47716         (handle_file): Return zero if GNU_STACK is absent and
47717         DEFAULT_STACK_PERMS doesn't include PF_X.
47718
47719 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47720
47721         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47722         in child fails because the descriptor is already closed.
47723         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47724         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47725         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47726
47727         [BZ #12397]
47728         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47729         syscall.
47730
47731         [BZ #10484]
47732         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47733         temporary buffer used to handle multi lookups locally.
47734         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47735
47736 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47737
47738         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47739         loader is ld.so.
47740
47741 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47742
47743         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47744         alignment for SSE2.
47745
47746 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47747
47748         [BZ #12394]
47749         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47750         characters.  When rounding increased number of integer digits recompute
47751         number of groups.
47752         * stdio-common/tst-grouping.c: New file.
47753         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47754
47755 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47756
47757         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47758         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47759
47760         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47761         void.
47762         * bits/select.h: Likewise.
47763
47764 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47765
47766         * po/ja.po: Update from translation team.
47767
47768 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47769
47770         [BZ #11155]
47771         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47772         implementation just like for lxstat, fxstatat, et al.
47773
47774 2010-12-27  Jim Meyering  <meyering@redhat.com>
47775
47776         [BZ #12348]
47777         * posix/regexec.c (build_trtable): Return failure indication upon
47778         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47779
47780 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47781
47782         [BZ #12201]
47783         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47784         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47785         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47786         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47787
47788         [BZ #12207]
47789         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47790
47791         [BZ #12204]
47792         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47793         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47794
47795 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47796
47797         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47798         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47799         script has SORT_BY_INIT_PRIORITY.
47800         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47801         NO_CTORS_DTORS_SECTIONS is defined.
47802         * elf/soinit.c: Likewise.
47803         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47804         NO_CTORS_DTORS_SECTIONS is defined.
47805         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47806         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47807         * sysdeps/sh/init-first.c: Likewise.
47808         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47809
47810 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47811
47812         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47813         always use the slow path.
47814
47815 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47816
47817         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47818         similar rule which adds the sysdep directories to the header search in
47819         order to pick up the correct platform stackinfo.h.
47820         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47821         perform test if it is, otherwise return successfully without testing.
47822         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47823         DEFAULT_STACK_PERMS define in stackinfo.h.
47824         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47825         defined in stackinfo.h.
47826         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47827         DEFAULT_STACK_PERMS defined in stackinfo.h.
47828         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47829         * sysdeps/ia64/stackinfo.h: Likewise.
47830         * sysdeps/s390/stackinfo.h: Likewise.
47831         * sysdeps/sh/stackinfo.h: Likewise.
47832         * sysdeps/sparc/stackinfo.h: Likewise.
47833         * sysdeps/x86_64/stackinfo.h: Likewise.
47834         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47835         PF_X for powerpc64.  Retain PF_X for powerpc32.
47836
47837 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47838
47839         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47840         accurately.
47841         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47842         GETDENTS_64BIT_ALIGNED.
47843
47844 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47845
47846         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47847
47848 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47849
47850         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47851         _GNU_SOURCE.
47852
47853         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47854         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47855         Remove __restrict.
47856         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47857         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47858
47859 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47860
47861         [BZ #11655]
47862         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47863         are initialized.
47864
47865 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47866
47867         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47868
47869 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47870
47871         * po/it.po: Update from translation team.
47872
47873 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47874
47875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47876         unused codes.
47877
47878 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47879
47880         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47881
47882 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47883
47884         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47885         specially.
47886         (gaih_getanswer_slice): Likewise.
47887
47888 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47889
47890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47891
47892 2010-05-31  Petr Baudis  <pasky@suse.cz>
47893
47894         [BZ #11149]
47895         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47896         silently even in the chroot mode.
47897
47898 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47899
47900         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47901         last patch a bit.  Pretty printing
47902
47903 2010-05-31  Petr Baudis <pasky@suse.cz>
47904
47905         [BZ #10085]
47906         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47907         initialization of skip_initgroups_dyn.
47908
47909 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47910
47911         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47912         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47913
47914 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47915
47916         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47917
47918 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47919
47920         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47921         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47922         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47923         ($(objpfx)tst-fnmatch-mem): New rule.
47924         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47925         * posix/tst-fnmatch.c (main): Call mtrace.
47926
47927 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47928
47929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47930         Support Intel processor model 6 and model 0x2c.
47931
47932 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47933
47934         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47935           signed comparison.
47936
47937 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47938
47939         [BZ #12205]
47940         * string/test-strncasecmp.c (check_result): New function.
47941         (do_one_test): Use it.
47942         (check1): New function.
47943         (test_main): Use it.
47944         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47945         Support strcasecmp and strncasecmp.
47946
47947 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47948
47949         [BZ #12194]
47950         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47951         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47952
47953 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47954
47955         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47956         IFUNC support.
47957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47958         memset-x86-64.
47959         * sysdeps/x86_64/multiarch/bzero.S: New file.
47960         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47961         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47962         * sysdeps/x86_64/multiarch/memset.S: New file.
47963         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47965         Set bit_Prefer_SSE_for_memop for Intel processors.
47966         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47967         Define.
47968         (index_Prefer_SSE_for_memop): Define.
47969         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47970
47971 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47972
47973         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47974         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47975
47976 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47977
47978         [BZ #12191]
47979         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47980         (__x86_64_raw_data_cache_size_half): Likewise.
47981         (__x86_64_raw_shared_cache_size): Likewise.
47982         (__x86_64_raw_shared_cache_size_half): Likewise.
47983
47984         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47985         (__x86_64_raw_data_cache_size_half): Likewise.
47986         (__x86_64_raw_shared_cache_size): Likewise.
47987         (__x86_64_raw_shared_cache_size_half): Likewise.
47988         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47989         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47990         and __x86_64_raw_shared_cache_size_half.  Round
47991         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47992         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47993         to multiple of 256 bytes.
47994
47995 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47996
47997         [BZ #12167]
47998         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47999         of inacessible symlinks.  Verify result of symlink before returning it.
48000         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48001         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48002
48003 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48004
48005         * math/math.h (isinf): Fix typo in comment.
48006
48007 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48008
48009         * po/da.po: Update from translation team.
48010
48011 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48012
48013         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48014         is added to the list.
48015
48016 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48017             Ulrich Drepper  <drepper@gmail.com>
48018
48019         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48020         the global list here.  Move code to...
48021         (_dl_add_to_namespace_list): ...here.  New function.
48022         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48023         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48024         * elf/dl-load.c (lose): Don't remove the element from the list.
48025         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48026         (_dl_map_object): Likewise.
48027
48028 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48029
48030         [BZ #12159]
48031         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48032         into all bytes of SSE register.
48033         Patch by Richard Li <richardpku@gmail.com>.
48034
48035 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48036
48037         [BZ #12140]
48038         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48039         perturbing.
48040
48041 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48042
48043         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48044         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48045         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48046         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48048         submachine.
48049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48050
48051 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48052
48053         * include/dlfcn.h (__RTLD_SECURE): Define.
48054         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48055         mode & __RTLD_SECURE instead.
48056         (open_path): Rename preloaded parameter to secure.
48057         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48058         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48059         * elf/dl-deps.c (openaux): Likewise.
48060         * elf/rtld.c (struct map_args): Remove is_preloaded.
48061         (map_doit): Don't use it.
48062         (dl_main): Likewise.
48063         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48064         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48065
48066 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48067
48068         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48069         (sysd-rules-targets): Remove duplicates.
48070         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48071         rtld-%.$o dependency.
48072
48073 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48074
48075         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48076         _dl_map_object do it.
48077
48078 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48079
48080         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48081         fast fma builtins, define the macros in the C99 standard.
48082         (FP_FAST_FMAF): Likewise.
48083         (FP_FAST_FMAL): Likewise.
48084         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48085
48086         * bits/mathdef.h: Update copyright year.
48087         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48088
48089 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48090
48091         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48092         builtins, define the macros in the C99 standard.
48093         (FP_FAST_FMAF): Likewise.
48094         (FP_FAST_FMAL): Likewise.
48095         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48096         multiply/add.
48097         (FP_FAST_FMAF): Likewise.
48098
48099 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48100
48101         [BZ #3268]
48102         * math/libm-test.inc (fma_test): Some new testcases.
48103         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48104         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48105         y and infinite z.  Do multiplication by C already in long double.
48106         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48108         y and infinite z.  Do bitwise or of inexact bit into u.d.
48109         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48110         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48111         * sysdeps/i386/fpu/s_fma.S: Removed.
48112         * sysdeps/i386/fpu/s_fmal.S: Removed.
48113
48114 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48115
48116         [BZ #3268]
48117         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48119         computation is not scheduled after fetestexcept.  Fix value
48120         of minimum denormal long double.
48121
48122 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48123
48124         [BZ #3268]
48125         * math/libm-test.inc (fma_test): Add some more tests.
48126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48127         correctly.
48128
48129 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48130
48131         * scripts/data/localplt-s390-linux-gnu.data: New file.
48132         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48133
48134 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48135
48136         [BZ #3268]
48137         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48138         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48139         instead of dbl-64.
48140         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48141         inlines.
48142         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48144         if one of x and y is very large and the other is subnormal.
48145         * sysdeps/s390/fpu/s_fmaf.c: New file.
48146         * sysdeps/s390/fpu/s_fma.c: New file.
48147         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48148         * sysdeps/powerpc/fpu/s_fma.S: New file.
48149         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48150         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48151         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48152
48153 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48154
48155         [BZ #3268]
48156         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48157         fma tests.
48158         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48159         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48160         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48161         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48162         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48163         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48164         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48165
48166 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48167
48168         [BZ #12078]
48169         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48170         * posix/bug-regex31.input: Add test case.
48171
48172 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48173
48174         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48175         * posix/bug-regex31.input: New file.
48176
48177         [BZ #12078]
48178         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48179         (parse_sub_exp): Fix last change, use postorder.
48180
48181         * posix/bug-regex31.c: New file.
48182         * posix/Makefile: Add rules to build and run bug-regex31.
48183
48184         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48185
48186         [BZ #12078]
48187         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48188
48189         [BZ #12108]
48190         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48191         to have entries in sys_siglist.
48192
48193         [BZ #12093]
48194         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48195         be NULL.
48196
48197 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48198
48199         [BZ #3268]
48200         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48201         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48202         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48203         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48204         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48205         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48206         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48207         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48208         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48209         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48210         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48211         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48212         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48213         * math/ftestexcept.c (fetestexcept): Likewise.
48214         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48215         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48216         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48217         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48218         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48219         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48220         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48221
48222 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48223
48224         [BZ #12107]
48225         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48226         newline.
48227
48228 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48229
48230         * string/bug-strstr1.c: New file.
48231         * string/Makefile: Add rules to build and run bug-strstr1.
48232
48233 2010-10-05  Eric Blake  <eblake@redhat.com>
48234
48235         [BZ #12092]
48236         * string/str-two-way.h (two_way_long_needle): Always clear memory
48237         when skipping input due to the shift table.
48238
48239 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48240
48241         [BZ #12005]
48242         * malloc/mcheck.c: Handle large requests.
48243
48244         [BZ #12077]
48245         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48246         for strncmp and strncasecmp.
48247         * string/stratcliff.c: Add tests for strcmp and strncmp.
48248         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48249
48250 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48251
48252         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48253         __set_fpscr.
48254
48255 2010-09-30  Andreas Jaeger  <aj@suse.de>
48256
48257         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48258         (CGROUP_SUPER_MAGIC): Define.
48259         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48260         Handle btrfs and cgroup file systems.
48261         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48262         Likewise.
48263
48264 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48265
48266         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48267         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48268
48269 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48270
48271         [BZ #12067]
48272         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48273         trying to locate the ELF header.
48274
48275 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48276
48277         [BZ #11611]
48278         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48279         Mask out sign-bit copies when constructing f_fsid.
48280
48281 2010-09-24  Petr Baudis <pasky@suse.cz>
48282
48283         * debug/stack_chk_fail_local.c: Add missing licence exception.
48284         * debug/warning-nop.c: Likewise.
48285
48286 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48287
48288         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48289         implementing getdents64 using getdents syscall, set d_type if
48290         __ASSUME_GETDENTS32_D_TYPE.
48291
48292 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48293
48294         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48295         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48296
48297 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48298
48299         [BZ #12037]
48300         * posix/unistd.h: Undo change of feature selection for ftruncate from
48301         2010-01-11.
48302
48303 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48304
48305         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48306         detection.
48307
48308 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48309
48310         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48311         fanotify_mark.
48312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48313
48314 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48315
48316         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48317         variables after CHECK_SP call.
48318         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48319
48320 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48321             Ulrich Drepper  <drepper@redhat.com>
48322
48323         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48324         re-relocationg ld.so.
48325         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48326         _dl_init_paths call.
48327         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48328         here anymore.
48329
48330 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48331
48332         * resolv/res_init.c (__res_vinit): Count the default server we added.
48333
48334 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48335             Ulrich Drepper  <drepper@redhat.com>
48336
48337         [BZ #11968]
48338         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48339         (____longjmp_chk): Use %ebx for saving value across system call.
48340         Add unwind info.
48341
48342 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48343
48344         * manual/Makefile: Don't mix pattern rules with normal rules.
48345
48346 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48347
48348         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48349         operation.
48350         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48351         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48352         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48353         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48355         Likewise.
48356
48357 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48358
48359         [BZ #11979]
48360         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48361         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48362
48363 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48364
48365         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48366         * sysdeps/x86_64/addmul_1.S: Likewise.
48367         * sysdeps/x86_64/lshift.S: Likewise.
48368         * sysdeps/x86_64/mul_1.S: Likewise.
48369         * sysdeps/x86_64/rshift.S: Likewise.
48370         * sysdeps/x86_64/sub_n.S: Likewise.
48371         * sysdeps/x86_64/submul_1.S: Likewise.
48372
48373 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48374
48375         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48376         Define __sched_param instead of SCHED_* and sched_param when
48377         <bits/sched.h> is included with __need_schedparam defined.
48378         * bits/sched.h [__need_schedparam]
48379         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48380         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48381         (__defined_schedparam): Define to 1.
48382         (__sched_param): New structure, identical to sched_param.
48383         (__need_schedparam): Undefine.
48384
48385 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48386
48387         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48388         (epoll_create1): Declare.
48389
48390         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48391
48392 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48393
48394         [BZ #7066]
48395         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48396         shifting retval into place.
48397
48398 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48399
48400         * nis/rpcsvc/nis.h: Update copyright notice.
48401         * nis/rpcsvc/nis.x: Likewise.
48402         * nis/rpcsvc/nis_callback.h: Likewise.
48403         * nis/rpcsvc/nis_callback.x: Likewise.
48404         * nis/rpcsvc/nis_object.x: Likewise.
48405         * nis/rpcsvc/nis_tags.h: Likewise.
48406         * nis/rpcsvc/yp.h: Likewise.
48407         * nis/rpcsvc/yp.x: Likewise.
48408         * nis/rpcsvc/ypupd.h: Likewise.
48409         * nis/yp_xdr.c: Likewise.
48410         * nis/ypupdate_xdr.c: Likewise.
48411
48412         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48413         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48414         (pmap_getport): Use __libc_rpc_getport.
48415         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48416         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48417         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48418
48419 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48420
48421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48422         fanotify_mark.
48423
48424 2010-08-27  Roland McGrath  <roland@redhat.com>
48425
48426         * sysdeps/i386/i686/multiarch/Makefile
48427         (CFLAGS-varshift.c): New variable.
48428
48429 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48430
48431         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48432         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48433
48434         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48435
48436         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48437
48438 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48439
48440         * sysdeps/x86_64/strlen.S: Unroll the loop.
48441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48442         strlen-sse2 strlen-sse2-bsf.
48443         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48444         __strlen_no_bsf if bit_Slow_BSF is set.
48445         (__strlen_sse42): Removed.
48446         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48447         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48448
48449 2010-08-25  Roland McGrath  <roland@redhat.com>
48450
48451         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48452         * sysdeps/x86_64/multiarch/varshift.c: New file.
48453         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48454         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48455         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48456         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48457
48458 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48459
48460         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48461         strlen-sse2 strlen-sse2-bsf.
48462         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48463         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48464         (__strlen_sse2): Removed.
48465         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48466         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48468         bit_Slow_BSF for Atom.
48469         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48470         (index_Slow_BSF): Define.
48471         (HAS_SLOW_BSF): Define.
48472
48473 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48474
48475         [BZ #10851]
48476         * resolv/res_init.c (__res_vinit): When no server address at all
48477         is given default to loopback.
48478
48479 2010-08-24  Roland McGrath  <roland@redhat.com>
48480
48481         * configure.in: Remove config-name.h generation.
48482         * configure: Regenerated.
48483         * config-name.in: File removed.
48484         * scripts/config-uname.sh: New file.
48485         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48486         ($(objdir)config-name.h): New target.
48487
48488         * sunrpc/rpc_parse.h: Avoid nested comment.
48489
48490 2010-08-24  Richard Henderson  <rth@redhat.com>
48491             Ulrich Drepper  <drepper@redhat.com>
48492             H.J. Lu  <hongjiu.lu@intel.com>
48493
48494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48496         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48497         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48498         _mm_alignr_epi8 with _mm_loadu_si128.
48499         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48500         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48501         (__m128i_shift_right): Removed.
48502         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48503         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48504         * sysdeps/x86_64/multiarch/varshift.h: New file.
48505         * sysdeps/x86_64/multiarch/varshift.S: New file.
48506
48507 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48508
48509         * configure.in: Move assembler checks to before sysdep dir checking.
48510
48511 2010-08-20  Petr Baudis  <pasky@suse.cz>
48512
48513         * LICENSES: Sync the sunrpc license.
48514
48515 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48516
48517         * sunrpc/auth_des.c: Update copyright notice once again.
48518         * sunrpc/auth_none.c: Likewise.
48519         * sunrpc/auth_unix.c: Likewise.
48520         * sunrpc/authdes_prot.c: Likewise.
48521         * sunrpc/authuxprot.c: Likewise.
48522         * sunrpc/bindrsvprt.c: Likewise.
48523         * sunrpc/clnt_gen.c: Likewise.
48524         * sunrpc/clnt_perr.c: Likewise.
48525         * sunrpc/clnt_raw.c: Likewise.
48526         * sunrpc/clnt_simp.c: Likewise.
48527         * sunrpc/clnt_tcp.c: Likewise.
48528         * sunrpc/clnt_udp.c: Likewise.
48529         * sunrpc/clnt_unix.c: Likewise.
48530         * sunrpc/des_crypt.c: Likewise.
48531         * sunrpc/des_soft.c: Likewise.
48532         * sunrpc/get_myaddr.c: Likewise.
48533         * sunrpc/getrpcport.c: Likewise.
48534         * sunrpc/key_call.c: Likewise.
48535         * sunrpc/key_prot.c: Likewise.
48536         * sunrpc/openchild.c: Likewise.
48537         * sunrpc/pm_getmaps.c: Likewise.
48538         * sunrpc/pm_getport.c: Likewise.
48539         * sunrpc/pmap_clnt.c: Likewise.
48540         * sunrpc/pmap_prot.c: Likewise.
48541         * sunrpc/pmap_prot2.c: Likewise.
48542         * sunrpc/pmap_rmt.c: Likewise.
48543         * sunrpc/rpc/auth.h: Likewise.
48544         * sunrpc/rpc/auth_unix.h: Likewise.
48545         * sunrpc/rpc/clnt.h: Likewise.
48546         * sunrpc/rpc/des_crypt.h: Likewise.
48547         * sunrpc/rpc/key_prot.h: Likewise.
48548         * sunrpc/rpc/netdb.h: Likewise.
48549         * sunrpc/rpc/pmap_clnt.h: Likewise.
48550         * sunrpc/rpc/pmap_prot.h: Likewise.
48551         * sunrpc/rpc/pmap_rmt.h: Likewise.
48552         * sunrpc/rpc/rpc.h: Likewise.
48553         * sunrpc/rpc/rpc_des.h: Likewise.
48554         * sunrpc/rpc/rpc_msg.h: Likewise.
48555         * sunrpc/rpc/svc.h: Likewise.
48556         * sunrpc/rpc/svc_auth.h: Likewise.
48557         * sunrpc/rpc/types.h: Likewise.
48558         * sunrpc/rpc/xdr.h: Likewise.
48559         * sunrpc/rpc_clntout.c: Likewise.
48560         * sunrpc/rpc_cmsg.c: Likewise.
48561         * sunrpc/rpc_common.c: Likewise.
48562         * sunrpc/rpc_cout.c: Likewise.
48563         * sunrpc/rpc_dtable.c: Likewise.
48564         * sunrpc/rpc_hout.c: Likewise.
48565         * sunrpc/rpc_main.c: Likewise.
48566         * sunrpc/rpc_parse.c: Likewise.
48567         * sunrpc/rpc_parse.h: Likewise.
48568         * sunrpc/rpc_prot.c: Likewise.
48569         * sunrpc/rpc_sample.c: Likewise.
48570         * sunrpc/rpc_scan.c: Likewise.
48571         * sunrpc/rpc_scan.h: Likewise.
48572         * sunrpc/rpc_svcout.c: Likewise.
48573         * sunrpc/rpc_tblout.c: Likewise.
48574         * sunrpc/rpc_util.c: Likewise.
48575         * sunrpc/rpc_util.h: Likewise.
48576         * sunrpc/rpcinfo.c: Likewise.
48577         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48578         * sunrpc/rpcsvc/key_prot.x: Likewise.
48579         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48580         * sunrpc/rpcsvc/mount.x: Likewise.
48581         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48582         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48583         * sunrpc/rpcsvc/rex.x: Likewise.
48584         * sunrpc/rpcsvc/rstat.x: Likewise.
48585         * sunrpc/rpcsvc/rusers.x: Likewise.
48586         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48587         * sunrpc/rpcsvc/spray.x: Likewise.
48588         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48589         * sunrpc/rtime.c: Likewise.
48590         * sunrpc/svc.c: Likewise.
48591         * sunrpc/svc_auth.c: Likewise.
48592         * sunrpc/svc_authux.c: Likewise.
48593         * sunrpc/svc_raw.c: Likewise.
48594         * sunrpc/svc_run.c: Likewise.
48595         * sunrpc/svc_simple.c: Likewise.
48596         * sunrpc/svc_tcp.c: Likewise.
48597         * sunrpc/svc_udp.c: Likewise.
48598         * sunrpc/svc_unix.c: Likewise.
48599         * sunrpc/svcauth_des.c: Likewise.
48600         * sunrpc/xcrypt.c: Likewise.
48601         * sunrpc/xdr.c: Likewise.
48602         * sunrpc/xdr_array.c: Likewise.
48603         * sunrpc/xdr_float.c: Likewise.
48604         * sunrpc/xdr_mem.c: Likewise.
48605         * sunrpc/xdr_rec.c: Likewise.
48606         * sunrpc/xdr_ref.c: Likewise.
48607         * sunrpc/xdr_sizeof.c: Likewise.
48608         * sunrpc/xdr_stdio.c: Likewise.
48609
48610         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48611         handling.
48612
48613 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48614
48615         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48616
48617 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48618
48619         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48620         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48621         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48622         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48623         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48624         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48625         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48626         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48627         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48628         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48629         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48630         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48631         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48632         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48633
48634 2010-07-26  Anton Blanchard  <anton@samba.org>
48635
48636         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48637         * malloc/arena.c (heap_trim): Likewise.
48638
48639 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48640
48641         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48642         here.  Not...
48643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48644         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48645
48646 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48647
48648         * sysdeps/i386/elf/Makefile: New file.
48649
48650 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48651
48652         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48653         from fanotify_init.
48654         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48655         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48656
48657 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48658
48659         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48660         of strncasecmp_l.
48661         * sysdeps/multiarch/strcmp.S: Likewise.
48662
48663 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48664
48665         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48666         strncase_l-nonascii.
48667         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48668         Add strncase_l-ssse3.
48669         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48670         * sysdeps/x86_64/strcmp.S: Likewise.
48671         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48672         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48673         * sysdeps/x86_64/strncase.S: New file.
48674         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48675         * sysdeps/x86_64/strncase_l.S: New file.
48676         * string/Makefile (strop-tests): Add strncasecmp.
48677         * string/test-strncasecmp.c: New file.
48678
48679         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48680         warning.
48681
48682         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48683         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48684
48685 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48686
48687         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48688
48689 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48690
48691         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48692         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48693         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48694
48695 2010-05-01  Alan Modra  <amodra@gmail.com>
48696
48697         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48698         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48699         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48700         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48701         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48702         tidying.  Don't tail-call __sigjmp_save for static lib.
48703         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48704         save location.
48705         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48706         (CALL_MCOUNT): Add eh info, and nop after bl.
48707         (TAIL_CALL_SYSCALL_ERROR): New macro.
48708         (PSEUDO_RET): Use it.
48709         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48710         Correct save location of integer regs and cr.
48711         (_dl_profile_resolve): Correct cr save location.  Delete nops
48712         after bl when SHARED.  Reduce cfi size a little by better
48713         placement of cfi directives.
48714         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48715         make a stack frame.  Instead use parm save area as a temp.
48716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48717         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48719         Don't make a stack frame for parent, use parm save area.
48720         Increase child stack frame to 112 bytes.  Don't save unused reg,
48721         and adjust reg usage.  Set up cfi on error recovery and
48722         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48724         (__makecontext): Add dummy nop after jump to exit.
48725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48726         Use correct parm save area and cr save, reduce stack frame.
48727         Correct cfi for possible PSEUDO_RET frame setup.
48728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48729         Branch to local label emitted by PSEUDO_RET rather than
48730         __syscall_error.
48731
48732 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48733
48734         [BZ #11904]
48735         * locale/programs/locale.c (print_assignment): New function.
48736         (show_locale_vars): Use it.
48737
48738 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48739
48740         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48741         field.
48742         (struct statfs64): Likewise.
48743         (_STATFS_F_FLAGS): Define.
48744         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48745         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48746         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48747         (ST_VALID): Define locally.
48748         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48749         __statvfs_getflags, use the provided value.
48750         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48751         __ASSUME_STATFS_F_FLAGS.
48752
48753         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48754
48755         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48756         Add sys/fanotify.h.
48757         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48758         fanotify_mask for GLIBC_2.13.
48759         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48760         fanotify_init and fanotify_mark.
48761         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48762         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48763
48764         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48765         Add prlimit.
48766         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48767         prlimit64 for GLIBC_2.13.
48768         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48769         prlimit64.
48770         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48771         syscall.
48772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48773         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48774         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48775         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48776         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48777         add prlimit alias.
48778         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48779
48780         [BZ #11903]
48781         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48782         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48783
48784         * nss/Makefile: Add rules to build and run tst-nss-test1.
48785         * shlib-versions: Add entry for libnss_test1.
48786         * nss/nss_test1.c: New file.
48787         * nss/tst-nss-test1.c: New file.
48788
48789         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48790         (__nss_configure_lookup): Set appropriate entry in
48791         __nss_configure_lookup to true.
48792         * nss/nsswitch.h: Define enum with indeces of databases in
48793         databases and __nss_database_custom arrays.  Declare
48794         __nss_database_custom.
48795         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48796         to avoid using nscd when custom rules are installed.
48797         * nss/getXXbyYY_r.c: Likewise.
48798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48799
48800         * nss/nss_files/files-parse.c: Whitespace fixes.
48801
48802 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48803
48804         [BZ #11883]
48805         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48806         * posix/fnmatch_loop.c: Likewise.
48807
48808 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48809
48810         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48811         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48812         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48813         * Versions.def [GLIBC_2.13]: Add.
48814
48815 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48816
48817         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48818         Also fail if tpwd after pwuid call is NULL.
48819
48820 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48821
48822         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48823         when converting to ms.
48824
48825 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48826
48827         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48828         EOPNOTSUPP errors with ENOTTY.
48829         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48830         EOPNOTSUPP errors with ENOTTY.
48831
48832 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48833
48834         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48835         Add strcasecmp_l-ssse3.
48836         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48837         strcasecmp.
48838         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48839         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48840         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48841
48842 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48843
48844         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48845
48846         * string/Makefile (strop-tests): Add strcasecmp.
48847         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48848         strcasecmp_l-nonascii.
48849         (gen-as-const-headers): Add locale-defines.sym.
48850         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48851         * sysdeps/x86_64/strcasecmp.S: New file.
48852         * sysdeps/x86_64/strcasecmp_l.S: New file.
48853         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48854         * sysdeps/x86_64/locale-defines.sym: New file.
48855         * string/test-strcasecmp.c: New file.
48856
48857         * string/test-strcasestr.c: Test both ends of the range of characters.
48858         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48859
48860 2010-07-29  Roland McGrath  <roland@redhat.com>
48861
48862         [BZ #11856]
48863         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48864
48865 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48866
48867         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48868         for ld.so.
48869
48870 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48871
48872         * manual/memory.texi (Malloc Tunable Parameters): Document
48873         M_PERTURB.
48874
48875 2010-07-26  Roland McGrath  <roland@redhat.com>
48876
48877         [BZ #11840]
48878         * configure.in (-fgnu89-inline check): Set and substitute
48879         gnu89_inline, not libc_cv_gnu89_inline.
48880         * configure: Regenerated.
48881         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48882
48883 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48884
48885         * string/test-strnlen.c: New file.
48886         * string/Makefile (strop-tests): Add strnlen.
48887         * string/tester.c (test_strnlen): Add a few more test cases.
48888         * string/tst-strlen.c: Better error reporting.
48889
48890         * sysdeps/x86_64/strnlen.S: New file.
48891
48892 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48893
48894         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48895         lower-latency instructions.
48896
48897 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48898
48899         * string/test-strcasestr.c: New file.
48900         * string/test-strstr.c: New file.
48901         * string/Makefile (strop-tests): Add strstr and strcasestr.
48902         * string/str-two-way.h: Don't undefine MAX.
48903         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48904
48905 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48906
48907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48908         strcasestr-nonascii.
48909         (CFLAGS-strcasestr-nonascii.c): Define.
48910         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48911         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48912         Remove unused attribute.
48913
48914 2010-07-20  Roland McGrath  <roland@redhat.com>
48915
48916         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48917         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48918         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48919         like LD_HWCAP_MASK can disable hwcaps.
48920
48921 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48922
48923         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48924
48925 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48926
48927         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48928         call in strcasestr.
48929         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48930         __strcasestr_sse42_nonascii.
48931         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48932         strcasestr-nonascii.c.
48933         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48934
48935 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48936
48937         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48938         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48939         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48940         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48941
48942 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48943
48944         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48945         fcntl.
48946
48947 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48948
48949         [BZ #11577]
48950         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48951         dl_signal_cerror.
48952
48953 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48954
48955         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48956         _PC_PIPE_BUF using F_GETPIPE_SZ.
48957
48958 2010-07-05  Roland McGrath  <roland@redhat.com>
48959
48960         * manual/arith.texi (Rounding Functions): Fix rint description
48961         implicit in round description.
48962
48963 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48964
48965         * elf/Makefile: Fix linking for a few tests to make recent linker
48966         happy.
48967
48968 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48969
48970         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48971         $(common-objpfx)libc_nonshared.a.
48972
48973 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48974
48975         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48976         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48977         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48978         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48979         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48980         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48981         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48982         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48997         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48998         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48999         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49000         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49001         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49002         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49003         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49004         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49005         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49006         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49007         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49008         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49023
49024 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49025
49026         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49027         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49028         * string/memmove.c (memmove): Renamed to ...
49029         (MEMMOVE): ...this.  Default to memmove.
49030         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49031         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49032         (END_CHK): Define.
49033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49034         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49035         mempcpy-ssse3-back memmove-ssse3-back.
49036         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49037         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49038         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49039         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49040         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49041         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49042         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49043         * sysdeps/x86_64/multiarch/memmove.c: New file.
49044         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49045         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49046         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49047         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49048         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49049         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49050         Define.
49051         (index_Fast_Copy_Backward): Define.
49052         (HAS_ARCH_FEATURE): Define.
49053         (HAS_FAST_REP_STRING): Define.
49054         (HAS_FAST_COPY_BACKWARD): Define.
49055
49056 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49057
49058         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49059         Restore proper fallback handling.
49060
49061 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49062
49063         [BZ #11701]
49064         * posix/group_member.c (__group_member): Correct checking loop.
49065
49066         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49067         OOM in getpwuid_r correctly.  Return error number when the caller
49068         should return, otherwise -1.
49069         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49070         call returning > 0 value.
49071         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49072
49073 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49074
49075         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49076         libc_nonshared.a from targets in modules-names.
49077
49078 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49079
49080         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49081         requires it.
49082
49083 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49084
49085         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49086         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49087         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49088         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49089
49090 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49091
49092         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49093
49094 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49095
49096         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49097         and F_GETPIPE_SZ.
49098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49099         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49100         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49102         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49103         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49104
49105 2010-06-14  Roland McGrath  <roland@redhat.com>
49106
49107         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49108
49109 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49110
49111         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49112         __REDIRECT followed by __THROW.
49113         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49114         * posix/getopt.h (getopt): Likewise.
49115
49116 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49117
49118         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49119         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49120         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49121         in AT_FLAGS.
49122         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49123         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49124
49125 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49126
49127         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49128
49129 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49130
49131         [BZ #11640]
49132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49133         Properly check family and model.
49134
49135 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49136
49137         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49138
49139 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49140
49141         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49142
49143 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49144
49145         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49146         symbol reference.
49147
49148 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49149
49150         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49151         symbol reference.
49152
49153 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49154
49155         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49156         and internal_recvmmsg.
49157         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49158         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49159         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49160         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49161
49162         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49163         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49164         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49165
49166 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49167
49168         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49169
49170 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49171
49172         POWER7 optimizations.
49173         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49174         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49175
49176 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49177
49178         * version.h: Update for 2.13 development version.
49179
49180 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49181
49182         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49183         exceptions.  Return 0.
49184
49185 2010-05-07  Roland McGrath  <roland@redhat.com>
49186
49187         * elf/ldconfig.c (main): Add a const.
49188
49189 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49190
49191         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49192         (args_options): Add no-idn option.
49193         (ahosts_keys_int): Add idn_flags to ai_flags.
49194         (parse_option): Handle 'i' option to clear idn_flags.
49195
49196         * malloc/malloc.c (_int_free): Possible race in the most recently
49197         added check.  Only act on the data if no current modification
49198         happened.
49199
49200 See ChangeLog.17 for earlier changes.